Class: CrvApiClient::Api::Animals::Animal

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

Overview

/animal

animalId - CrvApiClient::Api::Animals::AnimalId
animalNumberShort - SOAP::SOAPString
sex - SOAP::SOAPString
colourHair - SOAP::SOAPString
birthDate - (any)
deathDate - SOAP::SOAPString
animalName - SOAP::SOAPString
breedComposition - SOAP::SOAPString
redFactor - SOAP::SOAPString

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(animalId = nil, animalNumberShort = nil, sex = nil, colourHair = nil, birthDate = nil, deathDate = nil, animalName = nil, breedComposition = nil, redFactor = nil) ⇒ Animal

Returns a new instance of Animal.



888
889
890
891
892
893
894
895
896
897
898
# File 'lib/crv_api_client/api/animals/animals.rb', line 888

def initialize(animalId = nil, animalNumberShort = nil, sex = nil, colourHair = nil, birthDate = nil, deathDate = nil, animalName = nil, breedComposition = nil, redFactor = nil)
  @animalId = animalId
  @animalNumberShort = animalNumberShort
  @sex = sex
  @colourHair = colourHair
  @birthDate = birthDate
  @deathDate = deathDate
  @animalName = animalName
  @breedComposition = breedComposition
  @redFactor = redFactor
end

Instance Attribute Details

#animalIdObject

Returns the value of attribute animalId.



878
879
880
# File 'lib/crv_api_client/api/animals/animals.rb', line 878

def animalId
  @animalId
end

#animalNameObject

Returns the value of attribute animalName.



884
885
886
# File 'lib/crv_api_client/api/animals/animals.rb', line 884

def animalName
  @animalName
end

#animalNumberShortObject

Returns the value of attribute animalNumberShort.



879
880
881
# File 'lib/crv_api_client/api/animals/animals.rb', line 879

def animalNumberShort
  @animalNumberShort
end

#birthDateObject

Returns the value of attribute birthDate.



882
883
884
# File 'lib/crv_api_client/api/animals/animals.rb', line 882

def birthDate
  @birthDate
end

#breedCompositionObject

Returns the value of attribute breedComposition.



885
886
887
# File 'lib/crv_api_client/api/animals/animals.rb', line 885

def breedComposition
  @breedComposition
end

#colourHairObject

Returns the value of attribute colourHair.



881
882
883
# File 'lib/crv_api_client/api/animals/animals.rb', line 881

def colourHair
  @colourHair
end

#deathDateObject

Returns the value of attribute deathDate.



883
884
885
# File 'lib/crv_api_client/api/animals/animals.rb', line 883

def deathDate
  @deathDate
end

#redFactorObject

Returns the value of attribute redFactor.



886
887
888
# File 'lib/crv_api_client/api/animals/animals.rb', line 886

def redFactor
  @redFactor
end

#sexObject

Returns the value of attribute sex.



880
881
882
# File 'lib/crv_api_client/api/animals/animals.rb', line 880

def sex
  @sex
end