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 ( 2306ad...7f7400 )
by
unknown
07:21
created

UpdateDeployConfig   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 5
c 1
b 0
f 0
dl 0
loc 16
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A withConfigMapList() 0 8 2
1
<?php
2
3
namespace AlibabaCloud\Retailcloud\V20180313;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddClusterNode addClusterNode(array $options = [])
9
 * @method BatchAddServers batchAddServers(array $options = [])
10
 * @method BindNodeLabel bindNodeLabel(array $options = [])
11
 * @method CloseDeployOrder closeDeployOrder(array $options = [])
12
 * @method CreateApp createApp(array $options = [])
13
 * @method CreateAppResourceAlloc createAppResourceAlloc(array $options = [])
14
 * @method CreateCluster createCluster(array $options = [])
15
 * @method CreateDb createDb(array $options = [])
16
 * @method CreateDeployConfig createDeployConfig(array $options = [])
17
 * @method CreateEnvironment createEnvironment(array $options = [])
18
 * @method CreateNodeLabel createNodeLabel(array $options = [])
19
 * @method CreatePersistentVolume createPersistentVolume(array $options = [])
20
 * @method CreatePersistentVolumeClaim createPersistentVolumeClaim(array $options = [])
21
 * @method CreateService createService(array $options = [])
22
 * @method CreateSlbAP createSlbAP(array $options = [])
23
 * @method DeleteAppDetail deleteAppDetail(array $options = [])
24
 * @method DeleteAppEnvironment deleteAppEnvironment(array $options = [])
25
 * @method DeleteAppResourceAlloc deleteAppResourceAlloc(array $options = [])
26
 * @method DeleteCluster deleteCluster(array $options = [])
27
 * @method DeleteDatabase deleteDatabase(array $options = [])
28
 * @method DeleteDeployConfig deleteDeployConfig(array $options = [])
29
 * @method DeleteNodeLabel deleteNodeLabel(array $options = [])
30
 * @method DeletePersistentVolume deletePersistentVolume(array $options = [])
31
 * @method DeletePersistentVolumeClaim deletePersistentVolumeClaim(array $options = [])
32
 * @method DeleteRdsAccount deleteRdsAccount(array $options = [])
33
 * @method DeleteService deleteService(array $options = [])
34
 * @method DeleteSlbAP deleteSlbAP(array $options = [])
35
 * @method DeployApp deployApp(array $options = [])
36
 * @method DescribeAppDetail describeAppDetail(array $options = [])
37
 * @method DescribeAppEnvironmentDetail describeAppEnvironmentDetail(array $options = [])
38
 * @method DescribeAppResourceAlloc describeAppResourceAlloc(array $options = [])
39
 * @method DescribeDatabases describeDatabases(array $options = [])
40
 * @method DescribeDeployOrderDetail describeDeployOrderDetail(array $options = [])
41
 * @method DescribePodEvents describePodEvents(array $options = [])
42
 * @method DescribePodLog describePodLog(array $options = [])
43
 * @method DescribeRdsAccounts describeRdsAccounts(array $options = [])
44
 * @method DescribeServiceDetail describeServiceDetail(array $options = [])
45
 * @method DescribeSlbAPDetail describeSlbAPDetail(array $options = [])
46
 * @method GetInstTransInfo getInstTransInfo(array $options = [])
47
 * @method GetRdsBackUp getRdsBackUp(array $options = [])
48
 * @method GrantDbToAccount grantDbToAccount(array $options = [])
49
 * @method ListApp listApp(array $options = [])
50
 * @method ListAppEnvironment listAppEnvironment(array $options = [])
51
 * @method ListAppInstance listAppInstance(array $options = [])
52
 * @method ListAppResourceAllocs listAppResourceAllocs(array $options = [])
53
 * @method ListAvailableClusterNode listAvailableClusterNode(array $options = [])
54
 * @method ListCluster listCluster(array $options = [])
55
 * @method ListClusterNode listClusterNode(array $options = [])
56
 * @method ListDeployConfig listDeployConfig(array $options = [])
57
 * @method ListDeployOrders listDeployOrders(array $options = [])
58
 * @method ListNodeLabelBindings listNodeLabelBindings(array $options = [])
59
 * @method ListNodeLabels listNodeLabels(array $options = [])
60
 * @method ListPersistentVolume listPersistentVolume(array $options = [])
61
 * @method ListPersistentVolumeClaim listPersistentVolumeClaim(array $options = [])
62
 * @method ListPods listPods(array $options = [])
63
 * @method ListServices listServices(array $options = [])
64
 * @method ListSlbAPs listSlbAPs(array $options = [])
65
 * @method ModifyService modifyService(array $options = [])
66
 * @method ModifySlbAP modifySlbAP(array $options = [])
67
 * @method QueryClusterDetail queryClusterDetail(array $options = [])
68
 * @method RemoveClusterNode removeClusterNode(array $options = [])
69
 * @method ResourceStatusNotify resourceStatusNotify(array $options = [])
70
 * @method ResumeDeploy resumeDeploy(array $options = [])
71
 * @method ScaleApp scaleApp(array $options = [])
72
 * @method SetDeployPauseType setDeployPauseType(array $options = [])
73
 * @method UnbindNodeLabel unbindNodeLabel(array $options = [])
74
 * @method UpdateApp updateApp(array $options = [])
75
 * @method UpdateDeployConfig updateDeployConfig(array $options = [])
76
 * @method UpdateEnvironment updateEnvironment(array $options = [])
77
 */
78
class RetailcloudApiResolver extends ApiResolver
79
{
80
}
81
82
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
83
{
84
    /** @var string */
85
    public $product = 'retailcloud';
86
87
    /** @var string */
88
    public $version = '2018-03-13';
89
90
    /** @var string */
91
    public $method = 'POST';
92
93
    /** @var string */
94
    public $serviceCode = 'retailcloud';
95
}
96
97
/**
98
 * @method array getEcsInstanceIdList()
99
 * @method string getClusterInstanceId()
100
 * @method $this withClusterInstanceId($value)
101
 */
102
class AddClusterNode extends Rpc
103
{
104
105
    /**
106
     * @param array $ecsInstanceIdList
107
     *
108
     * @return $this
109
     */
110
	public function withEcsInstanceIdList(array $ecsInstanceIdList)
111
	{
112
	    $this->data['EcsInstanceIdList'] = $ecsInstanceIdList;
113
		foreach ($ecsInstanceIdList as $i => $iValue) {
114
			$this->options['query']['EcsInstanceIdList.' . ($i + 1)] = $iValue;
115
		}
116
117
		return $this;
118
    }
119
}
120
121
/**
122
 * @method string getInstanceId()
123
 * @method $this withInstanceId($value)
124
 * @method string getVpcId()
125
 * @method $this withVpcId($value)
126
 * @method string getSign()
127
 * @method $this withSign($value)
128
 */
129
class BatchAddServers extends Rpc
130
{
131
}
132
133
/**
134
 * @method string getInstanceId()
135
 * @method $this withInstanceId($value)
136
 * @method string getLabelKey()
137
 * @method $this withLabelKey($value)
138
 * @method string getLabelValue()
139
 * @method $this withLabelValue($value)
140
 * @method string getClusterId()
141
 * @method $this withClusterId($value)
142
 */
143
class BindNodeLabel extends Rpc
144
{
145
}
146
147
/**
148
 * @method string getDeployOrderId()
149
 * @method $this withDeployOrderId($value)
150
 */
151
class CloseDeployOrder extends Rpc
152
{
153
}
154
155
/**
156
 * @method string getBizTitle()
157
 * @method string getStateType()
158
 * @method string getServiceType()
159
 * @method string getBizCode()
160
 * @method string getOperatingSystem()
161
 * @method string getNamespace()
162
 * @method string getDescription()
163
 * @method string getLanguage()
164
 * @method string getTitle()
165
 */
166
class CreateApp extends Rpc
167
{
168
169
    /**
170
     * @param string $value
171
     *
172
     * @return $this
173
     */
174
    public function withBizTitle($value)
175
    {
176
        $this->data['BizTitle'] = $value;
177
        $this->options['form_params']['BizTitle'] = $value;
178
179
        return $this;
180
    }
181
182
    /**
183
     * @param string $value
184
     *
185
     * @return $this
186
     */
187
    public function withStateType($value)
188
    {
189
        $this->data['StateType'] = $value;
190
        $this->options['form_params']['StateType'] = $value;
191
192
        return $this;
193
    }
194
195
    /**
196
     * @param string $value
197
     *
198
     * @return $this
199
     */
200
    public function withServiceType($value)
201
    {
202
        $this->data['ServiceType'] = $value;
203
        $this->options['form_params']['ServiceType'] = $value;
204
205
        return $this;
206
    }
207
208
    /**
209
     * @param string $value
210
     *
211
     * @return $this
212
     */
213
    public function withBizCode($value)
214
    {
215
        $this->data['BizCode'] = $value;
216
        $this->options['form_params']['BizCode'] = $value;
217
218
        return $this;
219
    }
220
221
    /**
222
     * @param string $value
223
     *
224
     * @return $this
225
     */
226
    public function withOperatingSystem($value)
227
    {
228
        $this->data['OperatingSystem'] = $value;
229
        $this->options['form_params']['OperatingSystem'] = $value;
230
231
        return $this;
232
    }
233
234
    /**
235
     * @param string $value
236
     *
237
     * @return $this
238
     */
239
    public function withNamespace($value)
240
    {
241
        $this->data['Namespace'] = $value;
242
        $this->options['form_params']['Namespace'] = $value;
243
244
        return $this;
245
    }
246
247
    /**
248
     * @param string $value
249
     *
250
     * @return $this
251
     */
252
    public function withDescription($value)
253
    {
254
        $this->data['Description'] = $value;
255
        $this->options['form_params']['Description'] = $value;
256
257
        return $this;
258
    }
259
260
    /**
261
     * @param string $value
262
     *
263
     * @return $this
264
     */
265
    public function withLanguage($value)
266
    {
267
        $this->data['Language'] = $value;
268
        $this->options['form_params']['Language'] = $value;
269
270
        return $this;
271
    }
272
273
    /**
274
     * @param string $value
275
     *
276
     * @return $this
277
     */
278
    public function withTitle($value)
279
    {
280
        $this->data['Title'] = $value;
281
        $this->options['form_params']['Title'] = $value;
282
283
        return $this;
284
    }
285
}
286
287
/**
288
 * @method string getAppId()
289
 * @method $this withAppId($value)
290
 * @method string getAppEnvId()
291
 * @method $this withAppEnvId($value)
292
 * @method string getClusterId()
293
 * @method $this withClusterId($value)
294
 */
295
class CreateAppResourceAlloc extends Rpc
296
{
297
}
298
299
/**
300
 * @method string getBusinessCode()
301
 * @method $this withBusinessCode($value)
302
 * @method string getCreateWithLogIntegration()
303
 * @method $this withCreateWithLogIntegration($value)
304
 * @method array getVswitchids()
305
 * @method string getCloudMonitorFlags()
306
 * @method $this withCloudMonitorFlags($value)
307
 * @method string getClusterEnvType()
308
 * @method $this withClusterEnvType($value)
309
 * @method string getCreateWithArmsIntegration()
310
 * @method $this withCreateWithArmsIntegration($value)
311
 * @method string getKeyPair()
312
 * @method $this withKeyPair($value)
313
 * @method string getClusterTitle()
314
 * @method $this withClusterTitle($value)
315
 * @method string getPodCIDR()
316
 * @method $this withPodCIDR($value)
317
 * @method string getClusterId()
318
 * @method $this withClusterId($value)
319
 * @method string getClusterType()
320
 * @method $this withClusterType($value)
321
 * @method string getPassword()
322
 * @method $this withPassword($value)
323
 * @method string getSnatEntry()
324
 * @method $this withSnatEntry($value)
325
 * @method string getNetPlug()
326
 * @method $this withNetPlug($value)
327
 * @method string getVpcId()
328
 * @method $this withVpcId($value)
329
 * @method string getRegionName()
330
 * @method $this withRegionName($value)
331
 * @method string getPrivateZone()
332
 * @method $this withPrivateZone($value)
333
 * @method string getServiceCIDR()
334
 * @method $this withServiceCIDR($value)
335
 * @method string getPublicSlb()
336
 * @method $this withPublicSlb($value)
337
 */
338
class CreateCluster extends Rpc
339
{
340
341
    /**
342
     * @param array $vswitchids
343
     *
344
     * @return $this
345
     */
346
	public function withVswitchids(array $vswitchids)
347
	{
348
	    $this->data['Vswitchids'] = $vswitchids;
349
		foreach ($vswitchids as $i => $iValue) {
350
			$this->options['query']['Vswitchids.' . ($i + 1)] = $iValue;
351
		}
352
353
		return $this;
354
    }
355
}
356
357
/**
358
 * @method string getDbName()
359
 * @method string getDbInstanceId()
360
 * @method string getDbDescription()
361
 * @method string getCharacterSetName()
362
 */
363
class CreateDb extends Rpc
364
{
365
366
    /**
367
     * @param string $value
368
     *
369
     * @return $this
370
     */
371
    public function withDbName($value)
372
    {
373
        $this->data['DbName'] = $value;
374
        $this->options['form_params']['DbName'] = $value;
375
376
        return $this;
377
    }
378
379
    /**
380
     * @param string $value
381
     *
382
     * @return $this
383
     */
384
    public function withDbInstanceId($value)
385
    {
386
        $this->data['DbInstanceId'] = $value;
387
        $this->options['form_params']['DbInstanceId'] = $value;
388
389
        return $this;
390
    }
391
392
    /**
393
     * @param string $value
394
     *
395
     * @return $this
396
     */
397
    public function withDbDescription($value)
398
    {
399
        $this->data['DbDescription'] = $value;
400
        $this->options['form_params']['DbDescription'] = $value;
401
402
        return $this;
403
    }
404
405
    /**
406
     * @param string $value
407
     *
408
     * @return $this
409
     */
410
    public function withCharacterSetName($value)
411
    {
412
        $this->data['CharacterSetName'] = $value;
413
        $this->options['form_params']['CharacterSetName'] = $value;
414
415
        return $this;
416
    }
417
}
418
419
/**
420
 * @method string getCodePath()
421
 * @method $this withCodePath($value)
422
 * @method array getConfigMapList()
423
 * @method string getAppId()
424
 * @method $this withAppId($value)
425
 * @method string getConfigMap()
426
 * @method $this withConfigMap($value)
427
 * @method string getStatefulSet()
428
 * @method $this withStatefulSet($value)
429
 * @method string getEnvType()
430
 * @method $this withEnvType($value)
431
 * @method string getName()
432
 * @method $this withName($value)
433
 * @method string getDeployment()
434
 * @method $this withDeployment($value)
435
 */
436
class CreateDeployConfig extends Rpc
437
{
438
439
    /**
440
     * @param array $configMapList
441
     *
442
     * @return $this
443
     */
444
	public function withConfigMapList(array $configMapList)
445
	{
446
	    $this->data['ConfigMapList'] = $configMapList;
447
		foreach ($configMapList as $i => $iValue) {
448
			$this->options['query']['ConfigMapList.' . ($i + 1)] = $iValue;
449
		}
450
451
		return $this;
452
    }
453
}
454
455
/**
456
 * @method string getEnvName()
457
 * @method $this withEnvName($value)
458
 * @method string getReplicas()
459
 * @method $this withReplicas($value)
460
 * @method string getAppId()
461
 * @method $this withAppId($value)
462
 * @method string getEnvType()
463
 * @method $this withEnvType($value)
464
 * @method string getAppSchemaId()
465
 * @method $this withAppSchemaId($value)
466
 * @method string getRegion()
467
 * @method $this withRegion($value)
468
 */
469
class CreateEnvironment extends Rpc
470
{
471
}
472
473
/**
474
 * @method string getLabelKey()
475
 * @method $this withLabelKey($value)
476
 * @method string getLabelValue()
477
 * @method $this withLabelValue($value)
478
 * @method string getClusterId()
479
 * @method $this withClusterId($value)
480
 */
481
class CreateNodeLabel extends Rpc
482
{
483
}
484
485
/**
486
 * @method string getReclaimPolicy()
487
 * @method string getNFSVersion()
488
 * @method string getAccessModes()
489
 * @method string getName()
490
 * @method string getMountTargetDomain()
491
 * @method string getMountDir()
492
 * @method string getClusterInstanceId()
493
 * @method string getCapacity()
494
 * @method string getStorageClass()
495
 */
496
class CreatePersistentVolume extends Rpc
497
{
498
499
    /**
500
     * @param string $value
501
     *
502
     * @return $this
503
     */
504
    public function withReclaimPolicy($value)
505
    {
506
        $this->data['ReclaimPolicy'] = $value;
507
        $this->options['form_params']['ReclaimPolicy'] = $value;
508
509
        return $this;
510
    }
511
512
    /**
513
     * @param string $value
514
     *
515
     * @return $this
516
     */
517
    public function withNFSVersion($value)
518
    {
519
        $this->data['NFSVersion'] = $value;
520
        $this->options['form_params']['NFSVersion'] = $value;
521
522
        return $this;
523
    }
524
525
    /**
526
     * @param string $value
527
     *
528
     * @return $this
529
     */
530
    public function withAccessModes($value)
531
    {
532
        $this->data['AccessModes'] = $value;
533
        $this->options['form_params']['AccessModes'] = $value;
534
535
        return $this;
536
    }
537
538
    /**
539
     * @param string $value
540
     *
541
     * @return $this
542
     */
543
    public function withName($value)
544
    {
545
        $this->data['Name'] = $value;
546
        $this->options['form_params']['Name'] = $value;
547
548
        return $this;
549
    }
550
551
    /**
552
     * @param string $value
553
     *
554
     * @return $this
555
     */
556
    public function withMountTargetDomain($value)
557
    {
558
        $this->data['MountTargetDomain'] = $value;
559
        $this->options['form_params']['MountTargetDomain'] = $value;
560
561
        return $this;
562
    }
563
564
    /**
565
     * @param string $value
566
     *
567
     * @return $this
568
     */
569
    public function withMountDir($value)
570
    {
571
        $this->data['MountDir'] = $value;
572
        $this->options['form_params']['MountDir'] = $value;
573
574
        return $this;
575
    }
576
577
    /**
578
     * @param string $value
579
     *
580
     * @return $this
581
     */
582
    public function withClusterInstanceId($value)
583
    {
584
        $this->data['ClusterInstanceId'] = $value;
585
        $this->options['form_params']['ClusterInstanceId'] = $value;
586
587
        return $this;
588
    }
589
590
    /**
591
     * @param string $value
592
     *
593
     * @return $this
594
     */
595
    public function withCapacity($value)
596
    {
597
        $this->data['Capacity'] = $value;
598
        $this->options['form_params']['Capacity'] = $value;
599
600
        return $this;
601
    }
602
603
    /**
604
     * @param string $value
605
     *
606
     * @return $this
607
     */
608
    public function withStorageClass($value)
609
    {
610
        $this->data['StorageClass'] = $value;
611
        $this->options['form_params']['StorageClass'] = $value;
612
613
        return $this;
614
    }
615
}
616
617
/**
618
 * @method string getAccessModes()
619
 * @method $this withAccessModes($value)
620
 * @method string getAppId()
621
 * @method $this withAppId($value)
622
 * @method string getName()
623
 * @method $this withName($value)
624
 * @method string getEnvId()
625
 * @method $this withEnvId($value)
626
 * @method string getStorageClass()
627
 * @method $this withStorageClass($value)
628
 * @method string getCapacity()
629
 * @method $this withCapacity($value)
630
 */
631
class CreatePersistentVolumeClaim extends Rpc
632
{
633
}
634
635
/**
636
 * @method string getHeadless()
637
 * @method $this withHeadless($value)
638
 * @method string getServiceType()
639
 * @method $this withServiceType($value)
640
 * @method string getK8sServiceId()
641
 * @method $this withK8sServiceId($value)
642
 * @method string getName()
643
 * @method $this withName($value)
644
 * @method array getPortMappings()
645
 * @method string getEnvId()
646
 * @method $this withEnvId($value)
647
 */
648
class CreateService extends Rpc
649
{
650
651
    /**
652
     * @param array $portMappings
653
     *
654
     * @return $this
655
     */
656
	public function withPortMappings(array $portMappings)
657
	{
658
	    $this->data['PortMappings'] = $portMappings;
659
		foreach ($portMappings as $depth1 => $depth1Value) {
660
			$this->options['form_params']['PortMappings.' . ($depth1 + 1) . '.Protocol'] = $depth1Value['Protocol'];
661
			$this->options['form_params']['PortMappings.' . ($depth1 + 1) . '.Port'] = $depth1Value['Port'];
662
			$this->options['form_params']['PortMappings.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
663
			$this->options['form_params']['PortMappings.' . ($depth1 + 1) . '.NodePort'] = $depth1Value['NodePort'];
664
			$this->options['form_params']['PortMappings.' . ($depth1 + 1) . '.TargetPort'] = $depth1Value['TargetPort'];
665
		}
666
667
		return $this;
668
    }
669
}
670
671
/**
672
 * @method string getSslCertId()
673
 * @method $this withSslCertId($value)
674
 * @method string getListenerPort()
675
 * @method $this withListenerPort($value)
676
 * @method string getProtocol()
677
 * @method $this withProtocol($value)
678
 * @method string getEstablishedTimeout()
679
 * @method $this withEstablishedTimeout($value)
680
 * @method string getSlbId()
681
 * @method $this withSlbId($value)
682
 * @method string getRealServerPort()
683
 * @method $this withRealServerPort($value)
684
 * @method string getStickySession()
685
 * @method $this withStickySession($value)
686
 * @method string getCookieTimeout()
687
 * @method $this withCookieTimeout($value)
688
 * @method string getName()
689
 * @method $this withName($value)
690
 * @method string getEnvId()
691
 * @method $this withEnvId($value)
692
 */
693
class CreateSlbAP extends Rpc
694
{
695
}
696
697
/**
698
 * @method string getAppId()
699
 * @method $this withAppId($value)
700
 * @method string getForce()
701
 * @method $this withForce($value)
702
 */
703
class DeleteAppDetail extends Rpc
704
{
705
706
    /** @var string */
707
    public $method = 'GET';
708
}
709
710
/**
711
 * @method string getAppId()
712
 * @method $this withAppId($value)
713
 * @method string getForce()
714
 * @method $this withForce($value)
715
 * @method string getEnvId()
716
 * @method $this withEnvId($value)
717
 */
718
class DeleteAppEnvironment extends Rpc
719
{
720
}
721
722
/**
723
 * @method string getAppEnvId()
724
 * @method $this withAppEnvId($value)
725
 */
726
class DeleteAppResourceAlloc extends Rpc
727
{
728
}
729
730
/**
731
 * @method string getClusterInstanceId()
732
 * @method $this withClusterInstanceId($value)
733
 */
734
class DeleteCluster extends Rpc
735
{
736
}
737
738
/**
739
 * @method string getDBName()
740
 * @method string getDBInstanceId()
741
 */
742
class DeleteDatabase extends Rpc
743
{
744
745
    /**
746
     * @param string $value
747
     *
748
     * @return $this
749
     */
750
    public function withDBName($value)
751
    {
752
        $this->data['DBName'] = $value;
753
        $this->options['form_params']['DBName'] = $value;
754
755
        return $this;
756
    }
757
758
    /**
759
     * @param string $value
760
     *
761
     * @return $this
762
     */
763
    public function withDBInstanceId($value)
764
    {
765
        $this->data['DBInstanceId'] = $value;
766
        $this->options['form_params']['DBInstanceId'] = $value;
767
768
        return $this;
769
    }
770
}
771
772
/**
773
 * @method string getSchemaId()
774
 * @method $this withSchemaId($value)
775
 */
776
class DeleteDeployConfig extends Rpc
777
{
778
}
779
780
/**
781
 * @method string getLabelKey()
782
 * @method $this withLabelKey($value)
783
 * @method string getLabelValue()
784
 * @method $this withLabelValue($value)
785
 * @method string getForce()
786
 * @method $this withForce($value)
787
 * @method string getClusterId()
788
 * @method $this withClusterId($value)
789
 */
790
class DeleteNodeLabel extends Rpc
791
{
792
}
793
794
/**
795
 * @method string getPersistentVolumeName()
796
 * @method string getClusterInstanceId()
797
 */
798
class DeletePersistentVolume extends Rpc
799
{
800
801
    /**
802
     * @param string $value
803
     *
804
     * @return $this
805
     */
806
    public function withPersistentVolumeName($value)
807
    {
808
        $this->data['PersistentVolumeName'] = $value;
809
        $this->options['form_params']['PersistentVolumeName'] = $value;
810
811
        return $this;
812
    }
813
814
    /**
815
     * @param string $value
816
     *
817
     * @return $this
818
     */
819
    public function withClusterInstanceId($value)
820
    {
821
        $this->data['ClusterInstanceId'] = $value;
822
        $this->options['form_params']['ClusterInstanceId'] = $value;
823
824
        return $this;
825
    }
826
}
827
828
/**
829
 * @method string getPersistentVolumeClaimName()
830
 * @method $this withPersistentVolumeClaimName($value)
831
 * @method string getAppId()
832
 * @method $this withAppId($value)
833
 * @method string getEnvId()
834
 * @method $this withEnvId($value)
835
 */
836
class DeletePersistentVolumeClaim extends Rpc
837
{
838
}
839
840
/**
841
 * @method string getAccountName()
842
 * @method string getDbInstanceId()
843
 */
844
class DeleteRdsAccount extends Rpc
845
{
846
847
    /**
848
     * @param string $value
849
     *
850
     * @return $this
851
     */
852
    public function withAccountName($value)
853
    {
854
        $this->data['AccountName'] = $value;
855
        $this->options['form_params']['AccountName'] = $value;
856
857
        return $this;
858
    }
859
860
    /**
861
     * @param string $value
862
     *
863
     * @return $this
864
     */
865
    public function withDbInstanceId($value)
866
    {
867
        $this->data['DbInstanceId'] = $value;
868
        $this->options['form_params']['DbInstanceId'] = $value;
869
870
        return $this;
871
    }
872
}
873
874
/**
875
 * @method string getServiceId()
876
 * @method $this withServiceId($value)
877
 */
878
class DeleteService extends Rpc
879
{
880
}
881
882
/**
883
 * @method string getSlbAPId()
884
 * @method $this withSlbAPId($value)
885
 */
886
class DeleteSlbAP extends Rpc
887
{
888
}
889
890
/**
891
 * @method string getDeployPacketId()
892
 * @method $this withDeployPacketId($value)
893
 * @method string getDeployPacketUrl()
894
 * @method $this withDeployPacketUrl($value)
895
 * @method string getTotalPartitions()
896
 * @method $this withTotalPartitions($value)
897
 * @method string getName()
898
 * @method $this withName($value)
899
 * @method string getDescription()
900
 * @method $this withDescription($value)
901
 * @method string getEnvId()
902
 * @method $this withEnvId($value)
903
 * @method string getPauseType()
904
 * @method $this withPauseType($value)
905
 * @method string getArmsFlag()
906
 * @method $this withArmsFlag($value)
907
 */
908
class DeployApp extends Rpc
909
{
910
}
911
912
/**
913
 * @method string getAppId()
914
 * @method $this withAppId($value)
915
 */
916
class DescribeAppDetail extends Rpc
917
{
918
}
919
920
/**
921
 * @method string getAppId()
922
 * @method $this withAppId($value)
923
 * @method string getEnvId()
924
 * @method $this withEnvId($value)
925
 */
926
class DescribeAppEnvironmentDetail extends Rpc
927
{
928
929
    /** @var string */
930
    public $method = 'GET';
931
}
932
933
/**
934
 * @method string getAppEnvId()
935
 * @method $this withAppEnvId($value)
936
 */
937
class DescribeAppResourceAlloc extends Rpc
938
{
939
940
    /** @var string */
941
    public $method = 'GET';
942
}
943
944
/**
945
 * @method string getInstanceId()
946
 * @method $this withInstanceId($value)
947
 */
948
class DescribeDatabases extends Rpc
949
{
950
951
    /** @var string */
952
    public $method = 'GET';
953
}
954
955
/**
956
 * @method string getDeployOrderId()
957
 * @method $this withDeployOrderId($value)
958
 */
959
class DescribeDeployOrderDetail extends Rpc
960
{
961
}
962
963
/**
964
 * @method string getDeployOrderId()
965
 * @method $this withDeployOrderId($value)
966
 * @method string getAppInstId()
967
 * @method $this withAppInstId($value)
968
 */
969
class DescribePodEvents extends Rpc
970
{
971
}
972
973
/**
974
 * @method string getDeployOrderId()
975
 * @method string getAppInstId()
976
 */
977
class DescribePodLog extends Rpc
978
{
979
980
    /**
981
     * @param string $value
982
     *
983
     * @return $this
984
     */
985
    public function withDeployOrderId($value)
986
    {
987
        $this->data['DeployOrderId'] = $value;
988
        $this->options['form_params']['DeployOrderId'] = $value;
989
990
        return $this;
991
    }
992
993
    /**
994
     * @param string $value
995
     *
996
     * @return $this
997
     */
998
    public function withAppInstId($value)
999
    {
1000
        $this->data['AppInstId'] = $value;
1001
        $this->options['form_params']['AppInstId'] = $value;
1002
1003
        return $this;
1004
    }
1005
}
1006
1007
/**
1008
 * @method string getAccountName()
1009
 * @method $this withAccountName($value)
1010
 * @method string getDbInstanceId()
1011
 * @method $this withDbInstanceId($value)
1012
 */
1013
class DescribeRdsAccounts extends Rpc
1014
{
1015
1016
    /** @var string */
1017
    public $method = 'GET';
1018
}
1019
1020
/**
1021
 * @method string getServiceId()
1022
 * @method $this withServiceId($value)
1023
 */
1024
class DescribeServiceDetail extends Rpc
1025
{
1026
}
1027
1028
/**
1029
 * @method string getSlbAPId()
1030
 * @method $this withSlbAPId($value)
1031
 */
1032
class DescribeSlbAPDetail extends Rpc
1033
{
1034
}
1035
1036
/**
1037
 * @method string getAliyunUid()
1038
 * @method string getAliyunEquipId()
1039
 * @method string getAliyunCommodityCode()
1040
 */
1041
class GetInstTransInfo extends Rpc
1042
{
1043
1044
    /**
1045
     * @param string $value
1046
     *
1047
     * @return $this
1048
     */
1049
    public function withAliyunUid($value)
1050
    {
1051
        $this->data['AliyunUid'] = $value;
1052
        $this->options['form_params']['aliyunUid'] = $value;
1053
1054
        return $this;
1055
    }
1056
1057
    /**
1058
     * @param string $value
1059
     *
1060
     * @return $this
1061
     */
1062
    public function withAliyunEquipId($value)
1063
    {
1064
        $this->data['AliyunEquipId'] = $value;
1065
        $this->options['form_params']['aliyunEquipId'] = $value;
1066
1067
        return $this;
1068
    }
1069
1070
    /**
1071
     * @param string $value
1072
     *
1073
     * @return $this
1074
     */
1075
    public function withAliyunCommodityCode($value)
1076
    {
1077
        $this->data['AliyunCommodityCode'] = $value;
1078
        $this->options['form_params']['aliyunCommodityCode'] = $value;
1079
1080
        return $this;
1081
    }
1082
}
1083
1084
/**
1085
 * @method string getBackupId()
1086
 * @method string getPageSize()
1087
 * @method string getDbInstanceId()
1088
 * @method string getBackupType()
1089
 * @method string getPageNumber()
1090
 */
1091
class GetRdsBackUp extends Rpc
1092
{
1093
1094
    /**
1095
     * @param string $value
1096
     *
1097
     * @return $this
1098
     */
1099
    public function withBackupId($value)
1100
    {
1101
        $this->data['BackupId'] = $value;
1102
        $this->options['form_params']['BackupId'] = $value;
1103
1104
        return $this;
1105
    }
1106
1107
    /**
1108
     * @param string $value
1109
     *
1110
     * @return $this
1111
     */
1112
    public function withPageSize($value)
1113
    {
1114
        $this->data['PageSize'] = $value;
1115
        $this->options['form_params']['PageSize'] = $value;
1116
1117
        return $this;
1118
    }
1119
1120
    /**
1121
     * @param string $value
1122
     *
1123
     * @return $this
1124
     */
1125
    public function withDbInstanceId($value)
1126
    {
1127
        $this->data['DbInstanceId'] = $value;
1128
        $this->options['form_params']['DbInstanceId'] = $value;
1129
1130
        return $this;
1131
    }
1132
1133
    /**
1134
     * @param string $value
1135
     *
1136
     * @return $this
1137
     */
1138
    public function withBackupType($value)
1139
    {
1140
        $this->data['BackupType'] = $value;
1141
        $this->options['form_params']['BackupType'] = $value;
1142
1143
        return $this;
1144
    }
1145
1146
    /**
1147
     * @param string $value
1148
     *
1149
     * @return $this
1150
     */
1151
    public function withPageNumber($value)
1152
    {
1153
        $this->data['PageNumber'] = $value;
1154
        $this->options['form_params']['PageNumber'] = $value;
1155
1156
        return $this;
1157
    }
1158
}
1159
1160
/**
1161
 * @method string getAccountName()
1162
 * @method string getDbName()
1163
 * @method string getDbInstanceId()
1164
 * @method string getAccountPrivilege()
1165
 */
1166
class GrantDbToAccount extends Rpc
1167
{
1168
1169
    /**
1170
     * @param string $value
1171
     *
1172
     * @return $this
1173
     */
1174
    public function withAccountName($value)
1175
    {
1176
        $this->data['AccountName'] = $value;
1177
        $this->options['form_params']['AccountName'] = $value;
1178
1179
        return $this;
1180
    }
1181
1182
    /**
1183
     * @param string $value
1184
     *
1185
     * @return $this
1186
     */
1187
    public function withDbName($value)
1188
    {
1189
        $this->data['DbName'] = $value;
1190
        $this->options['form_params']['DbName'] = $value;
1191
1192
        return $this;
1193
    }
1194
1195
    /**
1196
     * @param string $value
1197
     *
1198
     * @return $this
1199
     */
1200
    public function withDbInstanceId($value)
1201
    {
1202
        $this->data['DbInstanceId'] = $value;
1203
        $this->options['form_params']['DbInstanceId'] = $value;
1204
1205
        return $this;
1206
    }
1207
1208
    /**
1209
     * @param string $value
1210
     *
1211
     * @return $this
1212
     */
1213
    public function withAccountPrivilege($value)
1214
    {
1215
        $this->data['AccountPrivilege'] = $value;
1216
        $this->options['form_params']['AccountPrivilege'] = $value;
1217
1218
        return $this;
1219
    }
1220
}
1221
1222
/**
1223
 * @method string getPageSize()
1224
 * @method $this withPageSize($value)
1225
 * @method string getPageNumber()
1226
 * @method $this withPageNumber($value)
1227
 */
1228
class ListApp extends Rpc
1229
{
1230
1231
    /** @var string */
1232
    public $method = 'GET';
1233
}
1234
1235
/**
1236
 * @method string getEnvName()
1237
 * @method $this withEnvName($value)
1238
 * @method string getAppId()
1239
 * @method $this withAppId($value)
1240
 * @method string getEnvType()
1241
 * @method $this withEnvType($value)
1242
 * @method string getPageSize()
1243
 * @method $this withPageSize($value)
1244
 * @method string getPageNumber()
1245
 * @method $this withPageNumber($value)
1246
 */
1247
class ListAppEnvironment extends Rpc
1248
{
1249
1250
    /** @var string */
1251
    public $method = 'GET';
1252
}
1253
1254
/**
1255
 * @method string getAppId()
1256
 * @method string getPageSize()
1257
 * @method string getEnvId()
1258
 * @method string getPageNumber()
1259
 */
1260
class ListAppInstance extends Rpc
1261
{
1262
1263
    /**
1264
     * @param string $value
1265
     *
1266
     * @return $this
1267
     */
1268
    public function withAppId($value)
1269
    {
1270
        $this->data['AppId'] = $value;
1271
        $this->options['form_params']['AppId'] = $value;
1272
1273
        return $this;
1274
    }
1275
1276
    /**
1277
     * @param string $value
1278
     *
1279
     * @return $this
1280
     */
1281
    public function withPageSize($value)
1282
    {
1283
        $this->data['PageSize'] = $value;
1284
        $this->options['form_params']['PageSize'] = $value;
1285
1286
        return $this;
1287
    }
1288
1289
    /**
1290
     * @param string $value
1291
     *
1292
     * @return $this
1293
     */
1294
    public function withEnvId($value)
1295
    {
1296
        $this->data['EnvId'] = $value;
1297
        $this->options['form_params']['EnvId'] = $value;
1298
1299
        return $this;
1300
    }
1301
1302
    /**
1303
     * @param string $value
1304
     *
1305
     * @return $this
1306
     */
1307
    public function withPageNumber($value)
1308
    {
1309
        $this->data['PageNumber'] = $value;
1310
        $this->options['form_params']['PageNumber'] = $value;
1311
1312
        return $this;
1313
    }
1314
}
1315
1316
/**
1317
 * @method string getAppId()
1318
 * @method $this withAppId($value)
1319
 * @method string getPageSize()
1320
 * @method $this withPageSize($value)
1321
 * @method string getAppEnvId()
1322
 * @method $this withAppEnvId($value)
1323
 * @method string getClusterId()
1324
 * @method $this withClusterId($value)
1325
 * @method string getPageNumber()
1326
 * @method $this withPageNumber($value)
1327
 */
1328
class ListAppResourceAllocs extends Rpc
1329
{
1330
1331
    /** @var string */
1332
    public $method = 'GET';
1333
}
1334
1335
/**
1336
 * @method string getPageSize()
1337
 * @method $this withPageSize($value)
1338
 * @method string getPageNum()
1339
 * @method $this withPageNum($value)
1340
 * @method string getClusterInstanceId()
1341
 * @method $this withClusterInstanceId($value)
1342
 */
1343
class ListAvailableClusterNode extends Rpc
1344
{
1345
1346
    /** @var string */
1347
    public $method = 'GET';
1348
}
1349
1350
/**
1351
 * @method string getBusinessCode()
1352
 * @method $this withBusinessCode($value)
1353
 * @method string getEnvType()
1354
 * @method $this withEnvType($value)
1355
 * @method string getPageSize()
1356
 * @method $this withPageSize($value)
1357
 * @method string getPageNum()
1358
 * @method $this withPageNum($value)
1359
 */
1360
class ListCluster extends Rpc
1361
{
1362
1363
    /** @var string */
1364
    public $method = 'GET';
1365
}
1366
1367
/**
1368
 * @method string getPageSize()
1369
 * @method $this withPageSize($value)
1370
 * @method string getPageNum()
1371
 * @method $this withPageNum($value)
1372
 * @method string getClusterInstanceId()
1373
 * @method $this withClusterInstanceId($value)
1374
 */
1375
class ListClusterNode extends Rpc
1376
{
1377
1378
    /** @var string */
1379
    public $method = 'GET';
1380
}
1381
1382
/**
1383
 * @method string getAppId()
1384
 * @method $this withAppId($value)
1385
 * @method string getEnvType()
1386
 * @method $this withEnvType($value)
1387
 * @method string getName()
1388
 * @method $this withName($value)
1389
 * @method string getId()
1390
 * @method $this withId($value)
1391
 */
1392
class ListDeployConfig extends Rpc
1393
{
1394
}
1395
1396
/**
1397
 * @method string getStartTimeGreaterThanOrEqualTo()
1398
 * @method $this withStartTimeGreaterThanOrEqualTo($value)
1399
 * @method array getStatusList()
1400
 * @method string getEnvId()
1401
 * @method $this withEnvId($value)
1402
 * @method string getEndTimeGreaterThan()
1403
 * @method $this withEndTimeGreaterThan($value)
1404
 * @method string getPageNumber()
1405
 * @method $this withPageNumber($value)
1406
 * @method string getPauseType()
1407
 * @method $this withPauseType($value)
1408
 * @method array getResultList()
1409
 * @method string getStartTimeGreaterThan()
1410
 * @method $this withStartTimeGreaterThan($value)
1411
 * @method string getStartTimeLessThan()
1412
 * @method $this withStartTimeLessThan($value)
1413
 * @method string getStartTimeLessThanOrEqualTo()
1414
 * @method $this withStartTimeLessThanOrEqualTo($value)
1415
 * @method string getAppId()
1416
 * @method $this withAppId($value)
1417
 * @method string getEnvType()
1418
 * @method $this withEnvType($value)
1419
 * @method string getPageSize()
1420
 * @method $this withPageSize($value)
1421
 * @method string getEndTimeGreaterThanOrEqualTo()
1422
 * @method $this withEndTimeGreaterThanOrEqualTo($value)
1423
 * @method string getEndTimeLessThan()
1424
 * @method $this withEndTimeLessThan($value)
1425
 * @method string getEndTimeLessThanOrEqualTo()
1426
 * @method $this withEndTimeLessThanOrEqualTo($value)
1427
 * @method string getPartitionType()
1428
 * @method $this withPartitionType($value)
1429
 * @method string getDeployCategory()
1430
 * @method $this withDeployCategory($value)
1431
 * @method string getDeployType()
1432
 * @method $this withDeployType($value)
1433
 * @method string getStatus()
1434
 * @method $this withStatus($value)
1435
 */
1436
class ListDeployOrders extends Rpc
1437
{
1438
1439
    /**
1440
     * @param array $statusList
1441
     *
1442
     * @return $this
1443
     */
1444
	public function withStatusList(array $statusList)
1445
	{
1446
	    $this->data['StatusList'] = $statusList;
1447
		foreach ($statusList as $i => $iValue) {
1448
			$this->options['form_params']['StatusList.' . ($i + 1)] = $iValue;
1449
		}
1450
1451
		return $this;
1452
    }
1453
1454
    /**
1455
     * @param array $resultList
1456
     *
1457
     * @return $this
1458
     */
1459
	public function withResultList(array $resultList)
1460
	{
1461
	    $this->data['ResultList'] = $resultList;
1462
		foreach ($resultList as $i => $iValue) {
1463
			$this->options['form_params']['ResultList.' . ($i + 1)] = $iValue;
1464
		}
1465
1466
		return $this;
1467
    }
1468
}
1469
1470
/**
1471
 * @method string getInstanceId()
1472
 * @method $this withInstanceId($value)
1473
 * @method string getLabelKey()
1474
 * @method $this withLabelKey($value)
1475
 * @method string getLabelValue()
1476
 * @method $this withLabelValue($value)
1477
 * @method string getPageSize()
1478
 * @method $this withPageSize($value)
1479
 * @method string getClusterId()
1480
 * @method $this withClusterId($value)
1481
 * @method string getPageNumber()
1482
 * @method $this withPageNumber($value)
1483
 */
1484
class ListNodeLabelBindings extends Rpc
1485
{
1486
1487
    /** @var string */
1488
    public $method = 'GET';
1489
}
1490
1491
/**
1492
 * @method string getLabelKey()
1493
 * @method $this withLabelKey($value)
1494
 * @method string getPageSize()
1495
 * @method $this withPageSize($value)
1496
 * @method string getClusterId()
1497
 * @method $this withClusterId($value)
1498
 * @method string getPageNumber()
1499
 * @method $this withPageNumber($value)
1500
 */
1501
class ListNodeLabels extends Rpc
1502
{
1503
}
1504
1505
/**
1506
 * @method string getPageSize()
1507
 * @method string getPageNumber()
1508
 * @method string getClusterInstanceId()
1509
 */
1510
class ListPersistentVolume extends Rpc
1511
{
1512
1513
    /**
1514
     * @param string $value
1515
     *
1516
     * @return $this
1517
     */
1518
    public function withPageSize($value)
1519
    {
1520
        $this->data['PageSize'] = $value;
1521
        $this->options['form_params']['PageSize'] = $value;
1522
1523
        return $this;
1524
    }
1525
1526
    /**
1527
     * @param string $value
1528
     *
1529
     * @return $this
1530
     */
1531
    public function withPageNumber($value)
1532
    {
1533
        $this->data['PageNumber'] = $value;
1534
        $this->options['form_params']['PageNumber'] = $value;
1535
1536
        return $this;
1537
    }
1538
1539
    /**
1540
     * @param string $value
1541
     *
1542
     * @return $this
1543
     */
1544
    public function withClusterInstanceId($value)
1545
    {
1546
        $this->data['ClusterInstanceId'] = $value;
1547
        $this->options['form_params']['ClusterInstanceId'] = $value;
1548
1549
        return $this;
1550
    }
1551
}
1552
1553
/**
1554
 * @method string getAppId()
1555
 * @method $this withAppId($value)
1556
 * @method string getPageSize()
1557
 * @method $this withPageSize($value)
1558
 * @method string getEnvId()
1559
 * @method $this withEnvId($value)
1560
 * @method string getPageNumber()
1561
 * @method $this withPageNumber($value)
1562
 */
1563
class ListPersistentVolumeClaim extends Rpc
1564
{
1565
}
1566
1567
/**
1568
 * @method array getStatusList()
1569
 * @method string getDeployOrderId()
1570
 * @method $this withDeployOrderId($value)
1571
 * @method string getPageSize()
1572
 * @method $this withPageSize($value)
1573
 * @method string getPageNumber()
1574
 * @method $this withPageNumber($value)
1575
 * @method array getResultList()
1576
 */
1577
class ListPods extends Rpc
1578
{
1579
1580
    /**
1581
     * @param array $statusList
1582
     *
1583
     * @return $this
1584
     */
1585
	public function withStatusList(array $statusList)
1586
	{
1587
	    $this->data['StatusList'] = $statusList;
1588
		foreach ($statusList as $i => $iValue) {
1589
			$this->options['form_params']['StatusList.' . ($i + 1)] = $iValue;
1590
		}
1591
1592
		return $this;
1593
    }
1594
1595
    /**
1596
     * @param array $resultList
1597
     *
1598
     * @return $this
1599
     */
1600
	public function withResultList(array $resultList)
1601
	{
1602
	    $this->data['ResultList'] = $resultList;
1603
		foreach ($resultList as $i => $iValue) {
1604
			$this->options['form_params']['ResultList.' . ($i + 1)] = $iValue;
1605
		}
1606
1607
		return $this;
1608
    }
1609
}
1610
1611
/**
1612
 * @method string getServiceType()
1613
 * @method $this withServiceType($value)
1614
 * @method string getAppId()
1615
 * @method $this withAppId($value)
1616
 * @method string getName()
1617
 * @method $this withName($value)
1618
 * @method string getPageSize()
1619
 * @method $this withPageSize($value)
1620
 * @method string getEnvId()
1621
 * @method $this withEnvId($value)
1622
 * @method string getPageNumber()
1623
 * @method $this withPageNumber($value)
1624
 */
1625
class ListServices extends Rpc
1626
{
1627
}
1628
1629
/**
1630
 * @method array getProtocolList()
1631
 * @method string getSlbId()
1632
 * @method $this withSlbId($value)
1633
 * @method string getAppId()
1634
 * @method $this withAppId($value)
1635
 * @method string getName()
1636
 * @method $this withName($value)
1637
 * @method string getPageSize()
1638
 * @method $this withPageSize($value)
1639
 * @method string getEnvId()
1640
 * @method $this withEnvId($value)
1641
 * @method string getNetworkMode()
1642
 * @method $this withNetworkMode($value)
1643
 * @method string getPageNumber()
1644
 * @method $this withPageNumber($value)
1645
 */
1646
class ListSlbAPs extends Rpc
1647
{
1648
1649
    /**
1650
     * @param array $protocolList
1651
     *
1652
     * @return $this
1653
     */
1654
	public function withProtocolList(array $protocolList)
1655
	{
1656
	    $this->data['ProtocolList'] = $protocolList;
1657
		foreach ($protocolList as $i => $iValue) {
1658
			$this->options['form_params']['ProtocolList.' . ($i + 1)] = $iValue;
1659
		}
1660
1661
		return $this;
1662
    }
1663
}
1664
1665
/**
1666
 * @method string getName()
1667
 * @method $this withName($value)
1668
 * @method array getPortMappings()
1669
 * @method string getServiceId()
1670
 * @method $this withServiceId($value)
1671
 */
1672
class ModifyService extends Rpc
1673
{
1674
1675
    /**
1676
     * @param array $portMappings
1677
     *
1678
     * @return $this
1679
     */
1680
	public function withPortMappings(array $portMappings)
1681
	{
1682
	    $this->data['PortMappings'] = $portMappings;
1683
		foreach ($portMappings as $depth1 => $depth1Value) {
1684
			$this->options['form_params']['PortMappings.' . ($depth1 + 1) . '.Protocol'] = $depth1Value['Protocol'];
1685
			$this->options['form_params']['PortMappings.' . ($depth1 + 1) . '.Port'] = $depth1Value['Port'];
1686
			$this->options['form_params']['PortMappings.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
1687
			$this->options['form_params']['PortMappings.' . ($depth1 + 1) . '.NodePort'] = $depth1Value['NodePort'];
1688
			$this->options['form_params']['PortMappings.' . ($depth1 + 1) . '.TargetPort'] = $depth1Value['TargetPort'];
1689
		}
1690
1691
		return $this;
1692
    }
1693
}
1694
1695
/**
1696
 * @method string getSslCertId()
1697
 * @method $this withSslCertId($value)
1698
 * @method string getEstablishedTimeout()
1699
 * @method $this withEstablishedTimeout($value)
1700
 * @method string getRealServerPort()
1701
 * @method $this withRealServerPort($value)
1702
 * @method string getStickySession()
1703
 * @method $this withStickySession($value)
1704
 * @method string getCookieTimeout()
1705
 * @method $this withCookieTimeout($value)
1706
 * @method string getName()
1707
 * @method $this withName($value)
1708
 * @method string getSlbAPId()
1709
 * @method $this withSlbAPId($value)
1710
 */
1711
class ModifySlbAP extends Rpc
1712
{
1713
}
1714
1715
/**
1716
 * @method string getClusterInstanceId()
1717
 * @method $this withClusterInstanceId($value)
1718
 */
1719
class QueryClusterDetail extends Rpc
1720
{
1721
1722
    /** @var string */
1723
    public $method = 'GET';
1724
}
1725
1726
/**
1727
 * @method array getEcsInstanceIdList()
1728
 * @method string getClusterInstanceId()
1729
 * @method $this withClusterInstanceId($value)
1730
 */
1731
class RemoveClusterNode extends Rpc
1732
{
1733
1734
    /**
1735
     * @param array $ecsInstanceIdList
1736
     *
1737
     * @return $this
1738
     */
1739
	public function withEcsInstanceIdList(array $ecsInstanceIdList)
1740
	{
1741
	    $this->data['EcsInstanceIdList'] = $ecsInstanceIdList;
1742
		foreach ($ecsInstanceIdList as $i => $iValue) {
1743
			$this->options['query']['EcsInstanceIdList.' . ($i + 1)] = $iValue;
1744
		}
1745
1746
		return $this;
1747
    }
1748
}
1749
1750
/**
1751
 * @method string getData()
1752
 */
1753
class ResourceStatusNotify extends Rpc
1754
{
1755
1756
    /**
1757
     * @param string $value
1758
     *
1759
     * @return $this
1760
     */
1761
    public function withData($value)
1762
    {
1763
        $this->data['Data'] = $value;
1764
        $this->options['form_params']['data'] = $value;
1765
1766
        return $this;
1767
    }
1768
}
1769
1770
/**
1771
 * @method string getDeployOrderId()
1772
 * @method $this withDeployOrderId($value)
1773
 */
1774
class ResumeDeploy extends Rpc
1775
{
1776
}
1777
1778
/**
1779
 * @method string getReplicas()
1780
 * @method $this withReplicas($value)
1781
 * @method string getEnvId()
1782
 * @method $this withEnvId($value)
1783
 */
1784
class ScaleApp extends Rpc
1785
{
1786
}
1787
1788
/**
1789
 * @method string getDeployPauseType()
1790
 * @method $this withDeployPauseType($value)
1791
 * @method string getDeployOrderId()
1792
 * @method $this withDeployOrderId($value)
1793
 */
1794
class SetDeployPauseType extends Rpc
1795
{
1796
}
1797
1798
/**
1799
 * @method string getInstanceId()
1800
 * @method $this withInstanceId($value)
1801
 * @method string getLabelKey()
1802
 * @method $this withLabelKey($value)
1803
 * @method string getLabelValue()
1804
 * @method $this withLabelValue($value)
1805
 * @method string getClusterId()
1806
 * @method $this withClusterId($value)
1807
 */
1808
class UnbindNodeLabel extends Rpc
1809
{
1810
}
1811
1812
/**
1813
 * @method string getBizTitle()
1814
 * @method string getServiceType()
1815
 * @method string getAppId()
1816
 * @method string getOperatingSystem()
1817
 * @method string getDescription()
1818
 * @method string getLanguage()
1819
 */
1820
class UpdateApp extends Rpc
1821
{
1822
1823
    /**
1824
     * @param string $value
1825
     *
1826
     * @return $this
1827
     */
1828
    public function withBizTitle($value)
1829
    {
1830
        $this->data['BizTitle'] = $value;
1831
        $this->options['form_params']['BizTitle'] = $value;
1832
1833
        return $this;
1834
    }
1835
1836
    /**
1837
     * @param string $value
1838
     *
1839
     * @return $this
1840
     */
1841
    public function withServiceType($value)
1842
    {
1843
        $this->data['ServiceType'] = $value;
1844
        $this->options['form_params']['ServiceType'] = $value;
1845
1846
        return $this;
1847
    }
1848
1849
    /**
1850
     * @param string $value
1851
     *
1852
     * @return $this
1853
     */
1854
    public function withAppId($value)
1855
    {
1856
        $this->data['AppId'] = $value;
1857
        $this->options['form_params']['AppId'] = $value;
1858
1859
        return $this;
1860
    }
1861
1862
    /**
1863
     * @param string $value
1864
     *
1865
     * @return $this
1866
     */
1867
    public function withOperatingSystem($value)
1868
    {
1869
        $this->data['OperatingSystem'] = $value;
1870
        $this->options['form_params']['OperatingSystem'] = $value;
1871
1872
        return $this;
1873
    }
1874
1875
    /**
1876
     * @param string $value
1877
     *
1878
     * @return $this
1879
     */
1880
    public function withDescription($value)
1881
    {
1882
        $this->data['Description'] = $value;
1883
        $this->options['form_params']['Description'] = $value;
1884
1885
        return $this;
1886
    }
1887
1888
    /**
1889
     * @param string $value
1890
     *
1891
     * @return $this
1892
     */
1893
    public function withLanguage($value)
1894
    {
1895
        $this->data['Language'] = $value;
1896
        $this->options['form_params']['Language'] = $value;
1897
1898
        return $this;
1899
    }
1900
}
1901
1902
/**
1903
 * @method string getCodePath()
1904
 * @method $this withCodePath($value)
1905
 * @method array getConfigMapList()
1906
 * @method string getConfigMap()
1907
 * @method $this withConfigMap($value)
1908
 * @method string getStatefulSet()
1909
 * @method $this withStatefulSet($value)
1910
 * @method string getAppId()
1911
 * @method $this withAppId($value)
1912
 * @method string getId()
1913
 * @method $this withId($value)
1914
 * @method string getDeployment()
1915
 * @method $this withDeployment($value)
1916
 */
1917
class UpdateDeployConfig extends Rpc
1918
{
1919
1920
    /**
1921
     * @param array $configMapList
1922
     *
1923
     * @return $this
1924
     */
1925
	public function withConfigMapList(array $configMapList)
1926
	{
1927
	    $this->data['ConfigMapList'] = $configMapList;
1928
		foreach ($configMapList as $i => $iValue) {
1929
			$this->options['query']['ConfigMapList.' . ($i + 1)] = $iValue;
1930
		}
1931
1932
		return $this;
1933
    }
1934
}
1935
1936
/**
1937
 * @method string getReplicas()
1938
 * @method $this withReplicas($value)
1939
 * @method string getAppId()
1940
 * @method $this withAppId($value)
1941
 * @method string getAppSchemaId()
1942
 * @method $this withAppSchemaId($value)
1943
 * @method string getAppEnvId()
1944
 * @method $this withAppEnvId($value)
1945
 */
1946
class UpdateEnvironment extends Rpc
1947
{
1948
}
1949