GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( 597aa0...3ebf30 )
by
unknown
06:55
created

UntagResources::withResourceId()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 8
rs 10
c 0
b 0
f 0
cc 2
nc 2
nop 1
1
<?php
2
3
namespace AlibabaCloud\Pvtz\V20180101;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddResolverEndpoint addResolverEndpoint(array $options = [])
9
 * @method AddResolverRule addResolverRule(array $options = [])
10
 * @method AddUserVpcAuthorization addUserVpcAuthorization(array $options = [])
11
 * @method AddZone addZone(array $options = [])
12
 * @method AddZoneRecord addZoneRecord(array $options = [])
13
 * @method BindResolverRuleVpc bindResolverRuleVpc(array $options = [])
14
 * @method BindZoneVpc bindZoneVpc(array $options = [])
15
 * @method CheckZoneName checkZoneName(array $options = [])
16
 * @method DeleteResolverEndpoint deleteResolverEndpoint(array $options = [])
17
 * @method DeleteResolverRule deleteResolverRule(array $options = [])
18
 * @method DeleteUserVpcAuthorization deleteUserVpcAuthorization(array $options = [])
19
 * @method DeleteZone deleteZone(array $options = [])
20
 * @method DeleteZoneRecord deleteZoneRecord(array $options = [])
21
 * @method DescribeChangeLogs describeChangeLogs(array $options = [])
22
 * @method DescribeRegions describeRegions(array $options = [])
23
 * @method DescribeRequestGraph describeRequestGraph(array $options = [])
24
 * @method DescribeResolverAvailableZones describeResolverAvailableZones(array $options = [])
25
 * @method DescribeResolverEndpoint describeResolverEndpoint(array $options = [])
26
 * @method DescribeResolverEndpoints describeResolverEndpoints(array $options = [])
27
 * @method DescribeResolverRule describeResolverRule(array $options = [])
28
 * @method DescribeResolverRules describeResolverRules(array $options = [])
29
 * @method DescribeStatisticSummary describeStatisticSummary(array $options = [])
30
 * @method DescribeSyncEcsHostTask describeSyncEcsHostTask(array $options = [])
31
 * @method DescribeTags describeTags(array $options = [])
32
 * @method DescribeUserVpcAuthorizations describeUserVpcAuthorizations(array $options = [])
33
 * @method DescribeZoneInfo describeZoneInfo(array $options = [])
34
 * @method DescribeZoneRecords describeZoneRecords(array $options = [])
35
 * @method DescribeZones describeZones(array $options = [])
36
 * @method DescribeZoneVpcTree describeZoneVpcTree(array $options = [])
37
 * @method ListTagResources listTagResources(array $options = [])
38
 * @method MoveResourceGroup moveResourceGroup(array $options = [])
39
 * @method SetProxyPattern setProxyPattern(array $options = [])
40
 * @method SetZoneRecordStatus setZoneRecordStatus(array $options = [])
41
 * @method TagResources tagResources(array $options = [])
42
 * @method UntagResources untagResources(array $options = [])
43
 * @method UpdateRecordRemark updateRecordRemark(array $options = [])
44
 * @method UpdateResolverEndpoint updateResolverEndpoint(array $options = [])
45
 * @method UpdateResolverRule updateResolverRule(array $options = [])
46
 * @method UpdateSyncEcsHostTask updateSyncEcsHostTask(array $options = [])
47
 * @method UpdateZoneRecord updateZoneRecord(array $options = [])
48
 * @method UpdateZoneRemark updateZoneRemark(array $options = [])
49
 */
50
class PvtzApiResolver extends ApiResolver
51
{
52
}
53
54
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
55
{
56
    /** @var string */
57
    public $product = 'pvtz';
58
59
    /** @var string */
60
    public $version = '2018-01-01';
61
62
    /** @var string */
63
    public $method = 'POST';
64
65
    /** @var string */
66
    public $serviceCode = 'pvtz';
67
}
68
69
/**
70
 * @method string getVpcRegionId()
71
 * @method $this withVpcRegionId($value)
72
 * @method string getSecurityGroupId()
73
 * @method $this withSecurityGroupId($value)
74
 * @method string getVpcId()
75
 * @method $this withVpcId($value)
76
 * @method string getUserClientIp()
77
 * @method $this withUserClientIp($value)
78
 * @method string getName()
79
 * @method $this withName($value)
80
 * @method string getLang()
81
 * @method $this withLang($value)
82
 * @method array getIpConfig()
83
 */
84
class AddResolverEndpoint extends Rpc
85
{
86
87
    /**
88
     * @param array $ipConfig
89
     *
90
     * @return $this
91
     */
92
	public function withIpConfig(array $ipConfig)
93
	{
94
	    $this->data['IpConfig'] = $ipConfig;
95
		foreach ($ipConfig as $depth1 => $depth1Value) {
96
			if(isset($depth1Value['VSwitchId'])){
97
				$this->options['query']['IpConfig.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
98
			}
99
			if(isset($depth1Value['Ip'])){
100
				$this->options['query']['IpConfig.' . ($depth1 + 1) . '.Ip'] = $depth1Value['Ip'];
101
			}
102
			if(isset($depth1Value['CidrBlock'])){
103
				$this->options['query']['IpConfig.' . ($depth1 + 1) . '.CidrBlock'] = $depth1Value['CidrBlock'];
104
			}
105
			if(isset($depth1Value['AzId'])){
106
				$this->options['query']['IpConfig.' . ($depth1 + 1) . '.AzId'] = $depth1Value['AzId'];
107
			}
108
		}
109
110
		return $this;
111
    }
112
}
113
114
/**
115
 * @method string getEndpointId()
116
 * @method $this withEndpointId($value)
117
 * @method array getForwardIp()
118
 * @method string getType()
119
 * @method $this withType($value)
120
 * @method string getZoneName()
121
 * @method $this withZoneName($value)
122
 * @method string getUserClientIp()
123
 * @method $this withUserClientIp($value)
124
 * @method string getName()
125
 * @method $this withName($value)
126
 * @method string getLang()
127
 * @method $this withLang($value)
128
 */
129
class AddResolverRule extends Rpc
130
{
131
132
    /**
133
     * @param array $forwardIp
134
     *
135
     * @return $this
136
     */
137
	public function withForwardIp(array $forwardIp)
138
	{
139
	    $this->data['ForwardIp'] = $forwardIp;
140
		foreach ($forwardIp as $depth1 => $depth1Value) {
141
			if(isset($depth1Value['Port'])){
142
				$this->options['query']['ForwardIp.' . ($depth1 + 1) . '.Port'] = $depth1Value['Port'];
143
			}
144
			if(isset($depth1Value['Ip'])){
145
				$this->options['query']['ForwardIp.' . ($depth1 + 1) . '.Ip'] = $depth1Value['Ip'];
146
			}
147
		}
148
149
		return $this;
150
    }
151
}
152
153
/**
154
 * @method string getAuthType()
155
 * @method $this withAuthType($value)
156
 * @method string getAuthCode()
157
 * @method $this withAuthCode($value)
158
 * @method string getAuthorizedUserId()
159
 * @method $this withAuthorizedUserId($value)
160
 * @method string getAuthChannel()
161
 * @method $this withAuthChannel($value)
162
 */
163
class AddUserVpcAuthorization extends Rpc
164
{
165
}
166
167
/**
168
 * @method string getProxyPattern()
169
 * @method $this withProxyPattern($value)
170
 * @method string getZoneName()
171
 * @method $this withZoneName($value)
172
 * @method string getResourceGroupId()
173
 * @method $this withResourceGroupId($value)
174
 * @method string getZoneTag()
175
 * @method $this withZoneTag($value)
176
 * @method string getUserClientIp()
177
 * @method $this withUserClientIp($value)
178
 * @method string getZoneType()
179
 * @method $this withZoneType($value)
180
 * @method string getLang()
181
 * @method $this withLang($value)
182
 */
183
class AddZone extends Rpc
184
{
185
}
186
187
/**
188
 * @method string getRr()
189
 * @method $this withRr($value)
190
 * @method string getRemark()
191
 * @method $this withRemark($value)
192
 * @method string getType()
193
 * @method $this withType($value)
194
 * @method string getPriority()
195
 * @method $this withPriority($value)
196
 * @method string getTtl()
197
 * @method $this withTtl($value)
198
 * @method string getUserClientIp()
199
 * @method $this withUserClientIp($value)
200
 * @method string getZoneId()
201
 * @method $this withZoneId($value)
202
 * @method string getLang()
203
 * @method $this withLang($value)
204
 * @method string getValue()
205
 * @method $this withValue($value)
206
 */
207
class AddZoneRecord extends Rpc
208
{
209
}
210
211
/**
212
 * @method array getVpc()
213
 * @method string getUserClientIp()
214
 * @method $this withUserClientIp($value)
215
 * @method string getLang()
216
 * @method $this withLang($value)
217
 * @method string getRuleId()
218
 * @method $this withRuleId($value)
219
 */
220
class BindResolverRuleVpc extends Rpc
221
{
222
223
    /**
224
     * @param array $vpc
225
     *
226
     * @return $this
227
     */
228
	public function withVpc(array $vpc)
229
	{
230
	    $this->data['Vpc'] = $vpc;
231
		foreach ($vpc as $depth1 => $depth1Value) {
232
			if(isset($depth1Value['RegionId'])){
233
				$this->options['query']['Vpc.' . ($depth1 + 1) . '.RegionId'] = $depth1Value['RegionId'];
234
			}
235
			if(isset($depth1Value['VpcId'])){
236
				$this->options['query']['Vpc.' . ($depth1 + 1) . '.VpcId'] = $depth1Value['VpcId'];
237
			}
238
		}
239
240
		return $this;
241
    }
242
}
243
244
/**
245
 * @method string getDryrun()
246
 * @method $this withDryrun($value)
247
 * @method string getUserClientIp()
248
 * @method $this withUserClientIp($value)
249
 * @method string getZoneId()
250
 * @method $this withZoneId($value)
251
 * @method string getLang()
252
 * @method $this withLang($value)
253
 * @method array getVpcs()
254
 * @method string getRemoteType()
255
 * @method $this withRemoteType($value)
256
 */
257
class BindZoneVpc extends Rpc
258
{
259
260
    /**
261
     * @param array $vpcs
262
     *
263
     * @return $this
264
     */
265
	public function withVpcs(array $vpcs)
266
	{
267
	    $this->data['Vpcs'] = $vpcs;
268
		foreach ($vpcs as $depth1 => $depth1Value) {
269
			if(isset($depth1Value['RegionId'])){
270
				$this->options['query']['Vpcs.' . ($depth1 + 1) . '.RegionId'] = $depth1Value['RegionId'];
271
			}
272
			if(isset($depth1Value['VpcId'])){
273
				$this->options['query']['Vpcs.' . ($depth1 + 1) . '.VpcId'] = $depth1Value['VpcId'];
274
			}
275
		}
276
277
		return $this;
278
    }
279
}
280
281
/**
282
 * @method string getZoneName()
283
 * @method $this withZoneName($value)
284
 * @method string getUserClientIp()
285
 * @method $this withUserClientIp($value)
286
 * @method string getLang()
287
 * @method $this withLang($value)
288
 */
289
class CheckZoneName extends Rpc
290
{
291
}
292
293
/**
294
 * @method string getEndpointId()
295
 * @method $this withEndpointId($value)
296
 * @method string getUserClientIp()
297
 * @method $this withUserClientIp($value)
298
 * @method string getLang()
299
 * @method $this withLang($value)
300
 */
301
class DeleteResolverEndpoint extends Rpc
302
{
303
}
304
305
/**
306
 * @method string getUserClientIp()
307
 * @method $this withUserClientIp($value)
308
 * @method string getLang()
309
 * @method $this withLang($value)
310
 * @method string getRuleId()
311
 * @method $this withRuleId($value)
312
 */
313
class DeleteResolverRule extends Rpc
314
{
315
}
316
317
/**
318
 * @method string getAuthType()
319
 * @method $this withAuthType($value)
320
 * @method string getAuthorizedUserId()
321
 * @method $this withAuthorizedUserId($value)
322
 */
323
class DeleteUserVpcAuthorization extends Rpc
324
{
325
}
326
327
/**
328
 * @method string getUserClientIp()
329
 * @method $this withUserClientIp($value)
330
 * @method string getZoneId()
331
 * @method $this withZoneId($value)
332
 * @method string getLang()
333
 * @method $this withLang($value)
334
 */
335
class DeleteZone extends Rpc
336
{
337
}
338
339
/**
340
 * @method string getRecordId()
341
 * @method $this withRecordId($value)
342
 * @method string getUserClientIp()
343
 * @method $this withUserClientIp($value)
344
 * @method string getLang()
345
 * @method $this withLang($value)
346
 */
347
class DeleteZoneRecord extends Rpc
348
{
349
}
350
351
/**
352
 * @method string getStartTimestamp()
353
 * @method $this withStartTimestamp($value)
354
 * @method string getPageNumber()
355
 * @method $this withPageNumber($value)
356
 * @method string getEndTimestamp()
357
 * @method $this withEndTimestamp($value)
358
 * @method string getEntityType()
359
 * @method $this withEntityType($value)
360
 * @method string getPageSize()
361
 * @method $this withPageSize($value)
362
 * @method string getUserClientIp()
363
 * @method $this withUserClientIp($value)
364
 * @method string getZoneId()
365
 * @method $this withZoneId($value)
366
 * @method string getKeyword()
367
 * @method $this withKeyword($value)
368
 * @method string getLang()
369
 * @method $this withLang($value)
370
 */
371
class DescribeChangeLogs extends Rpc
372
{
373
}
374
375
/**
376
 * @method string getAuthorizedUserId()
377
 * @method $this withAuthorizedUserId($value)
378
 * @method string getUserClientIp()
379
 * @method $this withUserClientIp($value)
380
 * @method string getAcceptLanguage()
381
 * @method $this withAcceptLanguage($value)
382
 * @method string getLang()
383
 * @method $this withLang($value)
384
 */
385
class DescribeRegions extends Rpc
386
{
387
}
388
389
/**
390
 * @method string getStartTimestamp()
391
 * @method $this withStartTimestamp($value)
392
 * @method string getEndTimestamp()
393
 * @method $this withEndTimestamp($value)
394
 * @method string getBizType()
395
 * @method $this withBizType($value)
396
 * @method string getVpcId()
397
 * @method $this withVpcId($value)
398
 * @method string getUserClientIp()
399
 * @method $this withUserClientIp($value)
400
 * @method string getBizId()
401
 * @method $this withBizId($value)
402
 * @method string getZoneId()
403
 * @method $this withZoneId($value)
404
 * @method string getLang()
405
 * @method $this withLang($value)
406
 */
407
class DescribeRequestGraph extends Rpc
408
{
409
}
410
411
/**
412
 * @method string getResolverRegionId()
413
 * @method $this withResolverRegionId($value)
414
 * @method string getUserClientIp()
415
 * @method $this withUserClientIp($value)
416
 * @method string getAzId()
417
 * @method $this withAzId($value)
418
 * @method string getLang()
419
 * @method $this withLang($value)
420
 */
421
class DescribeResolverAvailableZones extends Rpc
422
{
423
}
424
425
/**
426
 * @method string getEndpointId()
427
 * @method $this withEndpointId($value)
428
 * @method string getUserClientIp()
429
 * @method $this withUserClientIp($value)
430
 * @method string getLang()
431
 * @method $this withLang($value)
432
 */
433
class DescribeResolverEndpoint extends Rpc
434
{
435
}
436
437
/**
438
 * @method string getPageNumber()
439
 * @method $this withPageNumber($value)
440
 * @method string getPageSize()
441
 * @method $this withPageSize($value)
442
 * @method string getUserClientIp()
443
 * @method $this withUserClientIp($value)
444
 * @method string getKeyword()
445
 * @method $this withKeyword($value)
446
 * @method string getLang()
447
 * @method $this withLang($value)
448
 * @method string getStatus()
449
 * @method $this withStatus($value)
450
 */
451
class DescribeResolverEndpoints extends Rpc
452
{
453
}
454
455
/**
456
 * @method string getUserClientIp()
457
 * @method $this withUserClientIp($value)
458
 * @method string getLang()
459
 * @method $this withLang($value)
460
 * @method string getRuleId()
461
 * @method $this withRuleId($value)
462
 */
463
class DescribeResolverRule extends Rpc
464
{
465
}
466
467
/**
468
 * @method string getEndpointId()
469
 * @method $this withEndpointId($value)
470
 * @method string getPageNumber()
471
 * @method $this withPageNumber($value)
472
 * @method string getPageSize()
473
 * @method $this withPageSize($value)
474
 * @method string getUserClientIp()
475
 * @method $this withUserClientIp($value)
476
 * @method string getKeyword()
477
 * @method $this withKeyword($value)
478
 * @method string getLang()
479
 * @method $this withLang($value)
480
 * @method string getNeedDetailAttributes()
481
 * @method $this withNeedDetailAttributes($value)
482
 */
483
class DescribeResolverRules extends Rpc
484
{
485
}
486
487
/**
488
 * @method string getUserClientIp()
489
 * @method $this withUserClientIp($value)
490
 * @method string getLang()
491
 * @method $this withLang($value)
492
 */
493
class DescribeStatisticSummary extends Rpc
494
{
495
}
496
497
/**
498
 * @method string getUserClientIp()
499
 * @method $this withUserClientIp($value)
500
 * @method string getZoneId()
501
 * @method $this withZoneId($value)
502
 * @method string getLang()
503
 * @method $this withLang($value)
504
 */
505
class DescribeSyncEcsHostTask extends Rpc
506
{
507
}
508
509
/**
510
 * @method string getResourceType()
511
 * @method $this withResourceType($value)
512
 * @method string getPageNumber()
513
 * @method $this withPageNumber($value)
514
 * @method string getUserClientIp()
515
 * @method $this withUserClientIp($value)
516
 * @method string getPageSize()
517
 * @method $this withPageSize($value)
518
 * @method string getLang()
519
 * @method $this withLang($value)
520
 */
521
class DescribeTags extends Rpc
522
{
523
}
524
525
/**
526
 * @method string getPageNumber()
527
 * @method $this withPageNumber($value)
528
 * @method string getAuthType()
529
 * @method $this withAuthType($value)
530
 * @method string getAuthorizedUserId()
531
 * @method $this withAuthorizedUserId($value)
532
 * @method string getPageSize()
533
 * @method $this withPageSize($value)
534
 */
535
class DescribeUserVpcAuthorizations extends Rpc
536
{
537
}
538
539
/**
540
 * @method string getUserClientIp()
541
 * @method $this withUserClientIp($value)
542
 * @method string getZoneId()
543
 * @method $this withZoneId($value)
544
 * @method string getLang()
545
 * @method $this withLang($value)
546
 */
547
class DescribeZoneInfo extends Rpc
548
{
549
}
550
551
/**
552
 * @method string getOrderBy()
553
 * @method $this withOrderBy($value)
554
 * @method string getPageNumber()
555
 * @method $this withPageNumber($value)
556
 * @method string getPageSize()
557
 * @method $this withPageSize($value)
558
 * @method string getUserClientIp()
559
 * @method $this withUserClientIp($value)
560
 * @method string getZoneId()
561
 * @method $this withZoneId($value)
562
 * @method string getSearchMode()
563
 * @method $this withSearchMode($value)
564
 * @method string getTag()
565
 * @method $this withTag($value)
566
 * @method string getLang()
567
 * @method $this withLang($value)
568
 * @method string getKeyword()
569
 * @method $this withKeyword($value)
570
 * @method string getDirection()
571
 * @method $this withDirection($value)
572
 */
573
class DescribeZoneRecords extends Rpc
574
{
575
}
576
577
/**
578
 * @method string getQueryVpcId()
579
 * @method $this withQueryVpcId($value)
580
 * @method string getPageNumber()
581
 * @method $this withPageNumber($value)
582
 * @method string getResourceGroupId()
583
 * @method $this withResourceGroupId($value)
584
 * @method string getPageSize()
585
 * @method $this withPageSize($value)
586
 * @method array getResourceTag()
587
 * @method string getLang()
588
 * @method $this withLang($value)
589
 * @method string getKeyword()
590
 * @method $this withKeyword($value)
591
 * @method string getDirection()
592
 * @method $this withDirection($value)
593
 * @method string getOrderBy()
594
 * @method $this withOrderBy($value)
595
 * @method array getZoneTag()
596
 * @method string getUserClientIp()
597
 * @method $this withUserClientIp($value)
598
 * @method string getSearchMode()
599
 * @method $this withSearchMode($value)
600
 * @method string getZoneType()
601
 * @method $this withZoneType($value)
602
 * @method string getQueryRegionId()
603
 * @method $this withQueryRegionId($value)
604
 */
605
class DescribeZones extends Rpc
606
{
607
608
    /**
609
     * @param array $resourceTag
610
     *
611
     * @return $this
612
     */
613
	public function withResourceTag(array $resourceTag)
614
	{
615
	    $this->data['ResourceTag'] = $resourceTag;
616
		foreach ($resourceTag as $depth1 => $depth1Value) {
617
			if(isset($depth1Value['Value'])){
618
				$this->options['query']['ResourceTag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
619
			}
620
			if(isset($depth1Value['Key'])){
621
				$this->options['query']['ResourceTag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
622
			}
623
		}
624
625
		return $this;
626
    }
627
628
    /**
629
     * @param array $zoneTag
630
     *
631
     * @return $this
632
     */
633
	public function withZoneTag(array $zoneTag)
634
	{
635
	    $this->data['ZoneTag'] = $zoneTag;
636
		foreach ($zoneTag as $i => $iValue) {
637
			$this->options['query']['ZoneTag.' . ($i + 1)] = $iValue;
638
		}
639
640
		return $this;
641
    }
642
}
643
644
/**
645
 * @method string getUserClientIp()
646
 * @method $this withUserClientIp($value)
647
 * @method string getLang()
648
 * @method $this withLang($value)
649
 */
650
class DescribeZoneVpcTree extends Rpc
651
{
652
}
653
654
/**
655
 * @method array getResourceId()
656
 * @method string getResourceType()
657
 * @method $this withResourceType($value)
658
 * @method string getSize()
659
 * @method $this withSize($value)
660
 * @method string getNextToken()
661
 * @method $this withNextToken($value)
662
 * @method string getUserClientIp()
663
 * @method $this withUserClientIp($value)
664
 * @method array getTag()
665
 * @method string getLang()
666
 * @method $this withLang($value)
667
 */
668
class ListTagResources extends Rpc
669
{
670
671
    /**
672
     * @param array $resourceId
673
     *
674
     * @return $this
675
     */
676
	public function withResourceId(array $resourceId)
677
	{
678
	    $this->data['ResourceId'] = $resourceId;
679
		foreach ($resourceId as $i => $iValue) {
680
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
681
		}
682
683
		return $this;
684
    }
685
686
    /**
687
     * @param array $tag
688
     *
689
     * @return $this
690
     */
691
	public function withTag(array $tag)
692
	{
693
	    $this->data['Tag'] = $tag;
694
		foreach ($tag as $depth1 => $depth1Value) {
695
			if(isset($depth1Value['Value'])){
696
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
697
			}
698
			if(isset($depth1Value['Key'])){
699
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
700
			}
701
		}
702
703
		return $this;
704
    }
705
}
706
707
/**
708
 * @method string getResourceId()
709
 * @method $this withResourceId($value)
710
 * @method string getNewResourceGroupId()
711
 * @method $this withNewResourceGroupId($value)
712
 * @method string getUserClientIp()
713
 * @method $this withUserClientIp($value)
714
 * @method string getLang()
715
 * @method $this withLang($value)
716
 */
717
class MoveResourceGroup extends Rpc
718
{
719
}
720
721
/**
722
 * @method string getProxyPattern()
723
 * @method $this withProxyPattern($value)
724
 * @method string getUserClientIp()
725
 * @method $this withUserClientIp($value)
726
 * @method string getZoneId()
727
 * @method $this withZoneId($value)
728
 * @method string getLang()
729
 * @method $this withLang($value)
730
 * @method string getRemoteType()
731
 * @method $this withRemoteType($value)
732
 */
733
class SetProxyPattern extends Rpc
734
{
735
}
736
737
/**
738
 * @method string getRecordId()
739
 * @method $this withRecordId($value)
740
 * @method string getUserClientIp()
741
 * @method $this withUserClientIp($value)
742
 * @method string getLang()
743
 * @method $this withLang($value)
744
 * @method string getStatus()
745
 * @method $this withStatus($value)
746
 */
747
class SetZoneRecordStatus extends Rpc
748
{
749
}
750
751
/**
752
 * @method array getResourceId()
753
 * @method string getResourceType()
754
 * @method $this withResourceType($value)
755
 * @method string getUserClientIp()
756
 * @method $this withUserClientIp($value)
757
 * @method array getTag()
758
 * @method string getLang()
759
 * @method $this withLang($value)
760
 * @method string getOverWrite()
761
 * @method $this withOverWrite($value)
762
 */
763
class TagResources extends Rpc
764
{
765
766
    /**
767
     * @param array $resourceId
768
     *
769
     * @return $this
770
     */
771
	public function withResourceId(array $resourceId)
772
	{
773
	    $this->data['ResourceId'] = $resourceId;
774
		foreach ($resourceId as $i => $iValue) {
775
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
776
		}
777
778
		return $this;
779
    }
780
781
    /**
782
     * @param array $tag
783
     *
784
     * @return $this
785
     */
786
	public function withTag(array $tag)
787
	{
788
	    $this->data['Tag'] = $tag;
789
		foreach ($tag as $depth1 => $depth1Value) {
790
			if(isset($depth1Value['Value'])){
791
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
792
			}
793
			if(isset($depth1Value['Key'])){
794
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
795
			}
796
		}
797
798
		return $this;
799
    }
800
}
801
802
/**
803
 * @method string getAll()
804
 * @method $this withAll($value)
805
 * @method array getResourceId()
806
 * @method string getResourceType()
807
 * @method $this withResourceType($value)
808
 * @method string getUserClientIp()
809
 * @method $this withUserClientIp($value)
810
 * @method string getLang()
811
 * @method $this withLang($value)
812
 * @method array getTagKey()
813
 */
814
class UntagResources extends Rpc
815
{
816
817
    /**
818
     * @param array $resourceId
819
     *
820
     * @return $this
821
     */
822
	public function withResourceId(array $resourceId)
823
	{
824
	    $this->data['ResourceId'] = $resourceId;
825
		foreach ($resourceId as $i => $iValue) {
826
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
827
		}
828
829
		return $this;
830
    }
831
832
    /**
833
     * @param array $tagKey
834
     *
835
     * @return $this
836
     */
837
	public function withTagKey(array $tagKey)
838
	{
839
	    $this->data['TagKey'] = $tagKey;
840
		foreach ($tagKey as $i => $iValue) {
841
			$this->options['query']['TagKey.' . ($i + 1)] = $iValue;
842
		}
843
844
		return $this;
845
    }
846
}
847
848
/**
849
 * @method string getRemark()
850
 * @method $this withRemark($value)
851
 * @method string getRecordId()
852
 * @method $this withRecordId($value)
853
 * @method string getUserClientIp()
854
 * @method $this withUserClientIp($value)
855
 * @method string getLang()
856
 * @method $this withLang($value)
857
 */
858
class UpdateRecordRemark extends Rpc
859
{
860
}
861
862
/**
863
 * @method string getEndpointId()
864
 * @method $this withEndpointId($value)
865
 * @method string getUserClientIp()
866
 * @method $this withUserClientIp($value)
867
 * @method string getName()
868
 * @method $this withName($value)
869
 * @method string getLang()
870
 * @method $this withLang($value)
871
 * @method array getIpConfig()
872
 */
873
class UpdateResolverEndpoint extends Rpc
874
{
875
876
    /**
877
     * @param array $ipConfig
878
     *
879
     * @return $this
880
     */
881
	public function withIpConfig(array $ipConfig)
882
	{
883
	    $this->data['IpConfig'] = $ipConfig;
884
		foreach ($ipConfig as $depth1 => $depth1Value) {
885
			if(isset($depth1Value['VSwitchId'])){
886
				$this->options['query']['IpConfig.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
887
			}
888
			if(isset($depth1Value['Ip'])){
889
				$this->options['query']['IpConfig.' . ($depth1 + 1) . '.Ip'] = $depth1Value['Ip'];
890
			}
891
			if(isset($depth1Value['CidrBlock'])){
892
				$this->options['query']['IpConfig.' . ($depth1 + 1) . '.CidrBlock'] = $depth1Value['CidrBlock'];
893
			}
894
			if(isset($depth1Value['AzId'])){
895
				$this->options['query']['IpConfig.' . ($depth1 + 1) . '.AzId'] = $depth1Value['AzId'];
896
			}
897
		}
898
899
		return $this;
900
    }
901
}
902
903
/**
904
 * @method array getForwardIp()
905
 * @method string getUserClientIp()
906
 * @method $this withUserClientIp($value)
907
 * @method string getName()
908
 * @method $this withName($value)
909
 * @method string getLang()
910
 * @method $this withLang($value)
911
 * @method string getRuleId()
912
 * @method $this withRuleId($value)
913
 */
914
class UpdateResolverRule extends Rpc
915
{
916
917
    /**
918
     * @param array $forwardIp
919
     *
920
     * @return $this
921
     */
922
	public function withForwardIp(array $forwardIp)
923
	{
924
	    $this->data['ForwardIp'] = $forwardIp;
925
		foreach ($forwardIp as $depth1 => $depth1Value) {
926
			if(isset($depth1Value['Port'])){
927
				$this->options['query']['ForwardIp.' . ($depth1 + 1) . '.Port'] = $depth1Value['Port'];
928
			}
929
			if(isset($depth1Value['Ip'])){
930
				$this->options['query']['ForwardIp.' . ($depth1 + 1) . '.Ip'] = $depth1Value['Ip'];
931
			}
932
		}
933
934
		return $this;
935
    }
936
}
937
938
/**
939
 * @method string getUserClientIp()
940
 * @method $this withUserClientIp($value)
941
 * @method string getZoneId()
942
 * @method $this withZoneId($value)
943
 * @method string getLang()
944
 * @method $this withLang($value)
945
 * @method array getRegion()
946
 * @method string getStatus()
947
 * @method $this withStatus($value)
948
 */
949
class UpdateSyncEcsHostTask extends Rpc
950
{
951
952
    /**
953
     * @param array $region
954
     *
955
     * @return $this
956
     */
957
	public function withRegion(array $region)
958
	{
959
	    $this->data['Region'] = $region;
960
		foreach ($region as $depth1 => $depth1Value) {
961
			if(isset($depth1Value['RegionId'])){
962
				$this->options['query']['Region.' . ($depth1 + 1) . '.RegionId'] = $depth1Value['RegionId'];
963
			}
964
			if(isset($depth1Value['UserId'])){
965
				$this->options['query']['Region.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
966
			}
967
		}
968
969
		return $this;
970
    }
971
}
972
973
/**
974
 * @method string getRr()
975
 * @method $this withRr($value)
976
 * @method string getType()
977
 * @method $this withType($value)
978
 * @method string getPriority()
979
 * @method $this withPriority($value)
980
 * @method string getTtl()
981
 * @method $this withTtl($value)
982
 * @method string getRecordId()
983
 * @method $this withRecordId($value)
984
 * @method string getUserClientIp()
985
 * @method $this withUserClientIp($value)
986
 * @method string getLang()
987
 * @method $this withLang($value)
988
 * @method string getValue()
989
 * @method $this withValue($value)
990
 */
991
class UpdateZoneRecord extends Rpc
992
{
993
}
994
995
/**
996
 * @method string getRemark()
997
 * @method $this withRemark($value)
998
 * @method string getUserClientIp()
999
 * @method $this withUserClientIp($value)
1000
 * @method string getZoneId()
1001
 * @method $this withZoneId($value)
1002
 * @method string getLang()
1003
 * @method $this withLang($value)
1004
 */
1005
class UpdateZoneRemark extends Rpc
1006
{
1007
}
1008