Class: CrvApiClient::Api::Reproduction::Calving

Inherits:
Object
  • Object
show all
Defined in:
lib/crv_api_client/api/reproduction/reproduction.rb

Overview

/calving

calvingDate - (any)
parity - SOAP::SOAPString
gestationLength - SOAP::SOAPString
calvingEaseScore - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(calvingDate = nil, parity = nil, gestationLength = nil, calvingEaseScore = nil) ⇒ Calving

Returns a new instance of Calving.



2136
2137
2138
2139
2140
2141
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 2136

def initialize(calvingDate = nil, parity = nil, gestationLength = nil, calvingEaseScore = nil)
  @calvingDate = calvingDate
  @parity = parity
  @gestationLength = gestationLength
  @calvingEaseScore = calvingEaseScore
end

Instance Attribute Details

#calvingDateObject

Returns the value of attribute calvingDate.



2131
2132
2133
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 2131

def calvingDate
  @calvingDate
end

#calvingEaseScoreObject

Returns the value of attribute calvingEaseScore.



2134
2135
2136
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 2134

def calvingEaseScore
  @calvingEaseScore
end

#gestationLengthObject

Returns the value of attribute gestationLength.



2133
2134
2135
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 2133

def gestationLength
  @gestationLength
end

#parityObject

Returns the value of attribute parity.



2132
2133
2134
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 2132

def parity
  @parity
end