Class: CrvApiClient::Api::Reproduction::AnimalPedigree

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

Overview

/animalPedigree

animal - CrvApiClient::Api::Reproduction::AnimalId
animalNrShort - SOAP::SOAPString
animalName - SOAP::SOAPString
farmersAnimalNr - SOAP::SOAPString
sex - SOAP::SOAPString
birthDate - (any)
colourHair - SOAP::SOAPString
pedigree - CrvApiClient::Api::Reproduction::Pedigree
participantAnimal - CrvApiClient::Api::Reproduction::ParticipantAnimalId
groupCode - CrvApiClient::Api::Reproduction::AnimalGroup

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(animal = nil, animalNrShort = nil, animalName = nil, farmersAnimalNr = nil, sex = nil, birthDate = nil, colourHair = nil, pedigree = nil, participantAnimal = [], groupCode = []) ⇒ AnimalPedigree

Returns a new instance of AnimalPedigree.



1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 1509

def initialize(animal = nil, animalNrShort = nil, animalName = nil, farmersAnimalNr = nil, sex = nil, birthDate = nil, colourHair = nil, pedigree = nil, participantAnimal = [], groupCode = [])
  @animal = animal
  @animalNrShort = animalNrShort
  @animalName = animalName
  @farmersAnimalNr = farmersAnimalNr
  @sex = sex
  @birthDate = birthDate
  @colourHair = colourHair
  @pedigree = pedigree
  @participantAnimal = participantAnimal
  @groupCode = groupCode
end

Instance Attribute Details

#animalObject

Returns the value of attribute animal.



1498
1499
1500
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 1498

def animal
  @animal
end

#animalNameObject

Returns the value of attribute animalName.



1500
1501
1502
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 1500

def animalName
  @animalName
end

#animalNrShortObject

Returns the value of attribute animalNrShort.



1499
1500
1501
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 1499

def animalNrShort
  @animalNrShort
end

#birthDateObject

Returns the value of attribute birthDate.



1503
1504
1505
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 1503

def birthDate
  @birthDate
end

#colourHairObject

Returns the value of attribute colourHair.



1504
1505
1506
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 1504

def colourHair
  @colourHair
end

#farmersAnimalNrObject

Returns the value of attribute farmersAnimalNr.



1501
1502
1503
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 1501

def farmersAnimalNr
  @farmersAnimalNr
end

#groupCodeObject

Returns the value of attribute groupCode.



1507
1508
1509
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 1507

def groupCode
  @groupCode
end

#participantAnimalObject

Returns the value of attribute participantAnimal.



1506
1507
1508
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 1506

def participantAnimal
  @participantAnimal
end

#pedigreeObject

Returns the value of attribute pedigree.



1505
1506
1507
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 1505

def pedigree
  @pedigree
end

#sexObject

Returns the value of attribute sex.



1502
1503
1504
# File 'lib/crv_api_client/api/reproduction/reproduction.rb', line 1502

def sex
  @sex
end