|
1
|
|
|
<?php |
|
2
|
|
|
|
|
3
|
|
|
namespace Ovh\StructType; |
|
4
|
|
|
|
|
5
|
|
|
use \WsdlToPhp\PackageBase\AbstractStructBase; |
|
6
|
|
|
|
|
7
|
|
|
/** |
|
8
|
|
|
* This class stands for resellerDomainCreate StructType |
|
9
|
|
|
* @subpackage Structs |
|
10
|
|
|
* @author WsdlToPhp <[email protected]> |
|
11
|
|
|
*/ |
|
12
|
|
|
class ResellerDomainCreate 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 method |
|
121
|
|
|
* Meta information extracted from the WSDL |
|
122
|
|
|
* - nillable: true |
|
123
|
|
|
* @var string |
|
124
|
|
|
*/ |
|
125
|
|
|
public $method; |
|
126
|
|
|
/** |
|
127
|
|
|
* The legalName |
|
128
|
|
|
* Meta information extracted from the WSDL |
|
129
|
|
|
* - nillable: true |
|
130
|
|
|
* @var string |
|
131
|
|
|
*/ |
|
132
|
|
|
public $legalName; |
|
133
|
|
|
/** |
|
134
|
|
|
* The legalNumber |
|
135
|
|
|
* Meta information extracted from the WSDL |
|
136
|
|
|
* - nillable: true |
|
137
|
|
|
* @var string |
|
138
|
|
|
*/ |
|
139
|
|
|
public $legalNumber; |
|
140
|
|
|
/** |
|
141
|
|
|
* The afnicIdent |
|
142
|
|
|
* Meta information extracted from the WSDL |
|
143
|
|
|
* - nillable: true |
|
144
|
|
|
* @var string |
|
145
|
|
|
*/ |
|
146
|
|
|
public $afnicIdent; |
|
147
|
|
|
/** |
|
148
|
|
|
* The birthDate |
|
149
|
|
|
* Meta information extracted from the WSDL |
|
150
|
|
|
* - nillable: true |
|
151
|
|
|
* @var string |
|
152
|
|
|
*/ |
|
153
|
|
|
public $birthDate; |
|
154
|
|
|
/** |
|
155
|
|
|
* The birthCity |
|
156
|
|
|
* Meta information extracted from the WSDL |
|
157
|
|
|
* - nillable: true |
|
158
|
|
|
* @var string |
|
159
|
|
|
*/ |
|
160
|
|
|
public $birthCity; |
|
161
|
|
|
/** |
|
162
|
|
|
* The birthDepartement |
|
163
|
|
|
* Meta information extracted from the WSDL |
|
164
|
|
|
* - nillable: true |
|
165
|
|
|
* @var string |
|
166
|
|
|
*/ |
|
167
|
|
|
public $birthDepartement; |
|
168
|
|
|
/** |
|
169
|
|
|
* The birthCountry |
|
170
|
|
|
* Meta information extracted from the WSDL |
|
171
|
|
|
* - nillable: true |
|
172
|
|
|
* @var string |
|
173
|
|
|
*/ |
|
174
|
|
|
public $birthCountry; |
|
175
|
|
|
/** |
|
176
|
|
|
* The dryRun |
|
177
|
|
|
* Meta information extracted from the WSDL |
|
178
|
|
|
* - nillable: true |
|
179
|
|
|
* @var bool |
|
180
|
|
|
*/ |
|
181
|
|
|
public $dryRun; |
|
182
|
|
|
/** |
|
183
|
|
|
* The ssl |
|
184
|
|
|
* Meta information extracted from the WSDL |
|
185
|
|
|
* - nillable: true |
|
186
|
|
|
* @var string |
|
187
|
|
|
*/ |
|
188
|
|
|
public $ssl; |
|
189
|
|
|
/** |
|
190
|
|
|
* The sslDomainList |
|
191
|
|
|
* Meta information extracted from the WSDL |
|
192
|
|
|
* - nillable: true |
|
193
|
|
|
* @var string |
|
194
|
|
|
*/ |
|
195
|
|
|
public $sslDomainList; |
|
196
|
|
|
/** |
|
197
|
|
|
* The cdn |
|
198
|
|
|
* Meta information extracted from the WSDL |
|
199
|
|
|
* - nillable: true |
|
200
|
|
|
* @var string |
|
201
|
|
|
*/ |
|
202
|
|
|
public $cdn; |
|
203
|
|
|
/** |
|
204
|
|
|
* Constructor method for resellerDomainCreate |
|
205
|
|
|
* @uses ResellerDomainCreate::setSession() |
|
206
|
|
|
* @uses ResellerDomainCreate::setDomain() |
|
207
|
|
|
* @uses ResellerDomainCreate::setHosting() |
|
208
|
|
|
* @uses ResellerDomainCreate::setOffer() |
|
209
|
|
|
* @uses ResellerDomainCreate::setProfile() |
|
210
|
|
|
* @uses ResellerDomainCreate::setOwo() |
|
211
|
|
|
* @uses ResellerDomainCreate::setOwner() |
|
212
|
|
|
* @uses ResellerDomainCreate::setAdmin() |
|
213
|
|
|
* @uses ResellerDomainCreate::setTech() |
|
214
|
|
|
* @uses ResellerDomainCreate::setBilling() |
|
215
|
|
|
* @uses ResellerDomainCreate::setDns1() |
|
216
|
|
|
* @uses ResellerDomainCreate::setDns2() |
|
217
|
|
|
* @uses ResellerDomainCreate::setDns3() |
|
218
|
|
|
* @uses ResellerDomainCreate::setDns4() |
|
219
|
|
|
* @uses ResellerDomainCreate::setDns5() |
|
220
|
|
|
* @uses ResellerDomainCreate::setMethod() |
|
221
|
|
|
* @uses ResellerDomainCreate::setLegalName() |
|
222
|
|
|
* @uses ResellerDomainCreate::setLegalNumber() |
|
223
|
|
|
* @uses ResellerDomainCreate::setAfnicIdent() |
|
224
|
|
|
* @uses ResellerDomainCreate::setBirthDate() |
|
225
|
|
|
* @uses ResellerDomainCreate::setBirthCity() |
|
226
|
|
|
* @uses ResellerDomainCreate::setBirthDepartement() |
|
227
|
|
|
* @uses ResellerDomainCreate::setBirthCountry() |
|
228
|
|
|
* @uses ResellerDomainCreate::setDryRun() |
|
229
|
|
|
* @uses ResellerDomainCreate::setSsl() |
|
230
|
|
|
* @uses ResellerDomainCreate::setSslDomainList() |
|
231
|
|
|
* @uses ResellerDomainCreate::setCdn() |
|
232
|
|
|
* @param string $session |
|
233
|
|
|
* @param string $domain |
|
234
|
|
|
* @param string $hosting |
|
235
|
|
|
* @param string $offer |
|
236
|
|
|
* @param string $profile |
|
237
|
|
|
* @param string $owo |
|
238
|
|
|
* @param string $owner |
|
239
|
|
|
* @param string $admin |
|
240
|
|
|
* @param string $tech |
|
241
|
|
|
* @param string $billing |
|
242
|
|
|
* @param string $dns1 |
|
243
|
|
|
* @param string $dns2 |
|
244
|
|
|
* @param string $dns3 |
|
245
|
|
|
* @param string $dns4 |
|
246
|
|
|
* @param string $dns5 |
|
247
|
|
|
* @param string $method |
|
248
|
|
|
* @param string $legalName |
|
249
|
|
|
* @param string $legalNumber |
|
250
|
|
|
* @param string $afnicIdent |
|
251
|
|
|
* @param string $birthDate |
|
252
|
|
|
* @param string $birthCity |
|
253
|
|
|
* @param string $birthDepartement |
|
254
|
|
|
* @param string $birthCountry |
|
255
|
|
|
* @param bool $dryRun |
|
256
|
|
|
* @param string $ssl |
|
257
|
|
|
* @param string $sslDomainList |
|
258
|
|
|
* @param string $cdn |
|
259
|
|
|
*/ |
|
260
|
|
|
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, $method = null, $legalName = null, $legalNumber = null, $afnicIdent = null, $birthDate = null, $birthCity = null, $birthDepartement = null, $birthCountry = null, $dryRun = null, $ssl = null, $sslDomainList = null, $cdn = null) |
|
261
|
|
|
{ |
|
262
|
|
|
$this |
|
263
|
|
|
->setSession($session) |
|
264
|
|
|
->setDomain($domain) |
|
265
|
|
|
->setHosting($hosting) |
|
266
|
|
|
->setOffer($offer) |
|
267
|
|
|
->setProfile($profile) |
|
268
|
|
|
->setOwo($owo) |
|
269
|
|
|
->setOwner($owner) |
|
270
|
|
|
->setAdmin($admin) |
|
271
|
|
|
->setTech($tech) |
|
272
|
|
|
->setBilling($billing) |
|
273
|
|
|
->setDns1($dns1) |
|
274
|
|
|
->setDns2($dns2) |
|
275
|
|
|
->setDns3($dns3) |
|
276
|
|
|
->setDns4($dns4) |
|
277
|
|
|
->setDns5($dns5) |
|
278
|
|
|
->setMethod($method) |
|
279
|
|
|
->setLegalName($legalName) |
|
280
|
|
|
->setLegalNumber($legalNumber) |
|
281
|
|
|
->setAfnicIdent($afnicIdent) |
|
282
|
|
|
->setBirthDate($birthDate) |
|
283
|
|
|
->setBirthCity($birthCity) |
|
284
|
|
|
->setBirthDepartement($birthDepartement) |
|
285
|
|
|
->setBirthCountry($birthCountry) |
|
286
|
|
|
->setDryRun($dryRun) |
|
287
|
|
|
->setSsl($ssl) |
|
288
|
|
|
->setSslDomainList($sslDomainList) |
|
289
|
|
|
->setCdn($cdn); |
|
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\ResellerDomainCreate |
|
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\ResellerDomainCreate |
|
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 hosting value |
|
337
|
|
|
* @return string|null |
|
338
|
|
|
*/ |
|
339
|
|
|
public function getHosting() |
|
340
|
|
|
{ |
|
341
|
|
|
return $this->hosting; |
|
342
|
|
|
} |
|
343
|
|
|
/** |
|
344
|
|
|
* Set hosting value |
|
345
|
|
|
* @param string $hosting |
|
346
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
347
|
|
|
*/ |
|
348
|
|
|
public function setHosting($hosting = null) |
|
349
|
|
|
{ |
|
350
|
|
|
// validation for constraint: string |
|
351
|
|
|
if (!is_null($hosting) && !is_string($hosting)) { |
|
|
|
|
|
|
352
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($hosting, true), gettype($hosting)), __LINE__); |
|
353
|
|
|
} |
|
354
|
|
|
$this->hosting = $hosting; |
|
355
|
|
|
return $this; |
|
356
|
|
|
} |
|
357
|
|
|
/** |
|
358
|
|
|
* Get offer value |
|
359
|
|
|
* @return string|null |
|
360
|
|
|
*/ |
|
361
|
|
|
public function getOffer() |
|
362
|
|
|
{ |
|
363
|
|
|
return $this->offer; |
|
364
|
|
|
} |
|
365
|
|
|
/** |
|
366
|
|
|
* Set offer value |
|
367
|
|
|
* @param string $offer |
|
368
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
369
|
|
|
*/ |
|
370
|
|
|
public function setOffer($offer = null) |
|
371
|
|
|
{ |
|
372
|
|
|
// validation for constraint: string |
|
373
|
|
|
if (!is_null($offer) && !is_string($offer)) { |
|
|
|
|
|
|
374
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($offer, true), gettype($offer)), __LINE__); |
|
375
|
|
|
} |
|
376
|
|
|
$this->offer = $offer; |
|
377
|
|
|
return $this; |
|
378
|
|
|
} |
|
379
|
|
|
/** |
|
380
|
|
|
* Get profile value |
|
381
|
|
|
* @return string|null |
|
382
|
|
|
*/ |
|
383
|
|
|
public function getProfile() |
|
384
|
|
|
{ |
|
385
|
|
|
return $this->profile; |
|
386
|
|
|
} |
|
387
|
|
|
/** |
|
388
|
|
|
* Set profile value |
|
389
|
|
|
* @param string $profile |
|
390
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
391
|
|
|
*/ |
|
392
|
|
|
public function setProfile($profile = null) |
|
393
|
|
|
{ |
|
394
|
|
|
// validation for constraint: string |
|
395
|
|
|
if (!is_null($profile) && !is_string($profile)) { |
|
|
|
|
|
|
396
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($profile, true), gettype($profile)), __LINE__); |
|
397
|
|
|
} |
|
398
|
|
|
$this->profile = $profile; |
|
399
|
|
|
return $this; |
|
400
|
|
|
} |
|
401
|
|
|
/** |
|
402
|
|
|
* Get owo value |
|
403
|
|
|
* @return string|null |
|
404
|
|
|
*/ |
|
405
|
|
|
public function getOwo() |
|
406
|
|
|
{ |
|
407
|
|
|
return $this->owo; |
|
408
|
|
|
} |
|
409
|
|
|
/** |
|
410
|
|
|
* Set owo value |
|
411
|
|
|
* @param string $owo |
|
412
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
413
|
|
|
*/ |
|
414
|
|
|
public function setOwo($owo = null) |
|
415
|
|
|
{ |
|
416
|
|
|
// validation for constraint: string |
|
417
|
|
|
if (!is_null($owo) && !is_string($owo)) { |
|
|
|
|
|
|
418
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($owo, true), gettype($owo)), __LINE__); |
|
419
|
|
|
} |
|
420
|
|
|
$this->owo = $owo; |
|
421
|
|
|
return $this; |
|
422
|
|
|
} |
|
423
|
|
|
/** |
|
424
|
|
|
* Get owner value |
|
425
|
|
|
* @return string|null |
|
426
|
|
|
*/ |
|
427
|
|
|
public function getOwner() |
|
428
|
|
|
{ |
|
429
|
|
|
return $this->owner; |
|
430
|
|
|
} |
|
431
|
|
|
/** |
|
432
|
|
|
* Set owner value |
|
433
|
|
|
* @param string $owner |
|
434
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
435
|
|
|
*/ |
|
436
|
|
|
public function setOwner($owner = null) |
|
437
|
|
|
{ |
|
438
|
|
|
// validation for constraint: string |
|
439
|
|
|
if (!is_null($owner) && !is_string($owner)) { |
|
|
|
|
|
|
440
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($owner, true), gettype($owner)), __LINE__); |
|
441
|
|
|
} |
|
442
|
|
|
$this->owner = $owner; |
|
443
|
|
|
return $this; |
|
444
|
|
|
} |
|
445
|
|
|
/** |
|
446
|
|
|
* Get admin value |
|
447
|
|
|
* @return string|null |
|
448
|
|
|
*/ |
|
449
|
|
|
public function getAdmin() |
|
450
|
|
|
{ |
|
451
|
|
|
return $this->admin; |
|
452
|
|
|
} |
|
453
|
|
|
/** |
|
454
|
|
|
* Set admin value |
|
455
|
|
|
* @param string $admin |
|
456
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
457
|
|
|
*/ |
|
458
|
|
|
public function setAdmin($admin = null) |
|
459
|
|
|
{ |
|
460
|
|
|
// validation for constraint: string |
|
461
|
|
|
if (!is_null($admin) && !is_string($admin)) { |
|
|
|
|
|
|
462
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($admin, true), gettype($admin)), __LINE__); |
|
463
|
|
|
} |
|
464
|
|
|
$this->admin = $admin; |
|
465
|
|
|
return $this; |
|
466
|
|
|
} |
|
467
|
|
|
/** |
|
468
|
|
|
* Get tech value |
|
469
|
|
|
* @return string|null |
|
470
|
|
|
*/ |
|
471
|
|
|
public function getTech() |
|
472
|
|
|
{ |
|
473
|
|
|
return $this->tech; |
|
474
|
|
|
} |
|
475
|
|
|
/** |
|
476
|
|
|
* Set tech value |
|
477
|
|
|
* @param string $tech |
|
478
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
479
|
|
|
*/ |
|
480
|
|
|
public function setTech($tech = null) |
|
481
|
|
|
{ |
|
482
|
|
|
// validation for constraint: string |
|
483
|
|
|
if (!is_null($tech) && !is_string($tech)) { |
|
|
|
|
|
|
484
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($tech, true), gettype($tech)), __LINE__); |
|
485
|
|
|
} |
|
486
|
|
|
$this->tech = $tech; |
|
487
|
|
|
return $this; |
|
488
|
|
|
} |
|
489
|
|
|
/** |
|
490
|
|
|
* Get billing value |
|
491
|
|
|
* @return string|null |
|
492
|
|
|
*/ |
|
493
|
|
|
public function getBilling() |
|
494
|
|
|
{ |
|
495
|
|
|
return $this->billing; |
|
496
|
|
|
} |
|
497
|
|
|
/** |
|
498
|
|
|
* Set billing value |
|
499
|
|
|
* @param string $billing |
|
500
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
501
|
|
|
*/ |
|
502
|
|
|
public function setBilling($billing = null) |
|
503
|
|
|
{ |
|
504
|
|
|
// validation for constraint: string |
|
505
|
|
|
if (!is_null($billing) && !is_string($billing)) { |
|
|
|
|
|
|
506
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($billing, true), gettype($billing)), __LINE__); |
|
507
|
|
|
} |
|
508
|
|
|
$this->billing = $billing; |
|
509
|
|
|
return $this; |
|
510
|
|
|
} |
|
511
|
|
|
/** |
|
512
|
|
|
* Get dns1 value |
|
513
|
|
|
* @return string|null |
|
514
|
|
|
*/ |
|
515
|
|
|
public function getDns1() |
|
516
|
|
|
{ |
|
517
|
|
|
return $this->dns1; |
|
518
|
|
|
} |
|
519
|
|
|
/** |
|
520
|
|
|
* Set dns1 value |
|
521
|
|
|
* @param string $dns1 |
|
522
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
523
|
|
|
*/ |
|
524
|
|
|
public function setDns1($dns1 = null) |
|
525
|
|
|
{ |
|
526
|
|
|
// validation for constraint: string |
|
527
|
|
|
if (!is_null($dns1) && !is_string($dns1)) { |
|
|
|
|
|
|
528
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($dns1, true), gettype($dns1)), __LINE__); |
|
529
|
|
|
} |
|
530
|
|
|
$this->dns1 = $dns1; |
|
531
|
|
|
return $this; |
|
532
|
|
|
} |
|
533
|
|
|
/** |
|
534
|
|
|
* Get dns2 value |
|
535
|
|
|
* @return string|null |
|
536
|
|
|
*/ |
|
537
|
|
|
public function getDns2() |
|
538
|
|
|
{ |
|
539
|
|
|
return $this->dns2; |
|
540
|
|
|
} |
|
541
|
|
|
/** |
|
542
|
|
|
* Set dns2 value |
|
543
|
|
|
* @param string $dns2 |
|
544
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
545
|
|
|
*/ |
|
546
|
|
|
public function setDns2($dns2 = null) |
|
547
|
|
|
{ |
|
548
|
|
|
// validation for constraint: string |
|
549
|
|
|
if (!is_null($dns2) && !is_string($dns2)) { |
|
|
|
|
|
|
550
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($dns2, true), gettype($dns2)), __LINE__); |
|
551
|
|
|
} |
|
552
|
|
|
$this->dns2 = $dns2; |
|
553
|
|
|
return $this; |
|
554
|
|
|
} |
|
555
|
|
|
/** |
|
556
|
|
|
* Get dns3 value |
|
557
|
|
|
* @return string|null |
|
558
|
|
|
*/ |
|
559
|
|
|
public function getDns3() |
|
560
|
|
|
{ |
|
561
|
|
|
return $this->dns3; |
|
562
|
|
|
} |
|
563
|
|
|
/** |
|
564
|
|
|
* Set dns3 value |
|
565
|
|
|
* @param string $dns3 |
|
566
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
567
|
|
|
*/ |
|
568
|
|
|
public function setDns3($dns3 = null) |
|
569
|
|
|
{ |
|
570
|
|
|
// validation for constraint: string |
|
571
|
|
|
if (!is_null($dns3) && !is_string($dns3)) { |
|
|
|
|
|
|
572
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($dns3, true), gettype($dns3)), __LINE__); |
|
573
|
|
|
} |
|
574
|
|
|
$this->dns3 = $dns3; |
|
575
|
|
|
return $this; |
|
576
|
|
|
} |
|
577
|
|
|
/** |
|
578
|
|
|
* Get dns4 value |
|
579
|
|
|
* @return string|null |
|
580
|
|
|
*/ |
|
581
|
|
|
public function getDns4() |
|
582
|
|
|
{ |
|
583
|
|
|
return $this->dns4; |
|
584
|
|
|
} |
|
585
|
|
|
/** |
|
586
|
|
|
* Set dns4 value |
|
587
|
|
|
* @param string $dns4 |
|
588
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
589
|
|
|
*/ |
|
590
|
|
|
public function setDns4($dns4 = null) |
|
591
|
|
|
{ |
|
592
|
|
|
// validation for constraint: string |
|
593
|
|
|
if (!is_null($dns4) && !is_string($dns4)) { |
|
|
|
|
|
|
594
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($dns4, true), gettype($dns4)), __LINE__); |
|
595
|
|
|
} |
|
596
|
|
|
$this->dns4 = $dns4; |
|
597
|
|
|
return $this; |
|
598
|
|
|
} |
|
599
|
|
|
/** |
|
600
|
|
|
* Get dns5 value |
|
601
|
|
|
* @return string|null |
|
602
|
|
|
*/ |
|
603
|
|
|
public function getDns5() |
|
604
|
|
|
{ |
|
605
|
|
|
return $this->dns5; |
|
606
|
|
|
} |
|
607
|
|
|
/** |
|
608
|
|
|
* Set dns5 value |
|
609
|
|
|
* @param string $dns5 |
|
610
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
611
|
|
|
*/ |
|
612
|
|
|
public function setDns5($dns5 = null) |
|
613
|
|
|
{ |
|
614
|
|
|
// validation for constraint: string |
|
615
|
|
|
if (!is_null($dns5) && !is_string($dns5)) { |
|
|
|
|
|
|
616
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($dns5, true), gettype($dns5)), __LINE__); |
|
617
|
|
|
} |
|
618
|
|
|
$this->dns5 = $dns5; |
|
619
|
|
|
return $this; |
|
620
|
|
|
} |
|
621
|
|
|
/** |
|
622
|
|
|
* Get method value |
|
623
|
|
|
* @return string|null |
|
624
|
|
|
*/ |
|
625
|
|
|
public function getMethod() |
|
626
|
|
|
{ |
|
627
|
|
|
return $this->method; |
|
628
|
|
|
} |
|
629
|
|
|
/** |
|
630
|
|
|
* Set method value |
|
631
|
|
|
* @param string $method |
|
632
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
633
|
|
|
*/ |
|
634
|
|
|
public function setMethod($method = null) |
|
635
|
|
|
{ |
|
636
|
|
|
// validation for constraint: string |
|
637
|
|
|
if (!is_null($method) && !is_string($method)) { |
|
|
|
|
|
|
638
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($method, true), gettype($method)), __LINE__); |
|
639
|
|
|
} |
|
640
|
|
|
$this->method = $method; |
|
641
|
|
|
return $this; |
|
642
|
|
|
} |
|
643
|
|
|
/** |
|
644
|
|
|
* Get legalName value |
|
645
|
|
|
* @return string|null |
|
646
|
|
|
*/ |
|
647
|
|
|
public function getLegalName() |
|
648
|
|
|
{ |
|
649
|
|
|
return $this->legalName; |
|
650
|
|
|
} |
|
651
|
|
|
/** |
|
652
|
|
|
* Set legalName value |
|
653
|
|
|
* @param string $legalName |
|
654
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
655
|
|
|
*/ |
|
656
|
|
|
public function setLegalName($legalName = null) |
|
657
|
|
|
{ |
|
658
|
|
|
// validation for constraint: string |
|
659
|
|
|
if (!is_null($legalName) && !is_string($legalName)) { |
|
|
|
|
|
|
660
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($legalName, true), gettype($legalName)), __LINE__); |
|
661
|
|
|
} |
|
662
|
|
|
$this->legalName = $legalName; |
|
663
|
|
|
return $this; |
|
664
|
|
|
} |
|
665
|
|
|
/** |
|
666
|
|
|
* Get legalNumber value |
|
667
|
|
|
* @return string|null |
|
668
|
|
|
*/ |
|
669
|
|
|
public function getLegalNumber() |
|
670
|
|
|
{ |
|
671
|
|
|
return $this->legalNumber; |
|
672
|
|
|
} |
|
673
|
|
|
/** |
|
674
|
|
|
* Set legalNumber value |
|
675
|
|
|
* @param string $legalNumber |
|
676
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
677
|
|
|
*/ |
|
678
|
|
|
public function setLegalNumber($legalNumber = null) |
|
679
|
|
|
{ |
|
680
|
|
|
// validation for constraint: string |
|
681
|
|
|
if (!is_null($legalNumber) && !is_string($legalNumber)) { |
|
|
|
|
|
|
682
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($legalNumber, true), gettype($legalNumber)), __LINE__); |
|
683
|
|
|
} |
|
684
|
|
|
$this->legalNumber = $legalNumber; |
|
685
|
|
|
return $this; |
|
686
|
|
|
} |
|
687
|
|
|
/** |
|
688
|
|
|
* Get afnicIdent value |
|
689
|
|
|
* @return string|null |
|
690
|
|
|
*/ |
|
691
|
|
|
public function getAfnicIdent() |
|
692
|
|
|
{ |
|
693
|
|
|
return $this->afnicIdent; |
|
694
|
|
|
} |
|
695
|
|
|
/** |
|
696
|
|
|
* Set afnicIdent value |
|
697
|
|
|
* @param string $afnicIdent |
|
698
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
699
|
|
|
*/ |
|
700
|
|
|
public function setAfnicIdent($afnicIdent = null) |
|
701
|
|
|
{ |
|
702
|
|
|
// validation for constraint: string |
|
703
|
|
|
if (!is_null($afnicIdent) && !is_string($afnicIdent)) { |
|
|
|
|
|
|
704
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($afnicIdent, true), gettype($afnicIdent)), __LINE__); |
|
705
|
|
|
} |
|
706
|
|
|
$this->afnicIdent = $afnicIdent; |
|
707
|
|
|
return $this; |
|
708
|
|
|
} |
|
709
|
|
|
/** |
|
710
|
|
|
* Get birthDate value |
|
711
|
|
|
* @return string|null |
|
712
|
|
|
*/ |
|
713
|
|
|
public function getBirthDate() |
|
714
|
|
|
{ |
|
715
|
|
|
return $this->birthDate; |
|
716
|
|
|
} |
|
717
|
|
|
/** |
|
718
|
|
|
* Set birthDate value |
|
719
|
|
|
* @param string $birthDate |
|
720
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
721
|
|
|
*/ |
|
722
|
|
|
public function setBirthDate($birthDate = null) |
|
723
|
|
|
{ |
|
724
|
|
|
// validation for constraint: string |
|
725
|
|
|
if (!is_null($birthDate) && !is_string($birthDate)) { |
|
|
|
|
|
|
726
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($birthDate, true), gettype($birthDate)), __LINE__); |
|
727
|
|
|
} |
|
728
|
|
|
$this->birthDate = $birthDate; |
|
729
|
|
|
return $this; |
|
730
|
|
|
} |
|
731
|
|
|
/** |
|
732
|
|
|
* Get birthCity value |
|
733
|
|
|
* @return string|null |
|
734
|
|
|
*/ |
|
735
|
|
|
public function getBirthCity() |
|
736
|
|
|
{ |
|
737
|
|
|
return $this->birthCity; |
|
738
|
|
|
} |
|
739
|
|
|
/** |
|
740
|
|
|
* Set birthCity value |
|
741
|
|
|
* @param string $birthCity |
|
742
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
743
|
|
|
*/ |
|
744
|
|
|
public function setBirthCity($birthCity = null) |
|
745
|
|
|
{ |
|
746
|
|
|
// validation for constraint: string |
|
747
|
|
|
if (!is_null($birthCity) && !is_string($birthCity)) { |
|
|
|
|
|
|
748
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($birthCity, true), gettype($birthCity)), __LINE__); |
|
749
|
|
|
} |
|
750
|
|
|
$this->birthCity = $birthCity; |
|
751
|
|
|
return $this; |
|
752
|
|
|
} |
|
753
|
|
|
/** |
|
754
|
|
|
* Get birthDepartement value |
|
755
|
|
|
* @return string|null |
|
756
|
|
|
*/ |
|
757
|
|
|
public function getBirthDepartement() |
|
758
|
|
|
{ |
|
759
|
|
|
return $this->birthDepartement; |
|
760
|
|
|
} |
|
761
|
|
|
/** |
|
762
|
|
|
* Set birthDepartement value |
|
763
|
|
|
* @param string $birthDepartement |
|
764
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
765
|
|
|
*/ |
|
766
|
|
|
public function setBirthDepartement($birthDepartement = null) |
|
767
|
|
|
{ |
|
768
|
|
|
// validation for constraint: string |
|
769
|
|
|
if (!is_null($birthDepartement) && !is_string($birthDepartement)) { |
|
|
|
|
|
|
770
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($birthDepartement, true), gettype($birthDepartement)), __LINE__); |
|
771
|
|
|
} |
|
772
|
|
|
$this->birthDepartement = $birthDepartement; |
|
773
|
|
|
return $this; |
|
774
|
|
|
} |
|
775
|
|
|
/** |
|
776
|
|
|
* Get birthCountry value |
|
777
|
|
|
* @return string|null |
|
778
|
|
|
*/ |
|
779
|
|
|
public function getBirthCountry() |
|
780
|
|
|
{ |
|
781
|
|
|
return $this->birthCountry; |
|
782
|
|
|
} |
|
783
|
|
|
/** |
|
784
|
|
|
* Set birthCountry value |
|
785
|
|
|
* @param string $birthCountry |
|
786
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
787
|
|
|
*/ |
|
788
|
|
|
public function setBirthCountry($birthCountry = null) |
|
789
|
|
|
{ |
|
790
|
|
|
// validation for constraint: string |
|
791
|
|
|
if (!is_null($birthCountry) && !is_string($birthCountry)) { |
|
|
|
|
|
|
792
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($birthCountry, true), gettype($birthCountry)), __LINE__); |
|
793
|
|
|
} |
|
794
|
|
|
$this->birthCountry = $birthCountry; |
|
795
|
|
|
return $this; |
|
796
|
|
|
} |
|
797
|
|
|
/** |
|
798
|
|
|
* Get dryRun value |
|
799
|
|
|
* @return bool|null |
|
800
|
|
|
*/ |
|
801
|
|
|
public function getDryRun() |
|
802
|
|
|
{ |
|
803
|
|
|
return $this->dryRun; |
|
804
|
|
|
} |
|
805
|
|
|
/** |
|
806
|
|
|
* Set dryRun value |
|
807
|
|
|
* @param bool $dryRun |
|
808
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
809
|
|
|
*/ |
|
810
|
|
|
public function setDryRun($dryRun = null) |
|
811
|
|
|
{ |
|
812
|
|
|
// validation for constraint: boolean |
|
813
|
|
|
if (!is_null($dryRun) && !is_bool($dryRun)) { |
|
|
|
|
|
|
814
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a bool, %s given', var_export($dryRun, true), gettype($dryRun)), __LINE__); |
|
815
|
|
|
} |
|
816
|
|
|
$this->dryRun = $dryRun; |
|
817
|
|
|
return $this; |
|
818
|
|
|
} |
|
819
|
|
|
/** |
|
820
|
|
|
* Get ssl value |
|
821
|
|
|
* @return string|null |
|
822
|
|
|
*/ |
|
823
|
|
|
public function getSsl() |
|
824
|
|
|
{ |
|
825
|
|
|
return $this->ssl; |
|
826
|
|
|
} |
|
827
|
|
|
/** |
|
828
|
|
|
* Set ssl value |
|
829
|
|
|
* @param string $ssl |
|
830
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
831
|
|
|
*/ |
|
832
|
|
|
public function setSsl($ssl = null) |
|
833
|
|
|
{ |
|
834
|
|
|
// validation for constraint: string |
|
835
|
|
|
if (!is_null($ssl) && !is_string($ssl)) { |
|
|
|
|
|
|
836
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($ssl, true), gettype($ssl)), __LINE__); |
|
837
|
|
|
} |
|
838
|
|
|
$this->ssl = $ssl; |
|
839
|
|
|
return $this; |
|
840
|
|
|
} |
|
841
|
|
|
/** |
|
842
|
|
|
* Get sslDomainList value |
|
843
|
|
|
* @return string|null |
|
844
|
|
|
*/ |
|
845
|
|
|
public function getSslDomainList() |
|
846
|
|
|
{ |
|
847
|
|
|
return $this->sslDomainList; |
|
848
|
|
|
} |
|
849
|
|
|
/** |
|
850
|
|
|
* Set sslDomainList value |
|
851
|
|
|
* @param string $sslDomainList |
|
852
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
853
|
|
|
*/ |
|
854
|
|
|
public function setSslDomainList($sslDomainList = null) |
|
855
|
|
|
{ |
|
856
|
|
|
// validation for constraint: string |
|
857
|
|
|
if (!is_null($sslDomainList) && !is_string($sslDomainList)) { |
|
|
|
|
|
|
858
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($sslDomainList, true), gettype($sslDomainList)), __LINE__); |
|
859
|
|
|
} |
|
860
|
|
|
$this->sslDomainList = $sslDomainList; |
|
861
|
|
|
return $this; |
|
862
|
|
|
} |
|
863
|
|
|
/** |
|
864
|
|
|
* Get cdn value |
|
865
|
|
|
* @return string|null |
|
866
|
|
|
*/ |
|
867
|
|
|
public function getCdn() |
|
868
|
|
|
{ |
|
869
|
|
|
return $this->cdn; |
|
870
|
|
|
} |
|
871
|
|
|
/** |
|
872
|
|
|
* Set cdn value |
|
873
|
|
|
* @param string $cdn |
|
874
|
|
|
* @return \Ovh\StructType\ResellerDomainCreate |
|
875
|
|
|
*/ |
|
876
|
|
|
public function setCdn($cdn = null) |
|
877
|
|
|
{ |
|
878
|
|
|
// validation for constraint: string |
|
879
|
|
|
if (!is_null($cdn) && !is_string($cdn)) { |
|
|
|
|
|
|
880
|
|
|
throw new \InvalidArgumentException(sprintf('Invalid value %s, please provide a string, %s given', var_export($cdn, true), gettype($cdn)), __LINE__); |
|
881
|
|
|
} |
|
882
|
|
|
$this->cdn = $cdn; |
|
883
|
|
|
return $this; |
|
884
|
|
|
} |
|
885
|
|
|
} |
|
886
|
|
|
|