ResellerDomainTransfer::getBirthCountry()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 3
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Importance

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