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