Class: CrvApiClient::Api::Animals::AverageHerdWeight

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

Overview

/averageHerdWeight

keeper - CrvApiClient::Api::Animals::ParticipantId
referencePeriod - CrvApiClient::Api::Animals::TimePeriod
herdWeightCategoryResult - CrvApiClient::Api::Animals::HerdWeightCategory

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(keeper = nil, referencePeriod = nil, herdWeightCategoryResult = []) ⇒ AverageHerdWeight

Returns a new instance of AverageHerdWeight.



1026
1027
1028
1029
1030
# File 'lib/crv_api_client/api/animals/animals.rb', line 1026

def initialize(keeper = nil, referencePeriod = nil, herdWeightCategoryResult = [])
  @keeper = keeper
  @referencePeriod = referencePeriod
  @herdWeightCategoryResult = herdWeightCategoryResult
end

Instance Attribute Details

#herdWeightCategoryResultObject

Returns the value of attribute herdWeightCategoryResult.



1024
1025
1026
# File 'lib/crv_api_client/api/animals/animals.rb', line 1024

def herdWeightCategoryResult
  @herdWeightCategoryResult
end

#keeperObject

Returns the value of attribute keeper.



1022
1023
1024
# File 'lib/crv_api_client/api/animals/animals.rb', line 1022

def keeper
  @keeper
end

#referencePeriodObject

Returns the value of attribute referencePeriod.



1023
1024
1025
# File 'lib/crv_api_client/api/animals/animals.rb', line 1023

def referencePeriod
  @referencePeriod
end