Class: CrvApiClient::Api::Reproduction::TopGestationBreeding

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

Overview

/topGestationBreeding

cow - CrvApiClient::Api::Reproduction::AnimalId
reproductionType - SOAP::SOAPString
reproductionDate - (any)
calvingDateExp - (any)
keeper - CrvApiClient::Api::Reproduction::ParticipantId
sire - CrvApiClient::Api::Reproduction::AnimalId
dam - CrvApiClient::Api::Reproduction::AnimalId
breedCalculation - SOAP::SOAPString
breedingIndex - SOAP::SOAPString
contractType - CrvApiClient::Api::Reproduction::ContractType
countryCd - SOAP::SOAPString
workArea - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cow = nil, reproductionType = nil, reproductionDate = nil, calvingDateExp = nil, keeper = nil, sire = nil, dam = nil, breedCalculation = nil, breedingIndex = nil, contractType = [], countryCd = nil, workArea = nil) ⇒ TopGestationBreeding

Returns a new instance of TopGestationBreeding.



34
35
36
37
38
39
40
41
42
43
44
45
46
47
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 34

def initialize(cow = nil, reproductionType = nil, reproductionDate = nil, calvingDateExp = nil, keeper = nil, sire = nil, dam = nil, breedCalculation = nil, breedingIndex = nil, contractType = [], countryCd = nil, workArea = nil)
  @cow = cow
  @reproductionType = reproductionType
  @reproductionDate = reproductionDate
  @calvingDateExp = calvingDateExp
  @keeper = keeper
  @sire = sire
  @dam = dam
  @breedCalculation = breedCalculation
  @breedingIndex = breedingIndex
  @contractType = contractType
  @countryCd = countryCd
  @workArea = workArea
end

Instance Attribute Details

#breedCalculationObject

Returns the value of attribute breedCalculation.



28
29
30
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 28

def breedCalculation
  @breedCalculation
end

#breedingIndexObject

Returns the value of attribute breedingIndex.



29
30
31
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 29

def breedingIndex
  @breedingIndex
end

#calvingDateExpObject

Returns the value of attribute calvingDateExp.



24
25
26
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 24

def calvingDateExp
  @calvingDateExp
end

#contractTypeObject

Returns the value of attribute contractType.



30
31
32
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 30

def contractType
  @contractType
end

#countryCdObject

Returns the value of attribute countryCd.



31
32
33
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 31

def countryCd
  @countryCd
end

#cowObject

Returns the value of attribute cow.



21
22
23
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 21

def cow
  @cow
end

#damObject

Returns the value of attribute dam.



27
28
29
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 27

def dam
  @dam
end

#keeperObject

Returns the value of attribute keeper.



25
26
27
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 25

def keeper
  @keeper
end

#reproductionDateObject

Returns the value of attribute reproductionDate.



23
24
25
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 23

def reproductionDate
  @reproductionDate
end

#reproductionTypeObject

Returns the value of attribute reproductionType.



22
23
24
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 22

def reproductionType
  @reproductionType
end

#sireObject

Returns the value of attribute sire.



26
27
28
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 26

def sire
  @sire
end

#workAreaObject

Returns the value of attribute workArea.



32
33
34
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 32

def workArea
  @workArea
end