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 ( 132c90...61b7da )
by
unknown
07:37
created

DeployApp::withInitContainerImageList()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

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