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 ( 5507f5...0bead3 )
by
unknown
04:44
created

ModifyService   A

Complexity

Total Complexity 7

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 7
eloc 14
c 1
b 0
f 0
dl 0
loc 30
rs 10

1 Method

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