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 (#67)
by Yong
05:43
created

MigrateEcu   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 30
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 8
dl 0
loc 30
c 0
b 0
f 0
rs 10

2 Methods

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