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 ( f761dc...33cbb8 )
by
unknown
06:59
created

CreateApp::withLanguage()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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