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.
Passed
Pull Request — master (#95)
by Yong
04:49
created

InsertK8sApplication::withWebContainer()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Edas\V20170801;
4
5
use AlibabaCloud\ApiResolverTrait;
6
use AlibabaCloud\Roa;
7
8
/**
9
 * Resolve Api based on the method name.
10
 *
11
 * @method GetCluster getCluster(array $options = [])
12
 * @method QueryRegionConfig queryRegionConfig(array $options = [])
13
 * @method CsbListRegions csbListRegions(array $options = [])
14
 * @method CreateServerlessApplication createServerlessApplication(array $options = [])
15
 * @method BindServerlessSlb bindServerlessSlb(array $options = [])
16
 * @method DeleteServerlessApplication deleteServerlessApplication(array $options = [])
17
 * @method DeployServerlessApplication deployServerlessApplication(array $options = [])
18
 * @method GetServerlessAppConfigDetail getServerlessAppConfigDetail(array $options = [])
19
 * @method InsertServerlessApplication insertServerlessApplication(array $options = [])
20
 * @method ScaleServerlessApplication scaleServerlessApplication(array $options = [])
21
 * @method UnbindServerlessSlb unbindServerlessSlb(array $options = [])
22
 * @method InstallAgent installAgent(array $options = [])
23
 * @method ListComponents listComponents(array $options = [])
24
 * @method GetPackageStorageCredential getPackageStorageCredential(array $options = [])
25
 * @method ListEcsNotInCluster listEcsNotInCluster(array $options = [])
26
 * @method UpdateK8sSlb updateK8sSlb(array $options = [])
27
 * @method BindK8sSlb bindK8sSlb(array $options = [])
28
 * @method ListScalingRecords listScalingRecords(array $options = [])
29
 * @method UnbindK8sSlb unbindK8sSlb(array $options = [])
30
 * @method UpdateK8sApplicationConfig updateK8sApplicationConfig(array $options = [])
31
 * @method ImportK8sCluster importK8sCluster(array $options = [])
32
 * @method InsertK8sApplication insertK8sApplication(array $options = [])
33
 * @method DeployK8sApplication deployK8sApplication(array $options = [])
34
 * @method ScaleK8sApplication scaleK8sApplication(array $options = [])
35
 * @method DeleteK8sApplication deleteK8sApplication(array $options = [])
36
 * @method ListScalingRules listScalingRules(array $options = [])
37
 * @method InsertScalingRule insertScalingRule(array $options = [])
38
 * @method DeleteResourceGroup deleteResourceGroup(array $options = [])
39
 * @method InsertResourceGroup insertResourceGroup(array $options = [])
40
 * @method GetSecureToken getSecureToken(array $options = [])
41
 * @method TransformClusterMember transformClusterMember(array $options = [])
42
 * @method ListConvertableEcu listConvertableEcu(array $options = [])
43
 * @method InsertClusterMember insertClusterMember(array $options = [])
44
 * @method ListScaleOutEcu listScaleOutEcu(array $options = [])
45
 * @method ListEcuByRegion listEcuByRegion(array $options = [])
46
 * @method QueryMigrateEcuList queryMigrateEcuList(array $options = [])
47
 * @method QueryMigrateRegionList queryMigrateRegionList(array $options = [])
48
 * @method MigrateEcu migrateEcu(array $options = [])
49
 * @method MigrateToRegion migrateToRegion(array $options = [])
50
 * @method ListUserDefineRegion listUserDefineRegion(array $options = [])
51
 * @method ListAliyunRegion listAliyunRegion(array $options = [])
52
 * @method InsertOrUpdateRegion insertOrUpdateRegion(array $options = [])
53
 * @method DeleteUserDefineRegion deleteUserDefineRegion(array $options = [])
54
 * @method QueryMonitorInfo queryMonitorInfo(array $options = [])
55
 * @method ListVpc listVpc(array $options = [])
56
 * @method UpdateHealthCheckUrl updateHealthCheckUrl(array $options = [])
57
 * @method UpdateJvmConfiguration updateJvmConfiguration(array $options = [])
58
 * @method UpdateContainerConfiguration updateContainerConfiguration(array $options = [])
59
 * @method UpdateApplicationBaseInfo updateApplicationBaseInfo(array $options = [])
60
 * @method GetContainerConfiguration getContainerConfiguration(array $options = [])
61
 * @method GetJvmConfiguration getJvmConfiguration(array $options = [])
62
 * @method InsertDeployGroup insertDeployGroup(array $options = [])
63
 * @method GetApplication getApplication(array $options = [])
64
 * @method DeleteDeployGroup deleteDeployGroup(array $options = [])
65
 * @method QueryApplicationStatus queryApplicationStatus(array $options = [])
66
 * @method SynchronizeResource synchronizeResource(array $options = [])
67
 * @method ListRecentChangeOrder listRecentChangeOrder(array $options = [])
68
 * @method DeleteEcu deleteEcu(array $options = [])
69
 * @method ListSlb listSlb(array $options = [])
70
 * @method ListHistoryDeployVersion listHistoryDeployVersion(array $options = [])
71
 * @method ListResourceGroup listResourceGroup(array $options = [])
72
 * @method UpdateAccountInfo updateAccountInfo(array $options = [])
73
 * @method UpdateRole updateRole(array $options = [])
74
 * @method UnbindSlb unbindSlb(array $options = [])
75
 * @method UnbindSubAccount unbindSubAccount(array $options = [])
76
 * @method ListRole listRole(array $options = [])
77
 * @method ListSubAccount listSubAccount(array $options = [])
78
 * @method ListClusterMembers listClusterMembers(array $options = [])
79
 * @method ListAuthority listAuthority(array $options = [])
80
 * @method InsertCluster insertCluster(array $options = [])
81
 * @method InsertRole insertRole(array $options = [])
82
 * @method EnableDegradeControl enableDegradeControl(array $options = [])
83
 * @method DeleteClusterMember deleteClusterMember(array $options = [])
84
 * @method DeleteRole deleteRole(array $options = [])
85
 * @method AuthorizeRole authorizeRole(array $options = [])
86
 * @method BindSlb bindSlb(array $options = [])
87
 * @method BindSubAccount bindSubAccount(array $options = [])
88
 * @method DeleteCluster deleteCluster(array $options = [])
89
 * @method AuthorizeApplication authorizeApplication(array $options = [])
90
 * @method AuthorizeResourceGroup authorizeResourceGroup(array $options = [])
91
 * @method GetChangeOrderInfo getChangeOrderInfo(array $options = [])
92
 * @method ListCluster listCluster(array $options = [])
93
 * @method DeleteApplication deleteApplication(array $options = [])
94
 * @method RollbackApplication rollbackApplication(array $options = [])
95
 * @method ScaleInApplication scaleInApplication(array $options = [])
96
 * @method ScaleOutApplication scaleOutApplication(array $options = [])
97
 * @method StartApplication startApplication(array $options = [])
98
 * @method StopApplication stopApplication(array $options = [])
99
 * @method ResetApplication resetApplication(array $options = [])
100
 * @method InsertApplication insertApplication(array $options = [])
101
 * @method ChangeApplicationGroup changeApplicationGroup(array $options = [])
102
 * @method DeployApplication deployApplication(array $options = [])
103
 * @method UpdateContainer updateContainer(array $options = [])
104
 * @method ListApplicationEcu listApplicationEcu(array $options = [])
105
 * @method ListBuildPack listBuildPack(array $options = [])
106
 * @method ListDeployGroup listDeployGroup(array $options = [])
107
 * @method QueryConfigCenter queryConfigCenter(array $options = [])
108
 * @method UpdateDegradeControl updateDegradeControl(array $options = [])
109
 * @method UpdateFlowControl updateFlowControl(array $options = [])
110
 * @method ListFlowControls listFlowControls(array $options = [])
111
 * @method ListPublishedServices listPublishedServices(array $options = [])
112
 * @method ListServiceGroups listServiceGroups(array $options = [])
113
 * @method InsertFlowControl insertFlowControl(array $options = [])
114
 * @method InsertServiceGroup insertServiceGroup(array $options = [])
115
 * @method ListConfigCenters listConfigCenters(array $options = [])
116
 * @method ListConsumedServices listConsumedServices(array $options = [])
117
 * @method ListDegradeControls listDegradeControls(array $options = [])
118
 * @method DisableDegradeControl disableDegradeControl(array $options = [])
119
 * @method DisableFlowControl disableFlowControl(array $options = [])
120
 * @method EnableFlowControl enableFlowControl(array $options = [])
121
 * @method InsertConfigCenter insertConfigCenter(array $options = [])
122
 * @method InsertDegradeControl insertDegradeControl(array $options = [])
123
 * @method DeleteConfigCenter deleteConfigCenter(array $options = [])
124
 * @method DeleteDegradeControl deleteDegradeControl(array $options = [])
125
 * @method DeleteFlowControl deleteFlowControl(array $options = [])
126
 * @method DeleteServiceGroup deleteServiceGroup(array $options = [])
127
 * @method ListApplication listApplication(array $options = [])
128
 */
129
class EdasApiResolver
130
{
131
    use ApiResolverTrait;
132
}
133
134
class V20170801Roa extends Roa
135
{
136
    /** @var string */
137
    public $product = 'Edas';
138
139
    /** @var string */
140
    public $version = '2017-08-01';
141
142
    /** @var string */
143
    public $method = 'POST';
144
145
    /** @var string */
146
    public $serviceCode = 'edas';
147
}
148
149
/**
150
 * @method string getClusterId()
151
 */
152
class GetCluster extends V20170801Roa
153
{
154
    /** @var string */
155
    public $pathPattern = '/pop/v5/resource/cluster';
156
157
    /** @var string */
158
    public $method = 'GET';
159
160
    /**
161
     * @param string $value
162
     *
163
     * @return $this
164
     */
165
    public function withClusterId($value)
166
    {
167
        $this->data['ClusterId'] = $value;
168
        $this->options['query']['ClusterId'] = $value;
169
170
        return $this;
171
    }
172
}
173
174
class QueryRegionConfig extends V20170801Roa
175
{
176
    /** @var string */
177
    public $pathPattern = '/pop/v5/region_config';
178
179
    /** @var string */
180
    public $method = 'GET';
181
}
182
183
class CsbListRegions extends V20170801Roa
184
{
185
    /** @var string */
186
    public $pathPattern = '/pop/authgw/csb/api/edas/list_regions';
187
188
    /** @var string */
189
    public $method = 'GET';
190
}
191
192
/**
193
 * @method string getWebContainer()
194
 * @method string getJarStartArgs()
195
 * @method string getMemory()
196
 * @method string getBuildPackId()
197
 * @method string getCommandArgs()
198
 * @method string getReplicas()
199
 * @method string getReadiness()
200
 * @method string getLiveness()
201
 * @method string getCpu()
202
 * @method string getEnvs()
203
 * @method string getPackageVersion()
204
 * @method string getCommand()
205
 * @method string getCustomHostAlias()
206
 * @method string getDeploy()
207
 * @method string getVSwitchId()
208
 * @method string getJdk()
209
 * @method string getAppDescription()
210
 * @method string getJarStartOptions()
211
 * @method string getAppName()
212
 * @method string getNamespaceId()
213
 * @method string getPackageUrl()
214
 * @method string getVpcId()
215
 * @method string getImageUrl()
216
 * @method string getPackageType()
217
 */
218
class CreateServerlessApplication extends V20170801Roa
219
{
220
    /** @var string */
221
    public $pathPattern = '/pop/v5/k8s/pop/pop_serverless_app_create_without_deploy';
222
223
    /**
224
     * @param string $value
225
     *
226
     * @return $this
227
     */
228
    public function withWebContainer($value)
229
    {
230
        $this->data['WebContainer'] = $value;
231
        $this->options['query']['WebContainer'] = $value;
232
233
        return $this;
234
    }
235
236
    /**
237
     * @param string $value
238
     *
239
     * @return $this
240
     */
241
    public function withJarStartArgs($value)
242
    {
243
        $this->data['JarStartArgs'] = $value;
244
        $this->options['query']['JarStartArgs'] = $value;
245
246
        return $this;
247
    }
248
249
    /**
250
     * @param string $value
251
     *
252
     * @return $this
253
     */
254
    public function withMemory($value)
255
    {
256
        $this->data['Memory'] = $value;
257
        $this->options['query']['Memory'] = $value;
258
259
        return $this;
260
    }
261
262
    /**
263
     * @param string $value
264
     *
265
     * @return $this
266
     */
267
    public function withBuildPackId($value)
268
    {
269
        $this->data['BuildPackId'] = $value;
270
        $this->options['query']['BuildPackId'] = $value;
271
272
        return $this;
273
    }
274
275
    /**
276
     * @param string $value
277
     *
278
     * @return $this
279
     */
280
    public function withCommandArgs($value)
281
    {
282
        $this->data['CommandArgs'] = $value;
283
        $this->options['query']['CommandArgs'] = $value;
284
285
        return $this;
286
    }
287
288
    /**
289
     * @param string $value
290
     *
291
     * @return $this
292
     */
293
    public function withReplicas($value)
294
    {
295
        $this->data['Replicas'] = $value;
296
        $this->options['query']['Replicas'] = $value;
297
298
        return $this;
299
    }
300
301
    /**
302
     * @param string $value
303
     *
304
     * @return $this
305
     */
306
    public function withReadiness($value)
307
    {
308
        $this->data['Readiness'] = $value;
309
        $this->options['query']['Readiness'] = $value;
310
311
        return $this;
312
    }
313
314
    /**
315
     * @param string $value
316
     *
317
     * @return $this
318
     */
319
    public function withLiveness($value)
320
    {
321
        $this->data['Liveness'] = $value;
322
        $this->options['query']['Liveness'] = $value;
323
324
        return $this;
325
    }
326
327
    /**
328
     * @param string $value
329
     *
330
     * @return $this
331
     */
332
    public function withCpu($value)
333
    {
334
        $this->data['Cpu'] = $value;
335
        $this->options['query']['Cpu'] = $value;
336
337
        return $this;
338
    }
339
340
    /**
341
     * @param string $value
342
     *
343
     * @return $this
344
     */
345
    public function withEnvs($value)
346
    {
347
        $this->data['Envs'] = $value;
348
        $this->options['query']['Envs'] = $value;
349
350
        return $this;
351
    }
352
353
    /**
354
     * @param string $value
355
     *
356
     * @return $this
357
     */
358
    public function withPackageVersion($value)
359
    {
360
        $this->data['PackageVersion'] = $value;
361
        $this->options['query']['PackageVersion'] = $value;
362
363
        return $this;
364
    }
365
366
    /**
367
     * @param string $value
368
     *
369
     * @return $this
370
     */
371
    public function withCommand($value)
372
    {
373
        $this->data['Command'] = $value;
374
        $this->options['query']['Command'] = $value;
375
376
        return $this;
377
    }
378
379
    /**
380
     * @param string $value
381
     *
382
     * @return $this
383
     */
384
    public function withCustomHostAlias($value)
385
    {
386
        $this->data['CustomHostAlias'] = $value;
387
        $this->options['query']['CustomHostAlias'] = $value;
388
389
        return $this;
390
    }
391
392
    /**
393
     * @param string $value
394
     *
395
     * @return $this
396
     */
397
    public function withDeploy($value)
398
    {
399
        $this->data['Deploy'] = $value;
400
        $this->options['query']['Deploy'] = $value;
401
402
        return $this;
403
    }
404
405
    /**
406
     * @param string $value
407
     *
408
     * @return $this
409
     */
410
    public function withVSwitchId($value)
411
    {
412
        $this->data['VSwitchId'] = $value;
413
        $this->options['query']['VSwitchId'] = $value;
414
415
        return $this;
416
    }
417
418
    /**
419
     * @param string $value
420
     *
421
     * @return $this
422
     */
423
    public function withJdk($value)
424
    {
425
        $this->data['Jdk'] = $value;
426
        $this->options['query']['Jdk'] = $value;
427
428
        return $this;
429
    }
430
431
    /**
432
     * @param string $value
433
     *
434
     * @return $this
435
     */
436
    public function withAppDescription($value)
437
    {
438
        $this->data['AppDescription'] = $value;
439
        $this->options['query']['AppDescription'] = $value;
440
441
        return $this;
442
    }
443
444
    /**
445
     * @param string $value
446
     *
447
     * @return $this
448
     */
449
    public function withJarStartOptions($value)
450
    {
451
        $this->data['JarStartOptions'] = $value;
452
        $this->options['query']['JarStartOptions'] = $value;
453
454
        return $this;
455
    }
456
457
    /**
458
     * @param string $value
459
     *
460
     * @return $this
461
     */
462
    public function withAppName($value)
463
    {
464
        $this->data['AppName'] = $value;
465
        $this->options['query']['AppName'] = $value;
466
467
        return $this;
468
    }
469
470
    /**
471
     * @param string $value
472
     *
473
     * @return $this
474
     */
475
    public function withNamespaceId($value)
476
    {
477
        $this->data['NamespaceId'] = $value;
478
        $this->options['query']['NamespaceId'] = $value;
479
480
        return $this;
481
    }
482
483
    /**
484
     * @param string $value
485
     *
486
     * @return $this
487
     */
488
    public function withPackageUrl($value)
489
    {
490
        $this->data['PackageUrl'] = $value;
491
        $this->options['query']['PackageUrl'] = $value;
492
493
        return $this;
494
    }
495
496
    /**
497
     * @param string $value
498
     *
499
     * @return $this
500
     */
501
    public function withVpcId($value)
502
    {
503
        $this->data['VpcId'] = $value;
504
        $this->options['query']['VpcId'] = $value;
505
506
        return $this;
507
    }
508
509
    /**
510
     * @param string $value
511
     *
512
     * @return $this
513
     */
514
    public function withImageUrl($value)
515
    {
516
        $this->data['ImageUrl'] = $value;
517
        $this->options['query']['ImageUrl'] = $value;
518
519
        return $this;
520
    }
521
522
    /**
523
     * @param string $value
524
     *
525
     * @return $this
526
     */
527
    public function withPackageType($value)
528
    {
529
        $this->data['PackageType'] = $value;
530
        $this->options['query']['PackageType'] = $value;
531
532
        return $this;
533
    }
534
}
535
536
/**
537
 * @method string getIntranet()
538
 * @method string getAppId()
539
 * @method string getInternet()
540
 */
541
class BindServerlessSlb extends V20170801Roa
542
{
543
    /** @var string */
544
    public $pathPattern = '/pop/v5/k8s/acs/serverless_slb_binding';
545
546
    /**
547
     * @param string $value
548
     *
549
     * @return $this
550
     */
551
    public function withIntranet($value)
552
    {
553
        $this->data['Intranet'] = $value;
554
        $this->options['query']['Intranet'] = $value;
555
556
        return $this;
557
    }
558
559
    /**
560
     * @param string $value
561
     *
562
     * @return $this
563
     */
564
    public function withAppId($value)
565
    {
566
        $this->data['AppId'] = $value;
567
        $this->options['query']['AppId'] = $value;
568
569
        return $this;
570
    }
571
572
    /**
573
     * @param string $value
574
     *
575
     * @return $this
576
     */
577
    public function withInternet($value)
578
    {
579
        $this->data['Internet'] = $value;
580
        $this->options['query']['Internet'] = $value;
581
582
        return $this;
583
    }
584
}
585
586
/**
587
 * @method string getAct()
588
 * @method string getAppId()
589
 */
590
class DeleteServerlessApplication extends V20170801Roa
591
{
592
    /** @var string */
593
    public $pathPattern = '/pop/v5/k8s/pop/pop_serverless_app_delete';
594
595
    /** @var string */
596
    public $method = 'DELETE';
597
598
    /**
599
     * @param string $value
600
     *
601
     * @return $this
602
     */
603
    public function withAct($value)
604
    {
605
        $this->data['Act'] = $value;
606
        $this->options['query']['Act'] = $value;
607
608
        return $this;
609
    }
610
611
    /**
612
     * @param string $value
613
     *
614
     * @return $this
615
     */
616
    public function withAppId($value)
617
    {
618
        $this->data['AppId'] = $value;
619
        $this->options['query']['AppId'] = $value;
620
621
        return $this;
622
    }
623
}
624
625
/**
626
 * @method string getWebContainer()
627
 * @method string getJarStartArgs()
628
 * @method string getBuildPackId()
629
 * @method string getCommandArgs()
630
 * @method string getReadiness()
631
 * @method string getBatchWaitTime()
632
 * @method string getLiveness()
633
 * @method string getEnvs()
634
 * @method string getPackageVersion()
635
 * @method string getCommand()
636
 * @method string getCustomHostAlias()
637
 * @method string getJdk()
638
 * @method string getJarStartOptions()
639
 * @method string getMinReadyInstances()
640
 * @method string getPackageUrl()
641
 * @method string getAppId()
642
 * @method string getImageUrl()
643
 */
644
class DeployServerlessApplication extends V20170801Roa
645
{
646
    /** @var string */
647
    public $pathPattern = '/pop/v5/k8s/pop/pop_serverless_app_deploy';
648
649
    /**
650
     * @param string $value
651
     *
652
     * @return $this
653
     */
654
    public function withWebContainer($value)
655
    {
656
        $this->data['WebContainer'] = $value;
657
        $this->options['query']['WebContainer'] = $value;
658
659
        return $this;
660
    }
661
662
    /**
663
     * @param string $value
664
     *
665
     * @return $this
666
     */
667
    public function withJarStartArgs($value)
668
    {
669
        $this->data['JarStartArgs'] = $value;
670
        $this->options['query']['JarStartArgs'] = $value;
671
672
        return $this;
673
    }
674
675
    /**
676
     * @param string $value
677
     *
678
     * @return $this
679
     */
680
    public function withBuildPackId($value)
681
    {
682
        $this->data['BuildPackId'] = $value;
683
        $this->options['query']['BuildPackId'] = $value;
684
685
        return $this;
686
    }
687
688
    /**
689
     * @param string $value
690
     *
691
     * @return $this
692
     */
693
    public function withCommandArgs($value)
694
    {
695
        $this->data['CommandArgs'] = $value;
696
        $this->options['query']['CommandArgs'] = $value;
697
698
        return $this;
699
    }
700
701
    /**
702
     * @param string $value
703
     *
704
     * @return $this
705
     */
706
    public function withReadiness($value)
707
    {
708
        $this->data['Readiness'] = $value;
709
        $this->options['query']['Readiness'] = $value;
710
711
        return $this;
712
    }
713
714
    /**
715
     * @param string $value
716
     *
717
     * @return $this
718
     */
719
    public function withBatchWaitTime($value)
720
    {
721
        $this->data['BatchWaitTime'] = $value;
722
        $this->options['query']['BatchWaitTime'] = $value;
723
724
        return $this;
725
    }
726
727
    /**
728
     * @param string $value
729
     *
730
     * @return $this
731
     */
732
    public function withLiveness($value)
733
    {
734
        $this->data['Liveness'] = $value;
735
        $this->options['query']['Liveness'] = $value;
736
737
        return $this;
738
    }
739
740
    /**
741
     * @param string $value
742
     *
743
     * @return $this
744
     */
745
    public function withEnvs($value)
746
    {
747
        $this->data['Envs'] = $value;
748
        $this->options['query']['Envs'] = $value;
749
750
        return $this;
751
    }
752
753
    /**
754
     * @param string $value
755
     *
756
     * @return $this
757
     */
758
    public function withPackageVersion($value)
759
    {
760
        $this->data['PackageVersion'] = $value;
761
        $this->options['query']['PackageVersion'] = $value;
762
763
        return $this;
764
    }
765
766
    /**
767
     * @param string $value
768
     *
769
     * @return $this
770
     */
771
    public function withCommand($value)
772
    {
773
        $this->data['Command'] = $value;
774
        $this->options['query']['Command'] = $value;
775
776
        return $this;
777
    }
778
779
    /**
780
     * @param string $value
781
     *
782
     * @return $this
783
     */
784
    public function withCustomHostAlias($value)
785
    {
786
        $this->data['CustomHostAlias'] = $value;
787
        $this->options['query']['CustomHostAlias'] = $value;
788
789
        return $this;
790
    }
791
792
    /**
793
     * @param string $value
794
     *
795
     * @return $this
796
     */
797
    public function withJdk($value)
798
    {
799
        $this->data['Jdk'] = $value;
800
        $this->options['query']['Jdk'] = $value;
801
802
        return $this;
803
    }
804
805
    /**
806
     * @param string $value
807
     *
808
     * @return $this
809
     */
810
    public function withJarStartOptions($value)
811
    {
812
        $this->data['JarStartOptions'] = $value;
813
        $this->options['query']['JarStartOptions'] = $value;
814
815
        return $this;
816
    }
817
818
    /**
819
     * @param string $value
820
     *
821
     * @return $this
822
     */
823
    public function withMinReadyInstances($value)
824
    {
825
        $this->data['MinReadyInstances'] = $value;
826
        $this->options['query']['MinReadyInstances'] = $value;
827
828
        return $this;
829
    }
830
831
    /**
832
     * @param string $value
833
     *
834
     * @return $this
835
     */
836
    public function withPackageUrl($value)
837
    {
838
        $this->data['PackageUrl'] = $value;
839
        $this->options['query']['PackageUrl'] = $value;
840
841
        return $this;
842
    }
843
844
    /**
845
     * @param string $value
846
     *
847
     * @return $this
848
     */
849
    public function withAppId($value)
850
    {
851
        $this->data['AppId'] = $value;
852
        $this->options['query']['AppId'] = $value;
853
854
        return $this;
855
    }
856
857
    /**
858
     * @param string $value
859
     *
860
     * @return $this
861
     */
862
    public function withImageUrl($value)
863
    {
864
        $this->data['ImageUrl'] = $value;
865
        $this->options['query']['ImageUrl'] = $value;
866
867
        return $this;
868
    }
869
}
870
871
/**
872
 * @method string getAppId()
873
 */
874
class GetServerlessAppConfigDetail extends V20170801Roa
875
{
876
    /** @var string */
877
    public $pathPattern = '/pop/v5/k8s/pop/pop_serverless_app_config_detail';
878
879
    /** @var string */
880
    public $method = 'GET';
881
882
    /**
883
     * @param string $value
884
     *
885
     * @return $this
886
     */
887
    public function withAppId($value)
888
    {
889
        $this->data['AppId'] = $value;
890
        $this->options['query']['AppId'] = $value;
891
892
        return $this;
893
    }
894
}
895
896
/**
897
 * @method string getWebContainer()
898
 * @method string getJarStartArgs()
899
 * @method string getMemory()
900
 * @method string getBuildPackId()
901
 * @method string getCommandArgs()
902
 * @method string getReplicas()
903
 * @method string getReadiness()
904
 * @method string getLiveness()
905
 * @method string getCpu()
906
 * @method string getEnvs()
907
 * @method string getPackageVersion()
908
 * @method string getCommand()
909
 * @method string getCustomHostAlias()
910
 * @method string getDeploy()
911
 * @method string getVSwitchId()
912
 * @method string getJdk()
913
 * @method string getAppDescription()
914
 * @method string getJarStartOptions()
915
 * @method string getAppName()
916
 * @method string getNamespaceId()
917
 * @method string getPackageUrl()
918
 * @method string getVpcId()
919
 * @method string getImageUrl()
920
 * @method string getPackageType()
921
 */
922
class InsertServerlessApplication extends V20170801Roa
923
{
924
    /** @var string */
925
    public $pathPattern = '/pop/v5/k8s/pop/pop_serverless_app_create_without_deploy';
926
927
    /**
928
     * @param string $value
929
     *
930
     * @return $this
931
     */
932
    public function withWebContainer($value)
933
    {
934
        $this->data['WebContainer'] = $value;
935
        $this->options['query']['WebContainer'] = $value;
936
937
        return $this;
938
    }
939
940
    /**
941
     * @param string $value
942
     *
943
     * @return $this
944
     */
945
    public function withJarStartArgs($value)
946
    {
947
        $this->data['JarStartArgs'] = $value;
948
        $this->options['query']['JarStartArgs'] = $value;
949
950
        return $this;
951
    }
952
953
    /**
954
     * @param string $value
955
     *
956
     * @return $this
957
     */
958
    public function withMemory($value)
959
    {
960
        $this->data['Memory'] = $value;
961
        $this->options['query']['Memory'] = $value;
962
963
        return $this;
964
    }
965
966
    /**
967
     * @param string $value
968
     *
969
     * @return $this
970
     */
971
    public function withBuildPackId($value)
972
    {
973
        $this->data['BuildPackId'] = $value;
974
        $this->options['query']['BuildPackId'] = $value;
975
976
        return $this;
977
    }
978
979
    /**
980
     * @param string $value
981
     *
982
     * @return $this
983
     */
984
    public function withCommandArgs($value)
985
    {
986
        $this->data['CommandArgs'] = $value;
987
        $this->options['query']['CommandArgs'] = $value;
988
989
        return $this;
990
    }
991
992
    /**
993
     * @param string $value
994
     *
995
     * @return $this
996
     */
997
    public function withReplicas($value)
998
    {
999
        $this->data['Replicas'] = $value;
1000
        $this->options['query']['Replicas'] = $value;
1001
1002
        return $this;
1003
    }
1004
1005
    /**
1006
     * @param string $value
1007
     *
1008
     * @return $this
1009
     */
1010
    public function withReadiness($value)
1011
    {
1012
        $this->data['Readiness'] = $value;
1013
        $this->options['query']['Readiness'] = $value;
1014
1015
        return $this;
1016
    }
1017
1018
    /**
1019
     * @param string $value
1020
     *
1021
     * @return $this
1022
     */
1023
    public function withLiveness($value)
1024
    {
1025
        $this->data['Liveness'] = $value;
1026
        $this->options['query']['Liveness'] = $value;
1027
1028
        return $this;
1029
    }
1030
1031
    /**
1032
     * @param string $value
1033
     *
1034
     * @return $this
1035
     */
1036
    public function withCpu($value)
1037
    {
1038
        $this->data['Cpu'] = $value;
1039
        $this->options['query']['Cpu'] = $value;
1040
1041
        return $this;
1042
    }
1043
1044
    /**
1045
     * @param string $value
1046
     *
1047
     * @return $this
1048
     */
1049
    public function withEnvs($value)
1050
    {
1051
        $this->data['Envs'] = $value;
1052
        $this->options['query']['Envs'] = $value;
1053
1054
        return $this;
1055
    }
1056
1057
    /**
1058
     * @param string $value
1059
     *
1060
     * @return $this
1061
     */
1062
    public function withPackageVersion($value)
1063
    {
1064
        $this->data['PackageVersion'] = $value;
1065
        $this->options['query']['PackageVersion'] = $value;
1066
1067
        return $this;
1068
    }
1069
1070
    /**
1071
     * @param string $value
1072
     *
1073
     * @return $this
1074
     */
1075
    public function withCommand($value)
1076
    {
1077
        $this->data['Command'] = $value;
1078
        $this->options['query']['Command'] = $value;
1079
1080
        return $this;
1081
    }
1082
1083
    /**
1084
     * @param string $value
1085
     *
1086
     * @return $this
1087
     */
1088
    public function withCustomHostAlias($value)
1089
    {
1090
        $this->data['CustomHostAlias'] = $value;
1091
        $this->options['query']['CustomHostAlias'] = $value;
1092
1093
        return $this;
1094
    }
1095
1096
    /**
1097
     * @param string $value
1098
     *
1099
     * @return $this
1100
     */
1101
    public function withDeploy($value)
1102
    {
1103
        $this->data['Deploy'] = $value;
1104
        $this->options['query']['Deploy'] = $value;
1105
1106
        return $this;
1107
    }
1108
1109
    /**
1110
     * @param string $value
1111
     *
1112
     * @return $this
1113
     */
1114
    public function withVSwitchId($value)
1115
    {
1116
        $this->data['VSwitchId'] = $value;
1117
        $this->options['query']['VSwitchId'] = $value;
1118
1119
        return $this;
1120
    }
1121
1122
    /**
1123
     * @param string $value
1124
     *
1125
     * @return $this
1126
     */
1127
    public function withJdk($value)
1128
    {
1129
        $this->data['Jdk'] = $value;
1130
        $this->options['query']['Jdk'] = $value;
1131
1132
        return $this;
1133
    }
1134
1135
    /**
1136
     * @param string $value
1137
     *
1138
     * @return $this
1139
     */
1140
    public function withAppDescription($value)
1141
    {
1142
        $this->data['AppDescription'] = $value;
1143
        $this->options['query']['AppDescription'] = $value;
1144
1145
        return $this;
1146
    }
1147
1148
    /**
1149
     * @param string $value
1150
     *
1151
     * @return $this
1152
     */
1153
    public function withJarStartOptions($value)
1154
    {
1155
        $this->data['JarStartOptions'] = $value;
1156
        $this->options['query']['JarStartOptions'] = $value;
1157
1158
        return $this;
1159
    }
1160
1161
    /**
1162
     * @param string $value
1163
     *
1164
     * @return $this
1165
     */
1166
    public function withAppName($value)
1167
    {
1168
        $this->data['AppName'] = $value;
1169
        $this->options['query']['AppName'] = $value;
1170
1171
        return $this;
1172
    }
1173
1174
    /**
1175
     * @param string $value
1176
     *
1177
     * @return $this
1178
     */
1179
    public function withNamespaceId($value)
1180
    {
1181
        $this->data['NamespaceId'] = $value;
1182
        $this->options['query']['NamespaceId'] = $value;
1183
1184
        return $this;
1185
    }
1186
1187
    /**
1188
     * @param string $value
1189
     *
1190
     * @return $this
1191
     */
1192
    public function withPackageUrl($value)
1193
    {
1194
        $this->data['PackageUrl'] = $value;
1195
        $this->options['query']['PackageUrl'] = $value;
1196
1197
        return $this;
1198
    }
1199
1200
    /**
1201
     * @param string $value
1202
     *
1203
     * @return $this
1204
     */
1205
    public function withVpcId($value)
1206
    {
1207
        $this->data['VpcId'] = $value;
1208
        $this->options['query']['VpcId'] = $value;
1209
1210
        return $this;
1211
    }
1212
1213
    /**
1214
     * @param string $value
1215
     *
1216
     * @return $this
1217
     */
1218
    public function withImageUrl($value)
1219
    {
1220
        $this->data['ImageUrl'] = $value;
1221
        $this->options['query']['ImageUrl'] = $value;
1222
1223
        return $this;
1224
    }
1225
1226
    /**
1227
     * @param string $value
1228
     *
1229
     * @return $this
1230
     */
1231
    public function withPackageType($value)
1232
    {
1233
        $this->data['PackageType'] = $value;
1234
        $this->options['query']['PackageType'] = $value;
1235
1236
        return $this;
1237
    }
1238
}
1239
1240
/**
1241
 * @method string getReplicas()
1242
 * @method string getAppId()
1243
 */
1244
class ScaleServerlessApplication extends V20170801Roa
1245
{
1246
    /** @var string */
1247
    public $pathPattern = '/pop/v5/k8s/pop/pop_serverless_app_rescale';
1248
1249
    /** @var string */
1250
    public $method = 'PUT';
1251
1252
    /**
1253
     * @param string $value
1254
     *
1255
     * @return $this
1256
     */
1257
    public function withReplicas($value)
1258
    {
1259
        $this->data['Replicas'] = $value;
1260
        $this->options['query']['Replicas'] = $value;
1261
1262
        return $this;
1263
    }
1264
1265
    /**
1266
     * @param string $value
1267
     *
1268
     * @return $this
1269
     */
1270
    public function withAppId($value)
1271
    {
1272
        $this->data['AppId'] = $value;
1273
        $this->options['query']['AppId'] = $value;
1274
1275
        return $this;
1276
    }
1277
}
1278
1279
/**
1280
 * @method string getIntranet()
1281
 * @method string getAppId()
1282
 * @method string getInternet()
1283
 */
1284
class UnbindServerlessSlb extends V20170801Roa
1285
{
1286
    /** @var string */
1287
    public $pathPattern = '/pop/v5/k8s/acs/serverless_slb_binding';
1288
1289
    /** @var string */
1290
    public $method = 'DELETE';
1291
1292
    /**
1293
     * @param string $value
1294
     *
1295
     * @return $this
1296
     */
1297
    public function withIntranet($value)
1298
    {
1299
        $this->data['Intranet'] = $value;
1300
        $this->options['query']['Intranet'] = $value;
1301
1302
        return $this;
1303
    }
1304
1305
    /**
1306
     * @param string $value
1307
     *
1308
     * @return $this
1309
     */
1310
    public function withAppId($value)
1311
    {
1312
        $this->data['AppId'] = $value;
1313
        $this->options['query']['AppId'] = $value;
1314
1315
        return $this;
1316
    }
1317
1318
    /**
1319
     * @param string $value
1320
     *
1321
     * @return $this
1322
     */
1323
    public function withInternet($value)
1324
    {
1325
        $this->data['Internet'] = $value;
1326
        $this->options['query']['Internet'] = $value;
1327
1328
        return $this;
1329
    }
1330
}
1331
1332
/**
1333
 * @method string getInstanceIds()
1334
 * @method string getDoAsync()
1335
 * @method string getClusterId()
1336
 */
1337
class InstallAgent extends V20170801Roa
1338
{
1339
    /** @var string */
1340
    public $pathPattern = '/pop/v5/ecss/install_agent';
1341
1342
    /**
1343
     * @param string $value
1344
     *
1345
     * @return $this
1346
     */
1347
    public function withInstanceIds($value)
1348
    {
1349
        $this->data['InstanceIds'] = $value;
1350
        $this->options['query']['InstanceIds'] = $value;
1351
1352
        return $this;
1353
    }
1354
1355
    /**
1356
     * @param string $value
1357
     *
1358
     * @return $this
1359
     */
1360
    public function withDoAsync($value)
1361
    {
1362
        $this->data['DoAsync'] = $value;
1363
        $this->options['query']['DoAsync'] = $value;
1364
1365
        return $this;
1366
    }
1367
1368
    /**
1369
     * @param string $value
1370
     *
1371
     * @return $this
1372
     */
1373
    public function withClusterId($value)
1374
    {
1375
        $this->data['ClusterId'] = $value;
1376
        $this->options['query']['ClusterId'] = $value;
1377
1378
        return $this;
1379
    }
1380
}
1381
1382
class ListComponents extends V20170801Roa
1383
{
1384
    /** @var string */
1385
    public $pathPattern = '/pop/v5/resource/components';
1386
1387
    /** @var string */
1388
    public $method = 'GET';
1389
}
1390
1391
class GetPackageStorageCredential extends V20170801Roa
1392
{
1393
    /** @var string */
1394
    public $pathPattern = '/pop/v5/package_storage_credential';
1395
1396
    /** @var string */
1397
    public $method = 'GET';
1398
}
1399
1400
/**
1401
 * @method string getVpcId()
1402
 * @method string getNetworkMode()
1403
 */
1404
class ListEcsNotInCluster extends V20170801Roa
1405
{
1406
    /** @var string */
1407
    public $pathPattern = '/pop/v5/resource/ecs_not_in_cluster';
1408
1409
    /** @var string */
1410
    public $method = 'GET';
1411
1412
    /**
1413
     * @param string $value
1414
     *
1415
     * @return $this
1416
     */
1417
    public function withVpcId($value)
1418
    {
1419
        $this->data['VpcId'] = $value;
1420
        $this->options['query']['VpcId'] = $value;
1421
1422
        return $this;
1423
    }
1424
1425
    /**
1426
     * @param string $value
1427
     *
1428
     * @return $this
1429
     */
1430
    public function withNetworkMode($value)
1431
    {
1432
        $this->data['NetworkMode'] = $value;
1433
        $this->options['query']['NetworkMode'] = $value;
1434
1435
        return $this;
1436
    }
1437
}
1438
1439
/**
1440
 * @method string getSlbProtocol()
1441
 * @method string getPort()
1442
 * @method string getAppId()
1443
 * @method string getClusterId()
1444
 * @method string getType()
1445
 * @method string getTargetPort()
1446
 */
1447
class UpdateK8sSlb extends V20170801Roa
1448
{
1449
    /** @var string */
1450
    public $pathPattern = '/pop/v5/k8s/acs/k8s_slb_binding';
1451
1452
    /** @var string */
1453
    public $method = 'PUT';
1454
1455
    /**
1456
     * @param string $value
1457
     *
1458
     * @return $this
1459
     */
1460
    public function withSlbProtocol($value)
1461
    {
1462
        $this->data['SlbProtocol'] = $value;
1463
        $this->options['query']['SlbProtocol'] = $value;
1464
1465
        return $this;
1466
    }
1467
1468
    /**
1469
     * @param string $value
1470
     *
1471
     * @return $this
1472
     */
1473
    public function withPort($value)
1474
    {
1475
        $this->data['Port'] = $value;
1476
        $this->options['query']['Port'] = $value;
1477
1478
        return $this;
1479
    }
1480
1481
    /**
1482
     * @param string $value
1483
     *
1484
     * @return $this
1485
     */
1486
    public function withAppId($value)
1487
    {
1488
        $this->data['AppId'] = $value;
1489
        $this->options['query']['AppId'] = $value;
1490
1491
        return $this;
1492
    }
1493
1494
    /**
1495
     * @param string $value
1496
     *
1497
     * @return $this
1498
     */
1499
    public function withClusterId($value)
1500
    {
1501
        $this->data['ClusterId'] = $value;
1502
        $this->options['query']['ClusterId'] = $value;
1503
1504
        return $this;
1505
    }
1506
1507
    /**
1508
     * @param string $value
1509
     *
1510
     * @return $this
1511
     */
1512
    public function withType($value)
1513
    {
1514
        $this->data['Type'] = $value;
1515
        $this->options['query']['Type'] = $value;
1516
1517
        return $this;
1518
    }
1519
1520
    /**
1521
     * @param string $value
1522
     *
1523
     * @return $this
1524
     */
1525
    public function withTargetPort($value)
1526
    {
1527
        $this->data['TargetPort'] = $value;
1528
        $this->options['query']['TargetPort'] = $value;
1529
1530
        return $this;
1531
    }
1532
}
1533
1534
/**
1535
 * @method string getSlbId()
1536
 * @method string getSlbProtocol()
1537
 * @method string getPort()
1538
 * @method string getAppId()
1539
 * @method string getClusterId()
1540
 * @method string getType()
1541
 * @method string getTargetPort()
1542
 */
1543
class BindK8sSlb extends V20170801Roa
1544
{
1545
    /** @var string */
1546
    public $pathPattern = '/pop/v5/k8s/acs/k8s_slb_binding';
1547
1548
    /**
1549
     * @param string $value
1550
     *
1551
     * @return $this
1552
     */
1553
    public function withSlbId($value)
1554
    {
1555
        $this->data['SlbId'] = $value;
1556
        $this->options['query']['SlbId'] = $value;
1557
1558
        return $this;
1559
    }
1560
1561
    /**
1562
     * @param string $value
1563
     *
1564
     * @return $this
1565
     */
1566
    public function withSlbProtocol($value)
1567
    {
1568
        $this->data['SlbProtocol'] = $value;
1569
        $this->options['query']['SlbProtocol'] = $value;
1570
1571
        return $this;
1572
    }
1573
1574
    /**
1575
     * @param string $value
1576
     *
1577
     * @return $this
1578
     */
1579
    public function withPort($value)
1580
    {
1581
        $this->data['Port'] = $value;
1582
        $this->options['query']['Port'] = $value;
1583
1584
        return $this;
1585
    }
1586
1587
    /**
1588
     * @param string $value
1589
     *
1590
     * @return $this
1591
     */
1592
    public function withAppId($value)
1593
    {
1594
        $this->data['AppId'] = $value;
1595
        $this->options['query']['AppId'] = $value;
1596
1597
        return $this;
1598
    }
1599
1600
    /**
1601
     * @param string $value
1602
     *
1603
     * @return $this
1604
     */
1605
    public function withClusterId($value)
1606
    {
1607
        $this->data['ClusterId'] = $value;
1608
        $this->options['query']['ClusterId'] = $value;
1609
1610
        return $this;
1611
    }
1612
1613
    /**
1614
     * @param string $value
1615
     *
1616
     * @return $this
1617
     */
1618
    public function withType($value)
1619
    {
1620
        $this->data['Type'] = $value;
1621
        $this->options['query']['Type'] = $value;
1622
1623
        return $this;
1624
    }
1625
1626
    /**
1627
     * @param string $value
1628
     *
1629
     * @return $this
1630
     */
1631
    public function withTargetPort($value)
1632
    {
1633
        $this->data['TargetPort'] = $value;
1634
        $this->options['query']['TargetPort'] = $value;
1635
1636
        return $this;
1637
    }
1638
}
1639
1640
/**
1641
 * @method string getAppId()
1642
 * @method string getGroupId()
1643
 */
1644
class ListScalingRecords extends V20170801Roa
1645
{
1646
    /** @var string */
1647
    public $pathPattern = '/pop/v5/app/scaling_records';
1648
1649
    /** @var string */
1650
    public $method = 'GET';
1651
1652
    /**
1653
     * @param string $value
1654
     *
1655
     * @return $this
1656
     */
1657
    public function withAppId($value)
1658
    {
1659
        $this->data['AppId'] = $value;
1660
        $this->options['query']['AppId'] = $value;
1661
1662
        return $this;
1663
    }
1664
1665
    /**
1666
     * @param string $value
1667
     *
1668
     * @return $this
1669
     */
1670
    public function withGroupId($value)
1671
    {
1672
        $this->data['GroupId'] = $value;
1673
        $this->options['query']['GroupId'] = $value;
1674
1675
        return $this;
1676
    }
1677
}
1678
1679
/**
1680
 * @method string getAppId()
1681
 * @method string getClusterId()
1682
 * @method string getType()
1683
 */
1684
class UnbindK8sSlb extends V20170801Roa
1685
{
1686
    /** @var string */
1687
    public $pathPattern = '/pop/v5/k8s/acs/k8s_slb_binding';
1688
1689
    /** @var string */
1690
    public $method = 'DELETE';
1691
1692
    /**
1693
     * @param string $value
1694
     *
1695
     * @return $this
1696
     */
1697
    public function withAppId($value)
1698
    {
1699
        $this->data['AppId'] = $value;
1700
        $this->options['query']['AppId'] = $value;
1701
1702
        return $this;
1703
    }
1704
1705
    /**
1706
     * @param string $value
1707
     *
1708
     * @return $this
1709
     */
1710
    public function withClusterId($value)
1711
    {
1712
        $this->data['ClusterId'] = $value;
1713
        $this->options['query']['ClusterId'] = $value;
1714
1715
        return $this;
1716
    }
1717
1718
    /**
1719
     * @param string $value
1720
     *
1721
     * @return $this
1722
     */
1723
    public function withType($value)
1724
    {
1725
        $this->data['Type'] = $value;
1726
        $this->options['query']['Type'] = $value;
1727
1728
        return $this;
1729
    }
1730
}
1731
1732
/**
1733
 * @method string getAppId()
1734
 * @method string getMemoryLimit()
1735
 * @method string getClusterId()
1736
 * @method string getCpuLimit()
1737
 */
1738
class UpdateK8sApplicationConfig extends V20170801Roa
1739
{
1740
    /** @var string */
1741
    public $pathPattern = '/pop/v5/k8s/acs/k8s_app_configuration';
1742
1743
    /** @var string */
1744
    public $method = 'PUT';
1745
1746
    /**
1747
     * @param string $value
1748
     *
1749
     * @return $this
1750
     */
1751
    public function withAppId($value)
1752
    {
1753
        $this->data['AppId'] = $value;
1754
        $this->options['query']['AppId'] = $value;
1755
1756
        return $this;
1757
    }
1758
1759
    /**
1760
     * @param string $value
1761
     *
1762
     * @return $this
1763
     */
1764
    public function withMemoryLimit($value)
1765
    {
1766
        $this->data['MemoryLimit'] = $value;
1767
        $this->options['query']['MemoryLimit'] = $value;
1768
1769
        return $this;
1770
    }
1771
1772
    /**
1773
     * @param string $value
1774
     *
1775
     * @return $this
1776
     */
1777
    public function withClusterId($value)
1778
    {
1779
        $this->data['ClusterId'] = $value;
1780
        $this->options['query']['ClusterId'] = $value;
1781
1782
        return $this;
1783
    }
1784
1785
    /**
1786
     * @param string $value
1787
     *
1788
     * @return $this
1789
     */
1790
    public function withCpuLimit($value)
1791
    {
1792
        $this->data['CpuLimit'] = $value;
1793
        $this->options['query']['CpuLimit'] = $value;
1794
1795
        return $this;
1796
    }
1797
}
1798
1799
/**
1800
 * @method string getClusterId()
1801
 */
1802
class ImportK8sCluster extends V20170801Roa
1803
{
1804
    /** @var string */
1805
    public $pathPattern = '/pop/v5/import_k8s_cluster';
1806
1807
    /**
1808
     * @param string $value
1809
     *
1810
     * @return $this
1811
     */
1812
    public function withClusterId($value)
1813
    {
1814
        $this->data['ClusterId'] = $value;
1815
        $this->options['query']['ClusterId'] = $value;
1816
1817
        return $this;
1818
    }
1819
}
1820
1821
/**
1822
 * @method string getNasId()
1823
 * @method string getRepoId()
1824
 * @method string getInternetTargetPort()
1825
 * @method string getWebContainer()
1826
 * @method string getIntranetSlbId()
1827
 * @method string getCommandArgs()
1828
 * @method string getReadiness()
1829
 * @method string getLiveness()
1830
 * @method string getInternetSlbPort()
1831
 * @method string getEnvs()
1832
 * @method string getRequestsMem()
1833
 * @method string getPackageVersion()
1834
 * @method string getStorageType()
1835
 * @method string getLimitMem()
1836
 * @method string getEdasContainerVersion()
1837
 * @method string getAppName()
1838
 * @method string getInternetSlbId()
1839
 * @method string getLogicalRegionId()
1840
 * @method string getPackageUrl()
1841
 * @method string getInternetSlbProtocol()
1842
 * @method string getIntranetSlbPort()
1843
 * @method string getPreStop()
1844
 * @method string getMountDescs()
1845
 * @method string getReplicas()
1846
 * @method string getLimitCpu()
1847
 * @method string getClusterId()
1848
 * @method string getIntranetTargetPort()
1849
 * @method string getLocalVolume()
1850
 * @method string getCommand()
1851
 * @method string getJDK()
1852
 * @method string getIntranetSlbProtocol()
1853
 * @method string getImageUrl()
1854
 * @method string getNamespace()
1855
 * @method string getApplicationDescription()
1856
 * @method string getPackageType()
1857
 * @method string getRequestsCpu()
1858
 * @method string getPostStart()
1859
 */
1860
class InsertK8sApplication extends V20170801Roa
1861
{
1862
    /** @var string */
1863
    public $pathPattern = '/pop/v5/k8s/acs/create_k8s_app';
1864
1865
    /**
1866
     * @param string $value
1867
     *
1868
     * @return $this
1869
     */
1870
    public function withNasId($value)
1871
    {
1872
        $this->data['NasId'] = $value;
1873
        $this->options['query']['NasId'] = $value;
1874
1875
        return $this;
1876
    }
1877
1878
    /**
1879
     * @param string $value
1880
     *
1881
     * @return $this
1882
     */
1883
    public function withRepoId($value)
1884
    {
1885
        $this->data['RepoId'] = $value;
1886
        $this->options['query']['RepoId'] = $value;
1887
1888
        return $this;
1889
    }
1890
1891
    /**
1892
     * @param string $value
1893
     *
1894
     * @return $this
1895
     */
1896
    public function withInternetTargetPort($value)
1897
    {
1898
        $this->data['InternetTargetPort'] = $value;
1899
        $this->options['query']['InternetTargetPort'] = $value;
1900
1901
        return $this;
1902
    }
1903
1904
    /**
1905
     * @param string $value
1906
     *
1907
     * @return $this
1908
     */
1909
    public function withWebContainer($value)
1910
    {
1911
        $this->data['WebContainer'] = $value;
1912
        $this->options['query']['WebContainer'] = $value;
1913
1914
        return $this;
1915
    }
1916
1917
    /**
1918
     * @param string $value
1919
     *
1920
     * @return $this
1921
     */
1922
    public function withIntranetSlbId($value)
1923
    {
1924
        $this->data['IntranetSlbId'] = $value;
1925
        $this->options['query']['IntranetSlbId'] = $value;
1926
1927
        return $this;
1928
    }
1929
1930
    /**
1931
     * @param string $value
1932
     *
1933
     * @return $this
1934
     */
1935
    public function withCommandArgs($value)
1936
    {
1937
        $this->data['CommandArgs'] = $value;
1938
        $this->options['query']['CommandArgs'] = $value;
1939
1940
        return $this;
1941
    }
1942
1943
    /**
1944
     * @param string $value
1945
     *
1946
     * @return $this
1947
     */
1948
    public function withReadiness($value)
1949
    {
1950
        $this->data['Readiness'] = $value;
1951
        $this->options['query']['Readiness'] = $value;
1952
1953
        return $this;
1954
    }
1955
1956
    /**
1957
     * @param string $value
1958
     *
1959
     * @return $this
1960
     */
1961
    public function withLiveness($value)
1962
    {
1963
        $this->data['Liveness'] = $value;
1964
        $this->options['query']['Liveness'] = $value;
1965
1966
        return $this;
1967
    }
1968
1969
    /**
1970
     * @param string $value
1971
     *
1972
     * @return $this
1973
     */
1974
    public function withInternetSlbPort($value)
1975
    {
1976
        $this->data['InternetSlbPort'] = $value;
1977
        $this->options['query']['InternetSlbPort'] = $value;
1978
1979
        return $this;
1980
    }
1981
1982
    /**
1983
     * @param string $value
1984
     *
1985
     * @return $this
1986
     */
1987
    public function withEnvs($value)
1988
    {
1989
        $this->data['Envs'] = $value;
1990
        $this->options['query']['Envs'] = $value;
1991
1992
        return $this;
1993
    }
1994
1995
    /**
1996
     * @param string $value
1997
     *
1998
     * @return $this
1999
     */
2000
    public function withRequestsMem($value)
2001
    {
2002
        $this->data['RequestsMem'] = $value;
2003
        $this->options['query']['RequestsMem'] = $value;
2004
2005
        return $this;
2006
    }
2007
2008
    /**
2009
     * @param string $value
2010
     *
2011
     * @return $this
2012
     */
2013
    public function withPackageVersion($value)
2014
    {
2015
        $this->data['PackageVersion'] = $value;
2016
        $this->options['query']['PackageVersion'] = $value;
2017
2018
        return $this;
2019
    }
2020
2021
    /**
2022
     * @param string $value
2023
     *
2024
     * @return $this
2025
     */
2026
    public function withStorageType($value)
2027
    {
2028
        $this->data['StorageType'] = $value;
2029
        $this->options['query']['StorageType'] = $value;
2030
2031
        return $this;
2032
    }
2033
2034
    /**
2035
     * @param string $value
2036
     *
2037
     * @return $this
2038
     */
2039
    public function withLimitMem($value)
2040
    {
2041
        $this->data['LimitMem'] = $value;
2042
        $this->options['query']['LimitMem'] = $value;
2043
2044
        return $this;
2045
    }
2046
2047
    /**
2048
     * @param string $value
2049
     *
2050
     * @return $this
2051
     */
2052
    public function withEdasContainerVersion($value)
2053
    {
2054
        $this->data['EdasContainerVersion'] = $value;
2055
        $this->options['query']['EdasContainerVersion'] = $value;
2056
2057
        return $this;
2058
    }
2059
2060
    /**
2061
     * @param string $value
2062
     *
2063
     * @return $this
2064
     */
2065
    public function withAppName($value)
2066
    {
2067
        $this->data['AppName'] = $value;
2068
        $this->options['query']['AppName'] = $value;
2069
2070
        return $this;
2071
    }
2072
2073
    /**
2074
     * @param string $value
2075
     *
2076
     * @return $this
2077
     */
2078
    public function withInternetSlbId($value)
2079
    {
2080
        $this->data['InternetSlbId'] = $value;
2081
        $this->options['query']['InternetSlbId'] = $value;
2082
2083
        return $this;
2084
    }
2085
2086
    /**
2087
     * @param string $value
2088
     *
2089
     * @return $this
2090
     */
2091
    public function withLogicalRegionId($value)
2092
    {
2093
        $this->data['LogicalRegionId'] = $value;
2094
        $this->options['query']['LogicalRegionId'] = $value;
2095
2096
        return $this;
2097
    }
2098
2099
    /**
2100
     * @param string $value
2101
     *
2102
     * @return $this
2103
     */
2104
    public function withPackageUrl($value)
2105
    {
2106
        $this->data['PackageUrl'] = $value;
2107
        $this->options['query']['PackageUrl'] = $value;
2108
2109
        return $this;
2110
    }
2111
2112
    /**
2113
     * @param string $value
2114
     *
2115
     * @return $this
2116
     */
2117
    public function withInternetSlbProtocol($value)
2118
    {
2119
        $this->data['InternetSlbProtocol'] = $value;
2120
        $this->options['query']['InternetSlbProtocol'] = $value;
2121
2122
        return $this;
2123
    }
2124
2125
    /**
2126
     * @param string $value
2127
     *
2128
     * @return $this
2129
     */
2130
    public function withIntranetSlbPort($value)
2131
    {
2132
        $this->data['IntranetSlbPort'] = $value;
2133
        $this->options['query']['IntranetSlbPort'] = $value;
2134
2135
        return $this;
2136
    }
2137
2138
    /**
2139
     * @param string $value
2140
     *
2141
     * @return $this
2142
     */
2143
    public function withPreStop($value)
2144
    {
2145
        $this->data['PreStop'] = $value;
2146
        $this->options['query']['PreStop'] = $value;
2147
2148
        return $this;
2149
    }
2150
2151
    /**
2152
     * @param string $value
2153
     *
2154
     * @return $this
2155
     */
2156
    public function withMountDescs($value)
2157
    {
2158
        $this->data['MountDescs'] = $value;
2159
        $this->options['query']['MountDescs'] = $value;
2160
2161
        return $this;
2162
    }
2163
2164
    /**
2165
     * @param string $value
2166
     *
2167
     * @return $this
2168
     */
2169
    public function withReplicas($value)
2170
    {
2171
        $this->data['Replicas'] = $value;
2172
        $this->options['query']['Replicas'] = $value;
2173
2174
        return $this;
2175
    }
2176
2177
    /**
2178
     * @param string $value
2179
     *
2180
     * @return $this
2181
     */
2182
    public function withLimitCpu($value)
2183
    {
2184
        $this->data['LimitCpu'] = $value;
2185
        $this->options['query']['LimitCpu'] = $value;
2186
2187
        return $this;
2188
    }
2189
2190
    /**
2191
     * @param string $value
2192
     *
2193
     * @return $this
2194
     */
2195
    public function withClusterId($value)
2196
    {
2197
        $this->data['ClusterId'] = $value;
2198
        $this->options['query']['ClusterId'] = $value;
2199
2200
        return $this;
2201
    }
2202
2203
    /**
2204
     * @param string $value
2205
     *
2206
     * @return $this
2207
     */
2208
    public function withIntranetTargetPort($value)
2209
    {
2210
        $this->data['IntranetTargetPort'] = $value;
2211
        $this->options['query']['IntranetTargetPort'] = $value;
2212
2213
        return $this;
2214
    }
2215
2216
    /**
2217
     * @param string $value
2218
     *
2219
     * @return $this
2220
     */
2221
    public function withLocalVolume($value)
2222
    {
2223
        $this->data['LocalVolume'] = $value;
2224
        $this->options['query']['LocalVolume'] = $value;
2225
2226
        return $this;
2227
    }
2228
2229
    /**
2230
     * @param string $value
2231
     *
2232
     * @return $this
2233
     */
2234
    public function withCommand($value)
2235
    {
2236
        $this->data['Command'] = $value;
2237
        $this->options['query']['Command'] = $value;
2238
2239
        return $this;
2240
    }
2241
2242
    /**
2243
     * @param string $value
2244
     *
2245
     * @return $this
2246
     */
2247
    public function withJDK($value)
2248
    {
2249
        $this->data['JDK'] = $value;
2250
        $this->options['query']['JDK'] = $value;
2251
2252
        return $this;
2253
    }
2254
2255
    /**
2256
     * @param string $value
2257
     *
2258
     * @return $this
2259
     */
2260
    public function withIntranetSlbProtocol($value)
2261
    {
2262
        $this->data['IntranetSlbProtocol'] = $value;
2263
        $this->options['query']['IntranetSlbProtocol'] = $value;
2264
2265
        return $this;
2266
    }
2267
2268
    /**
2269
     * @param string $value
2270
     *
2271
     * @return $this
2272
     */
2273
    public function withImageUrl($value)
2274
    {
2275
        $this->data['ImageUrl'] = $value;
2276
        $this->options['query']['ImageUrl'] = $value;
2277
2278
        return $this;
2279
    }
2280
2281
    /**
2282
     * @param string $value
2283
     *
2284
     * @return $this
2285
     */
2286
    public function withNamespace($value)
2287
    {
2288
        $this->data['Namespace'] = $value;
2289
        $this->options['query']['Namespace'] = $value;
2290
2291
        return $this;
2292
    }
2293
2294
    /**
2295
     * @param string $value
2296
     *
2297
     * @return $this
2298
     */
2299
    public function withApplicationDescription($value)
2300
    {
2301
        $this->data['ApplicationDescription'] = $value;
2302
        $this->options['query']['ApplicationDescription'] = $value;
2303
2304
        return $this;
2305
    }
2306
2307
    /**
2308
     * @param string $value
2309
     *
2310
     * @return $this
2311
     */
2312
    public function withPackageType($value)
2313
    {
2314
        $this->data['PackageType'] = $value;
2315
        $this->options['query']['PackageType'] = $value;
2316
2317
        return $this;
2318
    }
2319
2320
    /**
2321
     * @param string $value
2322
     *
2323
     * @return $this
2324
     */
2325
    public function withRequestsCpu($value)
2326
    {
2327
        $this->data['RequestsCpu'] = $value;
2328
        $this->options['query']['RequestsCpu'] = $value;
2329
2330
        return $this;
2331
    }
2332
2333
    /**
2334
     * @param string $value
2335
     *
2336
     * @return $this
2337
     */
2338
    public function withPostStart($value)
2339
    {
2340
        $this->data['PostStart'] = $value;
2341
        $this->options['query']['PostStart'] = $value;
2342
2343
        return $this;
2344
    }
2345
}
2346
2347
/**
2348
 * @method string getNasId()
2349
 * @method string getWebContainer()
2350
 * @method string getReadiness()
2351
 * @method string getBatchWaitTime()
2352
 * @method string getLiveness()
2353
 * @method string getEnvs()
2354
 * @method string getCpuLimit()
2355
 * @method string getPackageVersion()
2356
 * @method string getStorageType()
2357
 * @method string getEdasContainerVersion()
2358
 * @method string getPackageUrl()
2359
 * @method string getMemoryLimit()
2360
 * @method string getImageTag()
2361
 * @method string getMemoryRequest()
2362
 * @method string getImage()
2363
 * @method string getPreStop()
2364
 * @method string getMountDescs()
2365
 * @method string getReplicas()
2366
 * @method string getCpuRequest()
2367
 * @method string getLocalVolume()
2368
 * @method string getCommand()
2369
 * @method string getArgs()
2370
 * @method string getJDK()
2371
 * @method string getAppId()
2372
 * @method string getPostStart()
2373
 */
2374
class DeployK8sApplication extends V20170801Roa
2375
{
2376
    /** @var string */
2377
    public $pathPattern = '/pop/v5/k8s/acs/k8s_apps';
2378
2379
    /**
2380
     * @param string $value
2381
     *
2382
     * @return $this
2383
     */
2384
    public function withNasId($value)
2385
    {
2386
        $this->data['NasId'] = $value;
2387
        $this->options['query']['NasId'] = $value;
2388
2389
        return $this;
2390
    }
2391
2392
    /**
2393
     * @param string $value
2394
     *
2395
     * @return $this
2396
     */
2397
    public function withWebContainer($value)
2398
    {
2399
        $this->data['WebContainer'] = $value;
2400
        $this->options['query']['WebContainer'] = $value;
2401
2402
        return $this;
2403
    }
2404
2405
    /**
2406
     * @param string $value
2407
     *
2408
     * @return $this
2409
     */
2410
    public function withReadiness($value)
2411
    {
2412
        $this->data['Readiness'] = $value;
2413
        $this->options['query']['Readiness'] = $value;
2414
2415
        return $this;
2416
    }
2417
2418
    /**
2419
     * @param string $value
2420
     *
2421
     * @return $this
2422
     */
2423
    public function withBatchWaitTime($value)
2424
    {
2425
        $this->data['BatchWaitTime'] = $value;
2426
        $this->options['query']['BatchWaitTime'] = $value;
2427
2428
        return $this;
2429
    }
2430
2431
    /**
2432
     * @param string $value
2433
     *
2434
     * @return $this
2435
     */
2436
    public function withLiveness($value)
2437
    {
2438
        $this->data['Liveness'] = $value;
2439
        $this->options['query']['Liveness'] = $value;
2440
2441
        return $this;
2442
    }
2443
2444
    /**
2445
     * @param string $value
2446
     *
2447
     * @return $this
2448
     */
2449
    public function withEnvs($value)
2450
    {
2451
        $this->data['Envs'] = $value;
2452
        $this->options['query']['Envs'] = $value;
2453
2454
        return $this;
2455
    }
2456
2457
    /**
2458
     * @param string $value
2459
     *
2460
     * @return $this
2461
     */
2462
    public function withCpuLimit($value)
2463
    {
2464
        $this->data['CpuLimit'] = $value;
2465
        $this->options['query']['CpuLimit'] = $value;
2466
2467
        return $this;
2468
    }
2469
2470
    /**
2471
     * @param string $value
2472
     *
2473
     * @return $this
2474
     */
2475
    public function withPackageVersion($value)
2476
    {
2477
        $this->data['PackageVersion'] = $value;
2478
        $this->options['query']['PackageVersion'] = $value;
2479
2480
        return $this;
2481
    }
2482
2483
    /**
2484
     * @param string $value
2485
     *
2486
     * @return $this
2487
     */
2488
    public function withStorageType($value)
2489
    {
2490
        $this->data['StorageType'] = $value;
2491
        $this->options['query']['StorageType'] = $value;
2492
2493
        return $this;
2494
    }
2495
2496
    /**
2497
     * @param string $value
2498
     *
2499
     * @return $this
2500
     */
2501
    public function withEdasContainerVersion($value)
2502
    {
2503
        $this->data['EdasContainerVersion'] = $value;
2504
        $this->options['query']['EdasContainerVersion'] = $value;
2505
2506
        return $this;
2507
    }
2508
2509
    /**
2510
     * @param string $value
2511
     *
2512
     * @return $this
2513
     */
2514
    public function withPackageUrl($value)
2515
    {
2516
        $this->data['PackageUrl'] = $value;
2517
        $this->options['query']['PackageUrl'] = $value;
2518
2519
        return $this;
2520
    }
2521
2522
    /**
2523
     * @param string $value
2524
     *
2525
     * @return $this
2526
     */
2527
    public function withMemoryLimit($value)
2528
    {
2529
        $this->data['MemoryLimit'] = $value;
2530
        $this->options['query']['MemoryLimit'] = $value;
2531
2532
        return $this;
2533
    }
2534
2535
    /**
2536
     * @param string $value
2537
     *
2538
     * @return $this
2539
     */
2540
    public function withImageTag($value)
2541
    {
2542
        $this->data['ImageTag'] = $value;
2543
        $this->options['query']['ImageTag'] = $value;
2544
2545
        return $this;
2546
    }
2547
2548
    /**
2549
     * @param string $value
2550
     *
2551
     * @return $this
2552
     */
2553
    public function withMemoryRequest($value)
2554
    {
2555
        $this->data['MemoryRequest'] = $value;
2556
        $this->options['query']['MemoryRequest'] = $value;
2557
2558
        return $this;
2559
    }
2560
2561
    /**
2562
     * @param string $value
2563
     *
2564
     * @return $this
2565
     */
2566
    public function withImage($value)
2567
    {
2568
        $this->data['Image'] = $value;
2569
        $this->options['query']['Image'] = $value;
2570
2571
        return $this;
2572
    }
2573
2574
    /**
2575
     * @param string $value
2576
     *
2577
     * @return $this
2578
     */
2579
    public function withPreStop($value)
2580
    {
2581
        $this->data['PreStop'] = $value;
2582
        $this->options['query']['PreStop'] = $value;
2583
2584
        return $this;
2585
    }
2586
2587
    /**
2588
     * @param string $value
2589
     *
2590
     * @return $this
2591
     */
2592
    public function withMountDescs($value)
2593
    {
2594
        $this->data['MountDescs'] = $value;
2595
        $this->options['query']['MountDescs'] = $value;
2596
2597
        return $this;
2598
    }
2599
2600
    /**
2601
     * @param string $value
2602
     *
2603
     * @return $this
2604
     */
2605
    public function withReplicas($value)
2606
    {
2607
        $this->data['Replicas'] = $value;
2608
        $this->options['query']['Replicas'] = $value;
2609
2610
        return $this;
2611
    }
2612
2613
    /**
2614
     * @param string $value
2615
     *
2616
     * @return $this
2617
     */
2618
    public function withCpuRequest($value)
2619
    {
2620
        $this->data['CpuRequest'] = $value;
2621
        $this->options['query']['CpuRequest'] = $value;
2622
2623
        return $this;
2624
    }
2625
2626
    /**
2627
     * @param string $value
2628
     *
2629
     * @return $this
2630
     */
2631
    public function withLocalVolume($value)
2632
    {
2633
        $this->data['LocalVolume'] = $value;
2634
        $this->options['query']['LocalVolume'] = $value;
2635
2636
        return $this;
2637
    }
2638
2639
    /**
2640
     * @param string $value
2641
     *
2642
     * @return $this
2643
     */
2644
    public function withCommand($value)
2645
    {
2646
        $this->data['Command'] = $value;
2647
        $this->options['query']['Command'] = $value;
2648
2649
        return $this;
2650
    }
2651
2652
    /**
2653
     * @param string $value
2654
     *
2655
     * @return $this
2656
     */
2657
    public function withArgs($value)
2658
    {
2659
        $this->data['Args'] = $value;
2660
        $this->options['query']['Args'] = $value;
2661
2662
        return $this;
2663
    }
2664
2665
    /**
2666
     * @param string $value
2667
     *
2668
     * @return $this
2669
     */
2670
    public function withJDK($value)
2671
    {
2672
        $this->data['JDK'] = $value;
2673
        $this->options['query']['JDK'] = $value;
2674
2675
        return $this;
2676
    }
2677
2678
    /**
2679
     * @param string $value
2680
     *
2681
     * @return $this
2682
     */
2683
    public function withAppId($value)
2684
    {
2685
        $this->data['AppId'] = $value;
2686
        $this->options['query']['AppId'] = $value;
2687
2688
        return $this;
2689
    }
2690
2691
    /**
2692
     * @param string $value
2693
     *
2694
     * @return $this
2695
     */
2696
    public function withPostStart($value)
2697
    {
2698
        $this->data['PostStart'] = $value;
2699
        $this->options['query']['PostStart'] = $value;
2700
2701
        return $this;
2702
    }
2703
}
2704
2705
/**
2706
 * @method string getReplicas()
2707
 * @method string getAppId()
2708
 */
2709
class ScaleK8sApplication extends V20170801Roa
2710
{
2711
    /** @var string */
2712
    public $pathPattern = '/pop/v5/k8s/acs/k8s_apps';
2713
2714
    /** @var string */
2715
    public $method = 'PUT';
2716
2717
    /**
2718
     * @param string $value
2719
     *
2720
     * @return $this
2721
     */
2722
    public function withReplicas($value)
2723
    {
2724
        $this->data['Replicas'] = $value;
2725
        $this->options['query']['Replicas'] = $value;
2726
2727
        return $this;
2728
    }
2729
2730
    /**
2731
     * @param string $value
2732
     *
2733
     * @return $this
2734
     */
2735
    public function withAppId($value)
2736
    {
2737
        $this->data['AppId'] = $value;
2738
        $this->options['query']['AppId'] = $value;
2739
2740
        return $this;
2741
    }
2742
}
2743
2744
/**
2745
 * @method string getAppId()
2746
 */
2747
class DeleteK8sApplication extends V20170801Roa
2748
{
2749
    /** @var string */
2750
    public $pathPattern = '/pop/v5/k8s/acs/k8s_apps';
2751
2752
    /** @var string */
2753
    public $method = 'DELETE';
2754
2755
    /**
2756
     * @param string $value
2757
     *
2758
     * @return $this
2759
     */
2760
    public function withAppId($value)
2761
    {
2762
        $this->data['AppId'] = $value;
2763
        $this->options['query']['AppId'] = $value;
2764
2765
        return $this;
2766
    }
2767
}
2768
2769
/**
2770
 * @method string getAppId()
2771
 * @method string getGroupId()
2772
 */
2773
class ListScalingRules extends V20170801Roa
2774
{
2775
    /** @var string */
2776
    public $pathPattern = '/pop/v5/app/scaling_records';
2777
2778
    /** @var string */
2779
    public $method = 'GET';
2780
2781
    /**
2782
     * @param string $value
2783
     *
2784
     * @return $this
2785
     */
2786
    public function withAppId($value)
2787
    {
2788
        $this->data['AppId'] = $value;
2789
        $this->options['query']['AppId'] = $value;
2790
2791
        return $this;
2792
    }
2793
2794
    /**
2795
     * @param string $value
2796
     *
2797
     * @return $this
2798
     */
2799
    public function withGroupId($value)
2800
    {
2801
        $this->data['GroupId'] = $value;
2802
        $this->options['query']['GroupId'] = $value;
2803
2804
        return $this;
2805
    }
2806
}
2807
2808
/**
2809
 * @method string getInStep()
2810
 * @method string getOutDuration()
2811
 * @method string getOutInstanceNum()
2812
 * @method string getOutRt()
2813
 * @method string getOutLoad()
2814
 * @method string getInInstanceNum()
2815
 * @method string getInLoad()
2816
 * @method string getGroupId()
2817
 * @method string getOutStep()
2818
 * @method string getOutCpu()
2819
 * @method string getOutEnable()
2820
 * @method string getOutCondition()
2821
 * @method string getInDuration()
2822
 * @method string getInCondition()
2823
 * @method string getInEnable()
2824
 * @method string getInRt()
2825
 * @method string getAppId()
2826
 * @method string getInCpu()
2827
 */
2828
class InsertScalingRule extends V20170801Roa
2829
{
2830
    /** @var string */
2831
    public $pathPattern = '/pop/v5/app/scaling_rules';
2832
2833
    /**
2834
     * @param string $value
2835
     *
2836
     * @return $this
2837
     */
2838
    public function withInStep($value)
2839
    {
2840
        $this->data['InStep'] = $value;
2841
        $this->options['query']['InStep'] = $value;
2842
2843
        return $this;
2844
    }
2845
2846
    /**
2847
     * @param string $value
2848
     *
2849
     * @return $this
2850
     */
2851
    public function withOutDuration($value)
2852
    {
2853
        $this->data['OutDuration'] = $value;
2854
        $this->options['query']['OutDuration'] = $value;
2855
2856
        return $this;
2857
    }
2858
2859
    /**
2860
     * @param string $value
2861
     *
2862
     * @return $this
2863
     */
2864
    public function withOutInstanceNum($value)
2865
    {
2866
        $this->data['OutInstanceNum'] = $value;
2867
        $this->options['query']['OutInstanceNum'] = $value;
2868
2869
        return $this;
2870
    }
2871
2872
    /**
2873
     * @param string $value
2874
     *
2875
     * @return $this
2876
     */
2877
    public function withOutRt($value)
2878
    {
2879
        $this->data['OutRt'] = $value;
2880
        $this->options['query']['OutRt'] = $value;
2881
2882
        return $this;
2883
    }
2884
2885
    /**
2886
     * @param string $value
2887
     *
2888
     * @return $this
2889
     */
2890
    public function withOutLoad($value)
2891
    {
2892
        $this->data['OutLoad'] = $value;
2893
        $this->options['query']['OutLoad'] = $value;
2894
2895
        return $this;
2896
    }
2897
2898
    /**
2899
     * @param string $value
2900
     *
2901
     * @return $this
2902
     */
2903
    public function withInInstanceNum($value)
2904
    {
2905
        $this->data['InInstanceNum'] = $value;
2906
        $this->options['query']['InInstanceNum'] = $value;
2907
2908
        return $this;
2909
    }
2910
2911
    /**
2912
     * @param string $value
2913
     *
2914
     * @return $this
2915
     */
2916
    public function withInLoad($value)
2917
    {
2918
        $this->data['InLoad'] = $value;
2919
        $this->options['query']['InLoad'] = $value;
2920
2921
        return $this;
2922
    }
2923
2924
    /**
2925
     * @param string $value
2926
     *
2927
     * @return $this
2928
     */
2929
    public function withGroupId($value)
2930
    {
2931
        $this->data['GroupId'] = $value;
2932
        $this->options['query']['GroupId'] = $value;
2933
2934
        return $this;
2935
    }
2936
2937
    /**
2938
     * @param string $value
2939
     *
2940
     * @return $this
2941
     */
2942
    public function withOutStep($value)
2943
    {
2944
        $this->data['OutStep'] = $value;
2945
        $this->options['query']['OutStep'] = $value;
2946
2947
        return $this;
2948
    }
2949
2950
    /**
2951
     * @param string $value
2952
     *
2953
     * @return $this
2954
     */
2955
    public function withOutCpu($value)
2956
    {
2957
        $this->data['OutCpu'] = $value;
2958
        $this->options['query']['OutCpu'] = $value;
2959
2960
        return $this;
2961
    }
2962
2963
    /**
2964
     * @param string $value
2965
     *
2966
     * @return $this
2967
     */
2968
    public function withOutEnable($value)
2969
    {
2970
        $this->data['OutEnable'] = $value;
2971
        $this->options['query']['OutEnable'] = $value;
2972
2973
        return $this;
2974
    }
2975
2976
    /**
2977
     * @param string $value
2978
     *
2979
     * @return $this
2980
     */
2981
    public function withOutCondition($value)
2982
    {
2983
        $this->data['OutCondition'] = $value;
2984
        $this->options['query']['OutCondition'] = $value;
2985
2986
        return $this;
2987
    }
2988
2989
    /**
2990
     * @param string $value
2991
     *
2992
     * @return $this
2993
     */
2994
    public function withInDuration($value)
2995
    {
2996
        $this->data['InDuration'] = $value;
2997
        $this->options['query']['InDuration'] = $value;
2998
2999
        return $this;
3000
    }
3001
3002
    /**
3003
     * @param string $value
3004
     *
3005
     * @return $this
3006
     */
3007
    public function withInCondition($value)
3008
    {
3009
        $this->data['InCondition'] = $value;
3010
        $this->options['query']['InCondition'] = $value;
3011
3012
        return $this;
3013
    }
3014
3015
    /**
3016
     * @param string $value
3017
     *
3018
     * @return $this
3019
     */
3020
    public function withInEnable($value)
3021
    {
3022
        $this->data['InEnable'] = $value;
3023
        $this->options['query']['InEnable'] = $value;
3024
3025
        return $this;
3026
    }
3027
3028
    /**
3029
     * @param string $value
3030
     *
3031
     * @return $this
3032
     */
3033
    public function withInRt($value)
3034
    {
3035
        $this->data['InRt'] = $value;
3036
        $this->options['query']['InRt'] = $value;
3037
3038
        return $this;
3039
    }
3040
3041
    /**
3042
     * @param string $value
3043
     *
3044
     * @return $this
3045
     */
3046
    public function withAppId($value)
3047
    {
3048
        $this->data['AppId'] = $value;
3049
        $this->options['query']['AppId'] = $value;
3050
3051
        return $this;
3052
    }
3053
3054
    /**
3055
     * @param string $value
3056
     *
3057
     * @return $this
3058
     */
3059
    public function withInCpu($value)
3060
    {
3061
        $this->data['InCpu'] = $value;
3062
        $this->options['query']['InCpu'] = $value;
3063
3064
        return $this;
3065
    }
3066
}
3067
3068
/**
3069
 * @method string getId()
3070
 */
3071
class DeleteResourceGroup extends V20170801Roa
3072
{
3073
    /** @var string */
3074
    public $pathPattern = '/pop/v5/res_group';
3075
3076
    /** @var string */
3077
    public $method = 'DELETE';
3078
3079
    /**
3080
     * @param string $value
3081
     *
3082
     * @return $this
3083
     */
3084
    public function withId($value)
3085
    {
3086
        $this->data['Id'] = $value;
3087
        $this->options['query']['Id'] = $value;
3088
3089
        return $this;
3090
    }
3091
}
3092
3093
/**
3094
 * @method string getName()
3095
 * @method string getDescription()
3096
 */
3097
class InsertResourceGroup extends V20170801Roa
3098
{
3099
    /** @var string */
3100
    public $pathPattern = '/pop/v5/res_group';
3101
3102
    /**
3103
     * @param string $value
3104
     *
3105
     * @return $this
3106
     */
3107
    public function withName($value)
3108
    {
3109
        $this->data['Name'] = $value;
3110
        $this->options['query']['Name'] = $value;
3111
3112
        return $this;
3113
    }
3114
3115
    /**
3116
     * @param string $value
3117
     *
3118
     * @return $this
3119
     */
3120
    public function withDescription($value)
3121
    {
3122
        $this->data['Description'] = $value;
3123
        $this->options['query']['Description'] = $value;
3124
3125
        return $this;
3126
    }
3127
}
3128
3129
/**
3130
 * @method string getNamespaceId()
3131
 */
3132
class GetSecureToken extends V20170801Roa
3133
{
3134
    /** @var string */
3135
    public $pathPattern = '/pop/v5/secure_token';
3136
3137
    /** @var string */
3138
    public $method = 'GET';
3139
3140
    /**
3141
     * @param string $value
3142
     *
3143
     * @return $this
3144
     */
3145
    public function withNamespaceId($value)
3146
    {
3147
        $this->data['NamespaceId'] = $value;
3148
        $this->options['query']['NamespaceId'] = $value;
3149
3150
        return $this;
3151
    }
3152
}
3153
3154
/**
3155
 * @method string getPassword()
3156
 * @method string getInstanceIds()
3157
 * @method string getTargetClusterId()
3158
 */
3159
class TransformClusterMember extends V20170801Roa
3160
{
3161
    /** @var string */
3162
    public $pathPattern = '/pop/v5/resource/transform_cluster_member';
3163
3164
    /**
3165
     * @param string $value
3166
     *
3167
     * @return $this
3168
     */
3169
    public function withPassword($value)
3170
    {
3171
        $this->data['Password'] = $value;
3172
        $this->options['query']['Password'] = $value;
3173
3174
        return $this;
3175
    }
3176
3177
    /**
3178
     * @param string $value
3179
     *
3180
     * @return $this
3181
     */
3182
    public function withInstanceIds($value)
3183
    {
3184
        $this->data['InstanceIds'] = $value;
3185
        $this->options['query']['InstanceIds'] = $value;
3186
3187
        return $this;
3188
    }
3189
3190
    /**
3191
     * @param string $value
3192
     *
3193
     * @return $this
3194
     */
3195
    public function withTargetClusterId($value)
3196
    {
3197
        $this->data['TargetClusterId'] = $value;
3198
        $this->options['query']['TargetClusterId'] = $value;
3199
3200
        return $this;
3201
    }
3202
}
3203
3204
/**
3205
 * @method string getClusterId()
3206
 */
3207
class ListConvertableEcu extends V20170801Roa
3208
{
3209
    /** @var string */
3210
    public $pathPattern = '/pop/v5/resource/convertable_ecu_list';
3211
3212
    /** @var string */
3213
    public $method = 'GET';
3214
3215
    /**
3216
     * @param string $value
3217
     *
3218
     * @return $this
3219
     */
3220
    public function withClusterId($value)
3221
    {
3222
        $this->data['ClusterId'] = $value;
3223
        $this->options['query']['clusterId'] = $value;
3224
3225
        return $this;
3226
    }
3227
}
3228
3229
/**
3230
 * @method string getPassword()
3231
 * @method string getInstanceIds()
3232
 * @method string getClusterId()
3233
 */
3234
class InsertClusterMember extends V20170801Roa
3235
{
3236
    /** @var string */
3237
    public $pathPattern = '/pop/v5/resource/cluster_member';
3238
3239
    /**
3240
     * @param string $value
3241
     *
3242
     * @return $this
3243
     */
3244
    public function withPassword($value)
3245
    {
3246
        $this->data['Password'] = $value;
3247
        $this->options['query']['password'] = $value;
3248
3249
        return $this;
3250
    }
3251
3252
    /**
3253
     * @param string $value
3254
     *
3255
     * @return $this
3256
     */
3257
    public function withInstanceIds($value)
3258
    {
3259
        $this->data['InstanceIds'] = $value;
3260
        $this->options['query']['instanceIds'] = $value;
3261
3262
        return $this;
3263
    }
3264
3265
    /**
3266
     * @param string $value
3267
     *
3268
     * @return $this
3269
     */
3270
    public function withClusterId($value)
3271
    {
3272
        $this->data['ClusterId'] = $value;
3273
        $this->options['query']['clusterId'] = $value;
3274
3275
        return $this;
3276
    }
3277
}
3278
3279
/**
3280
 * @method string getMem()
3281
 * @method string getLogicalRegionId()
3282
 * @method string getAppId()
3283
 * @method string getGroupId()
3284
 * @method string getInstanceNum()
3285
 * @method string getCpu()
3286
 * @method string getClusterId()
3287
 */
3288
class ListScaleOutEcu extends V20170801Roa
3289
{
3290
    /** @var string */
3291
    public $pathPattern = '/pop/v5/resource/scale_out_ecu_list';
3292
3293
    /**
3294
     * @param string $value
3295
     *
3296
     * @return $this
3297
     */
3298
    public function withMem($value)
3299
    {
3300
        $this->data['Mem'] = $value;
3301
        $this->options['query']['Mem'] = $value;
3302
3303
        return $this;
3304
    }
3305
3306
    /**
3307
     * @param string $value
3308
     *
3309
     * @return $this
3310
     */
3311
    public function withLogicalRegionId($value)
3312
    {
3313
        $this->data['LogicalRegionId'] = $value;
3314
        $this->options['query']['LogicalRegionId'] = $value;
3315
3316
        return $this;
3317
    }
3318
3319
    /**
3320
     * @param string $value
3321
     *
3322
     * @return $this
3323
     */
3324
    public function withAppId($value)
3325
    {
3326
        $this->data['AppId'] = $value;
3327
        $this->options['query']['AppId'] = $value;
3328
3329
        return $this;
3330
    }
3331
3332
    /**
3333
     * @param string $value
3334
     *
3335
     * @return $this
3336
     */
3337
    public function withGroupId($value)
3338
    {
3339
        $this->data['GroupId'] = $value;
3340
        $this->options['query']['GroupId'] = $value;
3341
3342
        return $this;
3343
    }
3344
3345
    /**
3346
     * @param string $value
3347
     *
3348
     * @return $this
3349
     */
3350
    public function withInstanceNum($value)
3351
    {
3352
        $this->data['InstanceNum'] = $value;
3353
        $this->options['query']['InstanceNum'] = $value;
3354
3355
        return $this;
3356
    }
3357
3358
    /**
3359
     * @param string $value
3360
     *
3361
     * @return $this
3362
     */
3363
    public function withCpu($value)
3364
    {
3365
        $this->data['Cpu'] = $value;
3366
        $this->options['query']['Cpu'] = $value;
3367
3368
        return $this;
3369
    }
3370
3371
    /**
3372
     * @param string $value
3373
     *
3374
     * @return $this
3375
     */
3376
    public function withClusterId($value)
3377
    {
3378
        $this->data['ClusterId'] = $value;
3379
        $this->options['query']['ClusterId'] = $value;
3380
3381
        return $this;
3382
    }
3383
}
3384
3385
/**
3386
 * @method string getAct()
3387
 * @method string getLogicalRegionId()
3388
 */
3389
class ListEcuByRegion extends V20170801Roa
3390
{
3391
    /** @var string */
3392
    public $pathPattern = '/pop/v5/resource/ecu_list';
3393
3394
    /** @var string */
3395
    public $method = 'GET';
3396
3397
    /**
3398
     * @param string $value
3399
     *
3400
     * @return $this
3401
     */
3402
    public function withAct($value)
3403
    {
3404
        $this->data['Act'] = $value;
3405
        $this->options['query']['Act'] = $value;
3406
3407
        return $this;
3408
    }
3409
3410
    /**
3411
     * @param string $value
3412
     *
3413
     * @return $this
3414
     */
3415
    public function withLogicalRegionId($value)
3416
    {
3417
        $this->data['LogicalRegionId'] = $value;
3418
        $this->options['query']['LogicalRegionId'] = $value;
3419
3420
        return $this;
3421
    }
3422
}
3423
3424
/**
3425
 * @method string getLogicalRegionId()
3426
 */
3427
class QueryMigrateEcuList extends V20170801Roa
3428
{
3429
    /** @var string */
3430
    public $pathPattern = '/pop/v5/resource/migrate_ecu_list';
3431
3432
    /** @var string */
3433
    public $method = 'GET';
3434
3435
    /**
3436
     * @param string $value
3437
     *
3438
     * @return $this
3439
     */
3440
    public function withLogicalRegionId($value)
3441
    {
3442
        $this->data['LogicalRegionId'] = $value;
3443
        $this->options['query']['LogicalRegionId'] = $value;
3444
3445
        return $this;
3446
    }
3447
}
3448
3449
/**
3450
 * @method string getLogicalRegionId()
3451
 */
3452
class QueryMigrateRegionList extends V20170801Roa
3453
{
3454
    /** @var string */
3455
    public $pathPattern = '/pop/v5/resource/migrate_region_select';
3456
3457
    /** @var string */
3458
    public $method = 'GET';
3459
3460
    /**
3461
     * @param string $value
3462
     *
3463
     * @return $this
3464
     */
3465
    public function withLogicalRegionId($value)
3466
    {
3467
        $this->data['LogicalRegionId'] = $value;
3468
        $this->options['query']['LogicalRegionId'] = $value;
3469
3470
        return $this;
3471
    }
3472
}
3473
3474
/**
3475
 * @method string getInstanceIds()
3476
 * @method string getLogicalRegionId()
3477
 */
3478
class MigrateEcu extends V20170801Roa
3479
{
3480
    /** @var string */
3481
    public $pathPattern = '/pop/v5/resource/migrate_ecu';
3482
3483
    /**
3484
     * @param string $value
3485
     *
3486
     * @return $this
3487
     */
3488
    public function withInstanceIds($value)
3489
    {
3490
        $this->data['InstanceIds'] = $value;
3491
        $this->options['query']['InstanceIds'] = $value;
3492
3493
        return $this;
3494
    }
3495
3496
    /**
3497
     * @param string $value
3498
     *
3499
     * @return $this
3500
     */
3501
    public function withLogicalRegionId($value)
3502
    {
3503
        $this->data['LogicalRegionId'] = $value;
3504
        $this->options['query']['LogicalRegionId'] = $value;
3505
3506
        return $this;
3507
    }
3508
}
3509
3510
/**
3511
 * @method string getPassword()
3512
 * @method string getInstanceId()
3513
 * @method string getAct()
3514
 * @method string getClusterId()
3515
 */
3516
class MigrateToRegion extends V20170801Roa
3517
{
3518
    /** @var string */
3519
    public $pathPattern = '/pop/v5/ecus';
3520
3521
    /** @var string */
3522
    public $method = 'GET';
3523
3524
    /**
3525
     * @param string $value
3526
     *
3527
     * @return $this
3528
     */
3529
    public function withPassword($value)
3530
    {
3531
        $this->data['Password'] = $value;
3532
        $this->options['query']['Password'] = $value;
3533
3534
        return $this;
3535
    }
3536
3537
    /**
3538
     * @param string $value
3539
     *
3540
     * @return $this
3541
     */
3542
    public function withInstanceId($value)
3543
    {
3544
        $this->data['InstanceId'] = $value;
3545
        $this->options['query']['InstanceId'] = $value;
3546
3547
        return $this;
3548
    }
3549
3550
    /**
3551
     * @param string $value
3552
     *
3553
     * @return $this
3554
     */
3555
    public function withAct($value)
3556
    {
3557
        $this->data['Act'] = $value;
3558
        $this->options['query']['Act'] = $value;
3559
3560
        return $this;
3561
    }
3562
3563
    /**
3564
     * @param string $value
3565
     *
3566
     * @return $this
3567
     */
3568
    public function withClusterId($value)
3569
    {
3570
        $this->data['ClusterId'] = $value;
3571
        $this->options['query']['ClusterId'] = $value;
3572
3573
        return $this;
3574
    }
3575
}
3576
3577
/**
3578
 * @method string getDebugEnable()
3579
 */
3580
class ListUserDefineRegion extends V20170801Roa
3581
{
3582
    /** @var string */
3583
    public $pathPattern = '/pop/v5/user_region_defs';
3584
3585
    /**
3586
     * @param string $value
3587
     *
3588
     * @return $this
3589
     */
3590
    public function withDebugEnable($value)
3591
    {
3592
        $this->data['DebugEnable'] = $value;
3593
        $this->options['query']['DebugEnable'] = $value;
3594
3595
        return $this;
3596
    }
3597
}
3598
3599
class ListAliyunRegion extends V20170801Roa
3600
{
3601
    /** @var string */
3602
    public $pathPattern = '/pop/v5/resource/region_list';
3603
}
3604
3605
/**
3606
 * @method string getDebugEnable()
3607
 * @method string getRegionTag()
3608
 * @method string getRegionName()
3609
 * @method string getDescription()
3610
 * @method string getId()
3611
 */
3612
class InsertOrUpdateRegion extends V20170801Roa
3613
{
3614
    /** @var string */
3615
    public $pathPattern = '/pop/v5/user_region_def';
3616
3617
    /**
3618
     * @param string $value
3619
     *
3620
     * @return $this
3621
     */
3622
    public function withDebugEnable($value)
3623
    {
3624
        $this->data['DebugEnable'] = $value;
3625
        $this->options['query']['DebugEnable'] = $value;
3626
3627
        return $this;
3628
    }
3629
3630
    /**
3631
     * @param string $value
3632
     *
3633
     * @return $this
3634
     */
3635
    public function withRegionTag($value)
3636
    {
3637
        $this->data['RegionTag'] = $value;
3638
        $this->options['query']['RegionTag'] = $value;
3639
3640
        return $this;
3641
    }
3642
3643
    /**
3644
     * @param string $value
3645
     *
3646
     * @return $this
3647
     */
3648
    public function withRegionName($value)
3649
    {
3650
        $this->data['RegionName'] = $value;
3651
        $this->options['query']['RegionName'] = $value;
3652
3653
        return $this;
3654
    }
3655
3656
    /**
3657
     * @param string $value
3658
     *
3659
     * @return $this
3660
     */
3661
    public function withDescription($value)
3662
    {
3663
        $this->data['Description'] = $value;
3664
        $this->options['query']['Description'] = $value;
3665
3666
        return $this;
3667
    }
3668
3669
    /**
3670
     * @param string $value
3671
     *
3672
     * @return $this
3673
     */
3674
    public function withId($value)
3675
    {
3676
        $this->data['Id'] = $value;
3677
        $this->options['query']['Id'] = $value;
3678
3679
        return $this;
3680
    }
3681
}
3682
3683
/**
3684
 * @method string getRegionTag()
3685
 * @method string getId()
3686
 */
3687
class DeleteUserDefineRegion extends V20170801Roa
3688
{
3689
    /** @var string */
3690
    public $pathPattern = '/pop/v5/user_region_def';
3691
3692
    /** @var string */
3693
    public $method = 'DELETE';
3694
3695
    /**
3696
     * @param string $value
3697
     *
3698
     * @return $this
3699
     */
3700
    public function withRegionTag($value)
3701
    {
3702
        $this->data['RegionTag'] = $value;
3703
        $this->options['query']['RegionTag'] = $value;
3704
3705
        return $this;
3706
    }
3707
3708
    /**
3709
     * @param string $value
3710
     *
3711
     * @return $this
3712
     */
3713
    public function withId($value)
3714
    {
3715
        $this->data['Id'] = $value;
3716
        $this->options['query']['Id'] = $value;
3717
3718
        return $this;
3719
    }
3720
}
3721
3722
/**
3723
 * @method string getMetric()
3724
 * @method string getAggregator()
3725
 * @method string getStart()
3726
 * @method string getEnd()
3727
 * @method string getInterval()
3728
 * @method string getTags()
3729
 */
3730
class QueryMonitorInfo extends V20170801Roa
3731
{
3732
    /** @var string */
3733
    public $pathPattern = '/pop/v5/monitor/queryMonitorInfo';
3734
3735
    /** @var string */
3736
    public $method = 'GET';
3737
3738
    /**
3739
     * @param string $value
3740
     *
3741
     * @return $this
3742
     */
3743
    public function withMetric($value)
3744
    {
3745
        $this->data['Metric'] = $value;
3746
        $this->options['query']['Metric'] = $value;
3747
3748
        return $this;
3749
    }
3750
3751
    /**
3752
     * @param string $value
3753
     *
3754
     * @return $this
3755
     */
3756
    public function withAggregator($value)
3757
    {
3758
        $this->data['Aggregator'] = $value;
3759
        $this->options['query']['Aggregator'] = $value;
3760
3761
        return $this;
3762
    }
3763
3764
    /**
3765
     * @param string $value
3766
     *
3767
     * @return $this
3768
     */
3769
    public function withStart($value)
3770
    {
3771
        $this->data['Start'] = $value;
3772
        $this->options['query']['Start'] = $value;
3773
3774
        return $this;
3775
    }
3776
3777
    /**
3778
     * @param string $value
3779
     *
3780
     * @return $this
3781
     */
3782
    public function withEnd($value)
3783
    {
3784
        $this->data['End'] = $value;
3785
        $this->options['query']['End'] = $value;
3786
3787
        return $this;
3788
    }
3789
3790
    /**
3791
     * @param string $value
3792
     *
3793
     * @return $this
3794
     */
3795
    public function withInterval($value)
3796
    {
3797
        $this->data['Interval'] = $value;
3798
        $this->options['query']['Interval'] = $value;
3799
3800
        return $this;
3801
    }
3802
3803
    /**
3804
     * @param string $value
3805
     *
3806
     * @return $this
3807
     */
3808
    public function withTags($value)
3809
    {
3810
        $this->data['Tags'] = $value;
3811
        $this->options['query']['Tags'] = $value;
3812
3813
        return $this;
3814
    }
3815
}
3816
3817
class ListVpc extends V20170801Roa
3818
{
3819
    /** @var string */
3820
    public $pathPattern = '/pop/v5/vpc_list';
3821
3822
    /** @var string */
3823
    public $method = 'GET';
3824
}
3825
3826
/**
3827
 * @method string getAppId()
3828
 * @method string getHcURL()
3829
 */
3830
class UpdateHealthCheckUrl extends V20170801Roa
3831
{
3832
    /** @var string */
3833
    public $pathPattern = '/pop/v5/app/modify_hc_url';
3834
3835
    /**
3836
     * @param string $value
3837
     *
3838
     * @return $this
3839
     */
3840
    public function withAppId($value)
3841
    {
3842
        $this->data['AppId'] = $value;
3843
        $this->options['query']['AppId'] = $value;
3844
3845
        return $this;
3846
    }
3847
3848
    /**
3849
     * @param string $value
3850
     *
3851
     * @return $this
3852
     */
3853
    public function withHcURL($value)
3854
    {
3855
        $this->data['HcURL'] = $value;
3856
        $this->options['query']['hcURL'] = $value;
3857
3858
        return $this;
3859
    }
3860
}
3861
3862
/**
3863
 * @method string getMinHeapSize()
3864
 * @method string getAppId()
3865
 * @method string getGroupId()
3866
 * @method string getOptions()
3867
 * @method string getMaxPermSize()
3868
 * @method string getMaxHeapSize()
3869
 */
3870
class UpdateJvmConfiguration extends V20170801Roa
3871
{
3872
    /** @var string */
3873
    public $pathPattern = '/pop/v5/app/app_jvm_config';
3874
3875
    /**
3876
     * @param string $value
3877
     *
3878
     * @return $this
3879
     */
3880
    public function withMinHeapSize($value)
3881
    {
3882
        $this->data['MinHeapSize'] = $value;
3883
        $this->options['query']['MinHeapSize'] = $value;
3884
3885
        return $this;
3886
    }
3887
3888
    /**
3889
     * @param string $value
3890
     *
3891
     * @return $this
3892
     */
3893
    public function withAppId($value)
3894
    {
3895
        $this->data['AppId'] = $value;
3896
        $this->options['query']['AppId'] = $value;
3897
3898
        return $this;
3899
    }
3900
3901
    /**
3902
     * @param string $value
3903
     *
3904
     * @return $this
3905
     */
3906
    public function withGroupId($value)
3907
    {
3908
        $this->data['GroupId'] = $value;
3909
        $this->options['query']['GroupId'] = $value;
3910
3911
        return $this;
3912
    }
3913
3914
    /**
3915
     * @param string $value
3916
     *
3917
     * @return $this
3918
     */
3919
    public function withOptions($value)
3920
    {
3921
        $this->data['Options'] = $value;
3922
        $this->options['query']['Options'] = $value;
3923
3924
        return $this;
3925
    }
3926
3927
    /**
3928
     * @param string $value
3929
     *
3930
     * @return $this
3931
     */
3932
    public function withMaxPermSize($value)
3933
    {
3934
        $this->data['MaxPermSize'] = $value;
3935
        $this->options['query']['MaxPermSize'] = $value;
3936
3937
        return $this;
3938
    }
3939
3940
    /**
3941
     * @param string $value
3942
     *
3943
     * @return $this
3944
     */
3945
    public function withMaxHeapSize($value)
3946
    {
3947
        $this->data['MaxHeapSize'] = $value;
3948
        $this->options['query']['MaxHeapSize'] = $value;
3949
3950
        return $this;
3951
    }
3952
}
3953
3954
/**
3955
 * @method string getUseBodyEncoding()
3956
 * @method string getMaxThreads()
3957
 * @method string getURIEncoding()
3958
 * @method string getAppId()
3959
 * @method string getGroupId()
3960
 * @method string getHttpPort()
3961
 * @method string getContextPath()
3962
 */
3963
class UpdateContainerConfiguration extends V20170801Roa
3964
{
3965
    /** @var string */
3966
    public $pathPattern = '/pop/v5/app/container_config';
3967
3968
    /**
3969
     * @param string $value
3970
     *
3971
     * @return $this
3972
     */
3973
    public function withUseBodyEncoding($value)
3974
    {
3975
        $this->data['UseBodyEncoding'] = $value;
3976
        $this->options['query']['UseBodyEncoding'] = $value;
3977
3978
        return $this;
3979
    }
3980
3981
    /**
3982
     * @param string $value
3983
     *
3984
     * @return $this
3985
     */
3986
    public function withMaxThreads($value)
3987
    {
3988
        $this->data['MaxThreads'] = $value;
3989
        $this->options['query']['MaxThreads'] = $value;
3990
3991
        return $this;
3992
    }
3993
3994
    /**
3995
     * @param string $value
3996
     *
3997
     * @return $this
3998
     */
3999
    public function withURIEncoding($value)
4000
    {
4001
        $this->data['URIEncoding'] = $value;
4002
        $this->options['query']['URIEncoding'] = $value;
4003
4004
        return $this;
4005
    }
4006
4007
    /**
4008
     * @param string $value
4009
     *
4010
     * @return $this
4011
     */
4012
    public function withAppId($value)
4013
    {
4014
        $this->data['AppId'] = $value;
4015
        $this->options['query']['AppId'] = $value;
4016
4017
        return $this;
4018
    }
4019
4020
    /**
4021
     * @param string $value
4022
     *
4023
     * @return $this
4024
     */
4025
    public function withGroupId($value)
4026
    {
4027
        $this->data['GroupId'] = $value;
4028
        $this->options['query']['GroupId'] = $value;
4029
4030
        return $this;
4031
    }
4032
4033
    /**
4034
     * @param string $value
4035
     *
4036
     * @return $this
4037
     */
4038
    public function withHttpPort($value)
4039
    {
4040
        $this->data['HttpPort'] = $value;
4041
        $this->options['query']['HttpPort'] = $value;
4042
4043
        return $this;
4044
    }
4045
4046
    /**
4047
     * @param string $value
4048
     *
4049
     * @return $this
4050
     */
4051
    public function withContextPath($value)
4052
    {
4053
        $this->data['ContextPath'] = $value;
4054
        $this->options['query']['ContextPath'] = $value;
4055
4056
        return $this;
4057
    }
4058
}
4059
4060
/**
4061
 * @method string getAppName()
4062
 * @method string getAppId()
4063
 * @method string getDesc()
4064
 */
4065
class UpdateApplicationBaseInfo extends V20170801Roa
4066
{
4067
    /** @var string */
4068
    public $pathPattern = '/pop/v5/app/update_app_info';
4069
4070
    /**
4071
     * @param string $value
4072
     *
4073
     * @return $this
4074
     */
4075
    public function withAppName($value)
4076
    {
4077
        $this->data['AppName'] = $value;
4078
        $this->options['query']['AppName'] = $value;
4079
4080
        return $this;
4081
    }
4082
4083
    /**
4084
     * @param string $value
4085
     *
4086
     * @return $this
4087
     */
4088
    public function withAppId($value)
4089
    {
4090
        $this->data['AppId'] = $value;
4091
        $this->options['query']['AppId'] = $value;
4092
4093
        return $this;
4094
    }
4095
4096
    /**
4097
     * @param string $value
4098
     *
4099
     * @return $this
4100
     */
4101
    public function withDesc($value)
4102
    {
4103
        $this->data['Desc'] = $value;
4104
        $this->options['query']['desc'] = $value;
4105
4106
        return $this;
4107
    }
4108
}
4109
4110
/**
4111
 * @method string getAppId()
4112
 * @method string getGroupId()
4113
 */
4114
class GetContainerConfiguration extends V20170801Roa
4115
{
4116
    /** @var string */
4117
    public $pathPattern = '/pop/v5/app/container_config';
4118
4119
    /** @var string */
4120
    public $method = 'GET';
4121
4122
    /**
4123
     * @param string $value
4124
     *
4125
     * @return $this
4126
     */
4127
    public function withAppId($value)
4128
    {
4129
        $this->data['AppId'] = $value;
4130
        $this->options['query']['AppId'] = $value;
4131
4132
        return $this;
4133
    }
4134
4135
    /**
4136
     * @param string $value
4137
     *
4138
     * @return $this
4139
     */
4140
    public function withGroupId($value)
4141
    {
4142
        $this->data['GroupId'] = $value;
4143
        $this->options['query']['GroupId'] = $value;
4144
4145
        return $this;
4146
    }
4147
}
4148
4149
/**
4150
 * @method string getAppId()
4151
 * @method string getGroupId()
4152
 */
4153
class GetJvmConfiguration extends V20170801Roa
4154
{
4155
    /** @var string */
4156
    public $pathPattern = '/pop/v5/app/app_jvm_config';
4157
4158
    /** @var string */
4159
    public $method = 'GET';
4160
4161
    /**
4162
     * @param string $value
4163
     *
4164
     * @return $this
4165
     */
4166
    public function withAppId($value)
4167
    {
4168
        $this->data['AppId'] = $value;
4169
        $this->options['query']['AppId'] = $value;
4170
4171
        return $this;
4172
    }
4173
4174
    /**
4175
     * @param string $value
4176
     *
4177
     * @return $this
4178
     */
4179
    public function withGroupId($value)
4180
    {
4181
        $this->data['GroupId'] = $value;
4182
        $this->options['query']['GroupId'] = $value;
4183
4184
        return $this;
4185
    }
4186
}
4187
4188
/**
4189
 * @method string getAppId()
4190
 * @method string getGroupName()
4191
 */
4192
class InsertDeployGroup extends V20170801Roa
4193
{
4194
    /** @var string */
4195
    public $pathPattern = '/pop/v5/deploy_group';
4196
4197
    /**
4198
     * @param string $value
4199
     *
4200
     * @return $this
4201
     */
4202
    public function withAppId($value)
4203
    {
4204
        $this->data['AppId'] = $value;
4205
        $this->options['query']['AppId'] = $value;
4206
4207
        return $this;
4208
    }
4209
4210
    /**
4211
     * @param string $value
4212
     *
4213
     * @return $this
4214
     */
4215
    public function withGroupName($value)
4216
    {
4217
        $this->data['GroupName'] = $value;
4218
        $this->options['query']['GroupName'] = $value;
4219
4220
        return $this;
4221
    }
4222
}
4223
4224
/**
4225
 * @method string getAppId()
4226
 */
4227
class GetApplication extends V20170801Roa
4228
{
4229
    /** @var string */
4230
    public $pathPattern = '/pop/v5/app/app_info';
4231
4232
    /**
4233
     * @param string $value
4234
     *
4235
     * @return $this
4236
     */
4237
    public function withAppId($value)
4238
    {
4239
        $this->data['AppId'] = $value;
4240
        $this->options['query']['AppId'] = $value;
4241
4242
        return $this;
4243
    }
4244
}
4245
4246
/**
4247
 * @method string getAppId()
4248
 * @method string getGroupName()
4249
 */
4250
class DeleteDeployGroup extends V20170801Roa
4251
{
4252
    /** @var string */
4253
    public $pathPattern = '/pop/v5/deploy_group';
4254
4255
    /** @var string */
4256
    public $method = 'DELETE';
4257
4258
    /**
4259
     * @param string $value
4260
     *
4261
     * @return $this
4262
     */
4263
    public function withAppId($value)
4264
    {
4265
        $this->data['AppId'] = $value;
4266
        $this->options['query']['AppId'] = $value;
4267
4268
        return $this;
4269
    }
4270
4271
    /**
4272
     * @param string $value
4273
     *
4274
     * @return $this
4275
     */
4276
    public function withGroupName($value)
4277
    {
4278
        $this->data['GroupName'] = $value;
4279
        $this->options['query']['GroupName'] = $value;
4280
4281
        return $this;
4282
    }
4283
}
4284
4285
/**
4286
 * @method string getAppId()
4287
 */
4288
class QueryApplicationStatus extends V20170801Roa
4289
{
4290
    /** @var string */
4291
    public $pathPattern = '/pop/v5/app/app_status';
4292
4293
    /** @var string */
4294
    public $method = 'GET';
4295
4296
    /**
4297
     * @param string $value
4298
     *
4299
     * @return $this
4300
     */
4301
    public function withAppId($value)
4302
    {
4303
        $this->data['AppId'] = $value;
4304
        $this->options['query']['AppId'] = $value;
4305
4306
        return $this;
4307
    }
4308
}
4309
4310
/**
4311
 * @method string getType()
4312
 */
4313
class SynchronizeResource extends V20170801Roa
4314
{
4315
    /** @var string */
4316
    public $pathPattern = '/pop/v5/resource/pop_sync_resource';
4317
4318
    /** @var string */
4319
    public $method = 'GET';
4320
4321
    /**
4322
     * @param string $value
4323
     *
4324
     * @return $this
4325
     */
4326
    public function withType($value)
4327
    {
4328
        $this->data['Type'] = $value;
4329
        $this->options['query']['Type'] = $value;
4330
4331
        return $this;
4332
    }
4333
}
4334
4335
/**
4336
 * @method string getAppId()
4337
 */
4338
class ListRecentChangeOrder extends V20170801Roa
4339
{
4340
    /** @var string */
4341
    public $pathPattern = '/pop/v5/changeorder/change_order_list';
4342
4343
    /**
4344
     * @param string $value
4345
     *
4346
     * @return $this
4347
     */
4348
    public function withAppId($value)
4349
    {
4350
        $this->data['AppId'] = $value;
4351
        $this->options['query']['AppId'] = $value;
4352
4353
        return $this;
4354
    }
4355
}
4356
4357
/**
4358
 * @method string getEcuId()
4359
 */
4360
class DeleteEcu extends V20170801Roa
4361
{
4362
    /** @var string */
4363
    public $pathPattern = '/pop/v5/resource/delete_ecu';
4364
4365
    /**
4366
     * @param string $value
4367
     *
4368
     * @return $this
4369
     */
4370
    public function withEcuId($value)
4371
    {
4372
        $this->data['EcuId'] = $value;
4373
        $this->options['query']['EcuId'] = $value;
4374
4375
        return $this;
4376
    }
4377
}
4378
4379
class ListSlb extends V20170801Roa
4380
{
4381
    /** @var string */
4382
    public $pathPattern = '/pop/v5/slb_list';
4383
4384
    /** @var string */
4385
    public $method = 'GET';
4386
}
4387
4388
/**
4389
 * @method string getAppId()
4390
 */
4391
class ListHistoryDeployVersion extends V20170801Roa
4392
{
4393
    /** @var string */
4394
    public $pathPattern = '/pop/v5/app/deploy_history_version_list';
4395
4396
    /** @var string */
4397
    public $method = 'GET';
4398
4399
    /**
4400
     * @param string $value
4401
     *
4402
     * @return $this
4403
     */
4404
    public function withAppId($value)
4405
    {
4406
        $this->data['AppId'] = $value;
4407
        $this->options['query']['AppId'] = $value;
4408
4409
        return $this;
4410
    }
4411
}
4412
4413
class ListResourceGroup extends V20170801Roa
4414
{
4415
    /** @var string */
4416
    public $pathPattern = '/pop/v5/resource/reg_group_list';
4417
}
4418
4419
/**
4420
 * @method string getName()
4421
 * @method string getTelephone()
4422
 * @method string getEmail()
4423
 */
4424
class UpdateAccountInfo extends V20170801Roa
4425
{
4426
    /** @var string */
4427
    public $pathPattern = '/pop/v5/account/edit_account_info';
4428
4429
    /**
4430
     * @param string $value
4431
     *
4432
     * @return $this
4433
     */
4434
    public function withName($value)
4435
    {
4436
        $this->data['Name'] = $value;
4437
        $this->options['query']['Name'] = $value;
4438
4439
        return $this;
4440
    }
4441
4442
    /**
4443
     * @param string $value
4444
     *
4445
     * @return $this
4446
     */
4447
    public function withTelephone($value)
4448
    {
4449
        $this->data['Telephone'] = $value;
4450
        $this->options['query']['Telephone'] = $value;
4451
4452
        return $this;
4453
    }
4454
4455
    /**
4456
     * @param string $value
4457
     *
4458
     * @return $this
4459
     */
4460
    public function withEmail($value)
4461
    {
4462
        $this->data['Email'] = $value;
4463
        $this->options['query']['Email'] = $value;
4464
4465
        return $this;
4466
    }
4467
}
4468
4469
/**
4470
 * @method string getRoleId()
4471
 * @method string getActionData()
4472
 */
4473
class UpdateRole extends V20170801Roa
4474
{
4475
    /** @var string */
4476
    public $pathPattern = '/pop/v5/account/edit_role';
4477
4478
    /**
4479
     * @param string $value
4480
     *
4481
     * @return $this
4482
     */
4483
    public function withRoleId($value)
4484
    {
4485
        $this->data['RoleId'] = $value;
4486
        $this->options['query']['RoleId'] = $value;
4487
4488
        return $this;
4489
    }
4490
4491
    /**
4492
     * @param string $value
4493
     *
4494
     * @return $this
4495
     */
4496
    public function withActionData($value)
4497
    {
4498
        $this->data['ActionData'] = $value;
4499
        $this->options['query']['ActionData'] = $value;
4500
4501
        return $this;
4502
    }
4503
}
4504
4505
/**
4506
 * @method string getSlbId()
4507
 * @method string getAppId()
4508
 * @method string getType()
4509
 */
4510
class UnbindSlb extends V20170801Roa
4511
{
4512
    /** @var string */
4513
    public $pathPattern = '/pop/app/unbind_slb_json';
4514
4515
    /**
4516
     * @param string $value
4517
     *
4518
     * @return $this
4519
     */
4520
    public function withSlbId($value)
4521
    {
4522
        $this->data['SlbId'] = $value;
4523
        $this->options['query']['SlbId'] = $value;
4524
4525
        return $this;
4526
    }
4527
4528
    /**
4529
     * @param string $value
4530
     *
4531
     * @return $this
4532
     */
4533
    public function withAppId($value)
4534
    {
4535
        $this->data['AppId'] = $value;
4536
        $this->options['query']['AppId'] = $value;
4537
4538
        return $this;
4539
    }
4540
4541
    /**
4542
     * @param string $value
4543
     *
4544
     * @return $this
4545
     */
4546
    public function withType($value)
4547
    {
4548
        $this->data['Type'] = $value;
4549
        $this->options['query']['Type'] = $value;
4550
4551
        return $this;
4552
    }
4553
}
4554
4555
/**
4556
 * @method string getTargetUserIds()
4557
 */
4558
class UnbindSubAccount extends V20170801Roa
4559
{
4560
    /** @var string */
4561
    public $pathPattern = '/pop/v5/account/unbindSubAccount';
4562
4563
    /**
4564
     * @param string $value
4565
     *
4566
     * @return $this
4567
     */
4568
    public function withTargetUserIds($value)
4569
    {
4570
        $this->data['TargetUserIds'] = $value;
4571
        $this->options['query']['TargetUserIds'] = $value;
4572
4573
        return $this;
4574
    }
4575
}
4576
4577
class ListRole extends V20170801Roa
4578
{
4579
    /** @var string */
4580
    public $pathPattern = '/pop/v5/account/role_list';
4581
}
4582
4583
class ListSubAccount extends V20170801Roa
4584
{
4585
    /** @var string */
4586
    public $pathPattern = '/pop/v5/account/sub_account_list';
4587
}
4588
4589
/**
4590
 * @method string getPageSize()
4591
 * @method string getCurrentPage()
4592
 * @method string getClusterId()
4593
 */
4594
class ListClusterMembers extends V20170801Roa
4595
{
4596
    /** @var string */
4597
    public $pathPattern = '/pop/v5/resource/cluster_member_list';
4598
4599
    /** @var string */
4600
    public $method = 'GET';
4601
4602
    /**
4603
     * @param string $value
4604
     *
4605
     * @return $this
4606
     */
4607
    public function withPageSize($value)
4608
    {
4609
        $this->data['PageSize'] = $value;
4610
        $this->options['query']['PageSize'] = $value;
4611
4612
        return $this;
4613
    }
4614
4615
    /**
4616
     * @param string $value
4617
     *
4618
     * @return $this
4619
     */
4620
    public function withCurrentPage($value)
4621
    {
4622
        $this->data['CurrentPage'] = $value;
4623
        $this->options['query']['CurrentPage'] = $value;
4624
4625
        return $this;
4626
    }
4627
4628
    /**
4629
     * @param string $value
4630
     *
4631
     * @return $this
4632
     */
4633
    public function withClusterId($value)
4634
    {
4635
        $this->data['ClusterId'] = $value;
4636
        $this->options['query']['ClusterId'] = $value;
4637
4638
        return $this;
4639
    }
4640
}
4641
4642
class ListAuthority extends V20170801Roa
4643
{
4644
    /** @var string */
4645
    public $pathPattern = '/pop/v5/account/authority_list';
4646
}
4647
4648
/**
4649
 * @method string getClusterType()
4650
 * @method string getIaasProvider()
4651
 * @method string getLogicalRegionId()
4652
 * @method string getClusterName()
4653
 * @method string getVpcId()
4654
 * @method string getNetworkMode()
4655
 * @method string getOversoldFactor()
4656
 */
4657
class InsertCluster extends V20170801Roa
4658
{
4659
    /** @var string */
4660
    public $pathPattern = '/pop/v5/resource/cluster';
4661
4662
    /**
4663
     * @param string $value
4664
     *
4665
     * @return $this
4666
     */
4667
    public function withClusterType($value)
4668
    {
4669
        $this->data['ClusterType'] = $value;
4670
        $this->options['query']['ClusterType'] = $value;
4671
4672
        return $this;
4673
    }
4674
4675
    /**
4676
     * @param string $value
4677
     *
4678
     * @return $this
4679
     */
4680
    public function withIaasProvider($value)
4681
    {
4682
        $this->data['IaasProvider'] = $value;
4683
        $this->options['query']['IaasProvider'] = $value;
4684
4685
        return $this;
4686
    }
4687
4688
    /**
4689
     * @param string $value
4690
     *
4691
     * @return $this
4692
     */
4693
    public function withLogicalRegionId($value)
4694
    {
4695
        $this->data['LogicalRegionId'] = $value;
4696
        $this->options['query']['LogicalRegionId'] = $value;
4697
4698
        return $this;
4699
    }
4700
4701
    /**
4702
     * @param string $value
4703
     *
4704
     * @return $this
4705
     */
4706
    public function withClusterName($value)
4707
    {
4708
        $this->data['ClusterName'] = $value;
4709
        $this->options['query']['ClusterName'] = $value;
4710
4711
        return $this;
4712
    }
4713
4714
    /**
4715
     * @param string $value
4716
     *
4717
     * @return $this
4718
     */
4719
    public function withVpcId($value)
4720
    {
4721
        $this->data['VpcId'] = $value;
4722
        $this->options['query']['VpcId'] = $value;
4723
4724
        return $this;
4725
    }
4726
4727
    /**
4728
     * @param string $value
4729
     *
4730
     * @return $this
4731
     */
4732
    public function withNetworkMode($value)
4733
    {
4734
        $this->data['NetworkMode'] = $value;
4735
        $this->options['query']['NetworkMode'] = $value;
4736
4737
        return $this;
4738
    }
4739
4740
    /**
4741
     * @param string $value
4742
     *
4743
     * @return $this
4744
     */
4745
    public function withOversoldFactor($value)
4746
    {
4747
        $this->data['OversoldFactor'] = $value;
4748
        $this->options['query']['OversoldFactor'] = $value;
4749
4750
        return $this;
4751
    }
4752
}
4753
4754
/**
4755
 * @method string getRoleName()
4756
 * @method string getActionData()
4757
 */
4758
class InsertRole extends V20170801Roa
4759
{
4760
    /** @var string */
4761
    public $pathPattern = '/pop/v5/account/create_role';
4762
4763
    /**
4764
     * @param string $value
4765
     *
4766
     * @return $this
4767
     */
4768
    public function withRoleName($value)
4769
    {
4770
        $this->data['RoleName'] = $value;
4771
        $this->options['query']['RoleName'] = $value;
4772
4773
        return $this;
4774
    }
4775
4776
    /**
4777
     * @param string $value
4778
     *
4779
     * @return $this
4780
     */
4781
    public function withActionData($value)
4782
    {
4783
        $this->data['ActionData'] = $value;
4784
        $this->options['query']['ActionData'] = $value;
4785
4786
        return $this;
4787
    }
4788
}
4789
4790
/**
4791
 * @method string getAppId()
4792
 * @method string getRuleId()
4793
 */
4794
class EnableDegradeControl extends V20170801Roa
4795
{
4796
    /** @var string */
4797
    public $pathPattern = '/pop/v5/degradecontrol/enable';
4798
4799
    /** @var string */
4800
    public $method = 'PUT';
4801
4802
    /**
4803
     * @param string $value
4804
     *
4805
     * @return $this
4806
     */
4807
    public function withAppId($value)
4808
    {
4809
        $this->data['AppId'] = $value;
4810
        $this->options['query']['AppId'] = $value;
4811
4812
        return $this;
4813
    }
4814
4815
    /**
4816
     * @param string $value
4817
     *
4818
     * @return $this
4819
     */
4820
    public function withRuleId($value)
4821
    {
4822
        $this->data['RuleId'] = $value;
4823
        $this->options['query']['RuleId'] = $value;
4824
4825
        return $this;
4826
    }
4827
}
4828
4829
/**
4830
 * @method string getClusterMemberId()
4831
 * @method string getClusterId()
4832
 */
4833
class DeleteClusterMember extends V20170801Roa
4834
{
4835
    /** @var string */
4836
    public $pathPattern = '/pop/v5/resource/cluster_member';
4837
4838
    /** @var string */
4839
    public $method = 'DELETE';
4840
4841
    /**
4842
     * @param string $value
4843
     *
4844
     * @return $this
4845
     */
4846
    public function withClusterMemberId($value)
4847
    {
4848
        $this->data['ClusterMemberId'] = $value;
4849
        $this->options['query']['ClusterMemberId'] = $value;
4850
4851
        return $this;
4852
    }
4853
4854
    /**
4855
     * @param string $value
4856
     *
4857
     * @return $this
4858
     */
4859
    public function withClusterId($value)
4860
    {
4861
        $this->data['ClusterId'] = $value;
4862
        $this->options['query']['ClusterId'] = $value;
4863
4864
        return $this;
4865
    }
4866
}
4867
4868
/**
4869
 * @method string getRoleId()
4870
 */
4871
class DeleteRole extends V20170801Roa
4872
{
4873
    /** @var string */
4874
    public $pathPattern = '/pop/v5/account/delete_role';
4875
4876
    /**
4877
     * @param string $value
4878
     *
4879
     * @return $this
4880
     */
4881
    public function withRoleId($value)
4882
    {
4883
        $this->data['RoleId'] = $value;
4884
        $this->options['query']['RoleId'] = $value;
4885
4886
        return $this;
4887
    }
4888
}
4889
4890
/**
4891
 * @method string getRoleIds()
4892
 * @method string getTargetUserId()
4893
 */
4894
class AuthorizeRole extends V20170801Roa
4895
{
4896
    /** @var string */
4897
    public $pathPattern = '/pop/v5/account/authorize_role';
4898
4899
    /**
4900
     * @param string $value
4901
     *
4902
     * @return $this
4903
     */
4904
    public function withRoleIds($value)
4905
    {
4906
        $this->data['RoleIds'] = $value;
4907
        $this->options['query']['RoleIds'] = $value;
4908
4909
        return $this;
4910
    }
4911
4912
    /**
4913
     * @param string $value
4914
     *
4915
     * @return $this
4916
     */
4917
    public function withTargetUserId($value)
4918
    {
4919
        $this->data['TargetUserId'] = $value;
4920
        $this->options['query']['TargetUserId'] = $value;
4921
4922
        return $this;
4923
    }
4924
}
4925
4926
/**
4927
 * @method string getVServerGroupId()
4928
 * @method string getListenerPort()
4929
 * @method string getSlbId()
4930
 * @method string getAppId()
4931
 * @method string getSlbIp()
4932
 * @method string getType()
4933
 */
4934
class BindSlb extends V20170801Roa
4935
{
4936
    /** @var string */
4937
    public $pathPattern = '/pop/app/bind_slb_json';
4938
4939
    /**
4940
     * @param string $value
4941
     *
4942
     * @return $this
4943
     */
4944
    public function withVServerGroupId($value)
4945
    {
4946
        $this->data['VServerGroupId'] = $value;
4947
        $this->options['query']['VServerGroupId'] = $value;
4948
4949
        return $this;
4950
    }
4951
4952
    /**
4953
     * @param string $value
4954
     *
4955
     * @return $this
4956
     */
4957
    public function withListenerPort($value)
4958
    {
4959
        $this->data['ListenerPort'] = $value;
4960
        $this->options['query']['ListenerPort'] = $value;
4961
4962
        return $this;
4963
    }
4964
4965
    /**
4966
     * @param string $value
4967
     *
4968
     * @return $this
4969
     */
4970
    public function withSlbId($value)
4971
    {
4972
        $this->data['SlbId'] = $value;
4973
        $this->options['query']['SlbId'] = $value;
4974
4975
        return $this;
4976
    }
4977
4978
    /**
4979
     * @param string $value
4980
     *
4981
     * @return $this
4982
     */
4983
    public function withAppId($value)
4984
    {
4985
        $this->data['AppId'] = $value;
4986
        $this->options['query']['AppId'] = $value;
4987
4988
        return $this;
4989
    }
4990
4991
    /**
4992
     * @param string $value
4993
     *
4994
     * @return $this
4995
     */
4996
    public function withSlbIp($value)
4997
    {
4998
        $this->data['SlbIp'] = $value;
4999
        $this->options['query']['SlbIp'] = $value;
5000
5001
        return $this;
5002
    }
5003
5004
    /**
5005
     * @param string $value
5006
     *
5007
     * @return $this
5008
     */
5009
    public function withType($value)
5010
    {
5011
        $this->data['Type'] = $value;
5012
        $this->options['query']['Type'] = $value;
5013
5014
        return $this;
5015
    }
5016
}
5017
5018
/**
5019
 * @method string getTargetUserIds()
5020
 */
5021
class BindSubAccount extends V20170801Roa
5022
{
5023
    /** @var string */
5024
    public $pathPattern = '/pop/v5/account/bindSubAccount';
5025
5026
    /**
5027
     * @param string $value
5028
     *
5029
     * @return $this
5030
     */
5031
    public function withTargetUserIds($value)
5032
    {
5033
        $this->data['TargetUserIds'] = $value;
5034
        $this->options['query']['TargetUserIds'] = $value;
5035
5036
        return $this;
5037
    }
5038
}
5039
5040
/**
5041
 * @method string getClusterId()
5042
 */
5043
class DeleteCluster extends V20170801Roa
5044
{
5045
    /** @var string */
5046
    public $pathPattern = '/pop/v5/resource/cluster';
5047
5048
    /** @var string */
5049
    public $method = 'DELETE';
5050
5051
    /**
5052
     * @param string $value
5053
     *
5054
     * @return $this
5055
     */
5056
    public function withClusterId($value)
5057
    {
5058
        $this->data['ClusterId'] = $value;
5059
        $this->options['query']['ClusterId'] = $value;
5060
5061
        return $this;
5062
    }
5063
}
5064
5065
/**
5066
 * @method string getAppIds()
5067
 * @method string getTargetUserId()
5068
 */
5069
class AuthorizeApplication extends V20170801Roa
5070
{
5071
    /** @var string */
5072
    public $pathPattern = '/pop/v5/account/authorize_app';
5073
5074
    /**
5075
     * @param string $value
5076
     *
5077
     * @return $this
5078
     */
5079
    public function withAppIds($value)
5080
    {
5081
        $this->data['AppIds'] = $value;
5082
        $this->options['query']['AppIds'] = $value;
5083
5084
        return $this;
5085
    }
5086
5087
    /**
5088
     * @param string $value
5089
     *
5090
     * @return $this
5091
     */
5092
    public function withTargetUserId($value)
5093
    {
5094
        $this->data['TargetUserId'] = $value;
5095
        $this->options['query']['TargetUserId'] = $value;
5096
5097
        return $this;
5098
    }
5099
}
5100
5101
/**
5102
 * @method string getResourceGroupIds()
5103
 * @method string getTargetUserId()
5104
 */
5105
class AuthorizeResourceGroup extends V20170801Roa
5106
{
5107
    /** @var string */
5108
    public $pathPattern = '/pop/v5/account/authorize_res_group';
5109
5110
    /**
5111
     * @param string $value
5112
     *
5113
     * @return $this
5114
     */
5115
    public function withResourceGroupIds($value)
5116
    {
5117
        $this->data['ResourceGroupIds'] = $value;
5118
        $this->options['query']['ResourceGroupIds'] = $value;
5119
5120
        return $this;
5121
    }
5122
5123
    /**
5124
     * @param string $value
5125
     *
5126
     * @return $this
5127
     */
5128
    public function withTargetUserId($value)
5129
    {
5130
        $this->data['TargetUserId'] = $value;
5131
        $this->options['query']['TargetUserId'] = $value;
5132
5133
        return $this;
5134
    }
5135
}
5136
5137
/**
5138
 * @method string getChangeOrderId()
5139
 */
5140
class GetChangeOrderInfo extends V20170801Roa
5141
{
5142
    /** @var string */
5143
    public $pathPattern = '/pop/v5/changeorder/change_order_info';
5144
5145
    /**
5146
     * @param string $value
5147
     *
5148
     * @return $this
5149
     */
5150
    public function withChangeOrderId($value)
5151
    {
5152
        $this->data['ChangeOrderId'] = $value;
5153
        $this->options['query']['ChangeOrderId'] = $value;
5154
5155
        return $this;
5156
    }
5157
}
5158
5159
/**
5160
 * @method string getLogicalRegionId()
5161
 */
5162
class ListCluster extends V20170801Roa
5163
{
5164
    /** @var string */
5165
    public $pathPattern = '/pop/v5/resource/cluster_list';
5166
5167
    /**
5168
     * @param string $value
5169
     *
5170
     * @return $this
5171
     */
5172
    public function withLogicalRegionId($value)
5173
    {
5174
        $this->data['LogicalRegionId'] = $value;
5175
        $this->options['query']['LogicalRegionId'] = $value;
5176
5177
        return $this;
5178
    }
5179
}
5180
5181
/**
5182
 * @method string getAppId()
5183
 */
5184
class DeleteApplication extends V20170801Roa
5185
{
5186
    /** @var string */
5187
    public $pathPattern = '/pop/v5/changeorder/co_delete_app';
5188
5189
    /** @var string */
5190
    public $method = 'DELETE';
5191
5192
    /**
5193
     * @param string $value
5194
     *
5195
     * @return $this
5196
     */
5197
    public function withAppId($value)
5198
    {
5199
        $this->data['AppId'] = $value;
5200
        $this->options['query']['AppId'] = $value;
5201
5202
        return $this;
5203
    }
5204
}
5205
5206
/**
5207
 * @method string getAppId()
5208
 * @method string getGroupId()
5209
 * @method string getBatchWaitTime()
5210
 * @method string getBatch()
5211
 * @method string getHistoryVersion()
5212
 */
5213
class RollbackApplication extends V20170801Roa
5214
{
5215
    /** @var string */
5216
    public $pathPattern = '/pop/v5/changeorder/co_rollback';
5217
5218
    /**
5219
     * @param string $value
5220
     *
5221
     * @return $this
5222
     */
5223
    public function withAppId($value)
5224
    {
5225
        $this->data['AppId'] = $value;
5226
        $this->options['query']['AppId'] = $value;
5227
5228
        return $this;
5229
    }
5230
5231
    /**
5232
     * @param string $value
5233
     *
5234
     * @return $this
5235
     */
5236
    public function withGroupId($value)
5237
    {
5238
        $this->data['GroupId'] = $value;
5239
        $this->options['query']['GroupId'] = $value;
5240
5241
        return $this;
5242
    }
5243
5244
    /**
5245
     * @param string $value
5246
     *
5247
     * @return $this
5248
     */
5249
    public function withBatchWaitTime($value)
5250
    {
5251
        $this->data['BatchWaitTime'] = $value;
5252
        $this->options['query']['BatchWaitTime'] = $value;
5253
5254
        return $this;
5255
    }
5256
5257
    /**
5258
     * @param string $value
5259
     *
5260
     * @return $this
5261
     */
5262
    public function withBatch($value)
5263
    {
5264
        $this->data['Batch'] = $value;
5265
        $this->options['query']['Batch'] = $value;
5266
5267
        return $this;
5268
    }
5269
5270
    /**
5271
     * @param string $value
5272
     *
5273
     * @return $this
5274
     */
5275
    public function withHistoryVersion($value)
5276
    {
5277
        $this->data['HistoryVersion'] = $value;
5278
        $this->options['query']['HistoryVersion'] = $value;
5279
5280
        return $this;
5281
    }
5282
}
5283
5284
/**
5285
 * @method string getForceStatus()
5286
 * @method string getAppId()
5287
 * @method string getEccInfo()
5288
 */
5289
class ScaleInApplication extends V20170801Roa
5290
{
5291
    /** @var string */
5292
    public $pathPattern = '/pop/v5/changeorder/co_scale_in';
5293
5294
    /**
5295
     * @param string $value
5296
     *
5297
     * @return $this
5298
     */
5299
    public function withForceStatus($value)
5300
    {
5301
        $this->data['ForceStatus'] = $value;
5302
        $this->options['query']['ForceStatus'] = $value;
5303
5304
        return $this;
5305
    }
5306
5307
    /**
5308
     * @param string $value
5309
     *
5310
     * @return $this
5311
     */
5312
    public function withAppId($value)
5313
    {
5314
        $this->data['AppId'] = $value;
5315
        $this->options['query']['AppId'] = $value;
5316
5317
        return $this;
5318
    }
5319
5320
    /**
5321
     * @param string $value
5322
     *
5323
     * @return $this
5324
     */
5325
    public function withEccInfo($value)
5326
    {
5327
        $this->data['EccInfo'] = $value;
5328
        $this->options['query']['EccInfo'] = $value;
5329
5330
        return $this;
5331
    }
5332
}
5333
5334
/**
5335
 * @method string getEcuInfo()
5336
 * @method string getDeployGroup()
5337
 * @method string getAppId()
5338
 */
5339
class ScaleOutApplication extends V20170801Roa
5340
{
5341
    /** @var string */
5342
    public $pathPattern = '/pop/v5/changeorder/co_scale_out';
5343
5344
    /**
5345
     * @param string $value
5346
     *
5347
     * @return $this
5348
     */
5349
    public function withEcuInfo($value)
5350
    {
5351
        $this->data['EcuInfo'] = $value;
5352
        $this->options['query']['EcuInfo'] = $value;
5353
5354
        return $this;
5355
    }
5356
5357
    /**
5358
     * @param string $value
5359
     *
5360
     * @return $this
5361
     */
5362
    public function withDeployGroup($value)
5363
    {
5364
        $this->data['DeployGroup'] = $value;
5365
        $this->options['query']['DeployGroup'] = $value;
5366
5367
        return $this;
5368
    }
5369
5370
    /**
5371
     * @param string $value
5372
     *
5373
     * @return $this
5374
     */
5375
    public function withAppId($value)
5376
    {
5377
        $this->data['AppId'] = $value;
5378
        $this->options['query']['AppId'] = $value;
5379
5380
        return $this;
5381
    }
5382
}
5383
5384
/**
5385
 * @method string getAppId()
5386
 * @method string getEccInfo()
5387
 */
5388
class StartApplication extends V20170801Roa
5389
{
5390
    /** @var string */
5391
    public $pathPattern = '/pop/v5/changeorder/co_start';
5392
5393
    /**
5394
     * @param string $value
5395
     *
5396
     * @return $this
5397
     */
5398
    public function withAppId($value)
5399
    {
5400
        $this->data['AppId'] = $value;
5401
        $this->options['query']['AppId'] = $value;
5402
5403
        return $this;
5404
    }
5405
5406
    /**
5407
     * @param string $value
5408
     *
5409
     * @return $this
5410
     */
5411
    public function withEccInfo($value)
5412
    {
5413
        $this->data['EccInfo'] = $value;
5414
        $this->options['query']['EccInfo'] = $value;
5415
5416
        return $this;
5417
    }
5418
}
5419
5420
/**
5421
 * @method string getAppId()
5422
 * @method string getEccInfo()
5423
 */
5424
class StopApplication extends V20170801Roa
5425
{
5426
    /** @var string */
5427
    public $pathPattern = '/pop/v5/changeorder/co_stop';
5428
5429
    /**
5430
     * @param string $value
5431
     *
5432
     * @return $this
5433
     */
5434
    public function withAppId($value)
5435
    {
5436
        $this->data['AppId'] = $value;
5437
        $this->options['query']['AppId'] = $value;
5438
5439
        return $this;
5440
    }
5441
5442
    /**
5443
     * @param string $value
5444
     *
5445
     * @return $this
5446
     */
5447
    public function withEccInfo($value)
5448
    {
5449
        $this->data['EccInfo'] = $value;
5450
        $this->options['query']['EccInfo'] = $value;
5451
5452
        return $this;
5453
    }
5454
}
5455
5456
/**
5457
 * @method string getAppId()
5458
 * @method string getEccInfo()
5459
 */
5460
class ResetApplication extends V20170801Roa
5461
{
5462
    /** @var string */
5463
    public $pathPattern = '/pop/v5/changeorder/co_reset';
5464
5465
    /**
5466
     * @param string $value
5467
     *
5468
     * @return $this
5469
     */
5470
    public function withAppId($value)
5471
    {
5472
        $this->data['AppId'] = $value;
5473
        $this->options['query']['AppId'] = $value;
5474
5475
        return $this;
5476
    }
5477
5478
    /**
5479
     * @param string $value
5480
     *
5481
     * @return $this
5482
     */
5483
    public function withEccInfo($value)
5484
    {
5485
        $this->data['EccInfo'] = $value;
5486
        $this->options['query']['EccInfo'] = $value;
5487
5488
        return $this;
5489
    }
5490
}
5491
5492
/**
5493
 * @method string getWebContainer()
5494
 * @method string getEcuInfo()
5495
 * @method string getBuildPackId()
5496
 * @method string getHealthCheckURL()
5497
 * @method string getReservedPortStr()
5498
 * @method string getDescription()
5499
 * @method string getCpu()
5500
 * @method string getClusterId()
5501
 * @method string getApplicationName()
5502
 * @method string getJdk()
5503
 * @method string getMem()
5504
 * @method string getLogicalRegionId()
5505
 * @method string getPackageType()
5506
 */
5507
class InsertApplication extends V20170801Roa
5508
{
5509
    /** @var string */
5510
    public $pathPattern = '/pop/v5/changeorder/co_create_app';
5511
5512
    /**
5513
     * @param string $value
5514
     *
5515
     * @return $this
5516
     */
5517
    public function withWebContainer($value)
5518
    {
5519
        $this->data['WebContainer'] = $value;
5520
        $this->options['query']['WebContainer'] = $value;
5521
5522
        return $this;
5523
    }
5524
5525
    /**
5526
     * @param string $value
5527
     *
5528
     * @return $this
5529
     */
5530
    public function withEcuInfo($value)
5531
    {
5532
        $this->data['EcuInfo'] = $value;
5533
        $this->options['query']['EcuInfo'] = $value;
5534
5535
        return $this;
5536
    }
5537
5538
    /**
5539
     * @param string $value
5540
     *
5541
     * @return $this
5542
     */
5543
    public function withBuildPackId($value)
5544
    {
5545
        $this->data['BuildPackId'] = $value;
5546
        $this->options['query']['BuildPackId'] = $value;
5547
5548
        return $this;
5549
    }
5550
5551
    /**
5552
     * @param string $value
5553
     *
5554
     * @return $this
5555
     */
5556
    public function withHealthCheckURL($value)
5557
    {
5558
        $this->data['HealthCheckURL'] = $value;
5559
        $this->options['query']['HealthCheckURL'] = $value;
5560
5561
        return $this;
5562
    }
5563
5564
    /**
5565
     * @param string $value
5566
     *
5567
     * @return $this
5568
     */
5569
    public function withReservedPortStr($value)
5570
    {
5571
        $this->data['ReservedPortStr'] = $value;
5572
        $this->options['query']['ReservedPortStr'] = $value;
5573
5574
        return $this;
5575
    }
5576
5577
    /**
5578
     * @param string $value
5579
     *
5580
     * @return $this
5581
     */
5582
    public function withDescription($value)
5583
    {
5584
        $this->data['Description'] = $value;
5585
        $this->options['query']['Description'] = $value;
5586
5587
        return $this;
5588
    }
5589
5590
    /**
5591
     * @param string $value
5592
     *
5593
     * @return $this
5594
     */
5595
    public function withCpu($value)
5596
    {
5597
        $this->data['Cpu'] = $value;
5598
        $this->options['query']['Cpu'] = $value;
5599
5600
        return $this;
5601
    }
5602
5603
    /**
5604
     * @param string $value
5605
     *
5606
     * @return $this
5607
     */
5608
    public function withClusterId($value)
5609
    {
5610
        $this->data['ClusterId'] = $value;
5611
        $this->options['query']['ClusterId'] = $value;
5612
5613
        return $this;
5614
    }
5615
5616
    /**
5617
     * @param string $value
5618
     *
5619
     * @return $this
5620
     */
5621
    public function withApplicationName($value)
5622
    {
5623
        $this->data['ApplicationName'] = $value;
5624
        $this->options['query']['ApplicationName'] = $value;
5625
5626
        return $this;
5627
    }
5628
5629
    /**
5630
     * @param string $value
5631
     *
5632
     * @return $this
5633
     */
5634
    public function withJdk($value)
5635
    {
5636
        $this->data['Jdk'] = $value;
5637
        $this->options['query']['Jdk'] = $value;
5638
5639
        return $this;
5640
    }
5641
5642
    /**
5643
     * @param string $value
5644
     *
5645
     * @return $this
5646
     */
5647
    public function withMem($value)
5648
    {
5649
        $this->data['Mem'] = $value;
5650
        $this->options['query']['Mem'] = $value;
5651
5652
        return $this;
5653
    }
5654
5655
    /**
5656
     * @param string $value
5657
     *
5658
     * @return $this
5659
     */
5660
    public function withLogicalRegionId($value)
5661
    {
5662
        $this->data['LogicalRegionId'] = $value;
5663
        $this->options['query']['LogicalRegionId'] = $value;
5664
5665
        return $this;
5666
    }
5667
5668
    /**
5669
     * @param string $value
5670
     *
5671
     * @return $this
5672
     */
5673
    public function withPackageType($value)
5674
    {
5675
        $this->data['PackageType'] = $value;
5676
        $this->options['query']['PackageType'] = $value;
5677
5678
        return $this;
5679
    }
5680
}
5681
5682
/**
5683
 * @method string getForceStatus()
5684
 * @method string getAppId()
5685
 * @method string getEccInfo()
5686
 * @method string getGroupName()
5687
 */
5688
class ChangeApplicationGroup extends V20170801Roa
5689
{
5690
    /** @var string */
5691
    public $pathPattern = '/pop/v5/changeorder/co_change_group';
5692
5693
    /**
5694
     * @param string $value
5695
     *
5696
     * @return $this
5697
     */
5698
    public function withForceStatus($value)
5699
    {
5700
        $this->data['ForceStatus'] = $value;
5701
        $this->options['query']['ForceStatus'] = $value;
5702
5703
        return $this;
5704
    }
5705
5706
    /**
5707
     * @param string $value
5708
     *
5709
     * @return $this
5710
     */
5711
    public function withAppId($value)
5712
    {
5713
        $this->data['AppId'] = $value;
5714
        $this->options['query']['AppId'] = $value;
5715
5716
        return $this;
5717
    }
5718
5719
    /**
5720
     * @param string $value
5721
     *
5722
     * @return $this
5723
     */
5724
    public function withEccInfo($value)
5725
    {
5726
        $this->data['EccInfo'] = $value;
5727
        $this->options['query']['EccInfo'] = $value;
5728
5729
        return $this;
5730
    }
5731
5732
    /**
5733
     * @param string $value
5734
     *
5735
     * @return $this
5736
     */
5737
    public function withGroupName($value)
5738
    {
5739
        $this->data['GroupName'] = $value;
5740
        $this->options['query']['GroupName'] = $value;
5741
5742
        return $this;
5743
    }
5744
}
5745
5746
/**
5747
 * @method string getBuildPackId()
5748
 * @method string getComponentIds()
5749
 * @method string getAppId()
5750
 * @method string getImageUrl()
5751
 * @method string getGroupId()
5752
 * @method string getBatchWaitTime()
5753
 * @method string getBatch()
5754
 * @method string getAppEnv()
5755
 * @method string getWarUrl()
5756
 * @method string getPackageVersion()
5757
 * @method string getDesc()
5758
 * @method string getDeployType()
5759
 */
5760
class DeployApplication extends V20170801Roa
5761
{
5762
    /** @var string */
5763
    public $pathPattern = '/pop/v5/changeorder/co_deploy';
5764
5765
    /**
5766
     * @param string $value
5767
     *
5768
     * @return $this
5769
     */
5770
    public function withBuildPackId($value)
5771
    {
5772
        $this->data['BuildPackId'] = $value;
5773
        $this->options['query']['BuildPackId'] = $value;
5774
5775
        return $this;
5776
    }
5777
5778
    /**
5779
     * @param string $value
5780
     *
5781
     * @return $this
5782
     */
5783
    public function withComponentIds($value)
5784
    {
5785
        $this->data['ComponentIds'] = $value;
5786
        $this->options['query']['ComponentIds'] = $value;
5787
5788
        return $this;
5789
    }
5790
5791
    /**
5792
     * @param string $value
5793
     *
5794
     * @return $this
5795
     */
5796
    public function withAppId($value)
5797
    {
5798
        $this->data['AppId'] = $value;
5799
        $this->options['query']['AppId'] = $value;
5800
5801
        return $this;
5802
    }
5803
5804
    /**
5805
     * @param string $value
5806
     *
5807
     * @return $this
5808
     */
5809
    public function withImageUrl($value)
5810
    {
5811
        $this->data['ImageUrl'] = $value;
5812
        $this->options['query']['ImageUrl'] = $value;
5813
5814
        return $this;
5815
    }
5816
5817
    /**
5818
     * @param string $value
5819
     *
5820
     * @return $this
5821
     */
5822
    public function withGroupId($value)
5823
    {
5824
        $this->data['GroupId'] = $value;
5825
        $this->options['query']['GroupId'] = $value;
5826
5827
        return $this;
5828
    }
5829
5830
    /**
5831
     * @param string $value
5832
     *
5833
     * @return $this
5834
     */
5835
    public function withBatchWaitTime($value)
5836
    {
5837
        $this->data['BatchWaitTime'] = $value;
5838
        $this->options['query']['BatchWaitTime'] = $value;
5839
5840
        return $this;
5841
    }
5842
5843
    /**
5844
     * @param string $value
5845
     *
5846
     * @return $this
5847
     */
5848
    public function withBatch($value)
5849
    {
5850
        $this->data['Batch'] = $value;
5851
        $this->options['query']['Batch'] = $value;
5852
5853
        return $this;
5854
    }
5855
5856
    /**
5857
     * @param string $value
5858
     *
5859
     * @return $this
5860
     */
5861
    public function withAppEnv($value)
5862
    {
5863
        $this->data['AppEnv'] = $value;
5864
        $this->options['query']['AppEnv'] = $value;
5865
5866
        return $this;
5867
    }
5868
5869
    /**
5870
     * @param string $value
5871
     *
5872
     * @return $this
5873
     */
5874
    public function withWarUrl($value)
5875
    {
5876
        $this->data['WarUrl'] = $value;
5877
        $this->options['query']['WarUrl'] = $value;
5878
5879
        return $this;
5880
    }
5881
5882
    /**
5883
     * @param string $value
5884
     *
5885
     * @return $this
5886
     */
5887
    public function withPackageVersion($value)
5888
    {
5889
        $this->data['PackageVersion'] = $value;
5890
        $this->options['query']['PackageVersion'] = $value;
5891
5892
        return $this;
5893
    }
5894
5895
    /**
5896
     * @param string $value
5897
     *
5898
     * @return $this
5899
     */
5900
    public function withDesc($value)
5901
    {
5902
        $this->data['Desc'] = $value;
5903
        $this->options['query']['Desc'] = $value;
5904
5905
        return $this;
5906
    }
5907
5908
    /**
5909
     * @param string $value
5910
     *
5911
     * @return $this
5912
     */
5913
    public function withDeployType($value)
5914
    {
5915
        $this->data['DeployType'] = $value;
5916
        $this->options['query']['DeployType'] = $value;
5917
5918
        return $this;
5919
    }
5920
}
5921
5922
/**
5923
 * @method string getBuildPackId()
5924
 * @method string getAppId()
5925
 */
5926
class UpdateContainer extends V20170801Roa
5927
{
5928
    /** @var string */
5929
    public $pathPattern = '/pop/v5/changeorder/co_update_container';
5930
5931
    /**
5932
     * @param string $value
5933
     *
5934
     * @return $this
5935
     */
5936
    public function withBuildPackId($value)
5937
    {
5938
        $this->data['BuildPackId'] = $value;
5939
        $this->options['query']['BuildPackId'] = $value;
5940
5941
        return $this;
5942
    }
5943
5944
    /**
5945
     * @param string $value
5946
     *
5947
     * @return $this
5948
     */
5949
    public function withAppId($value)
5950
    {
5951
        $this->data['AppId'] = $value;
5952
        $this->options['query']['AppId'] = $value;
5953
5954
        return $this;
5955
    }
5956
}
5957
5958
class ListApplicationEcu extends V20170801Roa
5959
{
5960
    /** @var string */
5961
    public $pathPattern = '/pop/v5/resource/ecu_list';
5962
}
5963
5964
class ListBuildPack extends V20170801Roa
5965
{
5966
    /** @var string */
5967
    public $pathPattern = '/pop/v5/app/build_pack_list';
5968
}
5969
5970
/**
5971
 * @method string getAppId()
5972
 */
5973
class ListDeployGroup extends V20170801Roa
5974
{
5975
    /** @var string */
5976
    public $pathPattern = '/pop/v5/app/deploy_group_list';
5977
5978
    /**
5979
     * @param string $value
5980
     *
5981
     * @return $this
5982
     */
5983
    public function withAppId($value)
5984
    {
5985
        $this->data['AppId'] = $value;
5986
        $this->options['query']['AppId'] = $value;
5987
5988
        return $this;
5989
    }
5990
}
5991
5992
/**
5993
 * @method string getDataId()
5994
 * @method string getLogicalRegionId()
5995
 * @method string getGroup()
5996
 */
5997
class QueryConfigCenter extends V20170801Roa
5998
{
5999
    /** @var string */
6000
    public $pathPattern = '/pop/v5/configCenter';
6001
6002
    /** @var string */
6003
    public $method = 'GET';
6004
6005
    /**
6006
     * @param string $value
6007
     *
6008
     * @return $this
6009
     */
6010
    public function withDataId($value)
6011
    {
6012
        $this->data['DataId'] = $value;
6013
        $this->options['query']['DataId'] = $value;
6014
6015
        return $this;
6016
    }
6017
6018
    /**
6019
     * @param string $value
6020
     *
6021
     * @return $this
6022
     */
6023
    public function withLogicalRegionId($value)
6024
    {
6025
        $this->data['LogicalRegionId'] = $value;
6026
        $this->options['query']['LogicalRegionId'] = $value;
6027
6028
        return $this;
6029
    }
6030
6031
    /**
6032
     * @param string $value
6033
     *
6034
     * @return $this
6035
     */
6036
    public function withGroup($value)
6037
    {
6038
        $this->data['Group'] = $value;
6039
        $this->options['query']['Group'] = $value;
6040
6041
        return $this;
6042
    }
6043
}
6044
6045
/**
6046
 * @method string getDuration()
6047
 * @method string getRuleType()
6048
 * @method string getAppId()
6049
 * @method string getUrlVar()
6050
 * @method string getRtThreshold()
6051
 * @method string getServiceName()
6052
 * @method string getRuleId()
6053
 * @method string getMethodName()
6054
 */
6055
class UpdateDegradeControl extends V20170801Roa
6056
{
6057
    /** @var string */
6058
    public $pathPattern = '/pop/v5/degradeControl';
6059
6060
    /** @var string */
6061
    public $method = 'PUT';
6062
6063
    /**
6064
     * @param string $value
6065
     *
6066
     * @return $this
6067
     */
6068
    public function withDuration($value)
6069
    {
6070
        $this->data['Duration'] = $value;
6071
        $this->options['query']['Duration'] = $value;
6072
6073
        return $this;
6074
    }
6075
6076
    /**
6077
     * @param string $value
6078
     *
6079
     * @return $this
6080
     */
6081
    public function withRuleType($value)
6082
    {
6083
        $this->data['RuleType'] = $value;
6084
        $this->options['query']['RuleType'] = $value;
6085
6086
        return $this;
6087
    }
6088
6089
    /**
6090
     * @param string $value
6091
     *
6092
     * @return $this
6093
     */
6094
    public function withAppId($value)
6095
    {
6096
        $this->data['AppId'] = $value;
6097
        $this->options['query']['AppId'] = $value;
6098
6099
        return $this;
6100
    }
6101
6102
    /**
6103
     * @param string $value
6104
     *
6105
     * @return $this
6106
     */
6107
    public function withUrlVar($value)
6108
    {
6109
        $this->data['UrlVar'] = $value;
6110
        $this->options['query']['UrlVar'] = $value;
6111
6112
        return $this;
6113
    }
6114
6115
    /**
6116
     * @param string $value
6117
     *
6118
     * @return $this
6119
     */
6120
    public function withRtThreshold($value)
6121
    {
6122
        $this->data['RtThreshold'] = $value;
6123
        $this->options['query']['RtThreshold'] = $value;
6124
6125
        return $this;
6126
    }
6127
6128
    /**
6129
     * @param string $value
6130
     *
6131
     * @return $this
6132
     */
6133
    public function withServiceName($value)
6134
    {
6135
        $this->data['ServiceName'] = $value;
6136
        $this->options['query']['ServiceName'] = $value;
6137
6138
        return $this;
6139
    }
6140
6141
    /**
6142
     * @param string $value
6143
     *
6144
     * @return $this
6145
     */
6146
    public function withRuleId($value)
6147
    {
6148
        $this->data['RuleId'] = $value;
6149
        $this->options['query']['RuleId'] = $value;
6150
6151
        return $this;
6152
    }
6153
6154
    /**
6155
     * @param string $value
6156
     *
6157
     * @return $this
6158
     */
6159
    public function withMethodName($value)
6160
    {
6161
        $this->data['MethodName'] = $value;
6162
        $this->options['query']['MethodName'] = $value;
6163
6164
        return $this;
6165
    }
6166
}
6167
6168
/**
6169
 * @method string getConsumerAppId()
6170
 * @method string getGranularity()
6171
 * @method string getRuleType()
6172
 * @method string getAppId()
6173
 * @method string getUrlVar()
6174
 * @method string getServiceName()
6175
 * @method string getThreshold()
6176
 * @method string getRuleId()
6177
 * @method string getStrategy()
6178
 * @method string getMethodName()
6179
 */
6180
class UpdateFlowControl extends V20170801Roa
6181
{
6182
    /** @var string */
6183
    public $pathPattern = '/pop/v5/flowControl';
6184
6185
    /** @var string */
6186
    public $method = 'PUT';
6187
6188
    /**
6189
     * @param string $value
6190
     *
6191
     * @return $this
6192
     */
6193
    public function withConsumerAppId($value)
6194
    {
6195
        $this->data['ConsumerAppId'] = $value;
6196
        $this->options['query']['ConsumerAppId'] = $value;
6197
6198
        return $this;
6199
    }
6200
6201
    /**
6202
     * @param string $value
6203
     *
6204
     * @return $this
6205
     */
6206
    public function withGranularity($value)
6207
    {
6208
        $this->data['Granularity'] = $value;
6209
        $this->options['query']['Granularity'] = $value;
6210
6211
        return $this;
6212
    }
6213
6214
    /**
6215
     * @param string $value
6216
     *
6217
     * @return $this
6218
     */
6219
    public function withRuleType($value)
6220
    {
6221
        $this->data['RuleType'] = $value;
6222
        $this->options['query']['RuleType'] = $value;
6223
6224
        return $this;
6225
    }
6226
6227
    /**
6228
     * @param string $value
6229
     *
6230
     * @return $this
6231
     */
6232
    public function withAppId($value)
6233
    {
6234
        $this->data['AppId'] = $value;
6235
        $this->options['query']['AppId'] = $value;
6236
6237
        return $this;
6238
    }
6239
6240
    /**
6241
     * @param string $value
6242
     *
6243
     * @return $this
6244
     */
6245
    public function withUrlVar($value)
6246
    {
6247
        $this->data['UrlVar'] = $value;
6248
        $this->options['query']['UrlVar'] = $value;
6249
6250
        return $this;
6251
    }
6252
6253
    /**
6254
     * @param string $value
6255
     *
6256
     * @return $this
6257
     */
6258
    public function withServiceName($value)
6259
    {
6260
        $this->data['ServiceName'] = $value;
6261
        $this->options['query']['ServiceName'] = $value;
6262
6263
        return $this;
6264
    }
6265
6266
    /**
6267
     * @param string $value
6268
     *
6269
     * @return $this
6270
     */
6271
    public function withThreshold($value)
6272
    {
6273
        $this->data['Threshold'] = $value;
6274
        $this->options['query']['Threshold'] = $value;
6275
6276
        return $this;
6277
    }
6278
6279
    /**
6280
     * @param string $value
6281
     *
6282
     * @return $this
6283
     */
6284
    public function withRuleId($value)
6285
    {
6286
        $this->data['RuleId'] = $value;
6287
        $this->options['query']['RuleId'] = $value;
6288
6289
        return $this;
6290
    }
6291
6292
    /**
6293
     * @param string $value
6294
     *
6295
     * @return $this
6296
     */
6297
    public function withStrategy($value)
6298
    {
6299
        $this->data['Strategy'] = $value;
6300
        $this->options['query']['Strategy'] = $value;
6301
6302
        return $this;
6303
    }
6304
6305
    /**
6306
     * @param string $value
6307
     *
6308
     * @return $this
6309
     */
6310
    public function withMethodName($value)
6311
    {
6312
        $this->data['MethodName'] = $value;
6313
        $this->options['query']['MethodName'] = $value;
6314
6315
        return $this;
6316
    }
6317
}
6318
6319
/**
6320
 * @method string getAppId()
6321
 */
6322
class ListFlowControls extends V20170801Roa
6323
{
6324
    /** @var string */
6325
    public $pathPattern = '/pop/v5/app/flowControls';
6326
6327
    /** @var string */
6328
    public $method = 'GET';
6329
6330
    /**
6331
     * @param string $value
6332
     *
6333
     * @return $this
6334
     */
6335
    public function withAppId($value)
6336
    {
6337
        $this->data['AppId'] = $value;
6338
        $this->options['query']['AppId'] = $value;
6339
6340
        return $this;
6341
    }
6342
}
6343
6344
/**
6345
 * @method string getAppId()
6346
 */
6347
class ListPublishedServices extends V20170801Roa
6348
{
6349
    /** @var string */
6350
    public $pathPattern = '/pop/v5/service/listPublishedServices';
6351
6352
    /** @var string */
6353
    public $method = 'GET';
6354
6355
    /**
6356
     * @param string $value
6357
     *
6358
     * @return $this
6359
     */
6360
    public function withAppId($value)
6361
    {
6362
        $this->data['AppId'] = $value;
6363
        $this->options['query']['AppId'] = $value;
6364
6365
        return $this;
6366
    }
6367
}
6368
6369
class ListServiceGroups extends V20170801Roa
6370
{
6371
    /** @var string */
6372
    public $pathPattern = '/pop/v5/service/serviceGroups';
6373
6374
    /** @var string */
6375
    public $method = 'GET';
6376
}
6377
6378
/**
6379
 * @method string getConsumerAppId()
6380
 * @method string getGranularity()
6381
 * @method string getRuleType()
6382
 * @method string getAppId()
6383
 * @method string getUrlVar()
6384
 * @method string getServiceName()
6385
 * @method string getThreshold()
6386
 * @method string getStrategy()
6387
 * @method string getMethodName()
6388
 */
6389
class InsertFlowControl extends V20170801Roa
6390
{
6391
    /** @var string */
6392
    public $pathPattern = '/pop/v5/flowControl';
6393
6394
    /**
6395
     * @param string $value
6396
     *
6397
     * @return $this
6398
     */
6399
    public function withConsumerAppId($value)
6400
    {
6401
        $this->data['ConsumerAppId'] = $value;
6402
        $this->options['query']['ConsumerAppId'] = $value;
6403
6404
        return $this;
6405
    }
6406
6407
    /**
6408
     * @param string $value
6409
     *
6410
     * @return $this
6411
     */
6412
    public function withGranularity($value)
6413
    {
6414
        $this->data['Granularity'] = $value;
6415
        $this->options['query']['Granularity'] = $value;
6416
6417
        return $this;
6418
    }
6419
6420
    /**
6421
     * @param string $value
6422
     *
6423
     * @return $this
6424
     */
6425
    public function withRuleType($value)
6426
    {
6427
        $this->data['RuleType'] = $value;
6428
        $this->options['query']['RuleType'] = $value;
6429
6430
        return $this;
6431
    }
6432
6433
    /**
6434
     * @param string $value
6435
     *
6436
     * @return $this
6437
     */
6438
    public function withAppId($value)
6439
    {
6440
        $this->data['AppId'] = $value;
6441
        $this->options['query']['AppId'] = $value;
6442
6443
        return $this;
6444
    }
6445
6446
    /**
6447
     * @param string $value
6448
     *
6449
     * @return $this
6450
     */
6451
    public function withUrlVar($value)
6452
    {
6453
        $this->data['UrlVar'] = $value;
6454
        $this->options['query']['UrlVar'] = $value;
6455
6456
        return $this;
6457
    }
6458
6459
    /**
6460
     * @param string $value
6461
     *
6462
     * @return $this
6463
     */
6464
    public function withServiceName($value)
6465
    {
6466
        $this->data['ServiceName'] = $value;
6467
        $this->options['query']['ServiceName'] = $value;
6468
6469
        return $this;
6470
    }
6471
6472
    /**
6473
     * @param string $value
6474
     *
6475
     * @return $this
6476
     */
6477
    public function withThreshold($value)
6478
    {
6479
        $this->data['Threshold'] = $value;
6480
        $this->options['query']['Threshold'] = $value;
6481
6482
        return $this;
6483
    }
6484
6485
    /**
6486
     * @param string $value
6487
     *
6488
     * @return $this
6489
     */
6490
    public function withStrategy($value)
6491
    {
6492
        $this->data['Strategy'] = $value;
6493
        $this->options['query']['Strategy'] = $value;
6494
6495
        return $this;
6496
    }
6497
6498
    /**
6499
     * @param string $value
6500
     *
6501
     * @return $this
6502
     */
6503
    public function withMethodName($value)
6504
    {
6505
        $this->data['MethodName'] = $value;
6506
        $this->options['query']['MethodName'] = $value;
6507
6508
        return $this;
6509
    }
6510
}
6511
6512
/**
6513
 * @method string getGroupName()
6514
 */
6515
class InsertServiceGroup extends V20170801Roa
6516
{
6517
    /** @var string */
6518
    public $pathPattern = '/pop/v5/service/serviceGroups';
6519
6520
    /**
6521
     * @param string $value
6522
     *
6523
     * @return $this
6524
     */
6525
    public function withGroupName($value)
6526
    {
6527
        $this->data['GroupName'] = $value;
6528
        $this->options['query']['GroupName'] = $value;
6529
6530
        return $this;
6531
    }
6532
}
6533
6534
/**
6535
 * @method string getAppName()
6536
 * @method string getLogicalRegionId()
6537
 * @method string getDataIdPattern()
6538
 * @method string getGroup()
6539
 */
6540
class ListConfigCenters extends V20170801Roa
6541
{
6542
    /** @var string */
6543
    public $pathPattern = '/pop/v5/configCenters';
6544
6545
    /** @var string */
6546
    public $method = 'GET';
6547
6548
    /**
6549
     * @param string $value
6550
     *
6551
     * @return $this
6552
     */
6553
    public function withAppName($value)
6554
    {
6555
        $this->data['AppName'] = $value;
6556
        $this->options['query']['AppName'] = $value;
6557
6558
        return $this;
6559
    }
6560
6561
    /**
6562
     * @param string $value
6563
     *
6564
     * @return $this
6565
     */
6566
    public function withLogicalRegionId($value)
6567
    {
6568
        $this->data['LogicalRegionId'] = $value;
6569
        $this->options['query']['LogicalRegionId'] = $value;
6570
6571
        return $this;
6572
    }
6573
6574
    /**
6575
     * @param string $value
6576
     *
6577
     * @return $this
6578
     */
6579
    public function withDataIdPattern($value)
6580
    {
6581
        $this->data['DataIdPattern'] = $value;
6582
        $this->options['query']['DataIdPattern'] = $value;
6583
6584
        return $this;
6585
    }
6586
6587
    /**
6588
     * @param string $value
6589
     *
6590
     * @return $this
6591
     */
6592
    public function withGroup($value)
6593
    {
6594
        $this->data['Group'] = $value;
6595
        $this->options['query']['Group'] = $value;
6596
6597
        return $this;
6598
    }
6599
}
6600
6601
/**
6602
 * @method string getAppId()
6603
 */
6604
class ListConsumedServices extends V20170801Roa
6605
{
6606
    /** @var string */
6607
    public $pathPattern = '/pop/v5/service/listConsumedServices';
6608
6609
    /** @var string */
6610
    public $method = 'GET';
6611
6612
    /**
6613
     * @param string $value
6614
     *
6615
     * @return $this
6616
     */
6617
    public function withAppId($value)
6618
    {
6619
        $this->data['AppId'] = $value;
6620
        $this->options['query']['AppId'] = $value;
6621
6622
        return $this;
6623
    }
6624
}
6625
6626
/**
6627
 * @method string getAppId()
6628
 */
6629
class ListDegradeControls extends V20170801Roa
6630
{
6631
    /** @var string */
6632
    public $pathPattern = '/pop/v5/app/degradeControls';
6633
6634
    /** @var string */
6635
    public $method = 'GET';
6636
6637
    /**
6638
     * @param string $value
6639
     *
6640
     * @return $this
6641
     */
6642
    public function withAppId($value)
6643
    {
6644
        $this->data['AppId'] = $value;
6645
        $this->options['query']['AppId'] = $value;
6646
6647
        return $this;
6648
    }
6649
}
6650
6651
/**
6652
 * @method string getAppId()
6653
 * @method string getRuleId()
6654
 */
6655
class DisableDegradeControl extends V20170801Roa
6656
{
6657
    /** @var string */
6658
    public $pathPattern = '/pop/v5/degradecontrol/disable';
6659
6660
    /** @var string */
6661
    public $method = 'PUT';
6662
6663
    /**
6664
     * @param string $value
6665
     *
6666
     * @return $this
6667
     */
6668
    public function withAppId($value)
6669
    {
6670
        $this->data['AppId'] = $value;
6671
        $this->options['query']['AppId'] = $value;
6672
6673
        return $this;
6674
    }
6675
6676
    /**
6677
     * @param string $value
6678
     *
6679
     * @return $this
6680
     */
6681
    public function withRuleId($value)
6682
    {
6683
        $this->data['RuleId'] = $value;
6684
        $this->options['query']['RuleId'] = $value;
6685
6686
        return $this;
6687
    }
6688
}
6689
6690
/**
6691
 * @method string getAppId()
6692
 * @method string getRuleId()
6693
 */
6694
class DisableFlowControl extends V20170801Roa
6695
{
6696
    /** @var string */
6697
    public $pathPattern = '/pop/v5/flowcontrol/disable';
6698
6699
    /** @var string */
6700
    public $method = 'PUT';
6701
6702
    /**
6703
     * @param string $value
6704
     *
6705
     * @return $this
6706
     */
6707
    public function withAppId($value)
6708
    {
6709
        $this->data['AppId'] = $value;
6710
        $this->options['query']['AppId'] = $value;
6711
6712
        return $this;
6713
    }
6714
6715
    /**
6716
     * @param string $value
6717
     *
6718
     * @return $this
6719
     */
6720
    public function withRuleId($value)
6721
    {
6722
        $this->data['RuleId'] = $value;
6723
        $this->options['query']['RuleId'] = $value;
6724
6725
        return $this;
6726
    }
6727
}
6728
6729
/**
6730
 * @method string getAppId()
6731
 * @method string getRuleId()
6732
 */
6733
class EnableFlowControl extends V20170801Roa
6734
{
6735
    /** @var string */
6736
    public $pathPattern = '/pop/v5/flowcontrol/enable';
6737
6738
    /** @var string */
6739
    public $method = 'PUT';
6740
6741
    /**
6742
     * @param string $value
6743
     *
6744
     * @return $this
6745
     */
6746
    public function withAppId($value)
6747
    {
6748
        $this->data['AppId'] = $value;
6749
        $this->options['query']['AppId'] = $value;
6750
6751
        return $this;
6752
    }
6753
6754
    /**
6755
     * @param string $value
6756
     *
6757
     * @return $this
6758
     */
6759
    public function withRuleId($value)
6760
    {
6761
        $this->data['RuleId'] = $value;
6762
        $this->options['query']['RuleId'] = $value;
6763
6764
        return $this;
6765
    }
6766
}
6767
6768
/**
6769
 * @method string getDataId()
6770
 * @method string getData()
6771
 * @method string getAppName()
6772
 * @method string getLogicalRegionId()
6773
 * @method string getGroup()
6774
 */
6775
class InsertConfigCenter extends V20170801Roa
6776
{
6777
    /** @var string */
6778
    public $pathPattern = '/pop/v5/configCenter';
6779
6780
    /**
6781
     * @param string $value
6782
     *
6783
     * @return $this
6784
     */
6785
    public function withDataId($value)
6786
    {
6787
        $this->data['DataId'] = $value;
6788
        $this->options['query']['DataId'] = $value;
6789
6790
        return $this;
6791
    }
6792
6793
    /**
6794
     * @param string $value
6795
     *
6796
     * @return $this
6797
     */
6798
    public function withData($value)
6799
    {
6800
        $this->data['Data'] = $value;
6801
        $this->options['query']['Data'] = $value;
6802
6803
        return $this;
6804
    }
6805
6806
    /**
6807
     * @param string $value
6808
     *
6809
     * @return $this
6810
     */
6811
    public function withAppName($value)
6812
    {
6813
        $this->data['AppName'] = $value;
6814
        $this->options['query']['AppName'] = $value;
6815
6816
        return $this;
6817
    }
6818
6819
    /**
6820
     * @param string $value
6821
     *
6822
     * @return $this
6823
     */
6824
    public function withLogicalRegionId($value)
6825
    {
6826
        $this->data['LogicalRegionId'] = $value;
6827
        $this->options['query']['LogicalRegionId'] = $value;
6828
6829
        return $this;
6830
    }
6831
6832
    /**
6833
     * @param string $value
6834
     *
6835
     * @return $this
6836
     */
6837
    public function withGroup($value)
6838
    {
6839
        $this->data['Group'] = $value;
6840
        $this->options['query']['Group'] = $value;
6841
6842
        return $this;
6843
    }
6844
}
6845
6846
/**
6847
 * @method string getDuration()
6848
 * @method string getRuleType()
6849
 * @method string getAppId()
6850
 * @method string getUrlVar()
6851
 * @method string getRtThreshold()
6852
 * @method string getServiceName()
6853
 * @method string getMethodName()
6854
 */
6855
class InsertDegradeControl extends V20170801Roa
6856
{
6857
    /** @var string */
6858
    public $pathPattern = '/pop/v5/degradeControl';
6859
6860
    /**
6861
     * @param string $value
6862
     *
6863
     * @return $this
6864
     */
6865
    public function withDuration($value)
6866
    {
6867
        $this->data['Duration'] = $value;
6868
        $this->options['query']['Duration'] = $value;
6869
6870
        return $this;
6871
    }
6872
6873
    /**
6874
     * @param string $value
6875
     *
6876
     * @return $this
6877
     */
6878
    public function withRuleType($value)
6879
    {
6880
        $this->data['RuleType'] = $value;
6881
        $this->options['query']['RuleType'] = $value;
6882
6883
        return $this;
6884
    }
6885
6886
    /**
6887
     * @param string $value
6888
     *
6889
     * @return $this
6890
     */
6891
    public function withAppId($value)
6892
    {
6893
        $this->data['AppId'] = $value;
6894
        $this->options['query']['AppId'] = $value;
6895
6896
        return $this;
6897
    }
6898
6899
    /**
6900
     * @param string $value
6901
     *
6902
     * @return $this
6903
     */
6904
    public function withUrlVar($value)
6905
    {
6906
        $this->data['UrlVar'] = $value;
6907
        $this->options['query']['UrlVar'] = $value;
6908
6909
        return $this;
6910
    }
6911
6912
    /**
6913
     * @param string $value
6914
     *
6915
     * @return $this
6916
     */
6917
    public function withRtThreshold($value)
6918
    {
6919
        $this->data['RtThreshold'] = $value;
6920
        $this->options['query']['RtThreshold'] = $value;
6921
6922
        return $this;
6923
    }
6924
6925
    /**
6926
     * @param string $value
6927
     *
6928
     * @return $this
6929
     */
6930
    public function withServiceName($value)
6931
    {
6932
        $this->data['ServiceName'] = $value;
6933
        $this->options['query']['ServiceName'] = $value;
6934
6935
        return $this;
6936
    }
6937
6938
    /**
6939
     * @param string $value
6940
     *
6941
     * @return $this
6942
     */
6943
    public function withMethodName($value)
6944
    {
6945
        $this->data['MethodName'] = $value;
6946
        $this->options['query']['MethodName'] = $value;
6947
6948
        return $this;
6949
    }
6950
}
6951
6952
/**
6953
 * @method string getDataId()
6954
 * @method string getLogicalRegionId()
6955
 * @method string getGroup()
6956
 */
6957
class DeleteConfigCenter extends V20170801Roa
6958
{
6959
    /** @var string */
6960
    public $pathPattern = '/pop/v5/configCenter';
6961
6962
    /** @var string */
6963
    public $method = 'DELETE';
6964
6965
    /**
6966
     * @param string $value
6967
     *
6968
     * @return $this
6969
     */
6970
    public function withDataId($value)
6971
    {
6972
        $this->data['DataId'] = $value;
6973
        $this->options['query']['DataId'] = $value;
6974
6975
        return $this;
6976
    }
6977
6978
    /**
6979
     * @param string $value
6980
     *
6981
     * @return $this
6982
     */
6983
    public function withLogicalRegionId($value)
6984
    {
6985
        $this->data['LogicalRegionId'] = $value;
6986
        $this->options['query']['LogicalRegionId'] = $value;
6987
6988
        return $this;
6989
    }
6990
6991
    /**
6992
     * @param string $value
6993
     *
6994
     * @return $this
6995
     */
6996
    public function withGroup($value)
6997
    {
6998
        $this->data['Group'] = $value;
6999
        $this->options['query']['Group'] = $value;
7000
7001
        return $this;
7002
    }
7003
}
7004
7005
/**
7006
 * @method string getAppId()
7007
 * @method string getRuleId()
7008
 */
7009
class DeleteDegradeControl extends V20170801Roa
7010
{
7011
    /** @var string */
7012
    public $pathPattern = '/pop/v5/degradeControl';
7013
7014
    /** @var string */
7015
    public $method = 'DELETE';
7016
7017
    /**
7018
     * @param string $value
7019
     *
7020
     * @return $this
7021
     */
7022
    public function withAppId($value)
7023
    {
7024
        $this->data['AppId'] = $value;
7025
        $this->options['query']['AppId'] = $value;
7026
7027
        return $this;
7028
    }
7029
7030
    /**
7031
     * @param string $value
7032
     *
7033
     * @return $this
7034
     */
7035
    public function withRuleId($value)
7036
    {
7037
        $this->data['RuleId'] = $value;
7038
        $this->options['query']['RuleId'] = $value;
7039
7040
        return $this;
7041
    }
7042
}
7043
7044
/**
7045
 * @method string getAppId()
7046
 * @method string getRuleId()
7047
 */
7048
class DeleteFlowControl extends V20170801Roa
7049
{
7050
    /** @var string */
7051
    public $pathPattern = '/pop/v5/flowControl';
7052
7053
    /** @var string */
7054
    public $method = 'DELETE';
7055
7056
    /**
7057
     * @param string $value
7058
     *
7059
     * @return $this
7060
     */
7061
    public function withAppId($value)
7062
    {
7063
        $this->data['AppId'] = $value;
7064
        $this->options['query']['AppId'] = $value;
7065
7066
        return $this;
7067
    }
7068
7069
    /**
7070
     * @param string $value
7071
     *
7072
     * @return $this
7073
     */
7074
    public function withRuleId($value)
7075
    {
7076
        $this->data['RuleId'] = $value;
7077
        $this->options['query']['RuleId'] = $value;
7078
7079
        return $this;
7080
    }
7081
}
7082
7083
/**
7084
 * @method string getGroupId()
7085
 */
7086
class DeleteServiceGroup extends V20170801Roa
7087
{
7088
    /** @var string */
7089
    public $pathPattern = '/pop/v5/service/serviceGroups';
7090
7091
    /** @var string */
7092
    public $method = 'DELETE';
7093
7094
    /**
7095
     * @param string $value
7096
     *
7097
     * @return $this
7098
     */
7099
    public function withGroupId($value)
7100
    {
7101
        $this->data['GroupId'] = $value;
7102
        $this->options['query']['GroupId'] = $value;
7103
7104
        return $this;
7105
    }
7106
}
7107
7108
class ListApplication extends V20170801Roa
7109
{
7110
    /** @var string */
7111
    public $pathPattern = '/pop/v5/app/app_list';
7112
}
7113