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 ( 0fe709...5f8edb )
by
unknown
06:26
created

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