GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( 66ae63...408f58 )
by
unknown
07:18
created

UpdateNamespace   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 45
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
eloc 12
c 1
b 0
f 0
dl 0
loc 45
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A withNamespaceDescription() 0 6 1
A withNamespaceName() 0 6 1
A withNamespaceId() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\Sae\V20190506;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AbortAndRollbackChangeOrder abortAndRollbackChangeOrder(array $options = [])
9
 * @method AbortChangeOrder abortChangeOrder(array $options = [])
10
 * @method BatchStartApplications batchStartApplications(array $options = [])
11
 * @method BatchStopApplications batchStopApplications(array $options = [])
12
 * @method BindSlb bindSlb(array $options = [])
13
 * @method ConfirmPipelineBatch confirmPipelineBatch(array $options = [])
14
 * @method CreateApplication createApplication(array $options = [])
15
 * @method CreateConfigMap createConfigMap(array $options = [])
16
 * @method CreateIngress createIngress(array $options = [])
17
 * @method CreateNamespace createNamespace(array $options = [])
18
 * @method DeleteApplication deleteApplication(array $options = [])
19
 * @method DeleteConfigMap deleteConfigMap(array $options = [])
20
 * @method DeleteIngress deleteIngress(array $options = [])
21
 * @method DeleteNamespace deleteNamespace(array $options = [])
22
 * @method DeployApplication deployApplication(array $options = [])
23
 * @method DescribeApplicationConfig describeApplicationConfig(array $options = [])
24
 * @method DescribeApplicationGroups describeApplicationGroups(array $options = [])
25
 * @method DescribeApplicationImage describeApplicationImage(array $options = [])
26
 * @method DescribeApplicationInstances describeApplicationInstances(array $options = [])
27
 * @method DescribeApplicationSlbs describeApplicationSlbs(array $options = [])
28
 * @method DescribeApplicationStatus describeApplicationStatus(array $options = [])
29
 * @method DescribeChangeOrder describeChangeOrder(array $options = [])
30
 * @method DescribeComponents describeComponents(array $options = [])
31
 * @method DescribeConfigMap describeConfigMap(array $options = [])
32
 * @method DescribeEdasContainers describeEdasContainers(array $options = [])
33
 * @method DescribeIngress describeIngress(array $options = [])
34
 * @method DescribeInstanceLog describeInstanceLog(array $options = [])
35
 * @method DescribeInstanceSpecifications describeInstanceSpecifications(array $options = [])
36
 * @method DescribeNamespace describeNamespace(array $options = [])
37
 * @method DescribeNamespaceList describeNamespaceList(array $options = [])
38
 * @method DescribeNamespaceResources describeNamespaceResources(array $options = [])
39
 * @method DescribeNamespaces describeNamespaces(array $options = [])
40
 * @method DescribeRegions describeRegions(array $options = [])
41
 * @method ListAppEvents listAppEvents(array $options = [])
42
 * @method ListApplications listApplications(array $options = [])
43
 * @method ListAppVersions listAppVersions(array $options = [])
44
 * @method ListChangeOrders listChangeOrders(array $options = [])
45
 * @method ListConsumedServices listConsumedServices(array $options = [])
46
 * @method ListIngresses listIngresses(array $options = [])
47
 * @method ListLogConfigs listLogConfigs(array $options = [])
48
 * @method ListNamespaceChangeOrders listNamespaceChangeOrders(array $options = [])
49
 * @method ListNamespacedConfigMaps listNamespacedConfigMaps(array $options = [])
50
 * @method ListPublishedServices listPublishedServices(array $options = [])
51
 * @method ListTagResources listTagResources(array $options = [])
52
 * @method QueryResourceStatics queryResourceStatics(array $options = [])
53
 * @method RescaleApplication rescaleApplication(array $options = [])
54
 * @method RescaleApplicationVertically rescaleApplicationVertically(array $options = [])
55
 * @method RestartApplication restartApplication(array $options = [])
56
 * @method RollbackApplication rollbackApplication(array $options = [])
57
 * @method StartApplication startApplication(array $options = [])
58
 * @method StopApplication stopApplication(array $options = [])
59
 * @method TagResources tagResources(array $options = [])
60
 * @method UnbindSlb unbindSlb(array $options = [])
61
 * @method UntagResources untagResources(array $options = [])
62
 * @method UpdateAppSecurityGroup updateAppSecurityGroup(array $options = [])
63
 * @method UpdateConfigMap updateConfigMap(array $options = [])
64
 * @method UpdateIngress updateIngress(array $options = [])
65
 * @method UpdateNamespace updateNamespace(array $options = [])
66
 * @method UpdateNamespaceVpc updateNamespaceVpc(array $options = [])
67
 */
68
class SaeApiResolver extends ApiResolver
69
{
70
}
71
72
class Roa extends \AlibabaCloud\Client\Resolver\Roa
73
{
74
    /** @var string */
75
    public $product = 'sae';
76
77
    /** @var string */
78
    public $version = '2019-05-06';
79
80
    /** @var string */
81
    public $serviceCode = 'serverless';
82
}
83
84
/**
85
 * @method string getChangeOrderId()
86
 */
87
class AbortAndRollbackChangeOrder extends Roa
88
{
89
    /** @var string */
90
    public $pathPattern = '/pop/v1/sam/changeorder/AbortAndRollbackChangeOrder';
91
92
    /** @var string */
93
    public $method = 'PUT';
94
95
    /**
96
     * @param string $value
97
     *
98
     * @return $this
99
     */
100
    public function withChangeOrderId($value)
101
    {
102
        $this->data['ChangeOrderId'] = $value;
103
        $this->options['query']['ChangeOrderId'] = $value;
104
105
        return $this;
106
    }
107
}
108
109
/**
110
 * @method string getChangeOrderId()
111
 */
112
class AbortChangeOrder extends Roa
113
{
114
    /** @var string */
115
    public $pathPattern = '/pop/v1/sam/changeorder/AbortChangeOrder';
116
117
    /** @var string */
118
    public $method = 'PUT';
119
120
    /**
121
     * @param string $value
122
     *
123
     * @return $this
124
     */
125
    public function withChangeOrderId($value)
126
    {
127
        $this->data['ChangeOrderId'] = $value;
128
        $this->options['query']['ChangeOrderId'] = $value;
129
130
        return $this;
131
    }
132
}
133
134
/**
135
 * @method string getAppIds()
136
 * @method string getNamespaceId()
137
 */
138
class BatchStartApplications extends Roa
139
{
140
    /** @var string */
141
    public $pathPattern = '/pop/v1/sam/app/batchStartApplications';
142
143
    /** @var string */
144
    public $method = 'PUT';
145
146
    /**
147
     * @param string $value
148
     *
149
     * @return $this
150
     */
151
    public function withAppIds($value)
152
    {
153
        $this->data['AppIds'] = $value;
154
        $this->options['query']['AppIds'] = $value;
155
156
        return $this;
157
    }
158
159
    /**
160
     * @param string $value
161
     *
162
     * @return $this
163
     */
164
    public function withNamespaceId($value)
165
    {
166
        $this->data['NamespaceId'] = $value;
167
        $this->options['query']['NamespaceId'] = $value;
168
169
        return $this;
170
    }
171
}
172
173
/**
174
 * @method string getAppIds()
175
 * @method string getNamespaceId()
176
 */
177
class BatchStopApplications extends Roa
178
{
179
    /** @var string */
180
    public $pathPattern = '/pop/v1/sam/app/batchStopApplications';
181
182
    /** @var string */
183
    public $method = 'PUT';
184
185
    /**
186
     * @param string $value
187
     *
188
     * @return $this
189
     */
190
    public function withAppIds($value)
191
    {
192
        $this->data['AppIds'] = $value;
193
        $this->options['query']['AppIds'] = $value;
194
195
        return $this;
196
    }
197
198
    /**
199
     * @param string $value
200
     *
201
     * @return $this
202
     */
203
    public function withNamespaceId($value)
204
    {
205
        $this->data['NamespaceId'] = $value;
206
        $this->options['query']['NamespaceId'] = $value;
207
208
        return $this;
209
    }
210
}
211
212
/**
213
 * @method string getIntranet()
214
 * @method string getIntranetSlbId()
215
 * @method string getInternetSlbId()
216
 * @method string getAppId()
217
 * @method string getInternet()
218
 */
219
class BindSlb extends Roa
220
{
221
    /** @var string */
222
    public $pathPattern = '/pop/v1/sam/app/slb';
223
224
    /** @var string */
225
    public $method = 'POST';
226
227
    /**
228
     * @param string $value
229
     *
230
     * @return $this
231
     */
232
    public function withIntranet($value)
233
    {
234
        $this->data['Intranet'] = $value;
235
        $this->options['query']['Intranet'] = $value;
236
237
        return $this;
238
    }
239
240
    /**
241
     * @param string $value
242
     *
243
     * @return $this
244
     */
245
    public function withIntranetSlbId($value)
246
    {
247
        $this->data['IntranetSlbId'] = $value;
248
        $this->options['query']['IntranetSlbId'] = $value;
249
250
        return $this;
251
    }
252
253
    /**
254
     * @param string $value
255
     *
256
     * @return $this
257
     */
258
    public function withInternetSlbId($value)
259
    {
260
        $this->data['InternetSlbId'] = $value;
261
        $this->options['query']['InternetSlbId'] = $value;
262
263
        return $this;
264
    }
265
266
    /**
267
     * @param string $value
268
     *
269
     * @return $this
270
     */
271
    public function withAppId($value)
272
    {
273
        $this->data['AppId'] = $value;
274
        $this->options['query']['AppId'] = $value;
275
276
        return $this;
277
    }
278
279
    /**
280
     * @param string $value
281
     *
282
     * @return $this
283
     */
284
    public function withInternet($value)
285
    {
286
        $this->data['Internet'] = $value;
287
        $this->options['query']['Internet'] = $value;
288
289
        return $this;
290
    }
291
}
292
293
/**
294
 * @method string getConfirm()
295
 * @method string getPipelineId()
296
 */
297
class ConfirmPipelineBatch extends Roa
298
{
299
    /** @var string */
300
    public $pathPattern = '/pop/v1/sam/changeorder/ConfirmPipelineBatch';
301
302
    /**
303
     * @param string $value
304
     *
305
     * @return $this
306
     */
307
    public function withConfirm($value)
308
    {
309
        $this->data['Confirm'] = $value;
310
        $this->options['query']['Confirm'] = $value;
311
312
        return $this;
313
    }
314
315
    /**
316
     * @param string $value
317
     *
318
     * @return $this
319
     */
320
    public function withPipelineId($value)
321
    {
322
        $this->data['PipelineId'] = $value;
323
        $this->options['query']['PipelineId'] = $value;
324
325
        return $this;
326
    }
327
}
328
329
/**
330
 * @method string getNasId()
331
 * @method string getWebContainer()
332
 * @method string getJarStartArgs()
333
 * @method string getMemory()
334
 * @method string getSlsConfigs()
335
 * @method string getCommandArgs()
336
 * @method string getReadiness()
337
 * @method string getTimezone()
338
 * @method string getMountHost()
339
 * @method string getAutoConfig()
340
 * @method string getLiveness()
341
 * @method string getSecurityGroupId()
342
 * @method string getEnvs()
343
 * @method string getPhpArmsConfigLocation()
344
 * @method string getPackageVersion()
345
 * @method string getTomcatConfig()
346
 * @method string getCustomHostAlias()
347
 * @method string getDeploy()
348
 * @method string getWarStartOptions()
349
 * @method string getJarStartOptions()
350
 * @method string getEdasContainerVersion()
351
 * @method string getAppName()
352
 * @method string getNamespaceId()
353
 * @method string getPackageUrl()
354
 * @method string getTerminationGracePeriodSeconds()
355
 * @method string getConfigMapMountDesc()
356
 * @method string getPhpConfig()
357
 * @method string getPreStop()
358
 * @method string getReplicas()
359
 * @method string getCpu()
360
 * @method string getCommand()
361
 * @method string getMountDesc()
362
 * @method string getVSwitchId()
363
 * @method string getJdk()
364
 * @method string getAppDescription()
365
 * @method string getVpcId()
366
 * @method string getImageUrl()
367
 * @method string getPackageType()
368
 * @method string getPhpConfigLocation()
369
 * @method string getPostStart()
370
 */
371
class CreateApplication extends Roa
372
{
373
    /** @var string */
374
    public $pathPattern = '/pop/v1/sam/app/createApplication';
375
376
    /** @var string */
377
    public $method = 'POST';
378
379
    /**
380
     * @param string $value
381
     *
382
     * @return $this
383
     */
384
    public function withNasId($value)
385
    {
386
        $this->data['NasId'] = $value;
387
        $this->options['query']['NasId'] = $value;
388
389
        return $this;
390
    }
391
392
    /**
393
     * @param string $value
394
     *
395
     * @return $this
396
     */
397
    public function withWebContainer($value)
398
    {
399
        $this->data['WebContainer'] = $value;
400
        $this->options['query']['WebContainer'] = $value;
401
402
        return $this;
403
    }
404
405
    /**
406
     * @param string $value
407
     *
408
     * @return $this
409
     */
410
    public function withJarStartArgs($value)
411
    {
412
        $this->data['JarStartArgs'] = $value;
413
        $this->options['query']['JarStartArgs'] = $value;
414
415
        return $this;
416
    }
417
418
    /**
419
     * @param string $value
420
     *
421
     * @return $this
422
     */
423
    public function withMemory($value)
424
    {
425
        $this->data['Memory'] = $value;
426
        $this->options['query']['Memory'] = $value;
427
428
        return $this;
429
    }
430
431
    /**
432
     * @param string $value
433
     *
434
     * @return $this
435
     */
436
    public function withSlsConfigs($value)
437
    {
438
        $this->data['SlsConfigs'] = $value;
439
        $this->options['query']['SlsConfigs'] = $value;
440
441
        return $this;
442
    }
443
444
    /**
445
     * @param string $value
446
     *
447
     * @return $this
448
     */
449
    public function withCommandArgs($value)
450
    {
451
        $this->data['CommandArgs'] = $value;
452
        $this->options['query']['CommandArgs'] = $value;
453
454
        return $this;
455
    }
456
457
    /**
458
     * @param string $value
459
     *
460
     * @return $this
461
     */
462
    public function withReadiness($value)
463
    {
464
        $this->data['Readiness'] = $value;
465
        $this->options['query']['Readiness'] = $value;
466
467
        return $this;
468
    }
469
470
    /**
471
     * @param string $value
472
     *
473
     * @return $this
474
     */
475
    public function withTimezone($value)
476
    {
477
        $this->data['Timezone'] = $value;
478
        $this->options['query']['Timezone'] = $value;
479
480
        return $this;
481
    }
482
483
    /**
484
     * @param string $value
485
     *
486
     * @return $this
487
     */
488
    public function withMountHost($value)
489
    {
490
        $this->data['MountHost'] = $value;
491
        $this->options['query']['MountHost'] = $value;
492
493
        return $this;
494
    }
495
496
    /**
497
     * @param string $value
498
     *
499
     * @return $this
500
     */
501
    public function withAutoConfig($value)
502
    {
503
        $this->data['AutoConfig'] = $value;
504
        $this->options['query']['AutoConfig'] = $value;
505
506
        return $this;
507
    }
508
509
    /**
510
     * @param string $value
511
     *
512
     * @return $this
513
     */
514
    public function withLiveness($value)
515
    {
516
        $this->data['Liveness'] = $value;
517
        $this->options['query']['Liveness'] = $value;
518
519
        return $this;
520
    }
521
522
    /**
523
     * @param string $value
524
     *
525
     * @return $this
526
     */
527
    public function withSecurityGroupId($value)
528
    {
529
        $this->data['SecurityGroupId'] = $value;
530
        $this->options['query']['SecurityGroupId'] = $value;
531
532
        return $this;
533
    }
534
535
    /**
536
     * @param string $value
537
     *
538
     * @return $this
539
     */
540
    public function withEnvs($value)
541
    {
542
        $this->data['Envs'] = $value;
543
        $this->options['query']['Envs'] = $value;
544
545
        return $this;
546
    }
547
548
    /**
549
     * @param string $value
550
     *
551
     * @return $this
552
     */
553
    public function withPhpArmsConfigLocation($value)
554
    {
555
        $this->data['PhpArmsConfigLocation'] = $value;
556
        $this->options['query']['PhpArmsConfigLocation'] = $value;
557
558
        return $this;
559
    }
560
561
    /**
562
     * @param string $value
563
     *
564
     * @return $this
565
     */
566
    public function withPackageVersion($value)
567
    {
568
        $this->data['PackageVersion'] = $value;
569
        $this->options['query']['PackageVersion'] = $value;
570
571
        return $this;
572
    }
573
574
    /**
575
     * @param string $value
576
     *
577
     * @return $this
578
     */
579
    public function withTomcatConfig($value)
580
    {
581
        $this->data['TomcatConfig'] = $value;
582
        $this->options['query']['TomcatConfig'] = $value;
583
584
        return $this;
585
    }
586
587
    /**
588
     * @param string $value
589
     *
590
     * @return $this
591
     */
592
    public function withCustomHostAlias($value)
593
    {
594
        $this->data['CustomHostAlias'] = $value;
595
        $this->options['query']['CustomHostAlias'] = $value;
596
597
        return $this;
598
    }
599
600
    /**
601
     * @param string $value
602
     *
603
     * @return $this
604
     */
605
    public function withDeploy($value)
606
    {
607
        $this->data['Deploy'] = $value;
608
        $this->options['query']['Deploy'] = $value;
609
610
        return $this;
611
    }
612
613
    /**
614
     * @param string $value
615
     *
616
     * @return $this
617
     */
618
    public function withWarStartOptions($value)
619
    {
620
        $this->data['WarStartOptions'] = $value;
621
        $this->options['query']['WarStartOptions'] = $value;
622
623
        return $this;
624
    }
625
626
    /**
627
     * @param string $value
628
     *
629
     * @return $this
630
     */
631
    public function withJarStartOptions($value)
632
    {
633
        $this->data['JarStartOptions'] = $value;
634
        $this->options['query']['JarStartOptions'] = $value;
635
636
        return $this;
637
    }
638
639
    /**
640
     * @param string $value
641
     *
642
     * @return $this
643
     */
644
    public function withEdasContainerVersion($value)
645
    {
646
        $this->data['EdasContainerVersion'] = $value;
647
        $this->options['query']['EdasContainerVersion'] = $value;
648
649
        return $this;
650
    }
651
652
    /**
653
     * @param string $value
654
     *
655
     * @return $this
656
     */
657
    public function withAppName($value)
658
    {
659
        $this->data['AppName'] = $value;
660
        $this->options['query']['AppName'] = $value;
661
662
        return $this;
663
    }
664
665
    /**
666
     * @param string $value
667
     *
668
     * @return $this
669
     */
670
    public function withNamespaceId($value)
671
    {
672
        $this->data['NamespaceId'] = $value;
673
        $this->options['query']['NamespaceId'] = $value;
674
675
        return $this;
676
    }
677
678
    /**
679
     * @param string $value
680
     *
681
     * @return $this
682
     */
683
    public function withPackageUrl($value)
684
    {
685
        $this->data['PackageUrl'] = $value;
686
        $this->options['query']['PackageUrl'] = $value;
687
688
        return $this;
689
    }
690
691
    /**
692
     * @param string $value
693
     *
694
     * @return $this
695
     */
696
    public function withTerminationGracePeriodSeconds($value)
697
    {
698
        $this->data['TerminationGracePeriodSeconds'] = $value;
699
        $this->options['query']['TerminationGracePeriodSeconds'] = $value;
700
701
        return $this;
702
    }
703
704
    /**
705
     * @param string $value
706
     *
707
     * @return $this
708
     */
709
    public function withConfigMapMountDesc($value)
710
    {
711
        $this->data['ConfigMapMountDesc'] = $value;
712
        $this->options['form_params']['ConfigMapMountDesc'] = $value;
713
714
        return $this;
715
    }
716
717
    /**
718
     * @param string $value
719
     *
720
     * @return $this
721
     */
722
    public function withPhpConfig($value)
723
    {
724
        $this->data['PhpConfig'] = $value;
725
        $this->options['form_params']['PhpConfig'] = $value;
726
727
        return $this;
728
    }
729
730
    /**
731
     * @param string $value
732
     *
733
     * @return $this
734
     */
735
    public function withPreStop($value)
736
    {
737
        $this->data['PreStop'] = $value;
738
        $this->options['query']['PreStop'] = $value;
739
740
        return $this;
741
    }
742
743
    /**
744
     * @param string $value
745
     *
746
     * @return $this
747
     */
748
    public function withReplicas($value)
749
    {
750
        $this->data['Replicas'] = $value;
751
        $this->options['query']['Replicas'] = $value;
752
753
        return $this;
754
    }
755
756
    /**
757
     * @param string $value
758
     *
759
     * @return $this
760
     */
761
    public function withCpu($value)
762
    {
763
        $this->data['Cpu'] = $value;
764
        $this->options['query']['Cpu'] = $value;
765
766
        return $this;
767
    }
768
769
    /**
770
     * @param string $value
771
     *
772
     * @return $this
773
     */
774
    public function withCommand($value)
775
    {
776
        $this->data['Command'] = $value;
777
        $this->options['query']['Command'] = $value;
778
779
        return $this;
780
    }
781
782
    /**
783
     * @param string $value
784
     *
785
     * @return $this
786
     */
787
    public function withMountDesc($value)
788
    {
789
        $this->data['MountDesc'] = $value;
790
        $this->options['query']['MountDesc'] = $value;
791
792
        return $this;
793
    }
794
795
    /**
796
     * @param string $value
797
     *
798
     * @return $this
799
     */
800
    public function withVSwitchId($value)
801
    {
802
        $this->data['VSwitchId'] = $value;
803
        $this->options['query']['VSwitchId'] = $value;
804
805
        return $this;
806
    }
807
808
    /**
809
     * @param string $value
810
     *
811
     * @return $this
812
     */
813
    public function withJdk($value)
814
    {
815
        $this->data['Jdk'] = $value;
816
        $this->options['query']['Jdk'] = $value;
817
818
        return $this;
819
    }
820
821
    /**
822
     * @param string $value
823
     *
824
     * @return $this
825
     */
826
    public function withAppDescription($value)
827
    {
828
        $this->data['AppDescription'] = $value;
829
        $this->options['query']['AppDescription'] = $value;
830
831
        return $this;
832
    }
833
834
    /**
835
     * @param string $value
836
     *
837
     * @return $this
838
     */
839
    public function withVpcId($value)
840
    {
841
        $this->data['VpcId'] = $value;
842
        $this->options['query']['VpcId'] = $value;
843
844
        return $this;
845
    }
846
847
    /**
848
     * @param string $value
849
     *
850
     * @return $this
851
     */
852
    public function withImageUrl($value)
853
    {
854
        $this->data['ImageUrl'] = $value;
855
        $this->options['query']['ImageUrl'] = $value;
856
857
        return $this;
858
    }
859
860
    /**
861
     * @param string $value
862
     *
863
     * @return $this
864
     */
865
    public function withPackageType($value)
866
    {
867
        $this->data['PackageType'] = $value;
868
        $this->options['query']['PackageType'] = $value;
869
870
        return $this;
871
    }
872
873
    /**
874
     * @param string $value
875
     *
876
     * @return $this
877
     */
878
    public function withPhpConfigLocation($value)
879
    {
880
        $this->data['PhpConfigLocation'] = $value;
881
        $this->options['query']['PhpConfigLocation'] = $value;
882
883
        return $this;
884
    }
885
886
    /**
887
     * @param string $value
888
     *
889
     * @return $this
890
     */
891
    public function withPostStart($value)
892
    {
893
        $this->data['PostStart'] = $value;
894
        $this->options['query']['PostStart'] = $value;
895
896
        return $this;
897
    }
898
}
899
900
/**
901
 * @method string getData()
902
 * @method string getNamespaceId()
903
 * @method string getName()
904
 * @method string getDescription()
905
 */
906
class CreateConfigMap extends Roa
907
{
908
    /** @var string */
909
    public $pathPattern = '/pop/v1/sam/configmap/configMap';
910
911
    /** @var string */
912
    public $method = 'POST';
913
914
    /**
915
     * @param string $value
916
     *
917
     * @return $this
918
     */
919
    public function withData($value)
920
    {
921
        $this->data['Data'] = $value;
922
        $this->options['form_params']['Data'] = $value;
923
924
        return $this;
925
    }
926
927
    /**
928
     * @param string $value
929
     *
930
     * @return $this
931
     */
932
    public function withNamespaceId($value)
933
    {
934
        $this->data['NamespaceId'] = $value;
935
        $this->options['query']['NamespaceId'] = $value;
936
937
        return $this;
938
    }
939
940
    /**
941
     * @param string $value
942
     *
943
     * @return $this
944
     */
945
    public function withName($value)
946
    {
947
        $this->data['Name'] = $value;
948
        $this->options['query']['Name'] = $value;
949
950
        return $this;
951
    }
952
953
    /**
954
     * @param string $value
955
     *
956
     * @return $this
957
     */
958
    public function withDescription($value)
959
    {
960
        $this->data['Description'] = $value;
961
        $this->options['query']['Description'] = $value;
962
963
        return $this;
964
    }
965
}
966
967
/**
968
 * @method string getListenerPort()
969
 * @method string getSlbId()
970
 * @method string getNamespaceId()
971
 * @method string getDescription()
972
 * @method string getRules()
973
 * @method string getCertId()
974
 * @method string getDefaultRule()
975
 */
976
class CreateIngress extends Roa
977
{
978
    /** @var string */
979
    public $pathPattern = '/pop/v1/sam/ingress/Ingress';
980
981
    /** @var string */
982
    public $method = 'POST';
983
984
    /**
985
     * @param string $value
986
     *
987
     * @return $this
988
     */
989
    public function withListenerPort($value)
990
    {
991
        $this->data['ListenerPort'] = $value;
992
        $this->options['query']['ListenerPort'] = $value;
993
994
        return $this;
995
    }
996
997
    /**
998
     * @param string $value
999
     *
1000
     * @return $this
1001
     */
1002
    public function withSlbId($value)
1003
    {
1004
        $this->data['SlbId'] = $value;
1005
        $this->options['query']['SlbId'] = $value;
1006
1007
        return $this;
1008
    }
1009
1010
    /**
1011
     * @param string $value
1012
     *
1013
     * @return $this
1014
     */
1015
    public function withNamespaceId($value)
1016
    {
1017
        $this->data['NamespaceId'] = $value;
1018
        $this->options['query']['NamespaceId'] = $value;
1019
1020
        return $this;
1021
    }
1022
1023
    /**
1024
     * @param string $value
1025
     *
1026
     * @return $this
1027
     */
1028
    public function withDescription($value)
1029
    {
1030
        $this->data['Description'] = $value;
1031
        $this->options['query']['Description'] = $value;
1032
1033
        return $this;
1034
    }
1035
1036
    /**
1037
     * @param string $value
1038
     *
1039
     * @return $this
1040
     */
1041
    public function withRules($value)
1042
    {
1043
        $this->data['Rules'] = $value;
1044
        $this->options['form_params']['Rules'] = $value;
1045
1046
        return $this;
1047
    }
1048
1049
    /**
1050
     * @param string $value
1051
     *
1052
     * @return $this
1053
     */
1054
    public function withCertId($value)
1055
    {
1056
        $this->data['CertId'] = $value;
1057
        $this->options['query']['CertId'] = $value;
1058
1059
        return $this;
1060
    }
1061
1062
    /**
1063
     * @param string $value
1064
     *
1065
     * @return $this
1066
     */
1067
    public function withDefaultRule($value)
1068
    {
1069
        $this->data['DefaultRule'] = $value;
1070
        $this->options['query']['DefaultRule'] = $value;
1071
1072
        return $this;
1073
    }
1074
}
1075
1076
/**
1077
 * @method string getNamespaceName()
1078
 * @method string getNamespaceDescription()
1079
 * @method string getNamespaceId()
1080
 */
1081
class CreateNamespace extends Roa
1082
{
1083
    /** @var string */
1084
    public $pathPattern = '/pop/v1/paas/namespace';
1085
1086
    /** @var string */
1087
    public $method = 'POST';
1088
1089
    /**
1090
     * @param string $value
1091
     *
1092
     * @return $this
1093
     */
1094
    public function withNamespaceName($value)
1095
    {
1096
        $this->data['NamespaceName'] = $value;
1097
        $this->options['query']['NamespaceName'] = $value;
1098
1099
        return $this;
1100
    }
1101
1102
    /**
1103
     * @param string $value
1104
     *
1105
     * @return $this
1106
     */
1107
    public function withNamespaceDescription($value)
1108
    {
1109
        $this->data['NamespaceDescription'] = $value;
1110
        $this->options['query']['NamespaceDescription'] = $value;
1111
1112
        return $this;
1113
    }
1114
1115
    /**
1116
     * @param string $value
1117
     *
1118
     * @return $this
1119
     */
1120
    public function withNamespaceId($value)
1121
    {
1122
        $this->data['NamespaceId'] = $value;
1123
        $this->options['query']['NamespaceId'] = $value;
1124
1125
        return $this;
1126
    }
1127
}
1128
1129
/**
1130
 * @method string getAppId()
1131
 */
1132
class DeleteApplication extends Roa
1133
{
1134
    /** @var string */
1135
    public $pathPattern = '/pop/v1/sam/app/deleteApplication';
1136
1137
    /** @var string */
1138
    public $method = 'DELETE';
1139
1140
    /**
1141
     * @param string $value
1142
     *
1143
     * @return $this
1144
     */
1145
    public function withAppId($value)
1146
    {
1147
        $this->data['AppId'] = $value;
1148
        $this->options['query']['AppId'] = $value;
1149
1150
        return $this;
1151
    }
1152
}
1153
1154
/**
1155
 * @method string getConfigMapId()
1156
 */
1157
class DeleteConfigMap extends Roa
1158
{
1159
    /** @var string */
1160
    public $pathPattern = '/pop/v1/sam/configmap/configMap';
1161
1162
    /** @var string */
1163
    public $method = 'DELETE';
1164
1165
    /**
1166
     * @param string $value
1167
     *
1168
     * @return $this
1169
     */
1170
    public function withConfigMapId($value)
1171
    {
1172
        $this->data['ConfigMapId'] = $value;
1173
        $this->options['query']['ConfigMapId'] = $value;
1174
1175
        return $this;
1176
    }
1177
}
1178
1179
/**
1180
 * @method string getIngressId()
1181
 */
1182
class DeleteIngress extends Roa
1183
{
1184
    /** @var string */
1185
    public $pathPattern = '/pop/v1/sam/ingress/Ingress';
1186
1187
    /** @var string */
1188
    public $method = 'DELETE';
1189
1190
    /**
1191
     * @param string $value
1192
     *
1193
     * @return $this
1194
     */
1195
    public function withIngressId($value)
1196
    {
1197
        $this->data['IngressId'] = $value;
1198
        $this->options['query']['IngressId'] = $value;
1199
1200
        return $this;
1201
    }
1202
}
1203
1204
/**
1205
 * @method string getNamespaceId()
1206
 */
1207
class DeleteNamespace extends Roa
1208
{
1209
    /** @var string */
1210
    public $pathPattern = '/pop/v1/paas/namespace';
1211
1212
    /** @var string */
1213
    public $method = 'DELETE';
1214
1215
    /**
1216
     * @param string $value
1217
     *
1218
     * @return $this
1219
     */
1220
    public function withNamespaceId($value)
1221
    {
1222
        $this->data['NamespaceId'] = $value;
1223
        $this->options['query']['NamespaceId'] = $value;
1224
1225
        return $this;
1226
    }
1227
}
1228
1229
/**
1230
 * @method string getNasId()
1231
 * @method $this withNasId($value)
1232
 * @method string getWebContainer()
1233
 * @method string getJarStartArgs()
1234
 * @method string getEnableAhas()
1235
 * @method string getSlsConfigs()
1236
 * @method string getCommandArgs()
1237
 * @method string getReadiness()
1238
 * @method string getTimezone()
1239
 * @method string getMountHost()
1240
 * @method $this withMountHost($value)
1241
 * @method string getBatchWaitTime()
1242
 * @method string getLiveness()
1243
 * @method string getEnvs()
1244
 * @method string getPhpArmsConfigLocation()
1245
 * @method string getPackageVersion()
1246
 * @method string getTomcatConfig()
1247
 * @method string getCustomHostAlias()
1248
 * @method string getWarStartOptions()
1249
 * @method string getJarStartOptions()
1250
 * @method string getEdasContainerVersion()
1251
 * @method string getPackageUrl()
1252
 * @method string getTerminationGracePeriodSeconds()
1253
 * @method string getConfigMapMountDesc()
1254
 * @method string getPhpConfig()
1255
 * @method string getPreStop()
1256
 * @method string getCommand()
1257
 * @method string getUpdateStrategy()
1258
 * @method string getMountDesc()
1259
 * @method $this withMountDesc($value)
1260
 * @method string getJdk()
1261
 * @method string getMinReadyInstances()
1262
 * @method string getChangeOrderDesc()
1263
 * @method string getAppId()
1264
 * @method string getImageUrl()
1265
 * @method string getAutoEnableApplicationScalingRule()
1266
 * @method string getPhpConfigLocation()
1267
 * @method string getPostStart()
1268
 */
1269
class DeployApplication extends Roa
1270
{
1271
    /** @var string */
1272
    public $pathPattern = '/pop/v1/sam/app/deployApplication';
1273
1274
    /** @var string */
1275
    public $method = 'POST';
1276
1277
    /**
1278
     * @param string $value
1279
     *
1280
     * @return $this
1281
     */
1282
    public function withWebContainer($value)
1283
    {
1284
        $this->data['WebContainer'] = $value;
1285
        $this->options['query']['WebContainer'] = $value;
1286
1287
        return $this;
1288
    }
1289
1290
    /**
1291
     * @param string $value
1292
     *
1293
     * @return $this
1294
     */
1295
    public function withJarStartArgs($value)
1296
    {
1297
        $this->data['JarStartArgs'] = $value;
1298
        $this->options['query']['JarStartArgs'] = $value;
1299
1300
        return $this;
1301
    }
1302
1303
    /**
1304
     * @param string $value
1305
     *
1306
     * @return $this
1307
     */
1308
    public function withEnableAhas($value)
1309
    {
1310
        $this->data['EnableAhas'] = $value;
1311
        $this->options['query']['EnableAhas'] = $value;
1312
1313
        return $this;
1314
    }
1315
1316
    /**
1317
     * @param string $value
1318
     *
1319
     * @return $this
1320
     */
1321
    public function withSlsConfigs($value)
1322
    {
1323
        $this->data['SlsConfigs'] = $value;
1324
        $this->options['query']['SlsConfigs'] = $value;
1325
1326
        return $this;
1327
    }
1328
1329
    /**
1330
     * @param string $value
1331
     *
1332
     * @return $this
1333
     */
1334
    public function withCommandArgs($value)
1335
    {
1336
        $this->data['CommandArgs'] = $value;
1337
        $this->options['query']['CommandArgs'] = $value;
1338
1339
        return $this;
1340
    }
1341
1342
    /**
1343
     * @param string $value
1344
     *
1345
     * @return $this
1346
     */
1347
    public function withReadiness($value)
1348
    {
1349
        $this->data['Readiness'] = $value;
1350
        $this->options['query']['Readiness'] = $value;
1351
1352
        return $this;
1353
    }
1354
1355
    /**
1356
     * @param string $value
1357
     *
1358
     * @return $this
1359
     */
1360
    public function withTimezone($value)
1361
    {
1362
        $this->data['Timezone'] = $value;
1363
        $this->options['query']['Timezone'] = $value;
1364
1365
        return $this;
1366
    }
1367
1368
    /**
1369
     * @param string $value
1370
     *
1371
     * @return $this
1372
     */
1373
    public function withBatchWaitTime($value)
1374
    {
1375
        $this->data['BatchWaitTime'] = $value;
1376
        $this->options['query']['BatchWaitTime'] = $value;
1377
1378
        return $this;
1379
    }
1380
1381
    /**
1382
     * @param string $value
1383
     *
1384
     * @return $this
1385
     */
1386
    public function withLiveness($value)
1387
    {
1388
        $this->data['Liveness'] = $value;
1389
        $this->options['query']['Liveness'] = $value;
1390
1391
        return $this;
1392
    }
1393
1394
    /**
1395
     * @param string $value
1396
     *
1397
     * @return $this
1398
     */
1399
    public function withEnvs($value)
1400
    {
1401
        $this->data['Envs'] = $value;
1402
        $this->options['query']['Envs'] = $value;
1403
1404
        return $this;
1405
    }
1406
1407
    /**
1408
     * @param string $value
1409
     *
1410
     * @return $this
1411
     */
1412
    public function withPhpArmsConfigLocation($value)
1413
    {
1414
        $this->data['PhpArmsConfigLocation'] = $value;
1415
        $this->options['query']['PhpArmsConfigLocation'] = $value;
1416
1417
        return $this;
1418
    }
1419
1420
    /**
1421
     * @param string $value
1422
     *
1423
     * @return $this
1424
     */
1425
    public function withPackageVersion($value)
1426
    {
1427
        $this->data['PackageVersion'] = $value;
1428
        $this->options['query']['PackageVersion'] = $value;
1429
1430
        return $this;
1431
    }
1432
1433
    /**
1434
     * @param string $value
1435
     *
1436
     * @return $this
1437
     */
1438
    public function withTomcatConfig($value)
1439
    {
1440
        $this->data['TomcatConfig'] = $value;
1441
        $this->options['query']['TomcatConfig'] = $value;
1442
1443
        return $this;
1444
    }
1445
1446
    /**
1447
     * @param string $value
1448
     *
1449
     * @return $this
1450
     */
1451
    public function withCustomHostAlias($value)
1452
    {
1453
        $this->data['CustomHostAlias'] = $value;
1454
        $this->options['query']['CustomHostAlias'] = $value;
1455
1456
        return $this;
1457
    }
1458
1459
    /**
1460
     * @param string $value
1461
     *
1462
     * @return $this
1463
     */
1464
    public function withWarStartOptions($value)
1465
    {
1466
        $this->data['WarStartOptions'] = $value;
1467
        $this->options['query']['WarStartOptions'] = $value;
1468
1469
        return $this;
1470
    }
1471
1472
    /**
1473
     * @param string $value
1474
     *
1475
     * @return $this
1476
     */
1477
    public function withJarStartOptions($value)
1478
    {
1479
        $this->data['JarStartOptions'] = $value;
1480
        $this->options['query']['JarStartOptions'] = $value;
1481
1482
        return $this;
1483
    }
1484
1485
    /**
1486
     * @param string $value
1487
     *
1488
     * @return $this
1489
     */
1490
    public function withEdasContainerVersion($value)
1491
    {
1492
        $this->data['EdasContainerVersion'] = $value;
1493
        $this->options['query']['EdasContainerVersion'] = $value;
1494
1495
        return $this;
1496
    }
1497
1498
    /**
1499
     * @param string $value
1500
     *
1501
     * @return $this
1502
     */
1503
    public function withPackageUrl($value)
1504
    {
1505
        $this->data['PackageUrl'] = $value;
1506
        $this->options['query']['PackageUrl'] = $value;
1507
1508
        return $this;
1509
    }
1510
1511
    /**
1512
     * @param string $value
1513
     *
1514
     * @return $this
1515
     */
1516
    public function withTerminationGracePeriodSeconds($value)
1517
    {
1518
        $this->data['TerminationGracePeriodSeconds'] = $value;
1519
        $this->options['query']['TerminationGracePeriodSeconds'] = $value;
1520
1521
        return $this;
1522
    }
1523
1524
    /**
1525
     * @param string $value
1526
     *
1527
     * @return $this
1528
     */
1529
    public function withConfigMapMountDesc($value)
1530
    {
1531
        $this->data['ConfigMapMountDesc'] = $value;
1532
        $this->options['form_params']['ConfigMapMountDesc'] = $value;
1533
1534
        return $this;
1535
    }
1536
1537
    /**
1538
     * @param string $value
1539
     *
1540
     * @return $this
1541
     */
1542
    public function withPhpConfig($value)
1543
    {
1544
        $this->data['PhpConfig'] = $value;
1545
        $this->options['form_params']['PhpConfig'] = $value;
1546
1547
        return $this;
1548
    }
1549
1550
    /**
1551
     * @param string $value
1552
     *
1553
     * @return $this
1554
     */
1555
    public function withPreStop($value)
1556
    {
1557
        $this->data['PreStop'] = $value;
1558
        $this->options['query']['PreStop'] = $value;
1559
1560
        return $this;
1561
    }
1562
1563
    /**
1564
     * @param string $value
1565
     *
1566
     * @return $this
1567
     */
1568
    public function withCommand($value)
1569
    {
1570
        $this->data['Command'] = $value;
1571
        $this->options['query']['Command'] = $value;
1572
1573
        return $this;
1574
    }
1575
1576
    /**
1577
     * @param string $value
1578
     *
1579
     * @return $this
1580
     */
1581
    public function withUpdateStrategy($value)
1582
    {
1583
        $this->data['UpdateStrategy'] = $value;
1584
        $this->options['query']['UpdateStrategy'] = $value;
1585
1586
        return $this;
1587
    }
1588
1589
    /**
1590
     * @param string $value
1591
     *
1592
     * @return $this
1593
     */
1594
    public function withJdk($value)
1595
    {
1596
        $this->data['Jdk'] = $value;
1597
        $this->options['query']['Jdk'] = $value;
1598
1599
        return $this;
1600
    }
1601
1602
    /**
1603
     * @param string $value
1604
     *
1605
     * @return $this
1606
     */
1607
    public function withMinReadyInstances($value)
1608
    {
1609
        $this->data['MinReadyInstances'] = $value;
1610
        $this->options['query']['MinReadyInstances'] = $value;
1611
1612
        return $this;
1613
    }
1614
1615
    /**
1616
     * @param string $value
1617
     *
1618
     * @return $this
1619
     */
1620
    public function withChangeOrderDesc($value)
1621
    {
1622
        $this->data['ChangeOrderDesc'] = $value;
1623
        $this->options['query']['ChangeOrderDesc'] = $value;
1624
1625
        return $this;
1626
    }
1627
1628
    /**
1629
     * @param string $value
1630
     *
1631
     * @return $this
1632
     */
1633
    public function withAppId($value)
1634
    {
1635
        $this->data['AppId'] = $value;
1636
        $this->options['query']['AppId'] = $value;
1637
1638
        return $this;
1639
    }
1640
1641
    /**
1642
     * @param string $value
1643
     *
1644
     * @return $this
1645
     */
1646
    public function withImageUrl($value)
1647
    {
1648
        $this->data['ImageUrl'] = $value;
1649
        $this->options['query']['ImageUrl'] = $value;
1650
1651
        return $this;
1652
    }
1653
1654
    /**
1655
     * @param string $value
1656
     *
1657
     * @return $this
1658
     */
1659
    public function withAutoEnableApplicationScalingRule($value)
1660
    {
1661
        $this->data['AutoEnableApplicationScalingRule'] = $value;
1662
        $this->options['query']['AutoEnableApplicationScalingRule'] = $value;
1663
1664
        return $this;
1665
    }
1666
1667
    /**
1668
     * @param string $value
1669
     *
1670
     * @return $this
1671
     */
1672
    public function withPhpConfigLocation($value)
1673
    {
1674
        $this->data['PhpConfigLocation'] = $value;
1675
        $this->options['query']['PhpConfigLocation'] = $value;
1676
1677
        return $this;
1678
    }
1679
1680
    /**
1681
     * @param string $value
1682
     *
1683
     * @return $this
1684
     */
1685
    public function withPostStart($value)
1686
    {
1687
        $this->data['PostStart'] = $value;
1688
        $this->options['query']['PostStart'] = $value;
1689
1690
        return $this;
1691
    }
1692
}
1693
1694
/**
1695
 * @method string getVersionId()
1696
 * @method string getAppId()
1697
 */
1698
class DescribeApplicationConfig extends Roa
1699
{
1700
    /** @var string */
1701
    public $pathPattern = '/pop/v1/sam/app/describeApplicationConfig';
1702
1703
    /**
1704
     * @param string $value
1705
     *
1706
     * @return $this
1707
     */
1708
    public function withVersionId($value)
1709
    {
1710
        $this->data['VersionId'] = $value;
1711
        $this->options['query']['VersionId'] = $value;
1712
1713
        return $this;
1714
    }
1715
1716
    /**
1717
     * @param string $value
1718
     *
1719
     * @return $this
1720
     */
1721
    public function withAppId($value)
1722
    {
1723
        $this->data['AppId'] = $value;
1724
        $this->options['query']['AppId'] = $value;
1725
1726
        return $this;
1727
    }
1728
}
1729
1730
/**
1731
 * @method string getAppId()
1732
 * @method string getPageSize()
1733
 * @method string getCurrentPage()
1734
 */
1735
class DescribeApplicationGroups extends Roa
1736
{
1737
    /** @var string */
1738
    public $pathPattern = '/pop/v1/sam/app/describeApplicationGroups';
1739
1740
    /**
1741
     * @param string $value
1742
     *
1743
     * @return $this
1744
     */
1745
    public function withAppId($value)
1746
    {
1747
        $this->data['AppId'] = $value;
1748
        $this->options['query']['AppId'] = $value;
1749
1750
        return $this;
1751
    }
1752
1753
    /**
1754
     * @param string $value
1755
     *
1756
     * @return $this
1757
     */
1758
    public function withPageSize($value)
1759
    {
1760
        $this->data['PageSize'] = $value;
1761
        $this->options['query']['PageSize'] = $value;
1762
1763
        return $this;
1764
    }
1765
1766
    /**
1767
     * @param string $value
1768
     *
1769
     * @return $this
1770
     */
1771
    public function withCurrentPage($value)
1772
    {
1773
        $this->data['CurrentPage'] = $value;
1774
        $this->options['query']['CurrentPage'] = $value;
1775
1776
        return $this;
1777
    }
1778
}
1779
1780
/**
1781
 * @method string getAppId()
1782
 * @method string getImageUrl()
1783
 */
1784
class DescribeApplicationImage extends Roa
1785
{
1786
    /** @var string */
1787
    public $pathPattern = '/pop/v1/sam/container/describeApplicationImage';
1788
1789
    /**
1790
     * @param string $value
1791
     *
1792
     * @return $this
1793
     */
1794
    public function withAppId($value)
1795
    {
1796
        $this->data['AppId'] = $value;
1797
        $this->options['query']['AppId'] = $value;
1798
1799
        return $this;
1800
    }
1801
1802
    /**
1803
     * @param string $value
1804
     *
1805
     * @return $this
1806
     */
1807
    public function withImageUrl($value)
1808
    {
1809
        $this->data['ImageUrl'] = $value;
1810
        $this->options['query']['ImageUrl'] = $value;
1811
1812
        return $this;
1813
    }
1814
}
1815
1816
/**
1817
 * @method string getAppId()
1818
 * @method string getGroupId()
1819
 * @method string getPageSize()
1820
 * @method string getCurrentPage()
1821
 */
1822
class DescribeApplicationInstances extends Roa
1823
{
1824
    /** @var string */
1825
    public $pathPattern = '/pop/v1/sam/app/describeApplicationInstances';
1826
1827
    /**
1828
     * @param string $value
1829
     *
1830
     * @return $this
1831
     */
1832
    public function withAppId($value)
1833
    {
1834
        $this->data['AppId'] = $value;
1835
        $this->options['query']['AppId'] = $value;
1836
1837
        return $this;
1838
    }
1839
1840
    /**
1841
     * @param string $value
1842
     *
1843
     * @return $this
1844
     */
1845
    public function withGroupId($value)
1846
    {
1847
        $this->data['GroupId'] = $value;
1848
        $this->options['query']['GroupId'] = $value;
1849
1850
        return $this;
1851
    }
1852
1853
    /**
1854
     * @param string $value
1855
     *
1856
     * @return $this
1857
     */
1858
    public function withPageSize($value)
1859
    {
1860
        $this->data['PageSize'] = $value;
1861
        $this->options['query']['PageSize'] = $value;
1862
1863
        return $this;
1864
    }
1865
1866
    /**
1867
     * @param string $value
1868
     *
1869
     * @return $this
1870
     */
1871
    public function withCurrentPage($value)
1872
    {
1873
        $this->data['CurrentPage'] = $value;
1874
        $this->options['query']['CurrentPage'] = $value;
1875
1876
        return $this;
1877
    }
1878
}
1879
1880
/**
1881
 * @method string getAppId()
1882
 */
1883
class DescribeApplicationSlbs extends Roa
1884
{
1885
    /** @var string */
1886
    public $pathPattern = '/pop/v1/sam/app/slb';
1887
1888
    /**
1889
     * @param string $value
1890
     *
1891
     * @return $this
1892
     */
1893
    public function withAppId($value)
1894
    {
1895
        $this->data['AppId'] = $value;
1896
        $this->options['query']['AppId'] = $value;
1897
1898
        return $this;
1899
    }
1900
}
1901
1902
/**
1903
 * @method string getAppId()
1904
 */
1905
class DescribeApplicationStatus extends Roa
1906
{
1907
    /** @var string */
1908
    public $pathPattern = '/pop/v1/sam/app/describeApplicationStatus';
1909
1910
    /**
1911
     * @param string $value
1912
     *
1913
     * @return $this
1914
     */
1915
    public function withAppId($value)
1916
    {
1917
        $this->data['AppId'] = $value;
1918
        $this->options['query']['AppId'] = $value;
1919
1920
        return $this;
1921
    }
1922
}
1923
1924
/**
1925
 * @method string getChangeOrderId()
1926
 */
1927
class DescribeChangeOrder extends Roa
1928
{
1929
    /** @var string */
1930
    public $pathPattern = '/pop/v1/sam/changeorder/DescribeChangeOrder';
1931
1932
    /**
1933
     * @param string $value
1934
     *
1935
     * @return $this
1936
     */
1937
    public function withChangeOrderId($value)
1938
    {
1939
        $this->data['ChangeOrderId'] = $value;
1940
        $this->options['query']['ChangeOrderId'] = $value;
1941
1942
        return $this;
1943
    }
1944
}
1945
1946
/**
1947
 * @method string getAppId()
1948
 * @method string getType()
1949
 */
1950
class DescribeComponents extends Roa
1951
{
1952
    /** @var string */
1953
    public $pathPattern = '/pop/v1/sam/resource/components';
1954
1955
    /**
1956
     * @param string $value
1957
     *
1958
     * @return $this
1959
     */
1960
    public function withAppId($value)
1961
    {
1962
        $this->data['AppId'] = $value;
1963
        $this->options['query']['AppId'] = $value;
1964
1965
        return $this;
1966
    }
1967
1968
    /**
1969
     * @param string $value
1970
     *
1971
     * @return $this
1972
     */
1973
    public function withType($value)
1974
    {
1975
        $this->data['Type'] = $value;
1976
        $this->options['query']['Type'] = $value;
1977
1978
        return $this;
1979
    }
1980
}
1981
1982
/**
1983
 * @method string getConfigMapId()
1984
 */
1985
class DescribeConfigMap extends Roa
1986
{
1987
    /** @var string */
1988
    public $pathPattern = '/pop/v1/sam/configmap/configMap';
1989
1990
    /**
1991
     * @param string $value
1992
     *
1993
     * @return $this
1994
     */
1995
    public function withConfigMapId($value)
1996
    {
1997
        $this->data['ConfigMapId'] = $value;
1998
        $this->options['query']['ConfigMapId'] = $value;
1999
2000
        return $this;
2001
    }
2002
}
2003
2004
class DescribeEdasContainers extends Roa
2005
{
2006
    /** @var string */
2007
    public $pathPattern = '/pop/v1/sam/resource/edasContainers';
2008
}
2009
2010
/**
2011
 * @method string getIngressId()
2012
 */
2013
class DescribeIngress extends Roa
2014
{
2015
    /** @var string */
2016
    public $pathPattern = '/pop/v1/sam/ingress/Ingress';
2017
2018
    /**
2019
     * @param string $value
2020
     *
2021
     * @return $this
2022
     */
2023
    public function withIngressId($value)
2024
    {
2025
        $this->data['IngressId'] = $value;
2026
        $this->options['query']['IngressId'] = $value;
2027
2028
        return $this;
2029
    }
2030
}
2031
2032
/**
2033
 * @method string getInstanceId()
2034
 */
2035
class DescribeInstanceLog extends Roa
2036
{
2037
    /** @var string */
2038
    public $pathPattern = '/pop/v1/sam/instance/describeInstanceLog';
2039
2040
    /**
2041
     * @param string $value
2042
     *
2043
     * @return $this
2044
     */
2045
    public function withInstanceId($value)
2046
    {
2047
        $this->data['InstanceId'] = $value;
2048
        $this->options['query']['InstanceId'] = $value;
2049
2050
        return $this;
2051
    }
2052
}
2053
2054
class DescribeInstanceSpecifications extends Roa
2055
{
2056
    /** @var string */
2057
    public $pathPattern = '/pop/v1/paas/quota/instanceSpecifications';
2058
}
2059
2060
/**
2061
 * @method string getNamespaceId()
2062
 */
2063
class DescribeNamespace extends Roa
2064
{
2065
    /** @var string */
2066
    public $pathPattern = '/pop/v1/paas/namespace';
2067
2068
    /**
2069
     * @param string $value
2070
     *
2071
     * @return $this
2072
     */
2073
    public function withNamespaceId($value)
2074
    {
2075
        $this->data['NamespaceId'] = $value;
2076
        $this->options['query']['NamespaceId'] = $value;
2077
2078
        return $this;
2079
    }
2080
}
2081
2082
/**
2083
 * @method string getHybridCloudExclude()
2084
 * @method string getContainCustom()
2085
 */
2086
class DescribeNamespaceList extends Roa
2087
{
2088
    /** @var string */
2089
    public $pathPattern = '/pop/v1/sam/namespace/describeNamespaceList';
2090
2091
    /**
2092
     * @param string $value
2093
     *
2094
     * @return $this
2095
     */
2096
    public function withHybridCloudExclude($value)
2097
    {
2098
        $this->data['HybridCloudExclude'] = $value;
2099
        $this->options['query']['HybridCloudExclude'] = $value;
2100
2101
        return $this;
2102
    }
2103
2104
    /**
2105
     * @param string $value
2106
     *
2107
     * @return $this
2108
     */
2109
    public function withContainCustom($value)
2110
    {
2111
        $this->data['ContainCustom'] = $value;
2112
        $this->options['query']['ContainCustom'] = $value;
2113
2114
        return $this;
2115
    }
2116
}
2117
2118
/**
2119
 * @method string getNamespaceId()
2120
 */
2121
class DescribeNamespaceResources extends Roa
2122
{
2123
    /** @var string */
2124
    public $pathPattern = '/pop/v1/sam/namespace/describeNamespaceResources';
2125
2126
    /**
2127
     * @param string $value
2128
     *
2129
     * @return $this
2130
     */
2131
    public function withNamespaceId($value)
2132
    {
2133
        $this->data['NamespaceId'] = $value;
2134
        $this->options['query']['NamespaceId'] = $value;
2135
2136
        return $this;
2137
    }
2138
}
2139
2140
/**
2141
 * @method string getPageSize()
2142
 * @method string getCurrentPage()
2143
 */
2144
class DescribeNamespaces extends Roa
2145
{
2146
    /** @var string */
2147
    public $pathPattern = '/pop/v1/paas/namespaces';
2148
2149
    /**
2150
     * @param string $value
2151
     *
2152
     * @return $this
2153
     */
2154
    public function withPageSize($value)
2155
    {
2156
        $this->data['PageSize'] = $value;
2157
        $this->options['query']['PageSize'] = $value;
2158
2159
        return $this;
2160
    }
2161
2162
    /**
2163
     * @param string $value
2164
     *
2165
     * @return $this
2166
     */
2167
    public function withCurrentPage($value)
2168
    {
2169
        $this->data['CurrentPage'] = $value;
2170
        $this->options['query']['CurrentPage'] = $value;
2171
2172
        return $this;
2173
    }
2174
}
2175
2176
class DescribeRegions extends Roa
2177
{
2178
    /** @var string */
2179
    public $pathPattern = '/pop/v1/paas/regionConfig';
2180
}
2181
2182
/**
2183
 * @method string getReason()
2184
 * @method string getObjectKind()
2185
 * @method string getAppId()
2186
 * @method string getPageSize()
2187
 * @method string getObjectName()
2188
 * @method string getNamespace()
2189
 * @method string getCurrentPage()
2190
 * @method string getEventType()
2191
 */
2192
class ListAppEvents extends Roa
2193
{
2194
    /** @var string */
2195
    public $pathPattern = '/pop/v1/sam/app/listAppEvents';
2196
2197
    /**
2198
     * @param string $value
2199
     *
2200
     * @return $this
2201
     */
2202
    public function withReason($value)
2203
    {
2204
        $this->data['Reason'] = $value;
2205
        $this->options['query']['Reason'] = $value;
2206
2207
        return $this;
2208
    }
2209
2210
    /**
2211
     * @param string $value
2212
     *
2213
     * @return $this
2214
     */
2215
    public function withObjectKind($value)
2216
    {
2217
        $this->data['ObjectKind'] = $value;
2218
        $this->options['query']['ObjectKind'] = $value;
2219
2220
        return $this;
2221
    }
2222
2223
    /**
2224
     * @param string $value
2225
     *
2226
     * @return $this
2227
     */
2228
    public function withAppId($value)
2229
    {
2230
        $this->data['AppId'] = $value;
2231
        $this->options['query']['AppId'] = $value;
2232
2233
        return $this;
2234
    }
2235
2236
    /**
2237
     * @param string $value
2238
     *
2239
     * @return $this
2240
     */
2241
    public function withPageSize($value)
2242
    {
2243
        $this->data['PageSize'] = $value;
2244
        $this->options['query']['PageSize'] = $value;
2245
2246
        return $this;
2247
    }
2248
2249
    /**
2250
     * @param string $value
2251
     *
2252
     * @return $this
2253
     */
2254
    public function withObjectName($value)
2255
    {
2256
        $this->data['ObjectName'] = $value;
2257
        $this->options['query']['ObjectName'] = $value;
2258
2259
        return $this;
2260
    }
2261
2262
    /**
2263
     * @param string $value
2264
     *
2265
     * @return $this
2266
     */
2267
    public function withNamespace($value)
2268
    {
2269
        $this->data['Namespace'] = $value;
2270
        $this->options['query']['Namespace'] = $value;
2271
2272
        return $this;
2273
    }
2274
2275
    /**
2276
     * @param string $value
2277
     *
2278
     * @return $this
2279
     */
2280
    public function withCurrentPage($value)
2281
    {
2282
        $this->data['CurrentPage'] = $value;
2283
        $this->options['query']['CurrentPage'] = $value;
2284
2285
        return $this;
2286
    }
2287
2288
    /**
2289
     * @param string $value
2290
     *
2291
     * @return $this
2292
     */
2293
    public function withEventType($value)
2294
    {
2295
        $this->data['EventType'] = $value;
2296
        $this->options['query']['EventType'] = $value;
2297
2298
        return $this;
2299
    }
2300
}
2301
2302
/**
2303
 * @method string getAppName()
2304
 * @method string getNamespaceId()
2305
 * @method string getPageSize()
2306
 * @method string getCurrentPage()
2307
 * @method string getTags()
2308
 */
2309
class ListApplications extends Roa
2310
{
2311
    /** @var string */
2312
    public $pathPattern = '/pop/v1/sam/app/listApplications';
2313
2314
    /**
2315
     * @param string $value
2316
     *
2317
     * @return $this
2318
     */
2319
    public function withAppName($value)
2320
    {
2321
        $this->data['AppName'] = $value;
2322
        $this->options['query']['AppName'] = $value;
2323
2324
        return $this;
2325
    }
2326
2327
    /**
2328
     * @param string $value
2329
     *
2330
     * @return $this
2331
     */
2332
    public function withNamespaceId($value)
2333
    {
2334
        $this->data['NamespaceId'] = $value;
2335
        $this->options['query']['NamespaceId'] = $value;
2336
2337
        return $this;
2338
    }
2339
2340
    /**
2341
     * @param string $value
2342
     *
2343
     * @return $this
2344
     */
2345
    public function withPageSize($value)
2346
    {
2347
        $this->data['PageSize'] = $value;
2348
        $this->options['query']['PageSize'] = $value;
2349
2350
        return $this;
2351
    }
2352
2353
    /**
2354
     * @param string $value
2355
     *
2356
     * @return $this
2357
     */
2358
    public function withCurrentPage($value)
2359
    {
2360
        $this->data['CurrentPage'] = $value;
2361
        $this->options['query']['CurrentPage'] = $value;
2362
2363
        return $this;
2364
    }
2365
2366
    /**
2367
     * @param string $value
2368
     *
2369
     * @return $this
2370
     */
2371
    public function withTags($value)
2372
    {
2373
        $this->data['Tags'] = $value;
2374
        $this->options['query']['Tags'] = $value;
2375
2376
        return $this;
2377
    }
2378
}
2379
2380
/**
2381
 * @method string getAppId()
2382
 */
2383
class ListAppVersions extends Roa
2384
{
2385
    /** @var string */
2386
    public $pathPattern = '/pop/v1/sam/app/listAppVersions';
2387
2388
    /**
2389
     * @param string $value
2390
     *
2391
     * @return $this
2392
     */
2393
    public function withAppId($value)
2394
    {
2395
        $this->data['AppId'] = $value;
2396
        $this->options['query']['AppId'] = $value;
2397
2398
        return $this;
2399
    }
2400
}
2401
2402
/**
2403
 * @method string getCoType()
2404
 * @method string getAppId()
2405
 * @method string getPageSize()
2406
 * @method string getCurrentPage()
2407
 * @method string getCoStatus()
2408
 * @method string getKey()
2409
 */
2410
class ListChangeOrders extends Roa
2411
{
2412
    /** @var string */
2413
    public $pathPattern = '/pop/v1/sam/changeorder/ListChangeOrders';
2414
2415
    /**
2416
     * @param string $value
2417
     *
2418
     * @return $this
2419
     */
2420
    public function withCoType($value)
2421
    {
2422
        $this->data['CoType'] = $value;
2423
        $this->options['query']['CoType'] = $value;
2424
2425
        return $this;
2426
    }
2427
2428
    /**
2429
     * @param string $value
2430
     *
2431
     * @return $this
2432
     */
2433
    public function withAppId($value)
2434
    {
2435
        $this->data['AppId'] = $value;
2436
        $this->options['query']['AppId'] = $value;
2437
2438
        return $this;
2439
    }
2440
2441
    /**
2442
     * @param string $value
2443
     *
2444
     * @return $this
2445
     */
2446
    public function withPageSize($value)
2447
    {
2448
        $this->data['PageSize'] = $value;
2449
        $this->options['query']['PageSize'] = $value;
2450
2451
        return $this;
2452
    }
2453
2454
    /**
2455
     * @param string $value
2456
     *
2457
     * @return $this
2458
     */
2459
    public function withCurrentPage($value)
2460
    {
2461
        $this->data['CurrentPage'] = $value;
2462
        $this->options['query']['CurrentPage'] = $value;
2463
2464
        return $this;
2465
    }
2466
2467
    /**
2468
     * @param string $value
2469
     *
2470
     * @return $this
2471
     */
2472
    public function withCoStatus($value)
2473
    {
2474
        $this->data['CoStatus'] = $value;
2475
        $this->options['query']['CoStatus'] = $value;
2476
2477
        return $this;
2478
    }
2479
2480
    /**
2481
     * @param string $value
2482
     *
2483
     * @return $this
2484
     */
2485
    public function withKey($value)
2486
    {
2487
        $this->data['Key'] = $value;
2488
        $this->options['query']['Key'] = $value;
2489
2490
        return $this;
2491
    }
2492
}
2493
2494
/**
2495
 * @method string getAppId()
2496
 */
2497
class ListConsumedServices extends Roa
2498
{
2499
    /** @var string */
2500
    public $pathPattern = '/pop/v1/sam/service/listConsumedServices';
2501
2502
    /**
2503
     * @param string $value
2504
     *
2505
     * @return $this
2506
     */
2507
    public function withAppId($value)
2508
    {
2509
        $this->data['AppId'] = $value;
2510
        $this->options['query']['AppId'] = $value;
2511
2512
        return $this;
2513
    }
2514
}
2515
2516
/**
2517
 * @method string getNamespaceId()
2518
 * @method string getAppId()
2519
 */
2520
class ListIngresses extends Roa
2521
{
2522
    /** @var string */
2523
    public $pathPattern = '/pop/v1/sam/ingress/IngressList';
2524
2525
    /**
2526
     * @param string $value
2527
     *
2528
     * @return $this
2529
     */
2530
    public function withNamespaceId($value)
2531
    {
2532
        $this->data['NamespaceId'] = $value;
2533
        $this->options['query']['NamespaceId'] = $value;
2534
2535
        return $this;
2536
    }
2537
2538
    /**
2539
     * @param string $value
2540
     *
2541
     * @return $this
2542
     */
2543
    public function withAppId($value)
2544
    {
2545
        $this->data['AppId'] = $value;
2546
        $this->options['query']['AppId'] = $value;
2547
2548
        return $this;
2549
    }
2550
}
2551
2552
/**
2553
 * @method string getAppId()
2554
 * @method string getPageSize()
2555
 * @method string getCurrentPage()
2556
 */
2557
class ListLogConfigs extends Roa
2558
{
2559
    /** @var string */
2560
    public $pathPattern = '/pop/v1/sam/log/listLogConfigs';
2561
2562
    /**
2563
     * @param string $value
2564
     *
2565
     * @return $this
2566
     */
2567
    public function withAppId($value)
2568
    {
2569
        $this->data['AppId'] = $value;
2570
        $this->options['query']['AppId'] = $value;
2571
2572
        return $this;
2573
    }
2574
2575
    /**
2576
     * @param string $value
2577
     *
2578
     * @return $this
2579
     */
2580
    public function withPageSize($value)
2581
    {
2582
        $this->data['PageSize'] = $value;
2583
        $this->options['query']['PageSize'] = $value;
2584
2585
        return $this;
2586
    }
2587
2588
    /**
2589
     * @param string $value
2590
     *
2591
     * @return $this
2592
     */
2593
    public function withCurrentPage($value)
2594
    {
2595
        $this->data['CurrentPage'] = $value;
2596
        $this->options['query']['CurrentPage'] = $value;
2597
2598
        return $this;
2599
    }
2600
}
2601
2602
/**
2603
 * @method string getCoType()
2604
 * @method string getNamespaceId()
2605
 * @method string getPageSize()
2606
 * @method string getCurrentPage()
2607
 * @method string getCoStatus()
2608
 * @method string getKey()
2609
 */
2610
class ListNamespaceChangeOrders extends Roa
2611
{
2612
    /** @var string */
2613
    public $pathPattern = '/pop/v1/sam/changeorder/listNamespaceChangeOrders';
2614
2615
    /**
2616
     * @param string $value
2617
     *
2618
     * @return $this
2619
     */
2620
    public function withCoType($value)
2621
    {
2622
        $this->data['CoType'] = $value;
2623
        $this->options['query']['CoType'] = $value;
2624
2625
        return $this;
2626
    }
2627
2628
    /**
2629
     * @param string $value
2630
     *
2631
     * @return $this
2632
     */
2633
    public function withNamespaceId($value)
2634
    {
2635
        $this->data['NamespaceId'] = $value;
2636
        $this->options['query']['NamespaceId'] = $value;
2637
2638
        return $this;
2639
    }
2640
2641
    /**
2642
     * @param string $value
2643
     *
2644
     * @return $this
2645
     */
2646
    public function withPageSize($value)
2647
    {
2648
        $this->data['PageSize'] = $value;
2649
        $this->options['query']['PageSize'] = $value;
2650
2651
        return $this;
2652
    }
2653
2654
    /**
2655
     * @param string $value
2656
     *
2657
     * @return $this
2658
     */
2659
    public function withCurrentPage($value)
2660
    {
2661
        $this->data['CurrentPage'] = $value;
2662
        $this->options['query']['CurrentPage'] = $value;
2663
2664
        return $this;
2665
    }
2666
2667
    /**
2668
     * @param string $value
2669
     *
2670
     * @return $this
2671
     */
2672
    public function withCoStatus($value)
2673
    {
2674
        $this->data['CoStatus'] = $value;
2675
        $this->options['query']['CoStatus'] = $value;
2676
2677
        return $this;
2678
    }
2679
2680
    /**
2681
     * @param string $value
2682
     *
2683
     * @return $this
2684
     */
2685
    public function withKey($value)
2686
    {
2687
        $this->data['Key'] = $value;
2688
        $this->options['query']['Key'] = $value;
2689
2690
        return $this;
2691
    }
2692
}
2693
2694
/**
2695
 * @method string getNamespaceId()
2696
 */
2697
class ListNamespacedConfigMaps extends Roa
2698
{
2699
    /** @var string */
2700
    public $pathPattern = '/pop/v1/sam/configmap/listNamespacedConfigMaps';
2701
2702
    /**
2703
     * @param string $value
2704
     *
2705
     * @return $this
2706
     */
2707
    public function withNamespaceId($value)
2708
    {
2709
        $this->data['NamespaceId'] = $value;
2710
        $this->options['query']['NamespaceId'] = $value;
2711
2712
        return $this;
2713
    }
2714
}
2715
2716
/**
2717
 * @method string getAppId()
2718
 */
2719
class ListPublishedServices extends Roa
2720
{
2721
    /** @var string */
2722
    public $pathPattern = '/pop/v1/sam/service/listPublishedServices';
2723
2724
    /**
2725
     * @param string $value
2726
     *
2727
     * @return $this
2728
     */
2729
    public function withAppId($value)
2730
    {
2731
        $this->data['AppId'] = $value;
2732
        $this->options['query']['AppId'] = $value;
2733
2734
        return $this;
2735
    }
2736
}
2737
2738
/**
2739
 * @method string getNextToken()
2740
 * @method string getResourceType()
2741
 * @method string getResourceIds()
2742
 * @method string getTags()
2743
 */
2744
class ListTagResources extends Roa
2745
{
2746
    /** @var string */
2747
    public $pathPattern = '/tags';
2748
2749
    /**
2750
     * @param string $value
2751
     *
2752
     * @return $this
2753
     */
2754
    public function withNextToken($value)
2755
    {
2756
        $this->data['NextToken'] = $value;
2757
        $this->options['query']['NextToken'] = $value;
2758
2759
        return $this;
2760
    }
2761
2762
    /**
2763
     * @param string $value
2764
     *
2765
     * @return $this
2766
     */
2767
    public function withResourceType($value)
2768
    {
2769
        $this->data['ResourceType'] = $value;
2770
        $this->options['query']['ResourceType'] = $value;
2771
2772
        return $this;
2773
    }
2774
2775
    /**
2776
     * @param string $value
2777
     *
2778
     * @return $this
2779
     */
2780
    public function withResourceIds($value)
2781
    {
2782
        $this->data['ResourceIds'] = $value;
2783
        $this->options['query']['ResourceIds'] = $value;
2784
2785
        return $this;
2786
    }
2787
2788
    /**
2789
     * @param string $value
2790
     *
2791
     * @return $this
2792
     */
2793
    public function withTags($value)
2794
    {
2795
        $this->data['Tags'] = $value;
2796
        $this->options['query']['Tags'] = $value;
2797
2798
        return $this;
2799
    }
2800
}
2801
2802
/**
2803
 * @method string getAppId()
2804
 */
2805
class QueryResourceStatics extends Roa
2806
{
2807
    /** @var string */
2808
    public $pathPattern = '/pop/v1/paas/quota/queryResourceStatics';
2809
2810
    /**
2811
     * @param string $value
2812
     *
2813
     * @return $this
2814
     */
2815
    public function withAppId($value)
2816
    {
2817
        $this->data['AppId'] = $value;
2818
        $this->options['query']['AppId'] = $value;
2819
2820
        return $this;
2821
    }
2822
}
2823
2824
/**
2825
 * @method string getMinReadyInstances()
2826
 * @method string getReplicas()
2827
 * @method string getAppId()
2828
 */
2829
class RescaleApplication extends Roa
2830
{
2831
    /** @var string */
2832
    public $pathPattern = '/pop/v1/sam/app/rescaleApplication';
2833
2834
    /** @var string */
2835
    public $method = 'PUT';
2836
2837
    /**
2838
     * @param string $value
2839
     *
2840
     * @return $this
2841
     */
2842
    public function withMinReadyInstances($value)
2843
    {
2844
        $this->data['MinReadyInstances'] = $value;
2845
        $this->options['query']['MinReadyInstances'] = $value;
2846
2847
        return $this;
2848
    }
2849
2850
    /**
2851
     * @param string $value
2852
     *
2853
     * @return $this
2854
     */
2855
    public function withReplicas($value)
2856
    {
2857
        $this->data['Replicas'] = $value;
2858
        $this->options['query']['Replicas'] = $value;
2859
2860
        return $this;
2861
    }
2862
2863
    /**
2864
     * @param string $value
2865
     *
2866
     * @return $this
2867
     */
2868
    public function withAppId($value)
2869
    {
2870
        $this->data['AppId'] = $value;
2871
        $this->options['query']['AppId'] = $value;
2872
2873
        return $this;
2874
    }
2875
}
2876
2877
/**
2878
 * @method string getMemory()
2879
 * @method string getAppId()
2880
 * @method string getCpu()
2881
 */
2882
class RescaleApplicationVertically extends Roa
2883
{
2884
    /** @var string */
2885
    public $pathPattern = '/pop/v1/sam/app/rescaleApplicationVertically';
2886
2887
    /** @var string */
2888
    public $method = 'POST';
2889
2890
    /**
2891
     * @param string $value
2892
     *
2893
     * @return $this
2894
     */
2895
    public function withMemory($value)
2896
    {
2897
        $this->data['Memory'] = $value;
2898
        $this->options['query']['Memory'] = $value;
2899
2900
        return $this;
2901
    }
2902
2903
    /**
2904
     * @param string $value
2905
     *
2906
     * @return $this
2907
     */
2908
    public function withAppId($value)
2909
    {
2910
        $this->data['AppId'] = $value;
2911
        $this->options['query']['AppId'] = $value;
2912
2913
        return $this;
2914
    }
2915
2916
    /**
2917
     * @param string $value
2918
     *
2919
     * @return $this
2920
     */
2921
    public function withCpu($value)
2922
    {
2923
        $this->data['Cpu'] = $value;
2924
        $this->options['query']['Cpu'] = $value;
2925
2926
        return $this;
2927
    }
2928
}
2929
2930
/**
2931
 * @method string getMinReadyInstances()
2932
 * @method string getAppId()
2933
 */
2934
class RestartApplication extends Roa
2935
{
2936
    /** @var string */
2937
    public $pathPattern = '/pop/v1/sam/app/restartApplication';
2938
2939
    /** @var string */
2940
    public $method = 'PUT';
2941
2942
    /**
2943
     * @param string $value
2944
     *
2945
     * @return $this
2946
     */
2947
    public function withMinReadyInstances($value)
2948
    {
2949
        $this->data['MinReadyInstances'] = $value;
2950
        $this->options['query']['MinReadyInstances'] = $value;
2951
2952
        return $this;
2953
    }
2954
2955
    /**
2956
     * @param string $value
2957
     *
2958
     * @return $this
2959
     */
2960
    public function withAppId($value)
2961
    {
2962
        $this->data['AppId'] = $value;
2963
        $this->options['query']['AppId'] = $value;
2964
2965
        return $this;
2966
    }
2967
}
2968
2969
/**
2970
 * @method string getMinReadyInstances()
2971
 * @method string getVersionId()
2972
 * @method string getAppId()
2973
 * @method string getBatchWaitTime()
2974
 * @method string getAutoEnableApplicationScalingRule()
2975
 * @method string getUpdateStrategy()
2976
 */
2977
class RollbackApplication extends Roa
2978
{
2979
    /** @var string */
2980
    public $pathPattern = '/pop/v1/sam/app/rollbackApplication';
2981
2982
    /** @var string */
2983
    public $method = 'PUT';
2984
2985
    /**
2986
     * @param string $value
2987
     *
2988
     * @return $this
2989
     */
2990
    public function withMinReadyInstances($value)
2991
    {
2992
        $this->data['MinReadyInstances'] = $value;
2993
        $this->options['query']['MinReadyInstances'] = $value;
2994
2995
        return $this;
2996
    }
2997
2998
    /**
2999
     * @param string $value
3000
     *
3001
     * @return $this
3002
     */
3003
    public function withVersionId($value)
3004
    {
3005
        $this->data['VersionId'] = $value;
3006
        $this->options['query']['VersionId'] = $value;
3007
3008
        return $this;
3009
    }
3010
3011
    /**
3012
     * @param string $value
3013
     *
3014
     * @return $this
3015
     */
3016
    public function withAppId($value)
3017
    {
3018
        $this->data['AppId'] = $value;
3019
        $this->options['query']['AppId'] = $value;
3020
3021
        return $this;
3022
    }
3023
3024
    /**
3025
     * @param string $value
3026
     *
3027
     * @return $this
3028
     */
3029
    public function withBatchWaitTime($value)
3030
    {
3031
        $this->data['BatchWaitTime'] = $value;
3032
        $this->options['query']['BatchWaitTime'] = $value;
3033
3034
        return $this;
3035
    }
3036
3037
    /**
3038
     * @param string $value
3039
     *
3040
     * @return $this
3041
     */
3042
    public function withAutoEnableApplicationScalingRule($value)
3043
    {
3044
        $this->data['AutoEnableApplicationScalingRule'] = $value;
3045
        $this->options['query']['AutoEnableApplicationScalingRule'] = $value;
3046
3047
        return $this;
3048
    }
3049
3050
    /**
3051
     * @param string $value
3052
     *
3053
     * @return $this
3054
     */
3055
    public function withUpdateStrategy($value)
3056
    {
3057
        $this->data['UpdateStrategy'] = $value;
3058
        $this->options['query']['UpdateStrategy'] = $value;
3059
3060
        return $this;
3061
    }
3062
}
3063
3064
/**
3065
 * @method string getAppId()
3066
 */
3067
class StartApplication extends Roa
3068
{
3069
    /** @var string */
3070
    public $pathPattern = '/pop/v1/sam/app/startApplication';
3071
3072
    /** @var string */
3073
    public $method = 'PUT';
3074
3075
    /**
3076
     * @param string $value
3077
     *
3078
     * @return $this
3079
     */
3080
    public function withAppId($value)
3081
    {
3082
        $this->data['AppId'] = $value;
3083
        $this->options['query']['AppId'] = $value;
3084
3085
        return $this;
3086
    }
3087
}
3088
3089
/**
3090
 * @method string getAppId()
3091
 */
3092
class StopApplication extends Roa
3093
{
3094
    /** @var string */
3095
    public $pathPattern = '/pop/v1/sam/app/stopApplication';
3096
3097
    /** @var string */
3098
    public $method = 'PUT';
3099
3100
    /**
3101
     * @param string $value
3102
     *
3103
     * @return $this
3104
     */
3105
    public function withAppId($value)
3106
    {
3107
        $this->data['AppId'] = $value;
3108
        $this->options['query']['AppId'] = $value;
3109
3110
        return $this;
3111
    }
3112
}
3113
3114
/**
3115
 * @method string getResourceType()
3116
 * @method string getTags()
3117
 * @method string getResourceIds()
3118
 */
3119
class TagResources extends Roa
3120
{
3121
    /** @var string */
3122
    public $pathPattern = '/tags';
3123
3124
    /** @var string */
3125
    public $method = 'POST';
3126
3127
    /**
3128
     * @param string $value
3129
     *
3130
     * @return $this
3131
     */
3132
    public function withResourceType($value)
3133
    {
3134
        $this->data['ResourceType'] = $value;
3135
        $this->options['form_params']['ResourceType'] = $value;
3136
3137
        return $this;
3138
    }
3139
3140
    /**
3141
     * @param string $value
3142
     *
3143
     * @return $this
3144
     */
3145
    public function withTags($value)
3146
    {
3147
        $this->data['Tags'] = $value;
3148
        $this->options['form_params']['Tags'] = $value;
3149
3150
        return $this;
3151
    }
3152
3153
    /**
3154
     * @param string $value
3155
     *
3156
     * @return $this
3157
     */
3158
    public function withResourceIds($value)
3159
    {
3160
        $this->data['ResourceIds'] = $value;
3161
        $this->options['form_params']['ResourceIds'] = $value;
3162
3163
        return $this;
3164
    }
3165
}
3166
3167
/**
3168
 * @method string getIntranet()
3169
 * @method string getAppId()
3170
 * @method string getInternet()
3171
 */
3172
class UnbindSlb extends Roa
3173
{
3174
    /** @var string */
3175
    public $pathPattern = '/pop/v1/sam/app/slb';
3176
3177
    /** @var string */
3178
    public $method = 'DELETE';
3179
3180
    /**
3181
     * @param string $value
3182
     *
3183
     * @return $this
3184
     */
3185
    public function withIntranet($value)
3186
    {
3187
        $this->data['Intranet'] = $value;
3188
        $this->options['query']['Intranet'] = $value;
3189
3190
        return $this;
3191
    }
3192
3193
    /**
3194
     * @param string $value
3195
     *
3196
     * @return $this
3197
     */
3198
    public function withAppId($value)
3199
    {
3200
        $this->data['AppId'] = $value;
3201
        $this->options['query']['AppId'] = $value;
3202
3203
        return $this;
3204
    }
3205
3206
    /**
3207
     * @param string $value
3208
     *
3209
     * @return $this
3210
     */
3211
    public function withInternet($value)
3212
    {
3213
        $this->data['Internet'] = $value;
3214
        $this->options['query']['Internet'] = $value;
3215
3216
        return $this;
3217
    }
3218
}
3219
3220
/**
3221
 * @method string getTagKeys()
3222
 * @method string getDeleteAll()
3223
 * @method string getResourceType()
3224
 * @method string getResourceIds()
3225
 */
3226
class UntagResources extends Roa
3227
{
3228
    /** @var string */
3229
    public $pathPattern = '/tags';
3230
3231
    /** @var string */
3232
    public $method = 'DELETE';
3233
3234
    /**
3235
     * @param string $value
3236
     *
3237
     * @return $this
3238
     */
3239
    public function withTagKeys($value)
3240
    {
3241
        $this->data['TagKeys'] = $value;
3242
        $this->options['query']['TagKeys'] = $value;
3243
3244
        return $this;
3245
    }
3246
3247
    /**
3248
     * @param string $value
3249
     *
3250
     * @return $this
3251
     */
3252
    public function withDeleteAll($value)
3253
    {
3254
        $this->data['DeleteAll'] = $value;
3255
        $this->options['query']['DeleteAll'] = $value;
3256
3257
        return $this;
3258
    }
3259
3260
    /**
3261
     * @param string $value
3262
     *
3263
     * @return $this
3264
     */
3265
    public function withResourceType($value)
3266
    {
3267
        $this->data['ResourceType'] = $value;
3268
        $this->options['query']['ResourceType'] = $value;
3269
3270
        return $this;
3271
    }
3272
3273
    /**
3274
     * @param string $value
3275
     *
3276
     * @return $this
3277
     */
3278
    public function withResourceIds($value)
3279
    {
3280
        $this->data['ResourceIds'] = $value;
3281
        $this->options['query']['ResourceIds'] = $value;
3282
3283
        return $this;
3284
    }
3285
}
3286
3287
/**
3288
 * @method string getAppId()
3289
 * @method string getSecurityGroupId()
3290
 */
3291
class UpdateAppSecurityGroup extends Roa
3292
{
3293
    /** @var string */
3294
    public $pathPattern = '/pop/v1/sam/app/updateAppSecurityGroup';
3295
3296
    /** @var string */
3297
    public $method = 'PUT';
3298
3299
    /**
3300
     * @param string $value
3301
     *
3302
     * @return $this
3303
     */
3304
    public function withAppId($value)
3305
    {
3306
        $this->data['AppId'] = $value;
3307
        $this->options['query']['AppId'] = $value;
3308
3309
        return $this;
3310
    }
3311
3312
    /**
3313
     * @param string $value
3314
     *
3315
     * @return $this
3316
     */
3317
    public function withSecurityGroupId($value)
3318
    {
3319
        $this->data['SecurityGroupId'] = $value;
3320
        $this->options['query']['SecurityGroupId'] = $value;
3321
3322
        return $this;
3323
    }
3324
}
3325
3326
/**
3327
 * @method string getData()
3328
 * @method string getDescription()
3329
 * @method string getConfigMapId()
3330
 */
3331
class UpdateConfigMap extends Roa
3332
{
3333
    /** @var string */
3334
    public $pathPattern = '/pop/v1/sam/configmap/configMap';
3335
3336
    /** @var string */
3337
    public $method = 'PUT';
3338
3339
    /**
3340
     * @param string $value
3341
     *
3342
     * @return $this
3343
     */
3344
    public function withData($value)
3345
    {
3346
        $this->data['Data'] = $value;
3347
        $this->options['form_params']['Data'] = $value;
3348
3349
        return $this;
3350
    }
3351
3352
    /**
3353
     * @param string $value
3354
     *
3355
     * @return $this
3356
     */
3357
    public function withDescription($value)
3358
    {
3359
        $this->data['Description'] = $value;
3360
        $this->options['form_params']['Description'] = $value;
3361
3362
        return $this;
3363
    }
3364
3365
    /**
3366
     * @param string $value
3367
     *
3368
     * @return $this
3369
     */
3370
    public function withConfigMapId($value)
3371
    {
3372
        $this->data['ConfigMapId'] = $value;
3373
        $this->options['query']['ConfigMapId'] = $value;
3374
3375
        return $this;
3376
    }
3377
}
3378
3379
/**
3380
 * @method string getIngressId()
3381
 * @method string getListenerPort()
3382
 * @method string getDescription()
3383
 * @method string getRules()
3384
 * @method string getCertId()
3385
 * @method string getDefaultRule()
3386
 */
3387
class UpdateIngress extends Roa
3388
{
3389
    /** @var string */
3390
    public $pathPattern = '/pop/v1/sam/ingress/Ingress';
3391
3392
    /** @var string */
3393
    public $method = 'PUT';
3394
3395
    /**
3396
     * @param string $value
3397
     *
3398
     * @return $this
3399
     */
3400
    public function withIngressId($value)
3401
    {
3402
        $this->data['IngressId'] = $value;
3403
        $this->options['query']['IngressId'] = $value;
3404
3405
        return $this;
3406
    }
3407
3408
    /**
3409
     * @param string $value
3410
     *
3411
     * @return $this
3412
     */
3413
    public function withListenerPort($value)
3414
    {
3415
        $this->data['ListenerPort'] = $value;
3416
        $this->options['query']['ListenerPort'] = $value;
3417
3418
        return $this;
3419
    }
3420
3421
    /**
3422
     * @param string $value
3423
     *
3424
     * @return $this
3425
     */
3426
    public function withDescription($value)
3427
    {
3428
        $this->data['Description'] = $value;
3429
        $this->options['query']['Description'] = $value;
3430
3431
        return $this;
3432
    }
3433
3434
    /**
3435
     * @param string $value
3436
     *
3437
     * @return $this
3438
     */
3439
    public function withRules($value)
3440
    {
3441
        $this->data['Rules'] = $value;
3442
        $this->options['form_params']['Rules'] = $value;
3443
3444
        return $this;
3445
    }
3446
3447
    /**
3448
     * @param string $value
3449
     *
3450
     * @return $this
3451
     */
3452
    public function withCertId($value)
3453
    {
3454
        $this->data['CertId'] = $value;
3455
        $this->options['query']['CertId'] = $value;
3456
3457
        return $this;
3458
    }
3459
3460
    /**
3461
     * @param string $value
3462
     *
3463
     * @return $this
3464
     */
3465
    public function withDefaultRule($value)
3466
    {
3467
        $this->data['DefaultRule'] = $value;
3468
        $this->options['query']['DefaultRule'] = $value;
3469
3470
        return $this;
3471
    }
3472
}
3473
3474
/**
3475
 * @method string getNamespaceName()
3476
 * @method string getNamespaceDescription()
3477
 * @method string getNamespaceId()
3478
 */
3479
class UpdateNamespace extends Roa
3480
{
3481
    /** @var string */
3482
    public $pathPattern = '/pop/v1/paas/namespace';
3483
3484
    /** @var string */
3485
    public $method = 'PUT';
3486
3487
    /**
3488
     * @param string $value
3489
     *
3490
     * @return $this
3491
     */
3492
    public function withNamespaceName($value)
3493
    {
3494
        $this->data['NamespaceName'] = $value;
3495
        $this->options['query']['NamespaceName'] = $value;
3496
3497
        return $this;
3498
    }
3499
3500
    /**
3501
     * @param string $value
3502
     *
3503
     * @return $this
3504
     */
3505
    public function withNamespaceDescription($value)
3506
    {
3507
        $this->data['NamespaceDescription'] = $value;
3508
        $this->options['query']['NamespaceDescription'] = $value;
3509
3510
        return $this;
3511
    }
3512
3513
    /**
3514
     * @param string $value
3515
     *
3516
     * @return $this
3517
     */
3518
    public function withNamespaceId($value)
3519
    {
3520
        $this->data['NamespaceId'] = $value;
3521
        $this->options['query']['NamespaceId'] = $value;
3522
3523
        return $this;
3524
    }
3525
}
3526
3527
/**
3528
 * @method string getNamespaceId()
3529
 * @method string getVpcId()
3530
 */
3531
class UpdateNamespaceVpc extends Roa
3532
{
3533
    /** @var string */
3534
    public $pathPattern = '/pop/v1/sam/namespace/updateNamespaceVpc';
3535
3536
    /** @var string */
3537
    public $method = 'POST';
3538
3539
    /**
3540
     * @param string $value
3541
     *
3542
     * @return $this
3543
     */
3544
    public function withNamespaceId($value)
3545
    {
3546
        $this->data['NamespaceId'] = $value;
3547
        $this->options['query']['NamespaceId'] = $value;
3548
3549
        return $this;
3550
    }
3551
3552
    /**
3553
     * @param string $value
3554
     *
3555
     * @return $this
3556
     */
3557
    public function withVpcId($value)
3558
    {
3559
        $this->data['VpcId'] = $value;
3560
        $this->options['query']['VpcId'] = $value;
3561
3562
        return $this;
3563
    }
3564
}
3565