crv_api_client 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +26 -0
- data/.rspec +2 -0
- data/Gemfile +4 -0
- data/Guardfile +10 -0
- data/LICENSE.txt +22 -0
- data/README.md +47 -0
- data/Rakefile +7 -0
- data/crv_api_client.gemspec +30 -0
- data/lib/crv_api_client/animals.rb +84 -0
- data/lib/crv_api_client/api/animals/animals.rb +1734 -0
- data/lib/crv_api_client/api/animals/animals_driver.rb +113 -0
- data/lib/crv_api_client/api/animals/animals_mapping_registry.rb +2082 -0
- data/lib/crv_api_client/api/animals/rs_animal_service_client.rb +122 -0
- data/lib/crv_api_client/api/animals.rb +9 -0
- data/lib/crv_api_client/api/reproduction/esb_rs_reproduction_service_client.rb +158 -0
- data/lib/crv_api_client/api/reproduction/reproduction.rb +8810 -0
- data/lib/crv_api_client/api/reproduction/reproduction_driver.rb +136 -0
- data/lib/crv_api_client/api/reproduction/reproduction_mapping_registry.rb +5244 -0
- data/lib/crv_api_client/api/reproduction.rb +9 -0
- data/lib/crv_api_client/api.rb +6 -0
- data/lib/crv_api_client/errors.rb +57 -0
- data/lib/crv_api_client/helpers/attributes.rb +34 -0
- data/lib/crv_api_client/helpers/crv.rb +89 -0
- data/lib/crv_api_client/helpers/endpoint.rb +46 -0
- data/lib/crv_api_client/helpers.rb +7 -0
- data/lib/crv_api_client/reproduction.rb +87 -0
- data/lib/crv_api_client/utils/configuration.rb +40 -0
- data/lib/crv_api_client/utils.rb +5 -0
- data/lib/crv_api_client/version.rb +3 -0
- data/lib/crv_api_client.rb +26 -0
- data/spec/lib/crv/animals_spec.rb +95 -0
- data/spec/lib/crv/api/animals/animals_driver_spec.rb +39 -0
- data/spec/lib/crv/api/reproduction/reproduction_driver_spec.rb +39 -0
- data/spec/lib/crv/helpers/attributes_spec.rb +52 -0
- data/spec/lib/crv/helpers/crv_spec.rb +146 -0
- data/spec/lib/crv/helpers/endpoint_spec.rb +54 -0
- data/spec/lib/crv/reproduction_spec.rb +137 -0
- data/spec/lib/crv_spec.rb +22 -0
- data/spec/spec_helper.rb +91 -0
- metadata +204 -0
@@ -0,0 +1,1734 @@
|
|
1
|
+
module CrvApiClient::Api::Animals
|
2
|
+
|
3
|
+
# {http://ws.crvholding.com/animalMessages/}modifyAnimalManagementRequestType
|
4
|
+
# participantId - CrvApiClient::Api::Animals::ParticipantId
|
5
|
+
# animalManagement - CrvApiClient::Api::Animals::AnimalManagement
|
6
|
+
class ModifyAnimalManagementRequestType
|
7
|
+
attr_accessor :participantId
|
8
|
+
attr_accessor :animalManagement
|
9
|
+
|
10
|
+
def initialize(participantId = nil, animalManagement = [])
|
11
|
+
@participantId = participantId
|
12
|
+
@animalManagement = animalManagement
|
13
|
+
end
|
14
|
+
end
|
15
|
+
|
16
|
+
# {http://ws.crvholding.com/animalMessages/}addPlannedDepartureRequestType
|
17
|
+
# keeper - CrvApiClient::Api::Animals::ParticipantId
|
18
|
+
# animalSupplyChainValue - CrvApiClient::Api::Animals::AnimalSupplyChainValue
|
19
|
+
class AddPlannedDepartureRequestType
|
20
|
+
attr_accessor :keeper
|
21
|
+
attr_accessor :animalSupplyChainValue
|
22
|
+
|
23
|
+
def initialize(keeper = nil, animalSupplyChainValue = [])
|
24
|
+
@keeper = keeper
|
25
|
+
@animalSupplyChainValue = animalSupplyChainValue
|
26
|
+
end
|
27
|
+
end
|
28
|
+
|
29
|
+
# {http://ws.crvholding.com/animalMessages/}animalSupplyChainValue
|
30
|
+
# animalSupplyId - CrvApiClient::Api::Animals::AnimalSupplyId
|
31
|
+
# chainValue - CrvApiClient::Api::Animals::ChainValue
|
32
|
+
class AnimalSupplyChainValue
|
33
|
+
attr_accessor :animalSupplyId
|
34
|
+
attr_accessor :chainValue
|
35
|
+
|
36
|
+
def initialize(animalSupplyId = nil, chainValue = nil)
|
37
|
+
@animalSupplyId = animalSupplyId
|
38
|
+
@chainValue = chainValue
|
39
|
+
end
|
40
|
+
end
|
41
|
+
|
42
|
+
# {http://ws.crvholding.com/animalMessages/}deletePlannedDepartureRequestType
|
43
|
+
# keeper - CrvApiClient::Api::Animals::ParticipantId
|
44
|
+
# animalSupplyId - CrvApiClient::Api::Animals::AnimalSupplyId
|
45
|
+
class DeletePlannedDepartureRequestType
|
46
|
+
attr_accessor :keeper
|
47
|
+
attr_accessor :animalSupplyId
|
48
|
+
|
49
|
+
def initialize(keeper = nil, animalSupplyId = [])
|
50
|
+
@keeper = keeper
|
51
|
+
@animalSupplyId = animalSupplyId
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
# {http://ws.crvholding.com/animalMessages/}animalSupplyPlannedDeparture
|
56
|
+
# animalSupplyId - CrvApiClient::Api::Animals::AnimalSupplyId
|
57
|
+
# postpone - CrvApiClient::Api::Animals::DateReason
|
58
|
+
# refusal - CrvApiClient::Api::Animals::DateReason
|
59
|
+
# departure - CrvApiClient::Api::Animals::DateReason
|
60
|
+
# chainValueStatus - CrvApiClient::Api::Animals::ChainValueStatus
|
61
|
+
class AnimalSupplyPlannedDeparture
|
62
|
+
attr_accessor :animalSupplyId
|
63
|
+
attr_accessor :postpone
|
64
|
+
attr_accessor :refusal
|
65
|
+
attr_accessor :departure
|
66
|
+
attr_accessor :chainValueStatus
|
67
|
+
|
68
|
+
def initialize(animalSupplyId = nil, postpone = nil, refusal = nil, departure = nil, chainValueStatus = nil)
|
69
|
+
@animalSupplyId = animalSupplyId
|
70
|
+
@postpone = postpone
|
71
|
+
@refusal = refusal
|
72
|
+
@departure = departure
|
73
|
+
@chainValueStatus = chainValueStatus
|
74
|
+
end
|
75
|
+
end
|
76
|
+
|
77
|
+
# {http://ws.crvholding.com/animalMessages/}chainValueStatus
|
78
|
+
# chainValue - CrvApiClient::Api::Animals::ChainValue
|
79
|
+
# chainStatus - SOAP::SOAPString
|
80
|
+
class ChainValueStatus
|
81
|
+
attr_accessor :chainValue
|
82
|
+
attr_accessor :chainStatus
|
83
|
+
|
84
|
+
def initialize(chainValue = nil, chainStatus = nil)
|
85
|
+
@chainValue = chainValue
|
86
|
+
@chainStatus = chainStatus
|
87
|
+
end
|
88
|
+
end
|
89
|
+
|
90
|
+
# {http://ws.crvholding.com/animalMessages/}getAverageHerdWeightRequestType
|
91
|
+
# keeper - CrvApiClient::Api::Animals::ParticipantId
|
92
|
+
# year - (any)
|
93
|
+
# quarter - (any)
|
94
|
+
class GetAverageHerdWeightRequestType
|
95
|
+
attr_accessor :keeper
|
96
|
+
attr_accessor :year
|
97
|
+
attr_accessor :quarter
|
98
|
+
|
99
|
+
def initialize(keeper = nil, year = nil, quarter = nil)
|
100
|
+
@keeper = keeper
|
101
|
+
@year = year
|
102
|
+
@quarter = quarter
|
103
|
+
end
|
104
|
+
end
|
105
|
+
|
106
|
+
# {http://ws.crvholding.com/animalMessages/}getAverageHerdWeightResponseType
|
107
|
+
# averageHerdWeightResult - CrvApiClient::Api::Animals::AverageHerdWeight
|
108
|
+
class GetAverageHerdWeightResponseType
|
109
|
+
attr_accessor :averageHerdWeightResult
|
110
|
+
|
111
|
+
def initialize(averageHerdWeightResult = nil)
|
112
|
+
@averageHerdWeightResult = averageHerdWeightResult
|
113
|
+
end
|
114
|
+
end
|
115
|
+
|
116
|
+
# {http://ws.crvholding.com/animalMessages/}listPlannedDepartureRequestType
|
117
|
+
# keeper - CrvApiClient::Api::Animals::ParticipantId
|
118
|
+
# period - CrvApiClient::Api::Animals::PeriodRange
|
119
|
+
# supplyType - SOAP::SOAPString
|
120
|
+
class ListPlannedDepartureRequestType
|
121
|
+
attr_accessor :keeper
|
122
|
+
attr_accessor :period
|
123
|
+
attr_accessor :supplyType
|
124
|
+
|
125
|
+
def initialize(keeper = nil, period = nil, supplyType = nil)
|
126
|
+
@keeper = keeper
|
127
|
+
@period = period
|
128
|
+
@supplyType = supplyType
|
129
|
+
end
|
130
|
+
end
|
131
|
+
|
132
|
+
# {http://ws.crvholding.com/animalMessages/}listPlannedDepartureResponseType
|
133
|
+
# keeper - CrvApiClient::Api::Animals::ParticipantId
|
134
|
+
# animalSupplyPlannedDeparture - CrvApiClient::Api::Animals::AnimalSupplyPlannedDeparture
|
135
|
+
class ListPlannedDepartureResponseType
|
136
|
+
attr_accessor :keeper
|
137
|
+
attr_accessor :animalSupplyPlannedDeparture
|
138
|
+
|
139
|
+
def initialize(keeper = nil, animalSupplyPlannedDeparture = [])
|
140
|
+
@keeper = keeper
|
141
|
+
@animalSupplyPlannedDeparture = animalSupplyPlannedDeparture
|
142
|
+
end
|
143
|
+
end
|
144
|
+
|
145
|
+
# {http://ws.crvholding.com/animalMessages/}listFoodChainInformationRequestType
|
146
|
+
# chainType - SOAP::SOAPString
|
147
|
+
# animal - CrvApiClient::Api::Animals::AnimalId
|
148
|
+
class ListFoodChainInformationRequestType
|
149
|
+
attr_accessor :chainType
|
150
|
+
attr_accessor :animal
|
151
|
+
|
152
|
+
def initialize(chainType = nil, animal = [])
|
153
|
+
@chainType = chainType
|
154
|
+
@animal = animal
|
155
|
+
end
|
156
|
+
end
|
157
|
+
|
158
|
+
# {http://ws.crvholding.com/animalMessages/}listFoodChainInformationResponseType
|
159
|
+
class ListFoodChainInformationResponseType < ::Array
|
160
|
+
end
|
161
|
+
|
162
|
+
# {http://ws.crvholding.com/animalMessages/}animalChainValue
|
163
|
+
# animal - CrvApiClient::Api::Animals::AnimalId
|
164
|
+
# chainValue - CrvApiClient::Api::Animals::ChainValue
|
165
|
+
class AnimalChainValue
|
166
|
+
attr_accessor :animal
|
167
|
+
attr_accessor :chainValue
|
168
|
+
|
169
|
+
def initialize(animal = nil, chainValue = nil)
|
170
|
+
@animal = animal
|
171
|
+
@chainValue = chainValue
|
172
|
+
end
|
173
|
+
end
|
174
|
+
|
175
|
+
# {http://ws.crvholding.com/animalMessages/}listPlannedArrivalRequestType
|
176
|
+
# customer - CrvApiClient::Api::Animals::ParticipantId
|
177
|
+
# source - CrvApiClient::Api::Animals::ParticipantId
|
178
|
+
# period - CrvApiClient::Api::Animals::PeriodRange_
|
179
|
+
# supplyType - SOAP::SOAPString
|
180
|
+
class ListPlannedArrivalRequestType
|
181
|
+
attr_accessor :customer
|
182
|
+
attr_accessor :source
|
183
|
+
attr_accessor :period
|
184
|
+
attr_accessor :supplyType
|
185
|
+
|
186
|
+
def initialize(customer = nil, source = nil, period = nil, supplyType = nil)
|
187
|
+
@customer = customer
|
188
|
+
@source = source
|
189
|
+
@period = period
|
190
|
+
@supplyType = supplyType
|
191
|
+
end
|
192
|
+
end
|
193
|
+
|
194
|
+
# {http://ws.crvholding.com/animalMessages/}listPlannedArrivalResponseType
|
195
|
+
# plannedArrival - CrvApiClient::Api::Animals::PlannedArrival
|
196
|
+
# addresses - CrvApiClient::Api::Animals::Addresses
|
197
|
+
class ListPlannedArrivalResponseType
|
198
|
+
attr_accessor :plannedArrival
|
199
|
+
attr_accessor :addresses
|
200
|
+
|
201
|
+
def initialize(plannedArrival = [], addresses = [])
|
202
|
+
@plannedArrival = plannedArrival
|
203
|
+
@addresses = addresses
|
204
|
+
end
|
205
|
+
end
|
206
|
+
|
207
|
+
# {http://ws.crvholding.com/animalMessages/}modifyPlannedArrivalRequestType
|
208
|
+
# customer - CrvApiClient::Api::Animals::ParticipantId
|
209
|
+
# animalArrivalDetail - CrvApiClient::Api::Animals::AnimalArrivalDetail
|
210
|
+
class ModifyPlannedArrivalRequestType
|
211
|
+
attr_accessor :customer
|
212
|
+
attr_accessor :animalArrivalDetail
|
213
|
+
|
214
|
+
def initialize(customer = nil, animalArrivalDetail = [])
|
215
|
+
@customer = customer
|
216
|
+
@animalArrivalDetail = animalArrivalDetail
|
217
|
+
end
|
218
|
+
end
|
219
|
+
|
220
|
+
# {http://ws.crvholding.com/animalMessages/}listHerdPedigreeRequestType
|
221
|
+
# keeper - CrvApiClient::Api::Animals::ParticipantId
|
222
|
+
class ListHerdPedigreeRequestType
|
223
|
+
attr_accessor :keeper
|
224
|
+
|
225
|
+
def initialize(keeper = nil)
|
226
|
+
@keeper = keeper
|
227
|
+
end
|
228
|
+
end
|
229
|
+
|
230
|
+
# {http://ws.crvholding.com/animalMessages/}listHerdPedigreeResponseType
|
231
|
+
# keeper - CrvApiClient::Api::Animals::ParticipantId
|
232
|
+
# animalPedigree - CrvApiClient::Api::Animals::AnimalPedigree
|
233
|
+
class ListHerdPedigreeResponseType
|
234
|
+
attr_accessor :keeper
|
235
|
+
attr_accessor :animalPedigree
|
236
|
+
|
237
|
+
def initialize(keeper = nil, animalPedigree = [])
|
238
|
+
@keeper = keeper
|
239
|
+
@animalPedigree = animalPedigree
|
240
|
+
end
|
241
|
+
end
|
242
|
+
|
243
|
+
# {http://ws.crvholding.com/commonTypes/}localTime
|
244
|
+
# hourOfDay - SOAP::SOAPInt
|
245
|
+
# minuteOfHour - SOAP::SOAPInt
|
246
|
+
class LocalTime
|
247
|
+
attr_accessor :hourOfDay
|
248
|
+
attr_accessor :minuteOfHour
|
249
|
+
|
250
|
+
def initialize(hourOfDay = nil, minuteOfHour = nil)
|
251
|
+
@hourOfDay = hourOfDay
|
252
|
+
@minuteOfHour = minuteOfHour
|
253
|
+
end
|
254
|
+
end
|
255
|
+
|
256
|
+
# {http://ws.crvholding.com/commonTypes/}localDate
|
257
|
+
# dayOfMonth - SOAP::SOAPInt
|
258
|
+
# monthOfYear - SOAP::SOAPInt
|
259
|
+
# year - SOAP::SOAPInt
|
260
|
+
class LocalDate
|
261
|
+
attr_accessor :dayOfMonth
|
262
|
+
attr_accessor :monthOfYear
|
263
|
+
attr_accessor :year
|
264
|
+
|
265
|
+
def initialize(dayOfMonth = nil, monthOfYear = nil, year = nil)
|
266
|
+
@dayOfMonth = dayOfMonth
|
267
|
+
@monthOfYear = monthOfYear
|
268
|
+
@year = year
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
# {http://ws.crvholding.com/commonTypes/}periodRange
|
273
|
+
# beginDate - (any)
|
274
|
+
# endDate - (any)
|
275
|
+
class PeriodRange
|
276
|
+
attr_accessor :beginDate
|
277
|
+
attr_accessor :endDate
|
278
|
+
|
279
|
+
def initialize(beginDate = nil, endDate = nil)
|
280
|
+
@beginDate = beginDate
|
281
|
+
@endDate = endDate
|
282
|
+
end
|
283
|
+
end
|
284
|
+
|
285
|
+
# {http://ws.crvholding.com/commonTypes/}contextMessage
|
286
|
+
# sessionId - SOAP::SOAPString
|
287
|
+
# processId - SOAP::SOAPString
|
288
|
+
# instanceId - SOAP::SOAPString
|
289
|
+
# username - SOAP::SOAPString
|
290
|
+
# userType - SOAP::SOAPString
|
291
|
+
# password - SOAP::SOAPString
|
292
|
+
# organisation - CrvApiClient::Api::Animals::ParticipantId
|
293
|
+
# provider - CrvApiClient::Api::Animals::ParticipantId
|
294
|
+
# customer - CrvApiClient::Api::Animals::ParticipantId
|
295
|
+
# keeper - CrvApiClient::Api::Animals::ParticipantId
|
296
|
+
# animal - CrvApiClient::Api::Animals::AnimalId
|
297
|
+
# processCode - SOAP::SOAPString
|
298
|
+
# messageSource - SOAP::SOAPString
|
299
|
+
# languageCode - SOAP::SOAPString
|
300
|
+
# timeZone - SOAP::SOAPString
|
301
|
+
# contextMessageDetail - CrvApiClient::Api::Animals::ContextMessageDetail
|
302
|
+
class ContextMessage
|
303
|
+
attr_accessor :sessionId
|
304
|
+
attr_accessor :processId
|
305
|
+
attr_accessor :instanceId
|
306
|
+
attr_accessor :username
|
307
|
+
attr_accessor :userType
|
308
|
+
attr_accessor :password
|
309
|
+
attr_accessor :organisation
|
310
|
+
attr_accessor :provider
|
311
|
+
attr_accessor :customer
|
312
|
+
attr_accessor :keeper
|
313
|
+
attr_accessor :animal
|
314
|
+
attr_accessor :processCode
|
315
|
+
attr_accessor :messageSource
|
316
|
+
attr_accessor :languageCode
|
317
|
+
attr_accessor :timeZone
|
318
|
+
attr_accessor :contextMessageDetail
|
319
|
+
|
320
|
+
def initialize(sessionId = nil, processId = nil, instanceId = nil, username = nil, userType = nil, password = nil, organisation = nil, provider = nil, customer = nil, keeper = nil, animal = nil, processCode = nil, messageSource = nil, languageCode = nil, timeZone = nil, contextMessageDetail = [])
|
321
|
+
@sessionId = sessionId
|
322
|
+
@processId = processId
|
323
|
+
@instanceId = instanceId
|
324
|
+
@username = username
|
325
|
+
@userType = userType
|
326
|
+
@password = password
|
327
|
+
@organisation = organisation
|
328
|
+
@provider = provider
|
329
|
+
@customer = customer
|
330
|
+
@keeper = keeper
|
331
|
+
@animal = animal
|
332
|
+
@processCode = processCode
|
333
|
+
@messageSource = messageSource
|
334
|
+
@languageCode = languageCode
|
335
|
+
@timeZone = timeZone
|
336
|
+
@contextMessageDetail = contextMessageDetail
|
337
|
+
end
|
338
|
+
end
|
339
|
+
|
340
|
+
# {http://ws.crvholding.com/commonTypes/}contextMessageDetail
|
341
|
+
# contextCode - SOAP::SOAPString
|
342
|
+
# contextValue - SOAP::SOAPString
|
343
|
+
class ContextMessageDetail
|
344
|
+
attr_accessor :contextCode
|
345
|
+
attr_accessor :contextValue
|
346
|
+
|
347
|
+
def initialize(contextCode = nil, contextValue = nil)
|
348
|
+
@contextCode = contextCode
|
349
|
+
@contextValue = contextValue
|
350
|
+
end
|
351
|
+
end
|
352
|
+
|
353
|
+
# {http://ws.crvholding.com/commonTypes/}serviceMessage
|
354
|
+
# serviceStatus - SOAP::SOAPString
|
355
|
+
# messageCode - SOAP::SOAPString
|
356
|
+
# messageText - SOAP::SOAPString
|
357
|
+
# messageType - SOAP::SOAPString
|
358
|
+
# sourceType - SOAP::SOAPString
|
359
|
+
# sourceCode - SOAP::SOAPString
|
360
|
+
# serviceMessageDetail - CrvApiClient::Api::Animals::ServiceMessageDetail
|
361
|
+
class ServiceMessage
|
362
|
+
attr_accessor :serviceStatus
|
363
|
+
attr_accessor :messageCode
|
364
|
+
attr_accessor :messageText
|
365
|
+
attr_accessor :messageType
|
366
|
+
attr_accessor :sourceType
|
367
|
+
attr_accessor :sourceCode
|
368
|
+
attr_accessor :serviceMessageDetail
|
369
|
+
|
370
|
+
def initialize(serviceStatus = nil, messageCode = nil, messageText = nil, messageType = nil, sourceType = nil, sourceCode = nil, serviceMessageDetail = [])
|
371
|
+
@serviceStatus = serviceStatus
|
372
|
+
@messageCode = messageCode
|
373
|
+
@messageText = messageText
|
374
|
+
@messageType = messageType
|
375
|
+
@sourceType = sourceType
|
376
|
+
@sourceCode = sourceCode
|
377
|
+
@serviceMessageDetail = serviceMessageDetail
|
378
|
+
end
|
379
|
+
end
|
380
|
+
|
381
|
+
# {http://ws.crvholding.com/commonTypes/}serviceMessageDetail
|
382
|
+
# serviceStatus - SOAP::SOAPString
|
383
|
+
# codeDetail - CrvApiClient::Api::Animals::CodeDetail
|
384
|
+
# messageCode - SOAP::SOAPString
|
385
|
+
# messageText - SOAP::SOAPString
|
386
|
+
# messageType - SOAP::SOAPString
|
387
|
+
class ServiceMessageDetail
|
388
|
+
attr_accessor :serviceStatus
|
389
|
+
attr_accessor :codeDetail
|
390
|
+
attr_accessor :messageCode
|
391
|
+
attr_accessor :messageText
|
392
|
+
attr_accessor :messageType
|
393
|
+
|
394
|
+
def initialize(serviceStatus = nil, codeDetail = [], messageCode = nil, messageText = nil, messageType = nil)
|
395
|
+
@serviceStatus = serviceStatus
|
396
|
+
@codeDetail = codeDetail
|
397
|
+
@messageCode = messageCode
|
398
|
+
@messageText = messageText
|
399
|
+
@messageType = messageType
|
400
|
+
end
|
401
|
+
end
|
402
|
+
|
403
|
+
# {http://ws.crvholding.com/commonTypes/}codeDetail
|
404
|
+
# keyId - SOAP::SOAPString
|
405
|
+
# keyValue - SOAP::SOAPString
|
406
|
+
class CodeDetail
|
407
|
+
attr_accessor :keyId
|
408
|
+
attr_accessor :keyValue
|
409
|
+
|
410
|
+
def initialize(keyId = nil, keyValue = nil)
|
411
|
+
@keyId = keyId
|
412
|
+
@keyValue = keyValue
|
413
|
+
end
|
414
|
+
end
|
415
|
+
|
416
|
+
# {http://ws.crvholding.com/commonTypes/}sendNotificationRequestType
|
417
|
+
# notificationType - CrvApiClient::Api::Animals::NotificationType
|
418
|
+
# notificationMessage - CrvApiClient::Api::Animals::NotificationMessageType
|
419
|
+
# email - CrvApiClient::Api::Animals::EmailType
|
420
|
+
# fax - CrvApiClient::Api::Animals::FaxType
|
421
|
+
# sms - CrvApiClient::Api::Animals::SmsType
|
422
|
+
# voice - CrvApiClient::Api::Animals::VoiceType
|
423
|
+
# pager - CrvApiClient::Api::Animals::PagerType
|
424
|
+
class SendNotificationRequestType
|
425
|
+
attr_accessor :notificationType
|
426
|
+
attr_accessor :notificationMessage
|
427
|
+
attr_accessor :email
|
428
|
+
attr_accessor :fax
|
429
|
+
attr_accessor :sms
|
430
|
+
attr_accessor :voice
|
431
|
+
attr_accessor :pager
|
432
|
+
|
433
|
+
def initialize(notificationType = nil, notificationMessage = [], email = [], fax = [], sms = [], voice = [], pager = [])
|
434
|
+
@notificationType = notificationType
|
435
|
+
@notificationMessage = notificationMessage
|
436
|
+
@email = email
|
437
|
+
@fax = fax
|
438
|
+
@sms = sms
|
439
|
+
@voice = voice
|
440
|
+
@pager = pager
|
441
|
+
end
|
442
|
+
end
|
443
|
+
|
444
|
+
# {http://ws.crvholding.com/commonTypes/}notificationMessageType
|
445
|
+
# messageCode - SOAP::SOAPString
|
446
|
+
# languageCode - SOAP::SOAPString
|
447
|
+
# messageParameter - SOAP::SOAPString
|
448
|
+
class NotificationMessageType
|
449
|
+
attr_accessor :messageCode
|
450
|
+
attr_accessor :languageCode
|
451
|
+
attr_accessor :messageParameter
|
452
|
+
|
453
|
+
def initialize(messageCode = nil, languageCode = nil, messageParameter = nil)
|
454
|
+
@messageCode = messageCode
|
455
|
+
@languageCode = languageCode
|
456
|
+
@messageParameter = messageParameter
|
457
|
+
end
|
458
|
+
end
|
459
|
+
|
460
|
+
# {http://ws.crvholding.com/commonTypes/}emailType
|
461
|
+
# mailTo - SOAP::SOAPString
|
462
|
+
# mailCc - SOAP::SOAPString
|
463
|
+
# mailBcc - SOAP::SOAPString
|
464
|
+
# mailReplyTo - SOAP::SOAPString
|
465
|
+
# subject - SOAP::SOAPString
|
466
|
+
# textBody - SOAP::SOAPString
|
467
|
+
class EmailType
|
468
|
+
attr_accessor :mailTo
|
469
|
+
attr_accessor :mailCc
|
470
|
+
attr_accessor :mailBcc
|
471
|
+
attr_accessor :mailReplyTo
|
472
|
+
attr_accessor :subject
|
473
|
+
attr_accessor :textBody
|
474
|
+
|
475
|
+
def initialize(mailTo = nil, mailCc = nil, mailBcc = nil, mailReplyTo = nil, subject = nil, textBody = nil)
|
476
|
+
@mailTo = mailTo
|
477
|
+
@mailCc = mailCc
|
478
|
+
@mailBcc = mailBcc
|
479
|
+
@mailReplyTo = mailReplyTo
|
480
|
+
@subject = subject
|
481
|
+
@textBody = textBody
|
482
|
+
end
|
483
|
+
end
|
484
|
+
|
485
|
+
# {http://ws.crvholding.com/commonTypes/}faxType
|
486
|
+
# faxNr - SOAP::SOAPString
|
487
|
+
# coverPage - SOAP::SOAPString
|
488
|
+
# textBody - SOAP::SOAPString
|
489
|
+
class FaxType
|
490
|
+
attr_accessor :faxNr
|
491
|
+
attr_accessor :coverPage
|
492
|
+
attr_accessor :textBody
|
493
|
+
|
494
|
+
def initialize(faxNr = nil, coverPage = nil, textBody = nil)
|
495
|
+
@faxNr = faxNr
|
496
|
+
@coverPage = coverPage
|
497
|
+
@textBody = textBody
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
# {http://ws.crvholding.com/commonTypes/}smsType
|
502
|
+
# fromNr - SOAP::SOAPString
|
503
|
+
# telNr - SOAP::SOAPString
|
504
|
+
# subject - SOAP::SOAPString
|
505
|
+
# textBody - SOAP::SOAPString
|
506
|
+
class SmsType
|
507
|
+
attr_accessor :fromNr
|
508
|
+
attr_accessor :telNr
|
509
|
+
attr_accessor :subject
|
510
|
+
attr_accessor :textBody
|
511
|
+
|
512
|
+
def initialize(fromNr = nil, telNr = nil, subject = nil, textBody = nil)
|
513
|
+
@fromNr = fromNr
|
514
|
+
@telNr = telNr
|
515
|
+
@subject = subject
|
516
|
+
@textBody = textBody
|
517
|
+
end
|
518
|
+
end
|
519
|
+
|
520
|
+
# {http://ws.crvholding.com/commonTypes/}voiceType
|
521
|
+
# telNr - SOAP::SOAPString
|
522
|
+
# textBody - SOAP::SOAPString
|
523
|
+
class VoiceType
|
524
|
+
attr_accessor :telNr
|
525
|
+
attr_accessor :textBody
|
526
|
+
|
527
|
+
def initialize(telNr = nil, textBody = nil)
|
528
|
+
@telNr = telNr
|
529
|
+
@textBody = textBody
|
530
|
+
end
|
531
|
+
end
|
532
|
+
|
533
|
+
# {http://ws.crvholding.com/commonTypes/}pagerType
|
534
|
+
# fromNr - SOAP::SOAPString
|
535
|
+
# pagerNr - SOAP::SOAPString
|
536
|
+
# textBody - SOAP::SOAPString
|
537
|
+
class PagerType
|
538
|
+
attr_accessor :fromNr
|
539
|
+
attr_accessor :pagerNr
|
540
|
+
attr_accessor :textBody
|
541
|
+
|
542
|
+
def initialize(fromNr = nil, pagerNr = nil, textBody = nil)
|
543
|
+
@fromNr = fromNr
|
544
|
+
@pagerNr = pagerNr
|
545
|
+
@textBody = textBody
|
546
|
+
end
|
547
|
+
end
|
548
|
+
|
549
|
+
# {http://ws.crvholding.com/dictionaryTypes/}getLabel
|
550
|
+
# componentCode - SOAP::SOAPString
|
551
|
+
# itemName - SOAP::SOAPString
|
552
|
+
# itemType - SOAP::SOAPString
|
553
|
+
# languageCode - SOAP::SOAPString
|
554
|
+
class GetLabel
|
555
|
+
attr_accessor :componentCode
|
556
|
+
attr_accessor :itemName
|
557
|
+
attr_accessor :itemType
|
558
|
+
attr_accessor :languageCode
|
559
|
+
|
560
|
+
def initialize(componentCode = nil, itemName = nil, itemType = nil, languageCode = nil)
|
561
|
+
@componentCode = componentCode
|
562
|
+
@itemName = itemName
|
563
|
+
@itemType = itemType
|
564
|
+
@languageCode = languageCode
|
565
|
+
end
|
566
|
+
end
|
567
|
+
|
568
|
+
# {http://ws.crvholding.com/dictionaryTypes/}component
|
569
|
+
# componentCode - SOAP::SOAPString
|
570
|
+
# processCode - SOAP::SOAPString
|
571
|
+
# componentType - SOAP::SOAPString
|
572
|
+
# componentName - SOAP::SOAPString
|
573
|
+
# componentItem - CrvApiClient::Api::Animals::ComponentItem
|
574
|
+
class Component
|
575
|
+
attr_accessor :componentCode
|
576
|
+
attr_accessor :processCode
|
577
|
+
attr_accessor :componentType
|
578
|
+
attr_accessor :componentName
|
579
|
+
attr_accessor :componentItem
|
580
|
+
|
581
|
+
def initialize(componentCode = nil, processCode = nil, componentType = nil, componentName = nil, componentItem = [])
|
582
|
+
@componentCode = componentCode
|
583
|
+
@processCode = processCode
|
584
|
+
@componentType = componentType
|
585
|
+
@componentName = componentName
|
586
|
+
@componentItem = componentItem
|
587
|
+
end
|
588
|
+
end
|
589
|
+
|
590
|
+
# {http://ws.crvholding.com/dictionaryTypes/}componentItem
|
591
|
+
class ComponentItem < ::Array
|
592
|
+
end
|
593
|
+
|
594
|
+
# {http://ws.crvholding.com/dictionaryTypes/}item
|
595
|
+
# itemName - SOAP::SOAPString
|
596
|
+
# moduleCode - SOAP::SOAPString
|
597
|
+
# itemType - SOAP::SOAPString
|
598
|
+
# itemLng - CrvApiClient::Api::Animals::ItemLng
|
599
|
+
class Item
|
600
|
+
attr_accessor :itemName
|
601
|
+
attr_accessor :moduleCode
|
602
|
+
attr_accessor :itemType
|
603
|
+
attr_accessor :itemLng
|
604
|
+
|
605
|
+
def initialize(itemName = nil, moduleCode = nil, itemType = nil, itemLng = [])
|
606
|
+
@itemName = itemName
|
607
|
+
@moduleCode = moduleCode
|
608
|
+
@itemType = itemType
|
609
|
+
@itemLng = itemLng
|
610
|
+
end
|
611
|
+
end
|
612
|
+
|
613
|
+
# {http://ws.crvholding.com/dictionaryTypes/}itemLng
|
614
|
+
# languageCode - SOAP::SOAPString
|
615
|
+
# itemLabel - SOAP::SOAPString
|
616
|
+
class ItemLng
|
617
|
+
attr_accessor :languageCode
|
618
|
+
attr_accessor :itemLabel
|
619
|
+
|
620
|
+
def initialize(languageCode = nil, itemLabel = nil)
|
621
|
+
@languageCode = languageCode
|
622
|
+
@itemLabel = itemLabel
|
623
|
+
end
|
624
|
+
end
|
625
|
+
|
626
|
+
# {http://ws.crvholding.com/dictionaryTypes/}getSystemMessage
|
627
|
+
# messageCode - SOAP::SOAPString
|
628
|
+
# languageCode - SOAP::SOAPString
|
629
|
+
# messageParameter - SOAP::SOAPString
|
630
|
+
class GetSystemMessage
|
631
|
+
attr_accessor :messageCode
|
632
|
+
attr_accessor :languageCode
|
633
|
+
attr_accessor :messageParameter
|
634
|
+
|
635
|
+
def initialize(messageCode = nil, languageCode = nil, messageParameter = nil)
|
636
|
+
@messageCode = messageCode
|
637
|
+
@languageCode = languageCode
|
638
|
+
@messageParameter = messageParameter
|
639
|
+
end
|
640
|
+
end
|
641
|
+
|
642
|
+
# {http://ws.crvholding.com/dictionaryTypes/}systemMessage
|
643
|
+
# message - SOAP::SOAPString
|
644
|
+
class SystemMessage
|
645
|
+
attr_accessor :message
|
646
|
+
|
647
|
+
def initialize(message = nil)
|
648
|
+
@message = message
|
649
|
+
end
|
650
|
+
end
|
651
|
+
|
652
|
+
# {http://ws.crvholding.com/dictionaryTypes/}listDomain
|
653
|
+
# domain - CrvApiClient::Api::Animals::Domain
|
654
|
+
# languageCode - SOAP::SOAPString
|
655
|
+
# representationType - CrvApiClient::Api::Animals::RepresentationType
|
656
|
+
# actual - CrvApiClient::Api::Animals::BooleanType
|
657
|
+
class ListDomain
|
658
|
+
attr_accessor :domain
|
659
|
+
attr_accessor :languageCode
|
660
|
+
attr_accessor :representationType
|
661
|
+
attr_accessor :actual
|
662
|
+
|
663
|
+
def initialize(domain = [], languageCode = nil, representationType = nil, actual = nil)
|
664
|
+
@domain = domain
|
665
|
+
@languageCode = languageCode
|
666
|
+
@representationType = representationType
|
667
|
+
@actual = actual
|
668
|
+
end
|
669
|
+
end
|
670
|
+
|
671
|
+
# {http://ws.crvholding.com/dictionaryTypes/}domainValue
|
672
|
+
# domainCode - SOAP::SOAPString
|
673
|
+
# columnValue - CrvApiClient::Api::Animals::ColumnValue
|
674
|
+
class DomainValue
|
675
|
+
attr_accessor :domainCode
|
676
|
+
attr_accessor :columnValue
|
677
|
+
|
678
|
+
def initialize(domainCode = nil, columnValue = [])
|
679
|
+
@domainCode = domainCode
|
680
|
+
@columnValue = columnValue
|
681
|
+
end
|
682
|
+
end
|
683
|
+
|
684
|
+
# {http://ws.crvholding.com/dictionaryTypes/}columnValue
|
685
|
+
# value - SOAP::SOAPString
|
686
|
+
# representation - SOAP::SOAPString
|
687
|
+
class ColumnValue
|
688
|
+
attr_accessor :value
|
689
|
+
attr_accessor :representation
|
690
|
+
|
691
|
+
def initialize(value = nil, representation = nil)
|
692
|
+
@value = value
|
693
|
+
@representation = representation
|
694
|
+
end
|
695
|
+
end
|
696
|
+
|
697
|
+
# {http://ws.crvholding.com/dictionaryTypes/}domain
|
698
|
+
# domainCode - SOAP::SOAPString
|
699
|
+
class Domain
|
700
|
+
attr_accessor :domainCode
|
701
|
+
|
702
|
+
def initialize(domainCode = nil)
|
703
|
+
@domainCode = domainCode
|
704
|
+
end
|
705
|
+
end
|
706
|
+
|
707
|
+
# {http://ws.crvholding.com/dictionaryTypes/}timePeriod
|
708
|
+
# beginDate - (any)
|
709
|
+
# beginTime - (any)
|
710
|
+
# endDate - (any)
|
711
|
+
# endTime - (any)
|
712
|
+
class TimePeriod
|
713
|
+
attr_accessor :beginDate
|
714
|
+
attr_accessor :beginTime
|
715
|
+
attr_accessor :endDate
|
716
|
+
attr_accessor :endTime
|
717
|
+
|
718
|
+
def initialize(beginDate = nil, beginTime = nil, endDate = nil, endTime = nil)
|
719
|
+
@beginDate = beginDate
|
720
|
+
@beginTime = beginTime
|
721
|
+
@endDate = endDate
|
722
|
+
@endTime = endTime
|
723
|
+
end
|
724
|
+
end
|
725
|
+
|
726
|
+
# {http://ws.crvholding.com/dictionaryTypes/}intervalId
|
727
|
+
# nr - SOAP::SOAPString
|
728
|
+
# nrType - SOAP::SOAPString
|
729
|
+
class IntervalId
|
730
|
+
attr_accessor :nr
|
731
|
+
attr_accessor :nrType
|
732
|
+
|
733
|
+
def initialize(nr = nil, nrType = nil)
|
734
|
+
@nr = nr
|
735
|
+
@nrType = nrType
|
736
|
+
end
|
737
|
+
end
|
738
|
+
|
739
|
+
# {http://ws.crvholding.com/dictionaryTypes/}animalNumberCountry
|
740
|
+
# countryCd - SOAP::SOAPString
|
741
|
+
# animalNrLength - SOAP::SOAPString
|
742
|
+
# animalNrAlphanumeric - SOAP::SOAPString
|
743
|
+
# sortingOrder - SOAP::SOAPString
|
744
|
+
class AnimalNumberCountry
|
745
|
+
attr_accessor :countryCd
|
746
|
+
attr_accessor :animalNrLength
|
747
|
+
attr_accessor :animalNrAlphanumeric
|
748
|
+
attr_accessor :sortingOrder
|
749
|
+
|
750
|
+
def initialize(countryCd = nil, animalNrLength = nil, animalNrAlphanumeric = nil, sortingOrder = nil)
|
751
|
+
@countryCd = countryCd
|
752
|
+
@animalNrLength = animalNrLength
|
753
|
+
@animalNrAlphanumeric = animalNrAlphanumeric
|
754
|
+
@sortingOrder = sortingOrder
|
755
|
+
end
|
756
|
+
end
|
757
|
+
|
758
|
+
# {http://ws.crvholding.com/dictionaryTypes/}hourCode
|
759
|
+
# hourCd - SOAP::SOAPString
|
760
|
+
# description - SOAP::SOAPString
|
761
|
+
# hourMutateAllowed - SOAP::SOAPString
|
762
|
+
# hourNecessary - SOAP::SOAPString
|
763
|
+
# addressMutateAllowed - SOAP::SOAPString
|
764
|
+
# addressNecessary - SOAP::SOAPString
|
765
|
+
# activityMutateAllowed - SOAP::SOAPString
|
766
|
+
# activityNecessary - SOAP::SOAPString
|
767
|
+
# kilometresMutateAllowed - SOAP::SOAPString
|
768
|
+
# kilometresNecessary - SOAP::SOAPString
|
769
|
+
class HourCode
|
770
|
+
attr_accessor :hourCd
|
771
|
+
attr_accessor :description
|
772
|
+
attr_accessor :hourMutateAllowed
|
773
|
+
attr_accessor :hourNecessary
|
774
|
+
attr_accessor :addressMutateAllowed
|
775
|
+
attr_accessor :addressNecessary
|
776
|
+
attr_accessor :activityMutateAllowed
|
777
|
+
attr_accessor :activityNecessary
|
778
|
+
attr_accessor :kilometresMutateAllowed
|
779
|
+
attr_accessor :kilometresNecessary
|
780
|
+
|
781
|
+
def initialize(hourCd = nil, description = nil, hourMutateAllowed = nil, hourNecessary = nil, addressMutateAllowed = nil, addressNecessary = nil, activityMutateAllowed = nil, activityNecessary = nil, kilometresMutateAllowed = nil, kilometresNecessary = nil)
|
782
|
+
@hourCd = hourCd
|
783
|
+
@description = description
|
784
|
+
@hourMutateAllowed = hourMutateAllowed
|
785
|
+
@hourNecessary = hourNecessary
|
786
|
+
@addressMutateAllowed = addressMutateAllowed
|
787
|
+
@addressNecessary = addressNecessary
|
788
|
+
@activityMutateAllowed = activityMutateAllowed
|
789
|
+
@activityNecessary = activityNecessary
|
790
|
+
@kilometresMutateAllowed = kilometresMutateAllowed
|
791
|
+
@kilometresNecessary = kilometresNecessary
|
792
|
+
end
|
793
|
+
end
|
794
|
+
|
795
|
+
# {http://ws.crvholding.com/dictionaryTypes/}parameter
|
796
|
+
# parameterName - SOAP::SOAPString
|
797
|
+
# value - SOAP::SOAPString
|
798
|
+
# valueDescription - SOAP::SOAPString
|
799
|
+
# default - SOAP::SOAPString
|
800
|
+
# sortingOrder - SOAP::SOAPString
|
801
|
+
class Parameter
|
802
|
+
attr_accessor :parameterName
|
803
|
+
attr_accessor :value
|
804
|
+
attr_accessor :valueDescription
|
805
|
+
attr_accessor :default
|
806
|
+
attr_accessor :sortingOrder
|
807
|
+
|
808
|
+
def initialize(parameterName = nil, value = nil, valueDescription = nil, default = nil, sortingOrder = nil)
|
809
|
+
@parameterName = parameterName
|
810
|
+
@value = value
|
811
|
+
@valueDescription = valueDescription
|
812
|
+
@default = default
|
813
|
+
@sortingOrder = sortingOrder
|
814
|
+
end
|
815
|
+
end
|
816
|
+
|
817
|
+
# {http://ws.crvholding.com/animalTypes/}animalId
|
818
|
+
# animalNumber - SOAP::SOAPString
|
819
|
+
# animalNumberType - SOAP::SOAPString
|
820
|
+
class AnimalId
|
821
|
+
attr_accessor :animalNumber
|
822
|
+
attr_accessor :animalNumberType
|
823
|
+
|
824
|
+
def initialize(animalNumber = nil, animalNumberType = nil)
|
825
|
+
@animalNumber = animalNumber
|
826
|
+
@animalNumberType = animalNumberType
|
827
|
+
end
|
828
|
+
end
|
829
|
+
|
830
|
+
# {http://ws.crvholding.com/animalTypes/}animalDetailsBirth
|
831
|
+
# animalId - CrvApiClient::Api::Animals::AnimalId
|
832
|
+
# animalNumberShort - SOAP::SOAPString
|
833
|
+
# sex - SOAP::SOAPString
|
834
|
+
# colourHair - SOAP::SOAPString
|
835
|
+
# birthDate - (any)
|
836
|
+
# animalName - SOAP::SOAPString
|
837
|
+
# surrogateDam - CrvApiClient::Api::Animals::AnimalId
|
838
|
+
# dam - CrvApiClient::Api::Animals::AnimalId
|
839
|
+
# sire - CrvApiClient::Api::Animals::AnimalId
|
840
|
+
# breedComposition - SOAP::SOAPString
|
841
|
+
class AnimalDetailsBirth
|
842
|
+
attr_accessor :animalId
|
843
|
+
attr_accessor :animalNumberShort
|
844
|
+
attr_accessor :sex
|
845
|
+
attr_accessor :colourHair
|
846
|
+
attr_accessor :birthDate
|
847
|
+
attr_accessor :animalName
|
848
|
+
attr_accessor :surrogateDam
|
849
|
+
attr_accessor :dam
|
850
|
+
attr_accessor :sire
|
851
|
+
attr_accessor :breedComposition
|
852
|
+
|
853
|
+
def initialize(animalId = nil, animalNumberShort = nil, sex = nil, colourHair = nil, birthDate = nil, animalName = nil, surrogateDam = nil, dam = nil, sire = nil, breedComposition = nil)
|
854
|
+
@animalId = animalId
|
855
|
+
@animalNumberShort = animalNumberShort
|
856
|
+
@sex = sex
|
857
|
+
@colourHair = colourHair
|
858
|
+
@birthDate = birthDate
|
859
|
+
@animalName = animalName
|
860
|
+
@surrogateDam = surrogateDam
|
861
|
+
@dam = dam
|
862
|
+
@sire = sire
|
863
|
+
@breedComposition = breedComposition
|
864
|
+
end
|
865
|
+
end
|
866
|
+
|
867
|
+
# {http://ws.crvholding.com/animalTypes/}animal
|
868
|
+
# animalId - CrvApiClient::Api::Animals::AnimalId
|
869
|
+
# animalNumberShort - SOAP::SOAPString
|
870
|
+
# sex - SOAP::SOAPString
|
871
|
+
# colourHair - SOAP::SOAPString
|
872
|
+
# birthDate - (any)
|
873
|
+
# deathDate - SOAP::SOAPString
|
874
|
+
# animalName - SOAP::SOAPString
|
875
|
+
# breedComposition - SOAP::SOAPString
|
876
|
+
# redFactor - SOAP::SOAPString
|
877
|
+
class Animal
|
878
|
+
attr_accessor :animalId
|
879
|
+
attr_accessor :animalNumberShort
|
880
|
+
attr_accessor :sex
|
881
|
+
attr_accessor :colourHair
|
882
|
+
attr_accessor :birthDate
|
883
|
+
attr_accessor :deathDate
|
884
|
+
attr_accessor :animalName
|
885
|
+
attr_accessor :breedComposition
|
886
|
+
attr_accessor :redFactor
|
887
|
+
|
888
|
+
def initialize(animalId = nil, animalNumberShort = nil, sex = nil, colourHair = nil, birthDate = nil, deathDate = nil, animalName = nil, breedComposition = nil, redFactor = nil)
|
889
|
+
@animalId = animalId
|
890
|
+
@animalNumberShort = animalNumberShort
|
891
|
+
@sex = sex
|
892
|
+
@colourHair = colourHair
|
893
|
+
@birthDate = birthDate
|
894
|
+
@deathDate = deathDate
|
895
|
+
@animalName = animalName
|
896
|
+
@breedComposition = breedComposition
|
897
|
+
@redFactor = redFactor
|
898
|
+
end
|
899
|
+
end
|
900
|
+
|
901
|
+
# {http://ws.crvholding.com/animalTypes/}animalManagement
|
902
|
+
# animalId - CrvApiClient::Api::Animals::AnimalId
|
903
|
+
# animalName - SOAP::SOAPString
|
904
|
+
# farmersAnimalNr - SOAP::SOAPString
|
905
|
+
# animalGroupNr - SOAP::SOAPString
|
906
|
+
# productionPurposeDate - (any)
|
907
|
+
# productionPurpose - SOAP::SOAPString
|
908
|
+
class AnimalManagement
|
909
|
+
attr_accessor :animalId
|
910
|
+
attr_accessor :animalName
|
911
|
+
attr_accessor :farmersAnimalNr
|
912
|
+
attr_accessor :animalGroupNr
|
913
|
+
attr_accessor :productionPurposeDate
|
914
|
+
attr_accessor :productionPurpose
|
915
|
+
|
916
|
+
def initialize(animalId = nil, animalName = nil, farmersAnimalNr = nil, animalGroupNr = nil, productionPurposeDate = nil, productionPurpose = nil)
|
917
|
+
@animalId = animalId
|
918
|
+
@animalName = animalName
|
919
|
+
@farmersAnimalNr = farmersAnimalNr
|
920
|
+
@animalGroupNr = animalGroupNr
|
921
|
+
@productionPurposeDate = productionPurposeDate
|
922
|
+
@productionPurpose = productionPurpose
|
923
|
+
end
|
924
|
+
end
|
925
|
+
|
926
|
+
# {http://ws.crvholding.com/animalTypes/}animalPedigree
|
927
|
+
# animal - CrvApiClient::Api::Animals::AnimalId
|
928
|
+
# animalNrShort - SOAP::SOAPString
|
929
|
+
# animalName - SOAP::SOAPString
|
930
|
+
# farmersAnimalNr - SOAP::SOAPString
|
931
|
+
# sex - SOAP::SOAPString
|
932
|
+
# birthDate - (any)
|
933
|
+
# colourHair - SOAP::SOAPString
|
934
|
+
# pedigree - CrvApiClient::Api::Animals::Pedigree
|
935
|
+
# participantAnimal - CrvApiClient::Api::Animals::ParticipantAnimalId
|
936
|
+
# groupCode - CrvApiClient::Api::Animals::AnimalGroup
|
937
|
+
class AnimalPedigree
|
938
|
+
attr_accessor :animal
|
939
|
+
attr_accessor :animalNrShort
|
940
|
+
attr_accessor :animalName
|
941
|
+
attr_accessor :farmersAnimalNr
|
942
|
+
attr_accessor :sex
|
943
|
+
attr_accessor :birthDate
|
944
|
+
attr_accessor :colourHair
|
945
|
+
attr_accessor :pedigree
|
946
|
+
attr_accessor :participantAnimal
|
947
|
+
attr_accessor :groupCode
|
948
|
+
|
949
|
+
def initialize(animal = nil, animalNrShort = nil, animalName = nil, farmersAnimalNr = nil, sex = nil, birthDate = nil, colourHair = nil, pedigree = nil, participantAnimal = [], groupCode = [])
|
950
|
+
@animal = animal
|
951
|
+
@animalNrShort = animalNrShort
|
952
|
+
@animalName = animalName
|
953
|
+
@farmersAnimalNr = farmersAnimalNr
|
954
|
+
@sex = sex
|
955
|
+
@birthDate = birthDate
|
956
|
+
@colourHair = colourHair
|
957
|
+
@pedigree = pedigree
|
958
|
+
@participantAnimal = participantAnimal
|
959
|
+
@groupCode = groupCode
|
960
|
+
end
|
961
|
+
end
|
962
|
+
|
963
|
+
# {http://ws.crvholding.com/animalTypes/}animalSupplyId
|
964
|
+
# animal - CrvApiClient::Api::Animals::AnimalId
|
965
|
+
# supplyType - SOAP::SOAPString
|
966
|
+
# supplyCd - SOAP::SOAPString
|
967
|
+
# plannedDepartureDate - (any)
|
968
|
+
# trader - CrvApiClient::Api::Animals::ParticipantId
|
969
|
+
# destination - CrvApiClient::Api::Animals::ParticipantId
|
970
|
+
class AnimalSupplyId
|
971
|
+
attr_accessor :animal
|
972
|
+
attr_accessor :supplyType
|
973
|
+
attr_accessor :supplyCd
|
974
|
+
attr_accessor :plannedDepartureDate
|
975
|
+
attr_accessor :trader
|
976
|
+
attr_accessor :destination
|
977
|
+
|
978
|
+
def initialize(animal = nil, supplyType = nil, supplyCd = nil, plannedDepartureDate = nil, trader = nil, destination = nil)
|
979
|
+
@animal = animal
|
980
|
+
@supplyType = supplyType
|
981
|
+
@supplyCd = supplyCd
|
982
|
+
@plannedDepartureDate = plannedDepartureDate
|
983
|
+
@trader = trader
|
984
|
+
@destination = destination
|
985
|
+
end
|
986
|
+
end
|
987
|
+
|
988
|
+
# {http://ws.crvholding.com/animalTypes/}addresses
|
989
|
+
# participant - CrvApiClient::Api::Animals::Participant
|
990
|
+
# address - CrvApiClient::Api::Animals::Address
|
991
|
+
# trader - CrvApiClient::Api::Animals::ParticipantId
|
992
|
+
class Addresses
|
993
|
+
attr_accessor :participant
|
994
|
+
attr_accessor :address
|
995
|
+
attr_accessor :trader
|
996
|
+
|
997
|
+
def initialize(participant = [], address = [], trader = nil)
|
998
|
+
@participant = participant
|
999
|
+
@address = address
|
1000
|
+
@trader = trader
|
1001
|
+
end
|
1002
|
+
end
|
1003
|
+
|
1004
|
+
# {http://ws.crvholding.com/animalTypes/}animalArrivalDetail
|
1005
|
+
# animalId - CrvApiClient::Api::Animals::AnimalId
|
1006
|
+
# plannedArrivalDetail - CrvApiClient::Api::Animals::PlannedArrivalDetail
|
1007
|
+
class AnimalArrivalDetail
|
1008
|
+
attr_accessor :animalId
|
1009
|
+
attr_accessor :plannedArrivalDetail
|
1010
|
+
|
1011
|
+
def initialize(animalId = [], plannedArrivalDetail = nil)
|
1012
|
+
@animalId = animalId
|
1013
|
+
@plannedArrivalDetail = plannedArrivalDetail
|
1014
|
+
end
|
1015
|
+
end
|
1016
|
+
|
1017
|
+
# {http://ws.crvholding.com/animalTypes/}averageHerdWeight
|
1018
|
+
# keeper - CrvApiClient::Api::Animals::ParticipantId
|
1019
|
+
# referencePeriod - CrvApiClient::Api::Animals::TimePeriod
|
1020
|
+
# herdWeightCategoryResult - CrvApiClient::Api::Animals::HerdWeightCategory
|
1021
|
+
class AverageHerdWeight
|
1022
|
+
attr_accessor :keeper
|
1023
|
+
attr_accessor :referencePeriod
|
1024
|
+
attr_accessor :herdWeightCategoryResult
|
1025
|
+
|
1026
|
+
def initialize(keeper = nil, referencePeriod = nil, herdWeightCategoryResult = [])
|
1027
|
+
@keeper = keeper
|
1028
|
+
@referencePeriod = referencePeriod
|
1029
|
+
@herdWeightCategoryResult = herdWeightCategoryResult
|
1030
|
+
end
|
1031
|
+
end
|
1032
|
+
|
1033
|
+
# {http://ws.crvholding.com/animalTypes/}breedFraction
|
1034
|
+
# breed - SOAP::SOAPString
|
1035
|
+
# fraction - SOAP::SOAPString
|
1036
|
+
class BreedFraction
|
1037
|
+
attr_accessor :breed
|
1038
|
+
attr_accessor :fraction
|
1039
|
+
|
1040
|
+
def initialize(breed = nil, fraction = nil)
|
1041
|
+
@breed = breed
|
1042
|
+
@fraction = fraction
|
1043
|
+
end
|
1044
|
+
end
|
1045
|
+
|
1046
|
+
# {http://ws.crvholding.com/animalTypes/}bullDetails
|
1047
|
+
# bullId - CrvApiClient::Api::Animals::AnimalId
|
1048
|
+
# aiCode - CrvApiClient::Api::Animals::AnimalId
|
1049
|
+
# bullName - SOAP::SOAPString
|
1050
|
+
# bullShortName - SOAP::SOAPString
|
1051
|
+
# birthDate - (any)
|
1052
|
+
# colourHair - SOAP::SOAPString
|
1053
|
+
class BullDetails
|
1054
|
+
attr_accessor :bullId
|
1055
|
+
attr_accessor :aiCode
|
1056
|
+
attr_accessor :bullName
|
1057
|
+
attr_accessor :bullShortName
|
1058
|
+
attr_accessor :birthDate
|
1059
|
+
attr_accessor :colourHair
|
1060
|
+
|
1061
|
+
def initialize(bullId = nil, aiCode = nil, bullName = nil, bullShortName = nil, birthDate = nil, colourHair = nil)
|
1062
|
+
@bullId = bullId
|
1063
|
+
@aiCode = aiCode
|
1064
|
+
@bullName = bullName
|
1065
|
+
@bullShortName = bullShortName
|
1066
|
+
@birthDate = birthDate
|
1067
|
+
@colourHair = colourHair
|
1068
|
+
end
|
1069
|
+
end
|
1070
|
+
|
1071
|
+
# {http://ws.crvholding.com/animalTypes/}colourCode
|
1072
|
+
# countryCode - SOAP::SOAPString
|
1073
|
+
# colourCode - SOAP::SOAPString
|
1074
|
+
class ColourCode
|
1075
|
+
attr_accessor :countryCode
|
1076
|
+
attr_accessor :colourCode
|
1077
|
+
|
1078
|
+
def initialize(countryCode = nil, colourCode = nil)
|
1079
|
+
@countryCode = countryCode
|
1080
|
+
@colourCode = colourCode
|
1081
|
+
end
|
1082
|
+
end
|
1083
|
+
|
1084
|
+
# {http://ws.crvholding.com/animalTypes/}chainValue
|
1085
|
+
# chainType - SOAP::SOAPString
|
1086
|
+
# chainVersion - SOAP::SOAPString
|
1087
|
+
# chainRowValue - CrvApiClient::Api::Animals::ChainRowValue
|
1088
|
+
class ChainValue
|
1089
|
+
attr_accessor :chainType
|
1090
|
+
attr_accessor :chainVersion
|
1091
|
+
attr_accessor :chainRowValue
|
1092
|
+
|
1093
|
+
def initialize(chainType = nil, chainVersion = nil, chainRowValue = [])
|
1094
|
+
@chainType = chainType
|
1095
|
+
@chainVersion = chainVersion
|
1096
|
+
@chainRowValue = chainRowValue
|
1097
|
+
end
|
1098
|
+
end
|
1099
|
+
|
1100
|
+
# {http://ws.crvholding.com/animalTypes/}chainRowValue
|
1101
|
+
# rowCd - SOAP::SOAPString
|
1102
|
+
# rowValue - SOAP::SOAPString
|
1103
|
+
class ChainRowValue
|
1104
|
+
attr_accessor :rowCd
|
1105
|
+
attr_accessor :rowValue
|
1106
|
+
|
1107
|
+
def initialize(rowCd = nil, rowValue = nil)
|
1108
|
+
@rowCd = rowCd
|
1109
|
+
@rowValue = rowValue
|
1110
|
+
end
|
1111
|
+
end
|
1112
|
+
|
1113
|
+
# {http://ws.crvholding.com/animalTypes/}dateReason
|
1114
|
+
# date - (any)
|
1115
|
+
# reason - SOAP::SOAPString
|
1116
|
+
class DateReason
|
1117
|
+
attr_accessor :date
|
1118
|
+
attr_accessor :reason
|
1119
|
+
|
1120
|
+
def initialize(date = nil, reason = nil)
|
1121
|
+
@date = date
|
1122
|
+
@reason = reason
|
1123
|
+
end
|
1124
|
+
end
|
1125
|
+
|
1126
|
+
# {http://ws.crvholding.com/animalTypes/}animalGroup
|
1127
|
+
# animalGroupType - SOAP::SOAPString
|
1128
|
+
# animalGroupCode - SOAP::SOAPString
|
1129
|
+
# animalGroupName - SOAP::SOAPString
|
1130
|
+
class AnimalGroup
|
1131
|
+
attr_accessor :animalGroupType
|
1132
|
+
attr_accessor :animalGroupCode
|
1133
|
+
attr_accessor :animalGroupName
|
1134
|
+
|
1135
|
+
def initialize(animalGroupType = nil, animalGroupCode = nil, animalGroupName = nil)
|
1136
|
+
@animalGroupType = animalGroupType
|
1137
|
+
@animalGroupCode = animalGroupCode
|
1138
|
+
@animalGroupName = animalGroupName
|
1139
|
+
end
|
1140
|
+
end
|
1141
|
+
|
1142
|
+
# {http://ws.crvholding.com/animalTypes/}herdWeightCategory
|
1143
|
+
# categoryCd - SOAP::SOAPString
|
1144
|
+
# avgNoAnimals - (any)
|
1145
|
+
# avgWeightAnimals - (any)
|
1146
|
+
class HerdWeightCategory
|
1147
|
+
attr_accessor :categoryCd
|
1148
|
+
attr_accessor :avgNoAnimals
|
1149
|
+
attr_accessor :avgWeightAnimals
|
1150
|
+
|
1151
|
+
def initialize(categoryCd = nil, avgNoAnimals = nil, avgWeightAnimals = nil)
|
1152
|
+
@categoryCd = categoryCd
|
1153
|
+
@avgNoAnimals = avgNoAnimals
|
1154
|
+
@avgWeightAnimals = avgWeightAnimals
|
1155
|
+
end
|
1156
|
+
end
|
1157
|
+
|
1158
|
+
# {http://ws.crvholding.com/animalTypes/}listParticipantAnimalRequest
|
1159
|
+
# listType - SOAP::SOAPString
|
1160
|
+
# participantAnimalRequest - CrvApiClient::Api::Animals::ParticipantAnimalRequest
|
1161
|
+
class ListParticipantAnimalRequest
|
1162
|
+
attr_accessor :listType
|
1163
|
+
attr_accessor :participantAnimalRequest
|
1164
|
+
|
1165
|
+
def initialize(listType = nil, participantAnimalRequest = [])
|
1166
|
+
@listType = listType
|
1167
|
+
@participantAnimalRequest = participantAnimalRequest
|
1168
|
+
end
|
1169
|
+
end
|
1170
|
+
|
1171
|
+
# {http://ws.crvholding.com/animalTypes/}participantAnimalId
|
1172
|
+
# numberType - SOAP::SOAPString
|
1173
|
+
# numberSubType - SOAP::SOAPString
|
1174
|
+
# participantAnimalNr - SOAP::SOAPString
|
1175
|
+
class ParticipantAnimalId
|
1176
|
+
attr_accessor :numberType
|
1177
|
+
attr_accessor :numberSubType
|
1178
|
+
attr_accessor :participantAnimalNr
|
1179
|
+
|
1180
|
+
def initialize(numberType = nil, numberSubType = nil, participantAnimalNr = nil)
|
1181
|
+
@numberType = numberType
|
1182
|
+
@numberSubType = numberSubType
|
1183
|
+
@participantAnimalNr = participantAnimalNr
|
1184
|
+
end
|
1185
|
+
end
|
1186
|
+
|
1187
|
+
# {http://ws.crvholding.com/animalTypes/}participantAnimalRequest
|
1188
|
+
# numberType - SOAP::SOAPString
|
1189
|
+
# numberSubType - SOAP::SOAPString
|
1190
|
+
class ParticipantAnimalRequest
|
1191
|
+
attr_accessor :numberType
|
1192
|
+
attr_accessor :numberSubType
|
1193
|
+
|
1194
|
+
def initialize(numberType = nil, numberSubType = nil)
|
1195
|
+
@numberType = numberType
|
1196
|
+
@numberSubType = numberSubType
|
1197
|
+
end
|
1198
|
+
end
|
1199
|
+
|
1200
|
+
# {http://ws.crvholding.com/animalTypes/}periodRange
|
1201
|
+
# beginDate - (any)
|
1202
|
+
# endDate - (any)
|
1203
|
+
class PeriodRange_
|
1204
|
+
attr_accessor :beginDate
|
1205
|
+
attr_accessor :endDate
|
1206
|
+
|
1207
|
+
def initialize(beginDate = nil, endDate = nil)
|
1208
|
+
@beginDate = beginDate
|
1209
|
+
@endDate = endDate
|
1210
|
+
end
|
1211
|
+
end
|
1212
|
+
|
1213
|
+
# {http://ws.crvholding.com/animalTypes/}plannedArrivalDetail
|
1214
|
+
# supplyCd - SOAP::SOAPString
|
1215
|
+
# keeper - CrvApiClient::Api::Animals::ParticipantId
|
1216
|
+
# plannedDepartureDate - (any)
|
1217
|
+
# foodChainInfo - CrvApiClient::Api::Animals::BooleanType
|
1218
|
+
# foodChainInfoStandard - CrvApiClient::Api::Animals::BooleanType
|
1219
|
+
# trader - CrvApiClient::Api::Animals::ParticipantId
|
1220
|
+
# loadGroup - SOAP::SOAPString
|
1221
|
+
# destination - CrvApiClient::Api::Animals::ParticipantId
|
1222
|
+
# plannedDeliveryDateTime - (any)
|
1223
|
+
class PlannedArrivalDetail
|
1224
|
+
attr_accessor :supplyCd
|
1225
|
+
attr_accessor :keeper
|
1226
|
+
attr_accessor :plannedDepartureDate
|
1227
|
+
attr_accessor :foodChainInfo
|
1228
|
+
attr_accessor :foodChainInfoStandard
|
1229
|
+
attr_accessor :trader
|
1230
|
+
attr_accessor :loadGroup
|
1231
|
+
attr_accessor :destination
|
1232
|
+
attr_accessor :plannedDeliveryDateTime
|
1233
|
+
|
1234
|
+
def initialize(supplyCd = nil, keeper = nil, plannedDepartureDate = nil, foodChainInfo = nil, foodChainInfoStandard = nil, trader = nil, loadGroup = nil, destination = nil, plannedDeliveryDateTime = nil)
|
1235
|
+
@supplyCd = supplyCd
|
1236
|
+
@keeper = keeper
|
1237
|
+
@plannedDepartureDate = plannedDepartureDate
|
1238
|
+
@foodChainInfo = foodChainInfo
|
1239
|
+
@foodChainInfoStandard = foodChainInfoStandard
|
1240
|
+
@trader = trader
|
1241
|
+
@loadGroup = loadGroup
|
1242
|
+
@destination = destination
|
1243
|
+
@plannedDeliveryDateTime = plannedDeliveryDateTime
|
1244
|
+
end
|
1245
|
+
end
|
1246
|
+
|
1247
|
+
# {http://ws.crvholding.com/animalTypes/}pedigree
|
1248
|
+
# sire - CrvApiClient::Api::Animals::Animal
|
1249
|
+
# dam - CrvApiClient::Api::Animals::Animal
|
1250
|
+
class Pedigree
|
1251
|
+
attr_accessor :sire
|
1252
|
+
attr_accessor :dam
|
1253
|
+
|
1254
|
+
def initialize(sire = nil, dam = nil)
|
1255
|
+
@sire = sire
|
1256
|
+
@dam = dam
|
1257
|
+
end
|
1258
|
+
end
|
1259
|
+
|
1260
|
+
# {http://ws.crvholding.com/animalTypes/}plannedArrival
|
1261
|
+
# animal - CrvApiClient::Api::Animals::Animal
|
1262
|
+
# plannedArrivalDetail - CrvApiClient::Api::Animals::PlannedArrivalDetail
|
1263
|
+
# breedFraction - CrvApiClient::Api::Animals::BreedFraction
|
1264
|
+
class PlannedArrival
|
1265
|
+
attr_accessor :animal
|
1266
|
+
attr_accessor :plannedArrivalDetail
|
1267
|
+
attr_accessor :breedFraction
|
1268
|
+
|
1269
|
+
def initialize(animal = [], plannedArrivalDetail = nil, breedFraction = [])
|
1270
|
+
@animal = animal
|
1271
|
+
@plannedArrivalDetail = plannedArrivalDetail
|
1272
|
+
@breedFraction = breedFraction
|
1273
|
+
end
|
1274
|
+
end
|
1275
|
+
|
1276
|
+
# {http://ws.crvholding.com/participantTypes/}participantId
|
1277
|
+
# participantCode - SOAP::SOAPString
|
1278
|
+
# participantCodeType - SOAP::SOAPString
|
1279
|
+
# countryCode - SOAP::SOAPString
|
1280
|
+
class ParticipantId
|
1281
|
+
attr_accessor :participantCode
|
1282
|
+
attr_accessor :participantCodeType
|
1283
|
+
attr_accessor :countryCode
|
1284
|
+
|
1285
|
+
def initialize(participantCode = nil, participantCodeType = nil, countryCode = nil)
|
1286
|
+
@participantCode = participantCode
|
1287
|
+
@participantCodeType = participantCodeType
|
1288
|
+
@countryCode = countryCode
|
1289
|
+
end
|
1290
|
+
end
|
1291
|
+
|
1292
|
+
# {http://ws.crvholding.com/participantTypes/}nameAddressLayout
|
1293
|
+
# addressType - SOAP::SOAPString
|
1294
|
+
# participantName - SOAP::SOAPString
|
1295
|
+
# addressLine1 - SOAP::SOAPString
|
1296
|
+
# addressLine2 - SOAP::SOAPString
|
1297
|
+
# addressLine3 - SOAP::SOAPString
|
1298
|
+
# addressLine4 - SOAP::SOAPString
|
1299
|
+
# addressLine5 - SOAP::SOAPString
|
1300
|
+
# addressLine6 - SOAP::SOAPString
|
1301
|
+
class NameAddressLayout
|
1302
|
+
attr_accessor :addressType
|
1303
|
+
attr_accessor :participantName
|
1304
|
+
attr_accessor :addressLine1
|
1305
|
+
attr_accessor :addressLine2
|
1306
|
+
attr_accessor :addressLine3
|
1307
|
+
attr_accessor :addressLine4
|
1308
|
+
attr_accessor :addressLine5
|
1309
|
+
attr_accessor :addressLine6
|
1310
|
+
|
1311
|
+
def initialize(addressType = nil, participantName = nil, addressLine1 = nil, addressLine2 = nil, addressLine3 = nil, addressLine4 = nil, addressLine5 = nil, addressLine6 = nil)
|
1312
|
+
@addressType = addressType
|
1313
|
+
@participantName = participantName
|
1314
|
+
@addressLine1 = addressLine1
|
1315
|
+
@addressLine2 = addressLine2
|
1316
|
+
@addressLine3 = addressLine3
|
1317
|
+
@addressLine4 = addressLine4
|
1318
|
+
@addressLine5 = addressLine5
|
1319
|
+
@addressLine6 = addressLine6
|
1320
|
+
end
|
1321
|
+
end
|
1322
|
+
|
1323
|
+
# {http://ws.crvholding.com/participantTypes/}address
|
1324
|
+
# addressType - SOAP::SOAPString
|
1325
|
+
# street - SOAP::SOAPString
|
1326
|
+
# houseNr - SOAP::SOAPString
|
1327
|
+
# zipCd - SOAP::SOAPString
|
1328
|
+
# city - SOAP::SOAPString
|
1329
|
+
# regionCd - SOAP::SOAPString
|
1330
|
+
# country - SOAP::SOAPString
|
1331
|
+
# countryCd - SOAP::SOAPString
|
1332
|
+
class Address
|
1333
|
+
attr_accessor :addressType
|
1334
|
+
attr_accessor :street
|
1335
|
+
attr_accessor :houseNr
|
1336
|
+
attr_accessor :zipCd
|
1337
|
+
attr_accessor :city
|
1338
|
+
attr_accessor :regionCd
|
1339
|
+
attr_accessor :country
|
1340
|
+
attr_accessor :countryCd
|
1341
|
+
|
1342
|
+
def initialize(addressType = nil, street = nil, houseNr = nil, zipCd = nil, city = nil, regionCd = nil, country = nil, countryCd = nil)
|
1343
|
+
@addressType = addressType
|
1344
|
+
@street = street
|
1345
|
+
@houseNr = houseNr
|
1346
|
+
@zipCd = zipCd
|
1347
|
+
@city = city
|
1348
|
+
@regionCd = regionCd
|
1349
|
+
@country = country
|
1350
|
+
@countryCd = countryCd
|
1351
|
+
end
|
1352
|
+
end
|
1353
|
+
|
1354
|
+
# {http://ws.crvholding.com/participantTypes/}participant
|
1355
|
+
# participant - CrvApiClient::Api::Animals::ParticipantId
|
1356
|
+
# preTitle - SOAP::SOAPString
|
1357
|
+
# initials - SOAP::SOAPString
|
1358
|
+
# firstname - SOAP::SOAPString
|
1359
|
+
# prefix - SOAP::SOAPString
|
1360
|
+
# surname - SOAP::SOAPString
|
1361
|
+
# postTitle - SOAP::SOAPString
|
1362
|
+
# composedName - SOAP::SOAPString
|
1363
|
+
class Participant
|
1364
|
+
attr_accessor :participant
|
1365
|
+
attr_accessor :preTitle
|
1366
|
+
attr_accessor :initials
|
1367
|
+
attr_accessor :firstname
|
1368
|
+
attr_accessor :prefix
|
1369
|
+
attr_accessor :surname
|
1370
|
+
attr_accessor :postTitle
|
1371
|
+
attr_accessor :composedName
|
1372
|
+
|
1373
|
+
def initialize(participant = nil, preTitle = nil, initials = nil, firstname = nil, prefix = nil, surname = nil, postTitle = nil, composedName = nil)
|
1374
|
+
@participant = participant
|
1375
|
+
@preTitle = preTitle
|
1376
|
+
@initials = initials
|
1377
|
+
@firstname = firstname
|
1378
|
+
@prefix = prefix
|
1379
|
+
@surname = surname
|
1380
|
+
@postTitle = postTitle
|
1381
|
+
@composedName = composedName
|
1382
|
+
end
|
1383
|
+
end
|
1384
|
+
|
1385
|
+
# {http://ws.crvholding.com/participantTypes/}connectionDataBasic
|
1386
|
+
# emailAddress - SOAP::SOAPString
|
1387
|
+
# phoneNr - SOAP::SOAPString
|
1388
|
+
# mobilePhone - SOAP::SOAPString
|
1389
|
+
class ConnectionDataBasic
|
1390
|
+
attr_accessor :emailAddress
|
1391
|
+
attr_accessor :phoneNr
|
1392
|
+
attr_accessor :mobilePhone
|
1393
|
+
|
1394
|
+
def initialize(emailAddress = nil, phoneNr = nil, mobilePhone = nil)
|
1395
|
+
@emailAddress = emailAddress
|
1396
|
+
@phoneNr = phoneNr
|
1397
|
+
@mobilePhone = mobilePhone
|
1398
|
+
end
|
1399
|
+
end
|
1400
|
+
|
1401
|
+
# {http://ws.crvholding.com/participantTypes/}connection
|
1402
|
+
# connectionType - SOAP::SOAPString
|
1403
|
+
# connection - SOAP::SOAPString
|
1404
|
+
# connectionUse - SOAP::SOAPString
|
1405
|
+
class Connection
|
1406
|
+
attr_accessor :connectionType
|
1407
|
+
attr_accessor :connection
|
1408
|
+
attr_accessor :connectionUse
|
1409
|
+
|
1410
|
+
def initialize(connectionType = nil, connection = nil, connectionUse = nil)
|
1411
|
+
@connectionType = connectionType
|
1412
|
+
@connection = connection
|
1413
|
+
@connectionUse = connectionUse
|
1414
|
+
end
|
1415
|
+
end
|
1416
|
+
|
1417
|
+
# {http://ws.crvholding.com/participantTypes/}participantBasic
|
1418
|
+
# participant - CrvApiClient::Api::Animals::Participant
|
1419
|
+
# address - CrvApiClient::Api::Animals::Address
|
1420
|
+
# connectionDataBasic - CrvApiClient::Api::Animals::ConnectionDataBasic
|
1421
|
+
class ParticipantBasic
|
1422
|
+
attr_accessor :participant
|
1423
|
+
attr_accessor :address
|
1424
|
+
attr_accessor :connectionDataBasic
|
1425
|
+
|
1426
|
+
def initialize(participant = nil, address = [], connectionDataBasic = nil)
|
1427
|
+
@participant = participant
|
1428
|
+
@address = address
|
1429
|
+
@connectionDataBasic = connectionDataBasic
|
1430
|
+
end
|
1431
|
+
end
|
1432
|
+
|
1433
|
+
# {http://ws.crvholding.com/participantTypes/}participantComplete
|
1434
|
+
# participant - CrvApiClient::Api::Animals::Participant
|
1435
|
+
# address - CrvApiClient::Api::Animals::Address
|
1436
|
+
# connection - CrvApiClient::Api::Animals::Connection
|
1437
|
+
class ParticipantComplete
|
1438
|
+
attr_accessor :participant
|
1439
|
+
attr_accessor :address
|
1440
|
+
attr_accessor :connection
|
1441
|
+
|
1442
|
+
def initialize(participant = nil, address = [], connection = [])
|
1443
|
+
@participant = participant
|
1444
|
+
@address = address
|
1445
|
+
@connection = connection
|
1446
|
+
end
|
1447
|
+
end
|
1448
|
+
|
1449
|
+
# {http://ws.crvholding.com/participantTypes/}actualKeeper
|
1450
|
+
# participant - CrvApiClient::Api::Animals::ParticipantId
|
1451
|
+
# nameAddressLayout - CrvApiClient::Api::Animals::NameAddressLayout
|
1452
|
+
class ActualKeeper
|
1453
|
+
attr_accessor :participant
|
1454
|
+
attr_accessor :nameAddressLayout
|
1455
|
+
|
1456
|
+
def initialize(participant = nil, nameAddressLayout = nil)
|
1457
|
+
@participant = participant
|
1458
|
+
@nameAddressLayout = nameAddressLayout
|
1459
|
+
end
|
1460
|
+
end
|
1461
|
+
|
1462
|
+
# {http://ws.crvholding.com/commonTypes/}booleanType
|
1463
|
+
class BooleanType < ::String
|
1464
|
+
C_ = new("")
|
1465
|
+
F = new("F")
|
1466
|
+
T = new("T")
|
1467
|
+
end
|
1468
|
+
|
1469
|
+
# {http://ws.crvholding.com/commonTypes/}notificationType
|
1470
|
+
class NotificationType < ::String
|
1471
|
+
C_ = new("")
|
1472
|
+
Email = new("email")
|
1473
|
+
Fax = new("fax")
|
1474
|
+
Pager = new("pager")
|
1475
|
+
Sms = new("sms")
|
1476
|
+
Voice = new("voice")
|
1477
|
+
end
|
1478
|
+
|
1479
|
+
# {http://ws.crvholding.com/dictionaryTypes/}representationType
|
1480
|
+
class RepresentationType < ::String
|
1481
|
+
CODE = new("CODE")
|
1482
|
+
NAME = new("NAME")
|
1483
|
+
end
|
1484
|
+
|
1485
|
+
# {http://ws.crvholding.com/animalTypes/}countryCode
|
1486
|
+
class CountryCode < ::String
|
1487
|
+
BEL = new("BEL")
|
1488
|
+
LUX = new("LUX")
|
1489
|
+
NLD = new("NLD")
|
1490
|
+
end
|
1491
|
+
|
1492
|
+
# {http://ws.crvholding.com/animalTypes/}keeperType
|
1493
|
+
class KeeperType < ::String
|
1494
|
+
UBN = new("UBN")
|
1495
|
+
UVN = new("UVN")
|
1496
|
+
end
|
1497
|
+
|
1498
|
+
# {http://ws.crvholding.com/animalTypes/}sex
|
1499
|
+
class Sex < ::String
|
1500
|
+
F = new("F")
|
1501
|
+
M = new("M")
|
1502
|
+
end
|
1503
|
+
|
1504
|
+
# {http://ws.crvholding.com/animalMessages/}modifyAnimalManagementRequest
|
1505
|
+
# contextMessage - CrvApiClient::Api::Animals::ContextMessage
|
1506
|
+
# requestMessage - CrvApiClient::Api::Animals::ModifyAnimalManagementRequestType
|
1507
|
+
class ModifyAnimalManagementRequest
|
1508
|
+
attr_accessor :contextMessage
|
1509
|
+
attr_accessor :requestMessage
|
1510
|
+
|
1511
|
+
def initialize(contextMessage = nil, requestMessage = nil)
|
1512
|
+
@contextMessage = contextMessage
|
1513
|
+
@requestMessage = requestMessage
|
1514
|
+
end
|
1515
|
+
end
|
1516
|
+
|
1517
|
+
# {http://ws.crvholding.com/animalMessages/}modifyAnimalManagementResponse
|
1518
|
+
# responseMessage - SOAP::SOAPString
|
1519
|
+
# serviceMessage - CrvApiClient::Api::Animals::ServiceMessage
|
1520
|
+
class ModifyAnimalManagementResponse
|
1521
|
+
attr_accessor :responseMessage
|
1522
|
+
attr_accessor :serviceMessage
|
1523
|
+
|
1524
|
+
def initialize(responseMessage = nil, serviceMessage = nil)
|
1525
|
+
@responseMessage = responseMessage
|
1526
|
+
@serviceMessage = serviceMessage
|
1527
|
+
end
|
1528
|
+
end
|
1529
|
+
|
1530
|
+
# {http://ws.crvholding.com/animalMessages/}addPlannedDepartureRequest
|
1531
|
+
# contextMessage - CrvApiClient::Api::Animals::ContextMessage
|
1532
|
+
# requestMessage - CrvApiClient::Api::Animals::AddPlannedDepartureRequestType
|
1533
|
+
class AddPlannedDepartureRequest
|
1534
|
+
attr_accessor :contextMessage
|
1535
|
+
attr_accessor :requestMessage
|
1536
|
+
|
1537
|
+
def initialize(contextMessage = nil, requestMessage = nil)
|
1538
|
+
@contextMessage = contextMessage
|
1539
|
+
@requestMessage = requestMessage
|
1540
|
+
end
|
1541
|
+
end
|
1542
|
+
|
1543
|
+
# {http://ws.crvholding.com/animalMessages/}addPlannedDepartureResponse
|
1544
|
+
# responseMessage - SOAP::SOAPString
|
1545
|
+
# serviceMessage - CrvApiClient::Api::Animals::ServiceMessage
|
1546
|
+
class AddPlannedDepartureResponse
|
1547
|
+
attr_accessor :responseMessage
|
1548
|
+
attr_accessor :serviceMessage
|
1549
|
+
|
1550
|
+
def initialize(responseMessage = nil, serviceMessage = nil)
|
1551
|
+
@responseMessage = responseMessage
|
1552
|
+
@serviceMessage = serviceMessage
|
1553
|
+
end
|
1554
|
+
end
|
1555
|
+
|
1556
|
+
# {http://ws.crvholding.com/animalMessages/}deletePlannedDepartureRequest
|
1557
|
+
# contextMessage - CrvApiClient::Api::Animals::ContextMessage
|
1558
|
+
# requestMessage - CrvApiClient::Api::Animals::DeletePlannedDepartureRequestType
|
1559
|
+
class DeletePlannedDepartureRequest
|
1560
|
+
attr_accessor :contextMessage
|
1561
|
+
attr_accessor :requestMessage
|
1562
|
+
|
1563
|
+
def initialize(contextMessage = nil, requestMessage = nil)
|
1564
|
+
@contextMessage = contextMessage
|
1565
|
+
@requestMessage = requestMessage
|
1566
|
+
end
|
1567
|
+
end
|
1568
|
+
|
1569
|
+
# {http://ws.crvholding.com/animalMessages/}deletePlannedDepartureResponse
|
1570
|
+
# responseMessage - SOAP::SOAPString
|
1571
|
+
# serviceMessage - CrvApiClient::Api::Animals::ServiceMessage
|
1572
|
+
class DeletePlannedDepartureResponse
|
1573
|
+
attr_accessor :responseMessage
|
1574
|
+
attr_accessor :serviceMessage
|
1575
|
+
|
1576
|
+
def initialize(responseMessage = nil, serviceMessage = nil)
|
1577
|
+
@responseMessage = responseMessage
|
1578
|
+
@serviceMessage = serviceMessage
|
1579
|
+
end
|
1580
|
+
end
|
1581
|
+
|
1582
|
+
# {http://ws.crvholding.com/animalMessages/}getAverageHerdWeightRequest
|
1583
|
+
# contextMessage - CrvApiClient::Api::Animals::ContextMessage
|
1584
|
+
# requestMessage - CrvApiClient::Api::Animals::GetAverageHerdWeightRequestType
|
1585
|
+
class GetAverageHerdWeightRequest
|
1586
|
+
attr_accessor :contextMessage
|
1587
|
+
attr_accessor :requestMessage
|
1588
|
+
|
1589
|
+
def initialize(contextMessage = nil, requestMessage = nil)
|
1590
|
+
@contextMessage = contextMessage
|
1591
|
+
@requestMessage = requestMessage
|
1592
|
+
end
|
1593
|
+
end
|
1594
|
+
|
1595
|
+
# {http://ws.crvholding.com/animalMessages/}getAverageHerdWeightResponse
|
1596
|
+
# responseMessage - CrvApiClient::Api::Animals::GetAverageHerdWeightResponseType
|
1597
|
+
# serviceMessage - CrvApiClient::Api::Animals::ServiceMessage
|
1598
|
+
class GetAverageHerdWeightResponse
|
1599
|
+
attr_accessor :responseMessage
|
1600
|
+
attr_accessor :serviceMessage
|
1601
|
+
|
1602
|
+
def initialize(responseMessage = nil, serviceMessage = nil)
|
1603
|
+
@responseMessage = responseMessage
|
1604
|
+
@serviceMessage = serviceMessage
|
1605
|
+
end
|
1606
|
+
end
|
1607
|
+
|
1608
|
+
# {http://ws.crvholding.com/animalMessages/}listPlannedDepartureRequest
|
1609
|
+
# contextMessage - CrvApiClient::Api::Animals::ContextMessage
|
1610
|
+
# requestMessage - CrvApiClient::Api::Animals::ListPlannedDepartureRequestType
|
1611
|
+
class ListPlannedDepartureRequest
|
1612
|
+
attr_accessor :contextMessage
|
1613
|
+
attr_accessor :requestMessage
|
1614
|
+
|
1615
|
+
def initialize(contextMessage = nil, requestMessage = nil)
|
1616
|
+
@contextMessage = contextMessage
|
1617
|
+
@requestMessage = requestMessage
|
1618
|
+
end
|
1619
|
+
end
|
1620
|
+
|
1621
|
+
# {http://ws.crvholding.com/animalMessages/}listPlannedDepartureResponse
|
1622
|
+
# responseMessage - CrvApiClient::Api::Animals::ListPlannedDepartureResponseType
|
1623
|
+
# serviceMessage - CrvApiClient::Api::Animals::ServiceMessage
|
1624
|
+
class ListPlannedDepartureResponse
|
1625
|
+
attr_accessor :responseMessage
|
1626
|
+
attr_accessor :serviceMessage
|
1627
|
+
|
1628
|
+
def initialize(responseMessage = nil, serviceMessage = nil)
|
1629
|
+
@responseMessage = responseMessage
|
1630
|
+
@serviceMessage = serviceMessage
|
1631
|
+
end
|
1632
|
+
end
|
1633
|
+
|
1634
|
+
# {http://ws.crvholding.com/animalMessages/}listFoodChainInformationRequest
|
1635
|
+
# contextMessage - CrvApiClient::Api::Animals::ContextMessage
|
1636
|
+
# requestMessage - CrvApiClient::Api::Animals::ListFoodChainInformationRequestType
|
1637
|
+
class ListFoodChainInformationRequest
|
1638
|
+
attr_accessor :contextMessage
|
1639
|
+
attr_accessor :requestMessage
|
1640
|
+
|
1641
|
+
def initialize(contextMessage = nil, requestMessage = nil)
|
1642
|
+
@contextMessage = contextMessage
|
1643
|
+
@requestMessage = requestMessage
|
1644
|
+
end
|
1645
|
+
end
|
1646
|
+
|
1647
|
+
# {http://ws.crvholding.com/animalMessages/}listFoodChainInformationResponse
|
1648
|
+
# responseMessage - CrvApiClient::Api::Animals::ListFoodChainInformationResponseType
|
1649
|
+
# serviceMessage - CrvApiClient::Api::Animals::ServiceMessage
|
1650
|
+
class ListFoodChainInformationResponse
|
1651
|
+
attr_accessor :responseMessage
|
1652
|
+
attr_accessor :serviceMessage
|
1653
|
+
|
1654
|
+
def initialize(responseMessage = nil, serviceMessage = nil)
|
1655
|
+
@responseMessage = responseMessage
|
1656
|
+
@serviceMessage = serviceMessage
|
1657
|
+
end
|
1658
|
+
end
|
1659
|
+
|
1660
|
+
# {http://ws.crvholding.com/animalMessages/}listPlannedArrivalRequest
|
1661
|
+
# contextMessage - CrvApiClient::Api::Animals::ContextMessage
|
1662
|
+
# requestMessage - CrvApiClient::Api::Animals::ListPlannedArrivalRequestType
|
1663
|
+
class ListPlannedArrivalRequest
|
1664
|
+
attr_accessor :contextMessage
|
1665
|
+
attr_accessor :requestMessage
|
1666
|
+
|
1667
|
+
def initialize(contextMessage = nil, requestMessage = nil)
|
1668
|
+
@contextMessage = contextMessage
|
1669
|
+
@requestMessage = requestMessage
|
1670
|
+
end
|
1671
|
+
end
|
1672
|
+
|
1673
|
+
# {http://ws.crvholding.com/animalMessages/}listPlannedArrivalResponse
|
1674
|
+
# responseMessage - CrvApiClient::Api::Animals::ListPlannedArrivalResponseType
|
1675
|
+
# serviceMessage - CrvApiClient::Api::Animals::ServiceMessage
|
1676
|
+
class ListPlannedArrivalResponse
|
1677
|
+
attr_accessor :responseMessage
|
1678
|
+
attr_accessor :serviceMessage
|
1679
|
+
|
1680
|
+
def initialize(responseMessage = nil, serviceMessage = nil)
|
1681
|
+
@responseMessage = responseMessage
|
1682
|
+
@serviceMessage = serviceMessage
|
1683
|
+
end
|
1684
|
+
end
|
1685
|
+
|
1686
|
+
# {http://ws.crvholding.com/animalMessages/}modifyPlannedArrivalRequest
|
1687
|
+
# contextMessage - CrvApiClient::Api::Animals::ContextMessage
|
1688
|
+
# requestMessage - CrvApiClient::Api::Animals::ModifyPlannedArrivalRequestType
|
1689
|
+
class ModifyPlannedArrivalRequest
|
1690
|
+
attr_accessor :contextMessage
|
1691
|
+
attr_accessor :requestMessage
|
1692
|
+
|
1693
|
+
def initialize(contextMessage = nil, requestMessage = nil)
|
1694
|
+
@contextMessage = contextMessage
|
1695
|
+
@requestMessage = requestMessage
|
1696
|
+
end
|
1697
|
+
end
|
1698
|
+
|
1699
|
+
# {http://ws.crvholding.com/animalMessages/}modifyPlannedArrivalResponse
|
1700
|
+
# serviceMessage - CrvApiClient::Api::Animals::ServiceMessage
|
1701
|
+
class ModifyPlannedArrivalResponse
|
1702
|
+
attr_accessor :serviceMessage
|
1703
|
+
|
1704
|
+
def initialize(serviceMessage = nil)
|
1705
|
+
@serviceMessage = serviceMessage
|
1706
|
+
end
|
1707
|
+
end
|
1708
|
+
|
1709
|
+
# {http://ws.crvholding.com/animalMessages/}listHerdPedigreeRequest
|
1710
|
+
# contextMessage - CrvApiClient::Api::Animals::ContextMessage
|
1711
|
+
# requestMessage - CrvApiClient::Api::Animals::ListHerdPedigreeRequestType
|
1712
|
+
class ListHerdPedigreeRequest
|
1713
|
+
attr_accessor :contextMessage
|
1714
|
+
attr_accessor :requestMessage
|
1715
|
+
|
1716
|
+
def initialize(contextMessage = nil, requestMessage = nil)
|
1717
|
+
@contextMessage = contextMessage
|
1718
|
+
@requestMessage = requestMessage
|
1719
|
+
end
|
1720
|
+
end
|
1721
|
+
|
1722
|
+
# {http://ws.crvholding.com/animalMessages/}listHerdPedigreeResponse
|
1723
|
+
# responseMessage - CrvApiClient::Api::Animals::ListHerdPedigreeResponseType
|
1724
|
+
# serviceMessage - CrvApiClient::Api::Animals::ServiceMessage
|
1725
|
+
class ListHerdPedigreeResponse
|
1726
|
+
attr_accessor :responseMessage
|
1727
|
+
attr_accessor :serviceMessage
|
1728
|
+
|
1729
|
+
def initialize(responseMessage = nil, serviceMessage = nil)
|
1730
|
+
@responseMessage = responseMessage
|
1731
|
+
@serviceMessage = serviceMessage
|
1732
|
+
end
|
1733
|
+
end
|
1734
|
+
end
|