1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace Ovh\StructType; |
4
|
|
|
|
5
|
|
|
use \WsdlToPhp\PackageBase\AbstractStructBase; |
6
|
|
|
|
7
|
|
|
/** |
8
|
|
|
* This class stands for resellerDomainTransferASIA StructType |
9
|
|
|
* @subpackage Structs |
10
|
|
|
* @author WsdlToPhp <[email protected]> |
11
|
|
|
*/ |
12
|
|
|
class ResellerDomainTransferASIA extends AbstractStructBase |
13
|
|
|
{ |
14
|
|
|
/** |
15
|
|
|
* The session |
16
|
|
|
* Meta information extracted from the WSDL |
17
|
|
|
* - nillable: true |
18
|
|
|
* @var string |
19
|
|
|
*/ |
20
|
|
|
public $session; |
21
|
|
|
/** |
22
|
|
|
* The domain |
23
|
|
|
* Meta information extracted from the WSDL |
24
|
|
|
* - nillable: true |
25
|
|
|
* @var string |
26
|
|
|
*/ |
27
|
|
|
public $domain; |
28
|
|
|
/** |
29
|
|
|
* The authinfo |
30
|
|
|
* Meta information extracted from the WSDL |
31
|
|
|
* - nillable: true |
32
|
|
|
* @var string |
33
|
|
|
*/ |
34
|
|
|
public $authinfo; |
35
|
|
|
/** |
36
|
|
|
* The hosting |
37
|
|
|
* Meta information extracted from the WSDL |
38
|
|
|
* - nillable: true |
39
|
|
|
* @var string |
40
|
|
|
*/ |
41
|
|
|
public $hosting; |
42
|
|
|
/** |
43
|
|
|
* The offer |
44
|
|
|
* Meta information extracted from the WSDL |
45
|
|
|
* - nillable: true |
46
|
|
|
* @var string |
47
|
|
|
*/ |
48
|
|
|
public $offer; |
49
|
|
|
/** |
50
|
|
|
* The profile |
51
|
|
|
* Meta information extracted from the WSDL |
52
|
|
|
* - nillable: true |
53
|
|
|
* @var string |
54
|
|
|
*/ |
55
|
|
|
public $profile; |
56
|
|
|
/** |
57
|
|
|
* The owo |
58
|
|
|
* Meta information extracted from the WSDL |
59
|
|
|
* - nillable: true |
60
|
|
|
* @var string |
61
|
|
|
*/ |
62
|
|
|
public $owo; |
63
|
|
|
/** |
64
|
|
|
* The owner |
65
|
|
|
* Meta information extracted from the WSDL |
66
|
|
|
* - nillable: true |
67
|
|
|
* @var string |
68
|
|
|
*/ |
69
|
|
|
public $owner; |
70
|
|
|
/** |
71
|
|
|
* The admin |
72
|
|
|
* Meta information extracted from the WSDL |
73
|
|
|
* - nillable: true |
74
|
|
|
* @var string |
75
|
|
|
*/ |
76
|
|
|
public $admin; |
77
|
|
|
/** |
78
|
|
|
* The tech |
79
|
|
|
* Meta information extracted from the WSDL |
80
|
|
|
* - nillable: true |
81
|
|
|
* @var string |
82
|
|
|
*/ |
83
|
|
|
public $tech; |
84
|
|
|
/** |
85
|
|
|
* The billing |
86
|
|
|
* Meta information extracted from the WSDL |
87
|
|
|
* - nillable: true |
88
|
|
|
* @var string |
89
|
|
|
*/ |
90
|
|
|
public $billing; |
91
|
|
|
/** |
92
|
|
|
* The dns1 |
93
|
|
|
* Meta information extracted from the WSDL |
94
|
|
|
* - nillable: true |
95
|
|
|
* @var string |
96
|
|
|
*/ |
97
|
|
|
public $dns1; |
98
|
|
|
/** |
99
|
|
|
* The dns2 |
100
|
|
|
* Meta information extracted from the WSDL |
101
|
|
|
* - nillable: true |
102
|
|
|
* @var string |
103
|
|
|
*/ |
104
|
|
|
public $dns2; |
105
|
|
|
/** |
106
|
|
|
* The dns3 |
107
|
|
|
* Meta information extracted from the WSDL |
108
|
|
|
* - nillable: true |
109
|
|
|
* @var string |
110
|
|
|
*/ |
111
|
|
|
public $dns3; |
112
|
|
|
/** |
113
|
|
|
* The dns4 |
114
|
|
|
* Meta information extracted from the WSDL |
115
|
|
|
* - nillable: true |
116
|
|
|
* @var string |
117
|
|
|
*/ |
118
|
|
|
public $dns4; |
119
|
|
|
/** |
120
|
|
|
* The dns5 |
121
|
|
|
* Meta information extracted from the WSDL |
122
|
|
|
* - nillable: true |
123
|
|
|
* @var string |
124
|
|
|
*/ |
125
|
|
|
public $dns5; |
126
|
|
|
/** |
127
|
|
|
* The CedCea |
128
|
|
|
* Meta information extracted from the WSDL |
129
|
|
|
* - nillable: true |
130
|
|
|
* @var string |
131
|
|
|
*/ |
132
|
|
|
public $CedCea; |
133
|
|
|
/** |
134
|
|
|
* The contactCED |
135
|
|
|
* Meta information extracted from the WSDL |
136
|
|
|
* - nillable: true |
137
|
|
|
* @var string |
138
|
|
|
*/ |
139
|
|
|
public $contactCED; |
140
|
|
|
/** |
141
|
|
|
* The localityCity |
142
|
|
|
* Meta information extracted from the WSDL |
143
|
|
|
* - nillable: true |
144
|
|
|
* @var string |
145
|
|
|
*/ |
146
|
|
|
public $localityCity; |
147
|
|
|
/** |
148
|
|
|
* The localitySp |
149
|
|
|
* Meta information extracted from the WSDL |
150
|
|
|
* - nillable: true |
151
|
|
|
* @var string |
152
|
|
|
*/ |
153
|
|
|
public $localitySp; |
154
|
|
|
/** |
155
|
|
|
* The ccLocality |
156
|
|
|
* Meta information extracted from the WSDL |
157
|
|
|
* - nillable: true |
158
|
|
|
* @var string |
159
|
|
|
*/ |
160
|
|
|
public $ccLocality; |
161
|
|
|
/** |
162
|
|
|
* The legalEntityType |
163
|
|
|
* Meta information extracted from the WSDL |
164
|
|
|
* - nillable: true |
165
|
|
|
* @var string |
166
|
|
|
*/ |
167
|
|
|
public $legalEntityType; |
168
|
|
|
/** |
169
|
|
|
* The otherLEType |
170
|
|
|
* Meta information extracted from the WSDL |
171
|
|
|
* - nillable: true |
172
|
|
|
* @var string |
173
|
|
|
*/ |
174
|
|
|
public $otherLEType; |
175
|
|
|
/** |
176
|
|
|
* The identForm |
177
|
|
|
* Meta information extracted from the WSDL |
178
|
|
|
* - nillable: true |
179
|
|
|
* @var string |
180
|
|
|
*/ |
181
|
|
|
public $identForm; |
182
|
|
|
/** |
183
|
|
|
* The otherIdentForm |
184
|
|
|
* Meta information extracted from the WSDL |
185
|
|
|
* - nillable: true |
186
|
|
|
* @var string |
187
|
|
|
*/ |
188
|
|
|
public $otherIdentForm; |
189
|
|
|
/** |
190
|
|
|
* The identNumber |
191
|
|
|
* Meta information extracted from the WSDL |
192
|
|
|
* - nillable: true |
193
|
|
|
* @var string |
194
|
|
|
*/ |
195
|
|
|
public $identNumber; |
196
|
|
|
/** |
197
|
|
|
* The dryRun |
198
|
|
|
* Meta information extracted from the WSDL |
199
|
|
|
* - nillable: true |
200
|
|
|
* @var bool |
201
|
|
|
*/ |
202
|
|
|
public $dryRun; |
203
|
|
|
/** |
204
|
|
|
* Constructor method for resellerDomainTransferASIA |
205
|
|
|
* @uses ResellerDomainTransferASIA::setSession() |
206
|
|
|
* @uses ResellerDomainTransferASIA::setDomain() |
207
|
|
|
* @uses ResellerDomainTransferASIA::setAuthinfo() |
208
|
|
|
* @uses ResellerDomainTransferASIA::setHosting() |
209
|
|
|
* @uses ResellerDomainTransferASIA::setOffer() |
210
|
|
|
* @uses ResellerDomainTransferASIA::setProfile() |
211
|
|
|
* @uses ResellerDomainTransferASIA::setOwo() |
212
|
|
|
* @uses ResellerDomainTransferASIA::setOwner() |
213
|
|
|
* @uses ResellerDomainTransferASIA::setAdmin() |
214
|
|
|
* @uses ResellerDomainTransferASIA::setTech() |
215
|
|
|
* @uses ResellerDomainTransferASIA::setBilling() |
216
|
|
|
* @uses ResellerDomainTransferASIA::setDns1() |
217
|
|
|
* @uses ResellerDomainTransferASIA::setDns2() |
218
|
|
|
* @uses ResellerDomainTransferASIA::setDns3() |
219
|
|
|
* @uses ResellerDomainTransferASIA::setDns4() |
220
|
|
|
* @uses ResellerDomainTransferASIA::setDns5() |
221
|
|
|
* @uses ResellerDomainTransferASIA::setCedCea() |
222
|
|
|
* @uses ResellerDomainTransferASIA::setContactCED() |
223
|
|
|
* @uses ResellerDomainTransferASIA::setLocalityCity() |
224
|
|
|
* @uses ResellerDomainTransferASIA::setLocalitySp() |
225
|
|
|
* @uses ResellerDomainTransferASIA::setCcLocality() |
226
|
|
|
* @uses ResellerDomainTransferASIA::setLegalEntityType() |
227
|
|
|
* @uses ResellerDomainTransferASIA::setOtherLEType() |
228
|
|
|
* @uses ResellerDomainTransferASIA::setIdentForm() |
229
|
|
|
* @uses ResellerDomainTransferASIA::setOtherIdentForm() |
230
|
|
|
* @uses ResellerDomainTransferASIA::setIdentNumber() |
231
|
|
|
* @uses ResellerDomainTransferASIA::setDryRun() |
232
|
|
|
* @param string $session |
233
|
|
|
* @param string $domain |
234
|
|
|
* @param string $authinfo |
235
|
|
|
* @param string $hosting |
236
|
|
|
* @param string $offer |
237
|
|
|
* @param string $profile |
238
|
|
|
* @param string $owo |
239
|
|
|
* @param string $owner |
240
|
|
|
* @param string $admin |
241
|
|
|
* @param string $tech |
242
|
|
|
* @param string $billing |
243
|
|
|
* @param string $dns1 |
244
|
|
|
* @param string $dns2 |
245
|
|
|
* @param string $dns3 |
246
|
|
|
* @param string $dns4 |
247
|
|
|
* @param string $dns5 |
248
|
|
|
* @param string $cedCea |
249
|
|
|
* @param string $contactCED |
250
|
|
|
* @param string $localityCity |
251
|
|
|
* @param string $localitySp |
252
|
|
|
* @param string $ccLocality |
253
|
|
|
* @param string $legalEntityType |
254
|
|
|
* @param string $otherLEType |
255
|
|
|
* @param string $identForm |
256
|
|
|
* @param string $otherIdentForm |
257
|
|
|
* @param string $identNumber |
258
|
|
|
* @param bool $dryRun |
259
|
|
|
*/ |
260
|
|
|
public function __construct($session = null, $domain = null, $authinfo = null, $hosting = null, $offer = null, $profile = null, $owo = null, $owner = null, $admin = null, $tech = null, $billing = null, $dns1 = null, $dns2 = null, $dns3 = null, $dns4 = null, $dns5 = null, $cedCea = null, $contactCED = null, $localityCity = null, $localitySp = null, $ccLocality = null, $legalEntityType = null, $otherLEType = null, $identForm = null, $otherIdentForm = null, $identNumber = null, $dryRun = null) |
261
|
|
|
{ |
262
|
|
|
$this |
263
|
|
|
->setSession($session) |
264
|
|
|
->setDomain($domain) |
265
|
|
|
->setAuthinfo($authinfo) |
266
|
|
|
->setHosting($hosting) |
267
|
|
|
->setOffer($offer) |
268
|
|
|
->setProfile($profile) |
269
|
|
|
->setOwo($owo) |
270
|
|
|
->setOwner($owner) |
271
|
|
|
->setAdmin($admin) |
272
|
|
|
->setTech($tech) |
273
|
|
|
->setBilling($billing) |
274
|
|
|
->setDns1($dns1) |
275
|
|
|
->setDns2($dns2) |
276
|
|
|
->setDns3($dns3) |
277
|
|
|
->setDns4($dns4) |
278
|
|
|
->setDns5($dns5) |
279
|
|
|
->setCedCea($cedCea) |
280
|
|
|
->setContactCED($contactCED) |
281
|
|
|
->setLocalityCity($localityCity) |
282
|
|
|
->setLocalitySp($localitySp) |
283
|
|
|
->setCcLocality($ccLocality) |
284
|
|
|
->setLegalEntityType($legalEntityType) |
285
|
|
|
->setOtherLEType($otherLEType) |
286
|
|
|
->setIdentForm($identForm) |
287
|
|
|
->setOtherIdentForm($otherIdentForm) |
288
|
|
|
->setIdentNumber($identNumber) |
289
|
|
|
->setDryRun($dryRun); |
290
|
|
|
} |
291
|
|
|
/** |
292
|
|
|
* Get session value |
293
|
|
|
* @return string|null |
294
|
|
|
*/ |
295
|
|
|
public function getSession() |
296
|
|
|
{ |
297
|
|
|
return $this->session; |
298
|
|
|
} |
299
|
|
|
/** |
300
|
|
|
* Set session value |
301
|
|
|
* @param string $session |
302
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
303
|
|
|
*/ |
304
|
|
|
public function setSession($session = null) |
305
|
|
|
{ |
306
|
|
|
// validation for constraint: string |
307
|
|
|
if (!is_null($session) && !is_string($session)) { |
|
|
|
|
308
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($session, true), gettype($session)), __LINE__); |
309
|
|
|
} |
310
|
|
|
$this->session = $session; |
311
|
|
|
return $this; |
312
|
|
|
} |
313
|
|
|
/** |
314
|
|
|
* Get domain value |
315
|
|
|
* @return string|null |
316
|
|
|
*/ |
317
|
|
|
public function getDomain() |
318
|
|
|
{ |
319
|
|
|
return $this->domain; |
320
|
|
|
} |
321
|
|
|
/** |
322
|
|
|
* Set domain value |
323
|
|
|
* @param string $domain |
324
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
325
|
|
|
*/ |
326
|
|
|
public function setDomain($domain = null) |
327
|
|
|
{ |
328
|
|
|
// validation for constraint: string |
329
|
|
|
if (!is_null($domain) && !is_string($domain)) { |
|
|
|
|
330
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($domain, true), gettype($domain)), __LINE__); |
331
|
|
|
} |
332
|
|
|
$this->domain = $domain; |
333
|
|
|
return $this; |
334
|
|
|
} |
335
|
|
|
/** |
336
|
|
|
* Get authinfo value |
337
|
|
|
* @return string|null |
338
|
|
|
*/ |
339
|
|
|
public function getAuthinfo() |
340
|
|
|
{ |
341
|
|
|
return $this->authinfo; |
342
|
|
|
} |
343
|
|
|
/** |
344
|
|
|
* Set authinfo value |
345
|
|
|
* @param string $authinfo |
346
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
347
|
|
|
*/ |
348
|
|
|
public function setAuthinfo($authinfo = null) |
349
|
|
|
{ |
350
|
|
|
// validation for constraint: string |
351
|
|
|
if (!is_null($authinfo) && !is_string($authinfo)) { |
|
|
|
|
352
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($authinfo, true), gettype($authinfo)), __LINE__); |
353
|
|
|
} |
354
|
|
|
$this->authinfo = $authinfo; |
355
|
|
|
return $this; |
356
|
|
|
} |
357
|
|
|
/** |
358
|
|
|
* Get hosting value |
359
|
|
|
* @return string|null |
360
|
|
|
*/ |
361
|
|
|
public function getHosting() |
362
|
|
|
{ |
363
|
|
|
return $this->hosting; |
364
|
|
|
} |
365
|
|
|
/** |
366
|
|
|
* Set hosting value |
367
|
|
|
* @param string $hosting |
368
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
369
|
|
|
*/ |
370
|
|
|
public function setHosting($hosting = null) |
371
|
|
|
{ |
372
|
|
|
// validation for constraint: string |
373
|
|
|
if (!is_null($hosting) && !is_string($hosting)) { |
|
|
|
|
374
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($hosting, true), gettype($hosting)), __LINE__); |
375
|
|
|
} |
376
|
|
|
$this->hosting = $hosting; |
377
|
|
|
return $this; |
378
|
|
|
} |
379
|
|
|
/** |
380
|
|
|
* Get offer value |
381
|
|
|
* @return string|null |
382
|
|
|
*/ |
383
|
|
|
public function getOffer() |
384
|
|
|
{ |
385
|
|
|
return $this->offer; |
386
|
|
|
} |
387
|
|
|
/** |
388
|
|
|
* Set offer value |
389
|
|
|
* @param string $offer |
390
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
391
|
|
|
*/ |
392
|
|
|
public function setOffer($offer = null) |
393
|
|
|
{ |
394
|
|
|
// validation for constraint: string |
395
|
|
|
if (!is_null($offer) && !is_string($offer)) { |
|
|
|
|
396
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($offer, true), gettype($offer)), __LINE__); |
397
|
|
|
} |
398
|
|
|
$this->offer = $offer; |
399
|
|
|
return $this; |
400
|
|
|
} |
401
|
|
|
/** |
402
|
|
|
* Get profile value |
403
|
|
|
* @return string|null |
404
|
|
|
*/ |
405
|
|
|
public function getProfile() |
406
|
|
|
{ |
407
|
|
|
return $this->profile; |
408
|
|
|
} |
409
|
|
|
/** |
410
|
|
|
* Set profile value |
411
|
|
|
* @param string $profile |
412
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
413
|
|
|
*/ |
414
|
|
|
public function setProfile($profile = null) |
415
|
|
|
{ |
416
|
|
|
// validation for constraint: string |
417
|
|
|
if (!is_null($profile) && !is_string($profile)) { |
|
|
|
|
418
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($profile, true), gettype($profile)), __LINE__); |
419
|
|
|
} |
420
|
|
|
$this->profile = $profile; |
421
|
|
|
return $this; |
422
|
|
|
} |
423
|
|
|
/** |
424
|
|
|
* Get owo value |
425
|
|
|
* @return string|null |
426
|
|
|
*/ |
427
|
|
|
public function getOwo() |
428
|
|
|
{ |
429
|
|
|
return $this->owo; |
430
|
|
|
} |
431
|
|
|
/** |
432
|
|
|
* Set owo value |
433
|
|
|
* @param string $owo |
434
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
435
|
|
|
*/ |
436
|
|
|
public function setOwo($owo = null) |
437
|
|
|
{ |
438
|
|
|
// validation for constraint: string |
439
|
|
|
if (!is_null($owo) && !is_string($owo)) { |
|
|
|
|
440
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($owo, true), gettype($owo)), __LINE__); |
441
|
|
|
} |
442
|
|
|
$this->owo = $owo; |
443
|
|
|
return $this; |
444
|
|
|
} |
445
|
|
|
/** |
446
|
|
|
* Get owner value |
447
|
|
|
* @return string|null |
448
|
|
|
*/ |
449
|
|
|
public function getOwner() |
450
|
|
|
{ |
451
|
|
|
return $this->owner; |
452
|
|
|
} |
453
|
|
|
/** |
454
|
|
|
* Set owner value |
455
|
|
|
* @param string $owner |
456
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
457
|
|
|
*/ |
458
|
|
|
public function setOwner($owner = null) |
459
|
|
|
{ |
460
|
|
|
// validation for constraint: string |
461
|
|
|
if (!is_null($owner) && !is_string($owner)) { |
|
|
|
|
462
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($owner, true), gettype($owner)), __LINE__); |
463
|
|
|
} |
464
|
|
|
$this->owner = $owner; |
465
|
|
|
return $this; |
466
|
|
|
} |
467
|
|
|
/** |
468
|
|
|
* Get admin value |
469
|
|
|
* @return string|null |
470
|
|
|
*/ |
471
|
|
|
public function getAdmin() |
472
|
|
|
{ |
473
|
|
|
return $this->admin; |
474
|
|
|
} |
475
|
|
|
/** |
476
|
|
|
* Set admin value |
477
|
|
|
* @param string $admin |
478
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
479
|
|
|
*/ |
480
|
|
|
public function setAdmin($admin = null) |
481
|
|
|
{ |
482
|
|
|
// validation for constraint: string |
483
|
|
|
if (!is_null($admin) && !is_string($admin)) { |
|
|
|
|
484
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($admin, true), gettype($admin)), __LINE__); |
485
|
|
|
} |
486
|
|
|
$this->admin = $admin; |
487
|
|
|
return $this; |
488
|
|
|
} |
489
|
|
|
/** |
490
|
|
|
* Get tech value |
491
|
|
|
* @return string|null |
492
|
|
|
*/ |
493
|
|
|
public function getTech() |
494
|
|
|
{ |
495
|
|
|
return $this->tech; |
496
|
|
|
} |
497
|
|
|
/** |
498
|
|
|
* Set tech value |
499
|
|
|
* @param string $tech |
500
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
501
|
|
|
*/ |
502
|
|
|
public function setTech($tech = null) |
503
|
|
|
{ |
504
|
|
|
// validation for constraint: string |
505
|
|
|
if (!is_null($tech) && !is_string($tech)) { |
|
|
|
|
506
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($tech, true), gettype($tech)), __LINE__); |
507
|
|
|
} |
508
|
|
|
$this->tech = $tech; |
509
|
|
|
return $this; |
510
|
|
|
} |
511
|
|
|
/** |
512
|
|
|
* Get billing value |
513
|
|
|
* @return string|null |
514
|
|
|
*/ |
515
|
|
|
public function getBilling() |
516
|
|
|
{ |
517
|
|
|
return $this->billing; |
518
|
|
|
} |
519
|
|
|
/** |
520
|
|
|
* Set billing value |
521
|
|
|
* @param string $billing |
522
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
523
|
|
|
*/ |
524
|
|
|
public function setBilling($billing = null) |
525
|
|
|
{ |
526
|
|
|
// validation for constraint: string |
527
|
|
|
if (!is_null($billing) && !is_string($billing)) { |
|
|
|
|
528
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($billing, true), gettype($billing)), __LINE__); |
529
|
|
|
} |
530
|
|
|
$this->billing = $billing; |
531
|
|
|
return $this; |
532
|
|
|
} |
533
|
|
|
/** |
534
|
|
|
* Get dns1 value |
535
|
|
|
* @return string|null |
536
|
|
|
*/ |
537
|
|
|
public function getDns1() |
538
|
|
|
{ |
539
|
|
|
return $this->dns1; |
540
|
|
|
} |
541
|
|
|
/** |
542
|
|
|
* Set dns1 value |
543
|
|
|
* @param string $dns1 |
544
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
545
|
|
|
*/ |
546
|
|
|
public function setDns1($dns1 = null) |
547
|
|
|
{ |
548
|
|
|
// validation for constraint: string |
549
|
|
|
if (!is_null($dns1) && !is_string($dns1)) { |
|
|
|
|
550
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($dns1, true), gettype($dns1)), __LINE__); |
551
|
|
|
} |
552
|
|
|
$this->dns1 = $dns1; |
553
|
|
|
return $this; |
554
|
|
|
} |
555
|
|
|
/** |
556
|
|
|
* Get dns2 value |
557
|
|
|
* @return string|null |
558
|
|
|
*/ |
559
|
|
|
public function getDns2() |
560
|
|
|
{ |
561
|
|
|
return $this->dns2; |
562
|
|
|
} |
563
|
|
|
/** |
564
|
|
|
* Set dns2 value |
565
|
|
|
* @param string $dns2 |
566
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
567
|
|
|
*/ |
568
|
|
|
public function setDns2($dns2 = null) |
569
|
|
|
{ |
570
|
|
|
// validation for constraint: string |
571
|
|
|
if (!is_null($dns2) && !is_string($dns2)) { |
|
|
|
|
572
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($dns2, true), gettype($dns2)), __LINE__); |
573
|
|
|
} |
574
|
|
|
$this->dns2 = $dns2; |
575
|
|
|
return $this; |
576
|
|
|
} |
577
|
|
|
/** |
578
|
|
|
* Get dns3 value |
579
|
|
|
* @return string|null |
580
|
|
|
*/ |
581
|
|
|
public function getDns3() |
582
|
|
|
{ |
583
|
|
|
return $this->dns3; |
584
|
|
|
} |
585
|
|
|
/** |
586
|
|
|
* Set dns3 value |
587
|
|
|
* @param string $dns3 |
588
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
589
|
|
|
*/ |
590
|
|
|
public function setDns3($dns3 = null) |
591
|
|
|
{ |
592
|
|
|
// validation for constraint: string |
593
|
|
|
if (!is_null($dns3) && !is_string($dns3)) { |
|
|
|
|
594
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($dns3, true), gettype($dns3)), __LINE__); |
595
|
|
|
} |
596
|
|
|
$this->dns3 = $dns3; |
597
|
|
|
return $this; |
598
|
|
|
} |
599
|
|
|
/** |
600
|
|
|
* Get dns4 value |
601
|
|
|
* @return string|null |
602
|
|
|
*/ |
603
|
|
|
public function getDns4() |
604
|
|
|
{ |
605
|
|
|
return $this->dns4; |
606
|
|
|
} |
607
|
|
|
/** |
608
|
|
|
* Set dns4 value |
609
|
|
|
* @param string $dns4 |
610
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
611
|
|
|
*/ |
612
|
|
|
public function setDns4($dns4 = null) |
613
|
|
|
{ |
614
|
|
|
// validation for constraint: string |
615
|
|
|
if (!is_null($dns4) && !is_string($dns4)) { |
|
|
|
|
616
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($dns4, true), gettype($dns4)), __LINE__); |
617
|
|
|
} |
618
|
|
|
$this->dns4 = $dns4; |
619
|
|
|
return $this; |
620
|
|
|
} |
621
|
|
|
/** |
622
|
|
|
* Get dns5 value |
623
|
|
|
* @return string|null |
624
|
|
|
*/ |
625
|
|
|
public function getDns5() |
626
|
|
|
{ |
627
|
|
|
return $this->dns5; |
628
|
|
|
} |
629
|
|
|
/** |
630
|
|
|
* Set dns5 value |
631
|
|
|
* @param string $dns5 |
632
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
633
|
|
|
*/ |
634
|
|
|
public function setDns5($dns5 = null) |
635
|
|
|
{ |
636
|
|
|
// validation for constraint: string |
637
|
|
|
if (!is_null($dns5) && !is_string($dns5)) { |
|
|
|
|
638
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($dns5, true), gettype($dns5)), __LINE__); |
639
|
|
|
} |
640
|
|
|
$this->dns5 = $dns5; |
641
|
|
|
return $this; |
642
|
|
|
} |
643
|
|
|
/** |
644
|
|
|
* Get CedCea value |
645
|
|
|
* @return string|null |
646
|
|
|
*/ |
647
|
|
|
public function getCedCea() |
648
|
|
|
{ |
649
|
|
|
return $this->CedCea; |
650
|
|
|
} |
651
|
|
|
/** |
652
|
|
|
* Set CedCea value |
653
|
|
|
* @param string $cedCea |
654
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
655
|
|
|
*/ |
656
|
|
|
public function setCedCea($cedCea = null) |
657
|
|
|
{ |
658
|
|
|
// validation for constraint: string |
659
|
|
|
if (!is_null($cedCea) && !is_string($cedCea)) { |
|
|
|
|
660
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($cedCea, true), gettype($cedCea)), __LINE__); |
661
|
|
|
} |
662
|
|
|
$this->CedCea = $cedCea; |
663
|
|
|
return $this; |
664
|
|
|
} |
665
|
|
|
/** |
666
|
|
|
* Get contactCED value |
667
|
|
|
* @return string|null |
668
|
|
|
*/ |
669
|
|
|
public function getContactCED() |
670
|
|
|
{ |
671
|
|
|
return $this->contactCED; |
672
|
|
|
} |
673
|
|
|
/** |
674
|
|
|
* Set contactCED value |
675
|
|
|
* @param string $contactCED |
676
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
677
|
|
|
*/ |
678
|
|
|
public function setContactCED($contactCED = null) |
679
|
|
|
{ |
680
|
|
|
// validation for constraint: string |
681
|
|
|
if (!is_null($contactCED) && !is_string($contactCED)) { |
|
|
|
|
682
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($contactCED, true), gettype($contactCED)), __LINE__); |
683
|
|
|
} |
684
|
|
|
$this->contactCED = $contactCED; |
685
|
|
|
return $this; |
686
|
|
|
} |
687
|
|
|
/** |
688
|
|
|
* Get localityCity value |
689
|
|
|
* @return string|null |
690
|
|
|
*/ |
691
|
|
|
public function getLocalityCity() |
692
|
|
|
{ |
693
|
|
|
return $this->localityCity; |
694
|
|
|
} |
695
|
|
|
/** |
696
|
|
|
* Set localityCity value |
697
|
|
|
* @param string $localityCity |
698
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
699
|
|
|
*/ |
700
|
|
|
public function setLocalityCity($localityCity = null) |
701
|
|
|
{ |
702
|
|
|
// validation for constraint: string |
703
|
|
|
if (!is_null($localityCity) && !is_string($localityCity)) { |
|
|
|
|
704
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($localityCity, true), gettype($localityCity)), __LINE__); |
705
|
|
|
} |
706
|
|
|
$this->localityCity = $localityCity; |
707
|
|
|
return $this; |
708
|
|
|
} |
709
|
|
|
/** |
710
|
|
|
* Get localitySp value |
711
|
|
|
* @return string|null |
712
|
|
|
*/ |
713
|
|
|
public function getLocalitySp() |
714
|
|
|
{ |
715
|
|
|
return $this->localitySp; |
716
|
|
|
} |
717
|
|
|
/** |
718
|
|
|
* Set localitySp value |
719
|
|
|
* @param string $localitySp |
720
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
721
|
|
|
*/ |
722
|
|
|
public function setLocalitySp($localitySp = null) |
723
|
|
|
{ |
724
|
|
|
// validation for constraint: string |
725
|
|
|
if (!is_null($localitySp) && !is_string($localitySp)) { |
|
|
|
|
726
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($localitySp, true), gettype($localitySp)), __LINE__); |
727
|
|
|
} |
728
|
|
|
$this->localitySp = $localitySp; |
729
|
|
|
return $this; |
730
|
|
|
} |
731
|
|
|
/** |
732
|
|
|
* Get ccLocality value |
733
|
|
|
* @return string|null |
734
|
|
|
*/ |
735
|
|
|
public function getCcLocality() |
736
|
|
|
{ |
737
|
|
|
return $this->ccLocality; |
738
|
|
|
} |
739
|
|
|
/** |
740
|
|
|
* Set ccLocality value |
741
|
|
|
* @param string $ccLocality |
742
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
743
|
|
|
*/ |
744
|
|
|
public function setCcLocality($ccLocality = null) |
745
|
|
|
{ |
746
|
|
|
// validation for constraint: string |
747
|
|
|
if (!is_null($ccLocality) && !is_string($ccLocality)) { |
|
|
|
|
748
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($ccLocality, true), gettype($ccLocality)), __LINE__); |
749
|
|
|
} |
750
|
|
|
$this->ccLocality = $ccLocality; |
751
|
|
|
return $this; |
752
|
|
|
} |
753
|
|
|
/** |
754
|
|
|
* Get legalEntityType value |
755
|
|
|
* @return string|null |
756
|
|
|
*/ |
757
|
|
|
public function getLegalEntityType() |
758
|
|
|
{ |
759
|
|
|
return $this->legalEntityType; |
760
|
|
|
} |
761
|
|
|
/** |
762
|
|
|
* Set legalEntityType value |
763
|
|
|
* @param string $legalEntityType |
764
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
765
|
|
|
*/ |
766
|
|
|
public function setLegalEntityType($legalEntityType = null) |
767
|
|
|
{ |
768
|
|
|
// validation for constraint: string |
769
|
|
|
if (!is_null($legalEntityType) && !is_string($legalEntityType)) { |
|
|
|
|
770
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($legalEntityType, true), gettype($legalEntityType)), __LINE__); |
771
|
|
|
} |
772
|
|
|
$this->legalEntityType = $legalEntityType; |
773
|
|
|
return $this; |
774
|
|
|
} |
775
|
|
|
/** |
776
|
|
|
* Get otherLEType value |
777
|
|
|
* @return string|null |
778
|
|
|
*/ |
779
|
|
|
public function getOtherLEType() |
780
|
|
|
{ |
781
|
|
|
return $this->otherLEType; |
782
|
|
|
} |
783
|
|
|
/** |
784
|
|
|
* Set otherLEType value |
785
|
|
|
* @param string $otherLEType |
786
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
787
|
|
|
*/ |
788
|
|
|
public function setOtherLEType($otherLEType = null) |
789
|
|
|
{ |
790
|
|
|
// validation for constraint: string |
791
|
|
|
if (!is_null($otherLEType) && !is_string($otherLEType)) { |
|
|
|
|
792
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($otherLEType, true), gettype($otherLEType)), __LINE__); |
793
|
|
|
} |
794
|
|
|
$this->otherLEType = $otherLEType; |
795
|
|
|
return $this; |
796
|
|
|
} |
797
|
|
|
/** |
798
|
|
|
* Get identForm value |
799
|
|
|
* @return string|null |
800
|
|
|
*/ |
801
|
|
|
public function getIdentForm() |
802
|
|
|
{ |
803
|
|
|
return $this->identForm; |
804
|
|
|
} |
805
|
|
|
/** |
806
|
|
|
* Set identForm value |
807
|
|
|
* @param string $identForm |
808
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
809
|
|
|
*/ |
810
|
|
|
public function setIdentForm($identForm = null) |
811
|
|
|
{ |
812
|
|
|
// validation for constraint: string |
813
|
|
|
if (!is_null($identForm) && !is_string($identForm)) { |
|
|
|
|
814
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($identForm, true), gettype($identForm)), __LINE__); |
815
|
|
|
} |
816
|
|
|
$this->identForm = $identForm; |
817
|
|
|
return $this; |
818
|
|
|
} |
819
|
|
|
/** |
820
|
|
|
* Get otherIdentForm value |
821
|
|
|
* @return string|null |
822
|
|
|
*/ |
823
|
|
|
public function getOtherIdentForm() |
824
|
|
|
{ |
825
|
|
|
return $this->otherIdentForm; |
826
|
|
|
} |
827
|
|
|
/** |
828
|
|
|
* Set otherIdentForm value |
829
|
|
|
* @param string $otherIdentForm |
830
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
831
|
|
|
*/ |
832
|
|
|
public function setOtherIdentForm($otherIdentForm = null) |
833
|
|
|
{ |
834
|
|
|
// validation for constraint: string |
835
|
|
|
if (!is_null($otherIdentForm) && !is_string($otherIdentForm)) { |
|
|
|
|
836
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($otherIdentForm, true), gettype($otherIdentForm)), __LINE__); |
837
|
|
|
} |
838
|
|
|
$this->otherIdentForm = $otherIdentForm; |
839
|
|
|
return $this; |
840
|
|
|
} |
841
|
|
|
/** |
842
|
|
|
* Get identNumber value |
843
|
|
|
* @return string|null |
844
|
|
|
*/ |
845
|
|
|
public function getIdentNumber() |
846
|
|
|
{ |
847
|
|
|
return $this->identNumber; |
848
|
|
|
} |
849
|
|
|
/** |
850
|
|
|
* Set identNumber value |
851
|
|
|
* @param string $identNumber |
852
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
853
|
|
|
*/ |
854
|
|
|
public function setIdentNumber($identNumber = null) |
855
|
|
|
{ |
856
|
|
|
// validation for constraint: string |
857
|
|
|
if (!is_null($identNumber) && !is_string($identNumber)) { |
|
|
|
|
858
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($identNumber, true), gettype($identNumber)), __LINE__); |
859
|
|
|
} |
860
|
|
|
$this->identNumber = $identNumber; |
861
|
|
|
return $this; |
862
|
|
|
} |
863
|
|
|
/** |
864
|
|
|
* Get dryRun value |
865
|
|
|
* @return bool|null |
866
|
|
|
*/ |
867
|
|
|
public function getDryRun() |
868
|
|
|
{ |
869
|
|
|
return $this->dryRun; |
870
|
|
|
} |
871
|
|
|
/** |
872
|
|
|
* Set dryRun value |
873
|
|
|
* @param bool $dryRun |
874
|
|
|
* @return \Ovh\StructType\ResellerDomainTransferASIA |
875
|
|
|
*/ |
876
|
|
|
public function setDryRun($dryRun = null) |
877
|
|
|
{ |
878
|
|
|
// validation for constraint: boolean |
879
|
|
|
if (!is_null($dryRun) && !is_bool($dryRun)) { |
|
|
|
|
880
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($dryRun, true), gettype($dryRun)), __LINE__); |
881
|
|
|
} |
882
|
|
|
$this->dryRun = $dryRun; |
883
|
|
|
return $this; |
884
|
|
|
} |
885
|
|
|
} |
886
|
|
|
|