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 ( 3a0503...53aad4 )
by
unknown
22:15
created

UpdateApp   A

Complexity

Total Complexity 8

Size/Duplication

Total Lines 96
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 8
eloc 25
dl 0
loc 96
rs 10
c 0
b 0
f 0

7 Methods

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