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 ( 7864e5...0e3c62 )
by
unknown
04:59
created

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