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 ( 2fff2b...3221a7 )
by
unknown
05:44
created

SubmitInfo::withEcsDescList()   C

Complexity

Conditions 10
Paths 257

Size

Total Lines 31
Code Lines 19

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 19
c 1
b 0
f 0
dl 0
loc 31
rs 6.1208
cc 10
nc 257
nop 1

How to fix   Complexity   

Long Method

Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.

For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.

Commonly applied refactorings include:

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