Class: CrvApiClient::Api::Reproduction::RecommendedBull

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

Overview

/recommendedBull

ranking - SOAP::SOAPString
name - SOAP::SOAPString
aiCode - CrvApiClient::Api::Reproduction::AnimalId
semenType - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(ranking = nil, name = nil, aiCode = nil, semenType = nil) ⇒ RecommendedBull

Returns a new instance of RecommendedBull.



2778
2779
2780
2781
2782
2783
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 2778

def initialize(ranking = nil, name = nil, aiCode = nil, semenType = nil)
  @ranking = ranking
  @name = name
  @aiCode = aiCode
  @semenType = semenType
end

Instance Attribute Details

#aiCodeObject

Returns the value of attribute aiCode.



2775
2776
2777
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 2775

def aiCode
  @aiCode
end

#nameObject

Returns the value of attribute name.



2774
2775
2776
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 2774

def name
  @name
end

#rankingObject

Returns the value of attribute ranking.



2773
2774
2775
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 2773

def ranking
  @ranking
end

#semenTypeObject

Returns the value of attribute semenType.



2776
2777
2778
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 2776

def semenType
  @semenType
end