Class: CrvApiClient::Api::Reproduction::GestationCalving

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

Overview

/gestationCalving

cow - CrvApiClient::Api::Reproduction::AnimalId
cowKeeper - CrvApiClient::Api::Reproduction::ActualKeeper
gestationDetails - CrvApiClient::Api::Reproduction::LgcGestation
calvingAndCalves - CrvApiClient::Api::Reproduction::LgcCalving

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(cow = nil, cowKeeper = nil, gestationDetails = nil, calvingAndCalves = []) ⇒ GestationCalving

Returns a new instance of GestationCalving.



88
89
90
91
92
93
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 88

def initialize(cow = nil, cowKeeper = nil, gestationDetails = nil, calvingAndCalves = [])
  @cow = cow
  @cowKeeper = cowKeeper
  @gestationDetails = gestationDetails
  @calvingAndCalves = calvingAndCalves
end

Instance Attribute Details

#calvingAndCalvesObject

Returns the value of attribute calvingAndCalves.



86
87
88
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 86

def calvingAndCalves
  @calvingAndCalves
end

#cowObject

Returns the value of attribute cow.



83
84
85
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 83

def cow
  @cow
end

#cowKeeperObject

Returns the value of attribute cowKeeper.



84
85
86
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 84

def cowKeeper
  @cowKeeper
end

#gestationDetailsObject

Returns the value of attribute gestationDetails.



85
86
87
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 85

def gestationDetails
  @gestationDetails
end