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 ( 23f79c...565943 )
by
unknown
07:47
created

UntagResources::withAll()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Foas\V20181111;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method BatchGetInstanceRunSummary batchGetInstanceRunSummary(array $options = [])
9
 * @method BindQueue bindQueue(array $options = [])
10
 * @method CalcPlanJsonResource calcPlanJsonResource(array $options = [])
11
 * @method CheckRawPlanJson checkRawPlanJson(array $options = [])
12
 * @method CommitJob commitJob(array $options = [])
13
 * @method CreateCellClusterOrder createCellClusterOrder(array $options = [])
14
 * @method CreateCluster createCluster(array $options = [])
15
 * @method CreateFolder createFolder(array $options = [])
16
 * @method CreateJob createJob(array $options = [])
17
 * @method CreatePackage createPackage(array $options = [])
18
 * @method CreateProject createProject(array $options = [])
19
 * @method CreateQueue createQueue(array $options = [])
20
 * @method DeleteFolder deleteFolder(array $options = [])
21
 * @method DeleteJob deleteJob(array $options = [])
22
 * @method DeletePackage deletePackage(array $options = [])
23
 * @method DeleteProject deleteProject(array $options = [])
24
 * @method DeleteQueue deleteQueue(array $options = [])
25
 * @method DestroyCluster destroyCluster(array $options = [])
26
 * @method ExpandCluster expandCluster(array $options = [])
27
 * @method GetClusterDetails getClusterDetails(array $options = [])
28
 * @method GetClusterEngineVersions getClusterEngineVersions(array $options = [])
29
 * @method GetClusterMetrics getClusterMetrics(array $options = [])
30
 * @method GetClusterQueueInfo getClusterQueueInfo(array $options = [])
31
 * @method GetClusterResource getClusterResource(array $options = [])
32
 * @method GetFolder getFolder(array $options = [])
33
 * @method GetInstance getInstance(array $options = [])
34
 * @method GetInstanceCheckpoint getInstanceCheckpoint(array $options = [])
35
 * @method GetInstanceConfig getInstanceConfig(array $options = [])
36
 * @method GetInstanceDetail getInstanceDetail(array $options = [])
37
 * @method GetInstanceExceptions getInstanceExceptions(array $options = [])
38
 * @method GetInstanceFinalState getInstanceFinalState(array $options = [])
39
 * @method GetInstanceHistoryAutoScalePlanContent getInstanceHistoryAutoScalePlanContent(array $options = [])
40
 * @method GetInstanceHistoryAutoScalePlanList getInstanceHistoryAutoScalePlanList(array $options = [])
41
 * @method GetInstanceMetric getInstanceMetric(array $options = [])
42
 * @method GetInstanceResource getInstanceResource(array $options = [])
43
 * @method GetInstanceRunSummary getInstanceRunSummary(array $options = [])
44
 * @method GetJob getJob(array $options = [])
45
 * @method GetJobLatestAutoScalePlan getJobLatestAutoScalePlan(array $options = [])
46
 * @method GetPackage getPackage(array $options = [])
47
 * @method GetProject getProject(array $options = [])
48
 * @method GetRawPlanJson getRawPlanJson(array $options = [])
49
 * @method GetRefPackageJob getRefPackageJob(array $options = [])
50
 * @method ListChildFolder listChildFolder(array $options = [])
51
 * @method ListCluster listCluster(array $options = [])
52
 * @method ListInstance listInstance(array $options = [])
53
 * @method ListJob listJob(array $options = [])
54
 * @method ListPackage listPackage(array $options = [])
55
 * @method ListProject listProject(array $options = [])
56
 * @method ListProjectBindQueue listProjectBindQueue(array $options = [])
57
 * @method ListProjectBindQueueResource listProjectBindQueueResource(array $options = [])
58
 * @method ListTagResources listTagResources(array $options = [])
59
 * @method ModifyInstanceState modifyInstanceState(array $options = [])
60
 * @method ModifyMasterSpec modifyMasterSpec(array $options = [])
61
 * @method MVFolder mVFolder(array $options = [])
62
 * @method OfflineJob offlineJob(array $options = [])
63
 * @method ShrinkCluster shrinkCluster(array $options = [])
64
 * @method StartJob startJob(array $options = [])
65
 * @method TagResources tagResources(array $options = [])
66
 * @method UnbindQueue unbindQueue(array $options = [])
67
 * @method UntagResources untagResources(array $options = [])
68
 * @method UpdateAutoScaleConfig updateAutoScaleConfig(array $options = [])
69
 * @method UpdateJob updateJob(array $options = [])
70
 * @method UpdatePackage updatePackage(array $options = [])
71
 * @method UpdateProject updateProject(array $options = [])
72
 * @method UpdateProjectConfig updateProjectConfig(array $options = [])
73
 * @method UpdateQueue updateQueue(array $options = [])
74
 * @method ValidateJob validateJob(array $options = [])
75
 */
76
class FoasApiResolver extends ApiResolver
77
{
78
}
79
80
class Roa extends \AlibabaCloud\Client\Resolver\Roa
81
{
82
    /** @var string */
83
    public $product = 'foas';
84
85
    /** @var string */
86
    public $version = '2018-11-11';
87
88
    /** @var string */
89
    protected $scheme = 'https';
90
91
    /** @var string */
92
    public $serviceCode = 'foas';
93
}
94
95
/**
96
 * @method string getProjectName()
97
 * @method string getJobNames()
98
 * @method string getJobType()
99
 */
100
class BatchGetInstanceRunSummary extends Roa
101
{
102
    /** @var string */
103
    public $pathPattern = '/api/v2/projects/[projectName]/runsummary';
104
105
    /**
106
     * @param string $value
107
     *
108
     * @return $this
109
     */
110
    public function withProjectName($value)
111
    {
112
        $this->data['ProjectName'] = $value;
113
        $this->pathParameters['projectName'] = $value;
114
115
        return $this;
116
    }
117
118
    /**
119
     * @param string $value
120
     *
121
     * @return $this
122
     */
123
    public function withJobNames($value)
124
    {
125
        $this->data['JobNames'] = $value;
126
        $this->options['query']['jobNames'] = $value;
127
128
        return $this;
129
    }
130
131
    /**
132
     * @param string $value
133
     *
134
     * @return $this
135
     */
136
    public function withJobType($value)
137
    {
138
        $this->data['JobType'] = $value;
139
        $this->options['query']['jobType'] = $value;
140
141
        return $this;
142
    }
143
}
144
145
/**
146
 * @method string getQueueName()
147
 * @method string getProjectName()
148
 * @method string getClusterId()
149
 */
150
class BindQueue extends Roa
151
{
152
    /** @var string */
153
    public $pathPattern = '/api/v2/projects/[projectName]/queue';
154
155
    /** @var string */
156
    public $method = 'POST';
157
158
    /**
159
     * @param string $value
160
     *
161
     * @return $this
162
     */
163
    public function withQueueName($value)
164
    {
165
        $this->data['QueueName'] = $value;
166
        $this->options['form_params']['queueName'] = $value;
167
168
        return $this;
169
    }
170
171
    /**
172
     * @param string $value
173
     *
174
     * @return $this
175
     */
176
    public function withProjectName($value)
177
    {
178
        $this->data['ProjectName'] = $value;
179
        $this->pathParameters['projectName'] = $value;
180
181
        return $this;
182
    }
183
184
    /**
185
     * @param string $value
186
     *
187
     * @return $this
188
     */
189
    public function withClusterId($value)
190
    {
191
        $this->data['ClusterId'] = $value;
192
        $this->options['form_params']['clusterId'] = $value;
193
194
        return $this;
195
    }
196
}
197
198
/**
199
 * @method string getProjectName()
200
 * @method string getJobName()
201
 */
202
class CalcPlanJsonResource extends Roa
203
{
204
    /** @var string */
205
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/planjson-resource';
206
207
    /**
208
     * @param string $value
209
     *
210
     * @return $this
211
     */
212
    public function withProjectName($value)
213
    {
214
        $this->data['ProjectName'] = $value;
215
        $this->pathParameters['projectName'] = $value;
216
217
        return $this;
218
    }
219
220
    /**
221
     * @param string $value
222
     *
223
     * @return $this
224
     */
225
    public function withJobName($value)
226
    {
227
        $this->data['JobName'] = $value;
228
        $this->pathParameters['jobName'] = $value;
229
230
        return $this;
231
    }
232
}
233
234
/**
235
 * @method string getProjectName()
236
 * @method string getSessionId()
237
 * @method string getJobName()
238
 */
239
class CheckRawPlanJson extends Roa
240
{
241
    /** @var string */
242
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/planjson/check';
243
244
    /**
245
     * @param string $value
246
     *
247
     * @return $this
248
     */
249
    public function withProjectName($value)
250
    {
251
        $this->data['ProjectName'] = $value;
252
        $this->pathParameters['projectName'] = $value;
253
254
        return $this;
255
    }
256
257
    /**
258
     * @param string $value
259
     *
260
     * @return $this
261
     */
262
    public function withSessionId($value)
263
    {
264
        $this->data['SessionId'] = $value;
265
        $this->options['query']['sessionId'] = $value;
266
267
        return $this;
268
    }
269
270
    /**
271
     * @param string $value
272
     *
273
     * @return $this
274
     */
275
    public function withJobName($value)
276
    {
277
        $this->data['JobName'] = $value;
278
        $this->pathParameters['jobName'] = $value;
279
280
        return $this;
281
    }
282
}
283
284
/**
285
 * @method string getProjectName()
286
 * @method string getRecommendOnly()
287
 * @method string getSuspendPeriods()
288
 * @method string getMaxCU()
289
 * @method string getConfigure()
290
 * @method string getIsOnOff()
291
 * @method string getJobName()
292
 * @method array getSuspendPeriodParam()
293
 */
294
class CommitJob extends Roa
295
{
296
    /** @var string */
297
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/commit';
298
299
    /** @var string */
300
    public $method = 'PUT';
301
302
    /**
303
     * @param string $value
304
     *
305
     * @return $this
306
     */
307
    public function withProjectName($value)
308
    {
309
        $this->data['ProjectName'] = $value;
310
        $this->pathParameters['projectName'] = $value;
311
312
        return $this;
313
    }
314
315
    /**
316
     * @param string $value
317
     *
318
     * @return $this
319
     */
320
    public function withRecommendOnly($value)
321
    {
322
        $this->data['RecommendOnly'] = $value;
323
        $this->options['form_params']['recommendOnly'] = $value;
324
325
        return $this;
326
    }
327
328
    /**
329
     * @param string $value
330
     *
331
     * @return $this
332
     */
333
    public function withSuspendPeriods($value)
334
    {
335
        $this->data['SuspendPeriods'] = $value;
336
        $this->options['form_params']['suspendPeriods'] = $value;
337
338
        return $this;
339
    }
340
341
    /**
342
     * @param string $value
343
     *
344
     * @return $this
345
     */
346
    public function withMaxCU($value)
347
    {
348
        $this->data['MaxCU'] = $value;
349
        $this->options['form_params']['maxCU'] = $value;
350
351
        return $this;
352
    }
353
354
    /**
355
     * @param string $value
356
     *
357
     * @return $this
358
     */
359
    public function withConfigure($value)
360
    {
361
        $this->data['Configure'] = $value;
362
        $this->options['form_params']['configure'] = $value;
363
364
        return $this;
365
    }
366
367
    /**
368
     * @param string $value
369
     *
370
     * @return $this
371
     */
372
    public function withIsOnOff($value)
373
    {
374
        $this->data['IsOnOff'] = $value;
375
        $this->options['form_params']['isOnOff'] = $value;
376
377
        return $this;
378
    }
379
380
    /**
381
     * @param string $value
382
     *
383
     * @return $this
384
     */
385
    public function withJobName($value)
386
    {
387
        $this->data['JobName'] = $value;
388
        $this->pathParameters['jobName'] = $value;
389
390
        return $this;
391
    }
392
393
    /**
394
     * @param array $suspendPeriodParam
395
     *
396
     * @return $this
397
     */
398
	public function withSuspendPeriodParam(array $suspendPeriodParam)
399
	{
400
	    $this->data['SuspendPeriodParam'] = $suspendPeriodParam;
401
		foreach ($suspendPeriodParam as $depth1 => $depth1Value) {
402
			if(isset($depth1Value['EndTime'])){
403
				$this->options['form_params']['suspendPeriodParam.' . ($depth1 + 1) . '.endTime'] = $depth1Value['EndTime'];
404
			}
405
			if(isset($depth1Value['StartTime'])){
406
				$this->options['form_params']['suspendPeriodParam.' . ($depth1 + 1) . '.startTime'] = $depth1Value['StartTime'];
407
			}
408
			if(isset($depth1Value['Plan'])){
409
				$this->options['form_params']['suspendPeriodParam.' . ($depth1 + 1) . '.plan'] = $depth1Value['Plan'];
410
			}
411
			if(isset($depth1Value['Policy'])){
412
				$this->options['form_params']['suspendPeriodParam.' . ($depth1 + 1) . '.policy'] = $depth1Value['Policy'];
413
			}
414
		}
415
416
		return $this;
417
    }
418
}
419
420
/**
421
 * @method string getPeriod()
422
 * @method string getSlaveNum()
423
 * @method string getSlaveSpec()
424
 * @method string getRegion()
425
 * @method string getMasterNum()
426
 * @method string getMasterSpec()
427
 * @method string getPayModel()
428
 */
429
class CreateCellClusterOrder extends Roa
430
{
431
    /** @var string */
432
    public $pathPattern = '/api/v2/realtime-compute/cell/buy';
433
434
    /** @var string */
435
    public $method = 'POST';
436
437
    /**
438
     * @param string $value
439
     *
440
     * @return $this
441
     */
442
    public function withPeriod($value)
443
    {
444
        $this->data['Period'] = $value;
445
        $this->options['form_params']['period'] = $value;
446
447
        return $this;
448
    }
449
450
    /**
451
     * @param string $value
452
     *
453
     * @return $this
454
     */
455
    public function withSlaveNum($value)
456
    {
457
        $this->data['SlaveNum'] = $value;
458
        $this->options['form_params']['slaveNum'] = $value;
459
460
        return $this;
461
    }
462
463
    /**
464
     * @param string $value
465
     *
466
     * @return $this
467
     */
468
    public function withSlaveSpec($value)
469
    {
470
        $this->data['SlaveSpec'] = $value;
471
        $this->options['form_params']['slaveSpec'] = $value;
472
473
        return $this;
474
    }
475
476
    /**
477
     * @param string $value
478
     *
479
     * @return $this
480
     */
481
    public function withRegion($value)
482
    {
483
        $this->data['Region'] = $value;
484
        $this->options['form_params']['region'] = $value;
485
486
        return $this;
487
    }
488
489
    /**
490
     * @param string $value
491
     *
492
     * @return $this
493
     */
494
    public function withMasterNum($value)
495
    {
496
        $this->data['MasterNum'] = $value;
497
        $this->options['form_params']['masterNum'] = $value;
498
499
        return $this;
500
    }
501
502
    /**
503
     * @param string $value
504
     *
505
     * @return $this
506
     */
507
    public function withMasterSpec($value)
508
    {
509
        $this->data['MasterSpec'] = $value;
510
        $this->options['form_params']['masterSpec'] = $value;
511
512
        return $this;
513
    }
514
515
    /**
516
     * @param string $value
517
     *
518
     * @return $this
519
     */
520
    public function withPayModel($value)
521
    {
522
        $this->data['PayModel'] = $value;
523
        $this->options['form_params']['payModel'] = $value;
524
525
        return $this;
526
    }
527
}
528
529
/**
530
 * @method string getOrderId()
531
 * @method string getUserOssBucket()
532
 * @method string getDisplayName()
533
 * @method string getUserVpcId()
534
 * @method string getZoneId()
535
 * @method string getDescription()
536
 * @method string getUserVSwitch()
537
 */
538
class CreateCluster extends Roa
539
{
540
    /** @var string */
541
    public $pathPattern = '/api/v2/clusters';
542
543
    /** @var string */
544
    public $method = 'POST';
545
546
    /**
547
     * @param string $value
548
     *
549
     * @return $this
550
     */
551
    public function withOrderId($value)
552
    {
553
        $this->data['OrderId'] = $value;
554
        $this->options['form_params']['orderId'] = $value;
555
556
        return $this;
557
    }
558
559
    /**
560
     * @param string $value
561
     *
562
     * @return $this
563
     */
564
    public function withUserOssBucket($value)
565
    {
566
        $this->data['UserOssBucket'] = $value;
567
        $this->options['form_params']['userOssBucket'] = $value;
568
569
        return $this;
570
    }
571
572
    /**
573
     * @param string $value
574
     *
575
     * @return $this
576
     */
577
    public function withDisplayName($value)
578
    {
579
        $this->data['DisplayName'] = $value;
580
        $this->options['form_params']['displayName'] = $value;
581
582
        return $this;
583
    }
584
585
    /**
586
     * @param string $value
587
     *
588
     * @return $this
589
     */
590
    public function withUserVpcId($value)
591
    {
592
        $this->data['UserVpcId'] = $value;
593
        $this->options['form_params']['userVpcId'] = $value;
594
595
        return $this;
596
    }
597
598
    /**
599
     * @param string $value
600
     *
601
     * @return $this
602
     */
603
    public function withZoneId($value)
604
    {
605
        $this->data['ZoneId'] = $value;
606
        $this->options['form_params']['zoneId'] = $value;
607
608
        return $this;
609
    }
610
611
    /**
612
     * @param string $value
613
     *
614
     * @return $this
615
     */
616
    public function withDescription($value)
617
    {
618
        $this->data['Description'] = $value;
619
        $this->options['form_params']['description'] = $value;
620
621
        return $this;
622
    }
623
624
    /**
625
     * @param string $value
626
     *
627
     * @return $this
628
     */
629
    public function withUserVSwitch($value)
630
    {
631
        $this->data['UserVSwitch'] = $value;
632
        $this->options['form_params']['userVSwitch'] = $value;
633
634
        return $this;
635
    }
636
}
637
638
/**
639
 * @method string getPath()
640
 * @method string getProjectName()
641
 */
642
class CreateFolder extends Roa
643
{
644
    /** @var string */
645
    public $pathPattern = '/api/v2/projects/[projectName]/folders';
646
647
    /** @var string */
648
    public $method = 'POST';
649
650
    /**
651
     * @param string $value
652
     *
653
     * @return $this
654
     */
655
    public function withPath($value)
656
    {
657
        $this->data['Path'] = $value;
658
        $this->options['form_params']['path'] = $value;
659
660
        return $this;
661
    }
662
663
    /**
664
     * @param string $value
665
     *
666
     * @return $this
667
     */
668
    public function withProjectName($value)
669
    {
670
        $this->data['ProjectName'] = $value;
671
        $this->pathParameters['projectName'] = $value;
672
673
        return $this;
674
    }
675
}
676
677
/**
678
 * @method string getQueueName()
679
 * @method string getProjectName()
680
 * @method string getCode()
681
 * @method string getDescription()
682
 * @method string getEngineVersion()
683
 * @method string getClusterId()
684
 * @method string getPackages()
685
 * @method string getJobType()
686
 * @method string getApiType()
687
 * @method string getFolderId()
688
 * @method string getPlanJson()
689
 * @method string getProperties()
690
 * @method string getJobName()
691
 */
692
class CreateJob extends Roa
693
{
694
    /** @var string */
695
    public $pathPattern = '/api/v2/projects/[projectName]/jobs';
696
697
    /** @var string */
698
    public $method = 'POST';
699
700
    /**
701
     * @param string $value
702
     *
703
     * @return $this
704
     */
705
    public function withQueueName($value)
706
    {
707
        $this->data['QueueName'] = $value;
708
        $this->options['form_params']['queueName'] = $value;
709
710
        return $this;
711
    }
712
713
    /**
714
     * @param string $value
715
     *
716
     * @return $this
717
     */
718
    public function withProjectName($value)
719
    {
720
        $this->data['ProjectName'] = $value;
721
        $this->pathParameters['projectName'] = $value;
722
723
        return $this;
724
    }
725
726
    /**
727
     * @param string $value
728
     *
729
     * @return $this
730
     */
731
    public function withCode($value)
732
    {
733
        $this->data['Code'] = $value;
734
        $this->options['form_params']['code'] = $value;
735
736
        return $this;
737
    }
738
739
    /**
740
     * @param string $value
741
     *
742
     * @return $this
743
     */
744
    public function withDescription($value)
745
    {
746
        $this->data['Description'] = $value;
747
        $this->options['form_params']['description'] = $value;
748
749
        return $this;
750
    }
751
752
    /**
753
     * @param string $value
754
     *
755
     * @return $this
756
     */
757
    public function withEngineVersion($value)
758
    {
759
        $this->data['EngineVersion'] = $value;
760
        $this->options['form_params']['engineVersion'] = $value;
761
762
        return $this;
763
    }
764
765
    /**
766
     * @param string $value
767
     *
768
     * @return $this
769
     */
770
    public function withClusterId($value)
771
    {
772
        $this->data['ClusterId'] = $value;
773
        $this->options['form_params']['clusterId'] = $value;
774
775
        return $this;
776
    }
777
778
    /**
779
     * @param string $value
780
     *
781
     * @return $this
782
     */
783
    public function withPackages($value)
784
    {
785
        $this->data['Packages'] = $value;
786
        $this->options['form_params']['packages'] = $value;
787
788
        return $this;
789
    }
790
791
    /**
792
     * @param string $value
793
     *
794
     * @return $this
795
     */
796
    public function withJobType($value)
797
    {
798
        $this->data['JobType'] = $value;
799
        $this->options['form_params']['jobType'] = $value;
800
801
        return $this;
802
    }
803
804
    /**
805
     * @param string $value
806
     *
807
     * @return $this
808
     */
809
    public function withApiType($value)
810
    {
811
        $this->data['ApiType'] = $value;
812
        $this->options['form_params']['apiType'] = $value;
813
814
        return $this;
815
    }
816
817
    /**
818
     * @param string $value
819
     *
820
     * @return $this
821
     */
822
    public function withFolderId($value)
823
    {
824
        $this->data['FolderId'] = $value;
825
        $this->options['form_params']['folderId'] = $value;
826
827
        return $this;
828
    }
829
830
    /**
831
     * @param string $value
832
     *
833
     * @return $this
834
     */
835
    public function withPlanJson($value)
836
    {
837
        $this->data['PlanJson'] = $value;
838
        $this->options['form_params']['planJson'] = $value;
839
840
        return $this;
841
    }
842
843
    /**
844
     * @param string $value
845
     *
846
     * @return $this
847
     */
848
    public function withProperties($value)
849
    {
850
        $this->data['Properties'] = $value;
851
        $this->options['form_params']['properties'] = $value;
852
853
        return $this;
854
    }
855
856
    /**
857
     * @param string $value
858
     *
859
     * @return $this
860
     */
861
    public function withJobName($value)
862
    {
863
        $this->data['JobName'] = $value;
864
        $this->options['form_params']['jobName'] = $value;
865
866
        return $this;
867
    }
868
}
869
870
/**
871
 * @method string getProjectName()
872
 * @method string getOssBucket()
873
 * @method string getOssOwner()
874
 * @method string getPackageName()
875
 * @method string getOssEndpoint()
876
 * @method string getDescription()
877
 * @method string getTag()
878
 * @method string getOriginName()
879
 * @method string getType()
880
 * @method string getOssPath()
881
 * @method string getMd5()
882
 */
883
class CreatePackage extends Roa
884
{
885
    /** @var string */
886
    public $pathPattern = '/api/v2/projects/[projectName]/packages';
887
888
    /** @var string */
889
    public $method = 'POST';
890
891
    /**
892
     * @param string $value
893
     *
894
     * @return $this
895
     */
896
    public function withProjectName($value)
897
    {
898
        $this->data['ProjectName'] = $value;
899
        $this->pathParameters['projectName'] = $value;
900
901
        return $this;
902
    }
903
904
    /**
905
     * @param string $value
906
     *
907
     * @return $this
908
     */
909
    public function withOssBucket($value)
910
    {
911
        $this->data['OssBucket'] = $value;
912
        $this->options['form_params']['ossBucket'] = $value;
913
914
        return $this;
915
    }
916
917
    /**
918
     * @param string $value
919
     *
920
     * @return $this
921
     */
922
    public function withOssOwner($value)
923
    {
924
        $this->data['OssOwner'] = $value;
925
        $this->options['form_params']['ossOwner'] = $value;
926
927
        return $this;
928
    }
929
930
    /**
931
     * @param string $value
932
     *
933
     * @return $this
934
     */
935
    public function withPackageName($value)
936
    {
937
        $this->data['PackageName'] = $value;
938
        $this->options['form_params']['packageName'] = $value;
939
940
        return $this;
941
    }
942
943
    /**
944
     * @param string $value
945
     *
946
     * @return $this
947
     */
948
    public function withOssEndpoint($value)
949
    {
950
        $this->data['OssEndpoint'] = $value;
951
        $this->options['form_params']['ossEndpoint'] = $value;
952
953
        return $this;
954
    }
955
956
    /**
957
     * @param string $value
958
     *
959
     * @return $this
960
     */
961
    public function withDescription($value)
962
    {
963
        $this->data['Description'] = $value;
964
        $this->options['form_params']['description'] = $value;
965
966
        return $this;
967
    }
968
969
    /**
970
     * @param string $value
971
     *
972
     * @return $this
973
     */
974
    public function withTag($value)
975
    {
976
        $this->data['Tag'] = $value;
977
        $this->options['form_params']['tag'] = $value;
978
979
        return $this;
980
    }
981
982
    /**
983
     * @param string $value
984
     *
985
     * @return $this
986
     */
987
    public function withOriginName($value)
988
    {
989
        $this->data['OriginName'] = $value;
990
        $this->options['form_params']['originName'] = $value;
991
992
        return $this;
993
    }
994
995
    /**
996
     * @param string $value
997
     *
998
     * @return $this
999
     */
1000
    public function withType($value)
1001
    {
1002
        $this->data['Type'] = $value;
1003
        $this->options['form_params']['type'] = $value;
1004
1005
        return $this;
1006
    }
1007
1008
    /**
1009
     * @param string $value
1010
     *
1011
     * @return $this
1012
     */
1013
    public function withOssPath($value)
1014
    {
1015
        $this->data['OssPath'] = $value;
1016
        $this->options['form_params']['ossPath'] = $value;
1017
1018
        return $this;
1019
    }
1020
1021
    /**
1022
     * @param string $value
1023
     *
1024
     * @return $this
1025
     */
1026
    public function withMd5($value)
1027
    {
1028
        $this->data['Md5'] = $value;
1029
        $this->options['form_params']['md5'] = $value;
1030
1031
        return $this;
1032
    }
1033
}
1034
1035
/**
1036
 * @method string getManagerIds()
1037
 * @method string getOrderId()
1038
 * @method string getName()
1039
 * @method string getDescription()
1040
 * @method string getClusterId()
1041
 * @method string getDeployType()
1042
 */
1043
class CreateProject extends Roa
1044
{
1045
    /** @var string */
1046
    public $pathPattern = '/api/v2/projects';
1047
1048
    /** @var string */
1049
    public $method = 'POST';
1050
1051
    /**
1052
     * @param string $value
1053
     *
1054
     * @return $this
1055
     */
1056
    public function withManagerIds($value)
1057
    {
1058
        $this->data['ManagerIds'] = $value;
1059
        $this->options['form_params']['managerIds'] = $value;
1060
1061
        return $this;
1062
    }
1063
1064
    /**
1065
     * @param string $value
1066
     *
1067
     * @return $this
1068
     */
1069
    public function withOrderId($value)
1070
    {
1071
        $this->data['OrderId'] = $value;
1072
        $this->options['form_params']['orderId'] = $value;
1073
1074
        return $this;
1075
    }
1076
1077
    /**
1078
     * @param string $value
1079
     *
1080
     * @return $this
1081
     */
1082
    public function withName($value)
1083
    {
1084
        $this->data['Name'] = $value;
1085
        $this->options['form_params']['name'] = $value;
1086
1087
        return $this;
1088
    }
1089
1090
    /**
1091
     * @param string $value
1092
     *
1093
     * @return $this
1094
     */
1095
    public function withDescription($value)
1096
    {
1097
        $this->data['Description'] = $value;
1098
        $this->options['form_params']['description'] = $value;
1099
1100
        return $this;
1101
    }
1102
1103
    /**
1104
     * @param string $value
1105
     *
1106
     * @return $this
1107
     */
1108
    public function withClusterId($value)
1109
    {
1110
        $this->data['ClusterId'] = $value;
1111
        $this->options['form_params']['clusterId'] = $value;
1112
1113
        return $this;
1114
    }
1115
1116
    /**
1117
     * @param string $value
1118
     *
1119
     * @return $this
1120
     */
1121
    public function withDeployType($value)
1122
    {
1123
        $this->data['DeployType'] = $value;
1124
        $this->options['form_params']['deployType'] = $value;
1125
1126
        return $this;
1127
    }
1128
}
1129
1130
/**
1131
 * @method string getQueueName()
1132
 * @method string getMaxMemMB()
1133
 * @method string getClusterId()
1134
 * @method string getGpu()
1135
 * @method string getMaxVcore()
1136
 */
1137
class CreateQueue extends Roa
1138
{
1139
    /** @var string */
1140
    public $pathPattern = '/api/v2/clusters/[clusterId]/queue';
1141
1142
    /** @var string */
1143
    public $method = 'POST';
1144
1145
    /**
1146
     * @param string $value
1147
     *
1148
     * @return $this
1149
     */
1150
    public function withQueueName($value)
1151
    {
1152
        $this->data['QueueName'] = $value;
1153
        $this->options['form_params']['queueName'] = $value;
1154
1155
        return $this;
1156
    }
1157
1158
    /**
1159
     * @param string $value
1160
     *
1161
     * @return $this
1162
     */
1163
    public function withMaxMemMB($value)
1164
    {
1165
        $this->data['MaxMemMB'] = $value;
1166
        $this->options['form_params']['maxMemMB'] = $value;
1167
1168
        return $this;
1169
    }
1170
1171
    /**
1172
     * @param string $value
1173
     *
1174
     * @return $this
1175
     */
1176
    public function withClusterId($value)
1177
    {
1178
        $this->data['ClusterId'] = $value;
1179
        $this->pathParameters['clusterId'] = $value;
1180
1181
        return $this;
1182
    }
1183
1184
    /**
1185
     * @param string $value
1186
     *
1187
     * @return $this
1188
     */
1189
    public function withGpu($value)
1190
    {
1191
        $this->data['Gpu'] = $value;
1192
        $this->options['form_params']['gpu'] = $value;
1193
1194
        return $this;
1195
    }
1196
1197
    /**
1198
     * @param string $value
1199
     *
1200
     * @return $this
1201
     */
1202
    public function withMaxVcore($value)
1203
    {
1204
        $this->data['MaxVcore'] = $value;
1205
        $this->options['form_params']['maxVcore'] = $value;
1206
1207
        return $this;
1208
    }
1209
}
1210
1211
/**
1212
 * @method string getPath()
1213
 * @method string getProjectName()
1214
 */
1215
class DeleteFolder extends Roa
1216
{
1217
    /** @var string */
1218
    public $pathPattern = '/api/v2/projects/[projectName]/folders';
1219
1220
    /** @var string */
1221
    public $method = 'DELETE';
1222
1223
    /**
1224
     * @param string $value
1225
     *
1226
     * @return $this
1227
     */
1228
    public function withPath($value)
1229
    {
1230
        $this->data['Path'] = $value;
1231
        $this->options['query']['path'] = $value;
1232
1233
        return $this;
1234
    }
1235
1236
    /**
1237
     * @param string $value
1238
     *
1239
     * @return $this
1240
     */
1241
    public function withProjectName($value)
1242
    {
1243
        $this->data['ProjectName'] = $value;
1244
        $this->pathParameters['projectName'] = $value;
1245
1246
        return $this;
1247
    }
1248
}
1249
1250
/**
1251
 * @method string getProjectName()
1252
 * @method string getJobName()
1253
 */
1254
class DeleteJob extends Roa
1255
{
1256
    /** @var string */
1257
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]';
1258
1259
    /** @var string */
1260
    public $method = 'DELETE';
1261
1262
    /**
1263
     * @param string $value
1264
     *
1265
     * @return $this
1266
     */
1267
    public function withProjectName($value)
1268
    {
1269
        $this->data['ProjectName'] = $value;
1270
        $this->pathParameters['projectName'] = $value;
1271
1272
        return $this;
1273
    }
1274
1275
    /**
1276
     * @param string $value
1277
     *
1278
     * @return $this
1279
     */
1280
    public function withJobName($value)
1281
    {
1282
        $this->data['JobName'] = $value;
1283
        $this->pathParameters['jobName'] = $value;
1284
1285
        return $this;
1286
    }
1287
}
1288
1289
/**
1290
 * @method string getProjectName()
1291
 * @method string getPackageName()
1292
 */
1293
class DeletePackage extends Roa
1294
{
1295
    /** @var string */
1296
    public $pathPattern = '/api/v2/projects/[projectName]/packages/[packageName]';
1297
1298
    /** @var string */
1299
    public $method = 'DELETE';
1300
1301
    /**
1302
     * @param string $value
1303
     *
1304
     * @return $this
1305
     */
1306
    public function withProjectName($value)
1307
    {
1308
        $this->data['ProjectName'] = $value;
1309
        $this->pathParameters['projectName'] = $value;
1310
1311
        return $this;
1312
    }
1313
1314
    /**
1315
     * @param string $value
1316
     *
1317
     * @return $this
1318
     */
1319
    public function withPackageName($value)
1320
    {
1321
        $this->data['PackageName'] = $value;
1322
        $this->pathParameters['packageName'] = $value;
1323
1324
        return $this;
1325
    }
1326
}
1327
1328
/**
1329
 * @method string getProjectName()
1330
 */
1331
class DeleteProject extends Roa
1332
{
1333
    /** @var string */
1334
    public $pathPattern = '/api/v2/projects/[projectName]';
1335
1336
    /** @var string */
1337
    public $method = 'DELETE';
1338
1339
    /**
1340
     * @param string $value
1341
     *
1342
     * @return $this
1343
     */
1344
    public function withProjectName($value)
1345
    {
1346
        $this->data['ProjectName'] = $value;
1347
        $this->pathParameters['projectName'] = $value;
1348
1349
        return $this;
1350
    }
1351
}
1352
1353
/**
1354
 * @method string getQueueName()
1355
 * @method string getClusterId()
1356
 */
1357
class DeleteQueue extends Roa
1358
{
1359
    /** @var string */
1360
    public $pathPattern = '/api/v2/clusters/[clusterId]/queue';
1361
1362
    /** @var string */
1363
    public $method = 'DELETE';
1364
1365
    /**
1366
     * @param string $value
1367
     *
1368
     * @return $this
1369
     */
1370
    public function withQueueName($value)
1371
    {
1372
        $this->data['QueueName'] = $value;
1373
        $this->options['query']['queueName'] = $value;
1374
1375
        return $this;
1376
    }
1377
1378
    /**
1379
     * @param string $value
1380
     *
1381
     * @return $this
1382
     */
1383
    public function withClusterId($value)
1384
    {
1385
        $this->data['ClusterId'] = $value;
1386
        $this->pathParameters['clusterId'] = $value;
1387
1388
        return $this;
1389
    }
1390
}
1391
1392
/**
1393
 * @method string getClusterId()
1394
 */
1395
class DestroyCluster extends Roa
1396
{
1397
    /** @var string */
1398
    public $pathPattern = '/api/v2/clusters/[clusterId]';
1399
1400
    /** @var string */
1401
    public $method = 'DELETE';
1402
1403
    /**
1404
     * @param string $value
1405
     *
1406
     * @return $this
1407
     */
1408
    public function withClusterId($value)
1409
    {
1410
        $this->data['ClusterId'] = $value;
1411
        $this->pathParameters['clusterId'] = $value;
1412
1413
        return $this;
1414
    }
1415
}
1416
1417
/**
1418
 * @method string getCount()
1419
 * @method string getModel()
1420
 * @method string getUserVSwitch()
1421
 * @method string getClusterId()
1422
 */
1423
class ExpandCluster extends Roa
1424
{
1425
    /** @var string */
1426
    public $pathPattern = '/api/v2/clusters/[clusterId]/expand';
1427
1428
    /** @var string */
1429
    public $method = 'PUT';
1430
1431
    /**
1432
     * @param string $value
1433
     *
1434
     * @return $this
1435
     */
1436
    public function withCount($value)
1437
    {
1438
        $this->data['Count'] = $value;
1439
        $this->options['form_params']['count'] = $value;
1440
1441
        return $this;
1442
    }
1443
1444
    /**
1445
     * @param string $value
1446
     *
1447
     * @return $this
1448
     */
1449
    public function withModel($value)
1450
    {
1451
        $this->data['Model'] = $value;
1452
        $this->options['form_params']['model'] = $value;
1453
1454
        return $this;
1455
    }
1456
1457
    /**
1458
     * @param string $value
1459
     *
1460
     * @return $this
1461
     */
1462
    public function withUserVSwitch($value)
1463
    {
1464
        $this->data['UserVSwitch'] = $value;
1465
        $this->options['form_params']['userVSwitch'] = $value;
1466
1467
        return $this;
1468
    }
1469
1470
    /**
1471
     * @param string $value
1472
     *
1473
     * @return $this
1474
     */
1475
    public function withClusterId($value)
1476
    {
1477
        $this->data['ClusterId'] = $value;
1478
        $this->pathParameters['clusterId'] = $value;
1479
1480
        return $this;
1481
    }
1482
}
1483
1484
/**
1485
 * @method string getClusterId()
1486
 */
1487
class GetClusterDetails extends Roa
1488
{
1489
    /** @var string */
1490
    public $pathPattern = '/api/v2/clusters/[clusterId]/details';
1491
1492
    /**
1493
     * @param string $value
1494
     *
1495
     * @return $this
1496
     */
1497
    public function withClusterId($value)
1498
    {
1499
        $this->data['ClusterId'] = $value;
1500
        $this->pathParameters['clusterId'] = $value;
1501
1502
        return $this;
1503
    }
1504
}
1505
1506
/**
1507
 * @method string getClusterId()
1508
 */
1509
class GetClusterEngineVersions extends Roa
1510
{
1511
    /** @var string */
1512
    public $pathPattern = '/api/v2/clusters/[clusterId]/engineversions';
1513
1514
    /**
1515
     * @param string $value
1516
     *
1517
     * @return $this
1518
     */
1519
    public function withClusterId($value)
1520
    {
1521
        $this->data['ClusterId'] = $value;
1522
        $this->pathParameters['clusterId'] = $value;
1523
1524
        return $this;
1525
    }
1526
}
1527
1528
/**
1529
 * @method string getClusterId()
1530
 * @method string getMetricJson()
1531
 */
1532
class GetClusterMetrics extends Roa
1533
{
1534
    /** @var string */
1535
    public $pathPattern = '/api/v2/clusters/[clusterId]/metrics';
1536
1537
    /** @var string */
1538
    public $method = 'POST';
1539
1540
    /**
1541
     * @param string $value
1542
     *
1543
     * @return $this
1544
     */
1545
    public function withClusterId($value)
1546
    {
1547
        $this->data['ClusterId'] = $value;
1548
        $this->pathParameters['clusterId'] = $value;
1549
1550
        return $this;
1551
    }
1552
1553
    /**
1554
     * @param string $value
1555
     *
1556
     * @return $this
1557
     */
1558
    public function withMetricJson($value)
1559
    {
1560
        $this->data['MetricJson'] = $value;
1561
        $this->options['form_params']['metricJson'] = $value;
1562
1563
        return $this;
1564
    }
1565
}
1566
1567
/**
1568
 * @method string getClusterId()
1569
 */
1570
class GetClusterQueueInfo extends Roa
1571
{
1572
    /** @var string */
1573
    public $pathPattern = '/api/v2/clusters/[clusterId]/queueinfo';
1574
1575
    /**
1576
     * @param string $value
1577
     *
1578
     * @return $this
1579
     */
1580
    public function withClusterId($value)
1581
    {
1582
        $this->data['ClusterId'] = $value;
1583
        $this->pathParameters['clusterId'] = $value;
1584
1585
        return $this;
1586
    }
1587
}
1588
1589
/**
1590
 * @method string getClusterId()
1591
 */
1592
class GetClusterResource extends Roa
1593
{
1594
    /** @var string */
1595
    public $pathPattern = '/api/v2/clusters/[clusterId]/resource';
1596
1597
    /**
1598
     * @param string $value
1599
     *
1600
     * @return $this
1601
     */
1602
    public function withClusterId($value)
1603
    {
1604
        $this->data['ClusterId'] = $value;
1605
        $this->pathParameters['clusterId'] = $value;
1606
1607
        return $this;
1608
    }
1609
}
1610
1611
/**
1612
 * @method string getPath()
1613
 * @method string getProjectName()
1614
 */
1615
class GetFolder extends Roa
1616
{
1617
    /** @var string */
1618
    public $pathPattern = '/api/v2/projects/[projectName]/folders';
1619
1620
    /**
1621
     * @param string $value
1622
     *
1623
     * @return $this
1624
     */
1625
    public function withPath($value)
1626
    {
1627
        $this->data['Path'] = $value;
1628
        $this->options['query']['path'] = $value;
1629
1630
        return $this;
1631
    }
1632
1633
    /**
1634
     * @param string $value
1635
     *
1636
     * @return $this
1637
     */
1638
    public function withProjectName($value)
1639
    {
1640
        $this->data['ProjectName'] = $value;
1641
        $this->pathParameters['projectName'] = $value;
1642
1643
        return $this;
1644
    }
1645
}
1646
1647
/**
1648
 * @method string getProjectName()
1649
 * @method string getInstanceId()
1650
 * @method string getJobName()
1651
 */
1652
class GetInstance extends Roa
1653
{
1654
    /** @var string */
1655
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]';
1656
1657
    /**
1658
     * @param string $value
1659
     *
1660
     * @return $this
1661
     */
1662
    public function withProjectName($value)
1663
    {
1664
        $this->data['ProjectName'] = $value;
1665
        $this->pathParameters['projectName'] = $value;
1666
1667
        return $this;
1668
    }
1669
1670
    /**
1671
     * @param string $value
1672
     *
1673
     * @return $this
1674
     */
1675
    public function withInstanceId($value)
1676
    {
1677
        $this->data['InstanceId'] = $value;
1678
        $this->pathParameters['instanceId'] = $value;
1679
1680
        return $this;
1681
    }
1682
1683
    /**
1684
     * @param string $value
1685
     *
1686
     * @return $this
1687
     */
1688
    public function withJobName($value)
1689
    {
1690
        $this->data['JobName'] = $value;
1691
        $this->pathParameters['jobName'] = $value;
1692
1693
        return $this;
1694
    }
1695
}
1696
1697
/**
1698
 * @method string getProjectName()
1699
 * @method string getInstanceId()
1700
 * @method string getJobName()
1701
 */
1702
class GetInstanceCheckpoint extends Roa
1703
{
1704
    /** @var string */
1705
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]/checkpoints';
1706
1707
    /**
1708
     * @param string $value
1709
     *
1710
     * @return $this
1711
     */
1712
    public function withProjectName($value)
1713
    {
1714
        $this->data['ProjectName'] = $value;
1715
        $this->pathParameters['projectName'] = $value;
1716
1717
        return $this;
1718
    }
1719
1720
    /**
1721
     * @param string $value
1722
     *
1723
     * @return $this
1724
     */
1725
    public function withInstanceId($value)
1726
    {
1727
        $this->data['InstanceId'] = $value;
1728
        $this->pathParameters['instanceId'] = $value;
1729
1730
        return $this;
1731
    }
1732
1733
    /**
1734
     * @param string $value
1735
     *
1736
     * @return $this
1737
     */
1738
    public function withJobName($value)
1739
    {
1740
        $this->data['JobName'] = $value;
1741
        $this->pathParameters['jobName'] = $value;
1742
1743
        return $this;
1744
    }
1745
}
1746
1747
/**
1748
 * @method string getProjectName()
1749
 * @method string getInstanceId()
1750
 * @method string getJobName()
1751
 */
1752
class GetInstanceConfig extends Roa
1753
{
1754
    /** @var string */
1755
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]/config';
1756
1757
    /**
1758
     * @param string $value
1759
     *
1760
     * @return $this
1761
     */
1762
    public function withProjectName($value)
1763
    {
1764
        $this->data['ProjectName'] = $value;
1765
        $this->pathParameters['projectName'] = $value;
1766
1767
        return $this;
1768
    }
1769
1770
    /**
1771
     * @param string $value
1772
     *
1773
     * @return $this
1774
     */
1775
    public function withInstanceId($value)
1776
    {
1777
        $this->data['InstanceId'] = $value;
1778
        $this->pathParameters['instanceId'] = $value;
1779
1780
        return $this;
1781
    }
1782
1783
    /**
1784
     * @param string $value
1785
     *
1786
     * @return $this
1787
     */
1788
    public function withJobName($value)
1789
    {
1790
        $this->data['JobName'] = $value;
1791
        $this->pathParameters['jobName'] = $value;
1792
1793
        return $this;
1794
    }
1795
}
1796
1797
/**
1798
 * @method string getProjectName()
1799
 * @method string getInstanceId()
1800
 * @method string getJobName()
1801
 */
1802
class GetInstanceDetail extends Roa
1803
{
1804
    /** @var string */
1805
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]/details';
1806
1807
    /**
1808
     * @param string $value
1809
     *
1810
     * @return $this
1811
     */
1812
    public function withProjectName($value)
1813
    {
1814
        $this->data['ProjectName'] = $value;
1815
        $this->pathParameters['projectName'] = $value;
1816
1817
        return $this;
1818
    }
1819
1820
    /**
1821
     * @param string $value
1822
     *
1823
     * @return $this
1824
     */
1825
    public function withInstanceId($value)
1826
    {
1827
        $this->data['InstanceId'] = $value;
1828
        $this->pathParameters['instanceId'] = $value;
1829
1830
        return $this;
1831
    }
1832
1833
    /**
1834
     * @param string $value
1835
     *
1836
     * @return $this
1837
     */
1838
    public function withJobName($value)
1839
    {
1840
        $this->data['JobName'] = $value;
1841
        $this->pathParameters['jobName'] = $value;
1842
1843
        return $this;
1844
    }
1845
}
1846
1847
/**
1848
 * @method string getProjectName()
1849
 * @method string getInstanceId()
1850
 * @method string getJobName()
1851
 */
1852
class GetInstanceExceptions extends Roa
1853
{
1854
    /** @var string */
1855
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]/exceptions';
1856
1857
    /**
1858
     * @param string $value
1859
     *
1860
     * @return $this
1861
     */
1862
    public function withProjectName($value)
1863
    {
1864
        $this->data['ProjectName'] = $value;
1865
        $this->pathParameters['projectName'] = $value;
1866
1867
        return $this;
1868
    }
1869
1870
    /**
1871
     * @param string $value
1872
     *
1873
     * @return $this
1874
     */
1875
    public function withInstanceId($value)
1876
    {
1877
        $this->data['InstanceId'] = $value;
1878
        $this->pathParameters['instanceId'] = $value;
1879
1880
        return $this;
1881
    }
1882
1883
    /**
1884
     * @param string $value
1885
     *
1886
     * @return $this
1887
     */
1888
    public function withJobName($value)
1889
    {
1890
        $this->data['JobName'] = $value;
1891
        $this->pathParameters['jobName'] = $value;
1892
1893
        return $this;
1894
    }
1895
}
1896
1897
/**
1898
 * @method string getProjectName()
1899
 * @method string getInstanceId()
1900
 * @method string getJobName()
1901
 */
1902
class GetInstanceFinalState extends Roa
1903
{
1904
    /** @var string */
1905
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]/finalstate';
1906
1907
    /**
1908
     * @param string $value
1909
     *
1910
     * @return $this
1911
     */
1912
    public function withProjectName($value)
1913
    {
1914
        $this->data['ProjectName'] = $value;
1915
        $this->pathParameters['projectName'] = $value;
1916
1917
        return $this;
1918
    }
1919
1920
    /**
1921
     * @param string $value
1922
     *
1923
     * @return $this
1924
     */
1925
    public function withInstanceId($value)
1926
    {
1927
        $this->data['InstanceId'] = $value;
1928
        $this->pathParameters['instanceId'] = $value;
1929
1930
        return $this;
1931
    }
1932
1933
    /**
1934
     * @param string $value
1935
     *
1936
     * @return $this
1937
     */
1938
    public function withJobName($value)
1939
    {
1940
        $this->data['JobName'] = $value;
1941
        $this->pathParameters['jobName'] = $value;
1942
1943
        return $this;
1944
    }
1945
}
1946
1947
/**
1948
 * @method string getProjectName()
1949
 * @method string getInstanceId()
1950
 * @method string getPlanName()
1951
 * @method string getJobName()
1952
 */
1953
class GetInstanceHistoryAutoScalePlanContent extends Roa
1954
{
1955
    /** @var string */
1956
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instance/[instanceId]/autoscale/plancontent';
1957
1958
    /**
1959
     * @param string $value
1960
     *
1961
     * @return $this
1962
     */
1963
    public function withProjectName($value)
1964
    {
1965
        $this->data['ProjectName'] = $value;
1966
        $this->pathParameters['projectName'] = $value;
1967
1968
        return $this;
1969
    }
1970
1971
    /**
1972
     * @param string $value
1973
     *
1974
     * @return $this
1975
     */
1976
    public function withInstanceId($value)
1977
    {
1978
        $this->data['InstanceId'] = $value;
1979
        $this->pathParameters['instanceId'] = $value;
1980
1981
        return $this;
1982
    }
1983
1984
    /**
1985
     * @param string $value
1986
     *
1987
     * @return $this
1988
     */
1989
    public function withPlanName($value)
1990
    {
1991
        $this->data['PlanName'] = $value;
1992
        $this->options['query']['planName'] = $value;
1993
1994
        return $this;
1995
    }
1996
1997
    /**
1998
     * @param string $value
1999
     *
2000
     * @return $this
2001
     */
2002
    public function withJobName($value)
2003
    {
2004
        $this->data['JobName'] = $value;
2005
        $this->pathParameters['jobName'] = $value;
2006
2007
        return $this;
2008
    }
2009
}
2010
2011
/**
2012
 * @method string getProjectName()
2013
 * @method string getInstanceId()
2014
 * @method string getJobName()
2015
 */
2016
class GetInstanceHistoryAutoScalePlanList extends Roa
2017
{
2018
    /** @var string */
2019
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instance/[instanceId]/autoscale/planlist';
2020
2021
    /**
2022
     * @param string $value
2023
     *
2024
     * @return $this
2025
     */
2026
    public function withProjectName($value)
2027
    {
2028
        $this->data['ProjectName'] = $value;
2029
        $this->pathParameters['projectName'] = $value;
2030
2031
        return $this;
2032
    }
2033
2034
    /**
2035
     * @param string $value
2036
     *
2037
     * @return $this
2038
     */
2039
    public function withInstanceId($value)
2040
    {
2041
        $this->data['InstanceId'] = $value;
2042
        $this->pathParameters['instanceId'] = $value;
2043
2044
        return $this;
2045
    }
2046
2047
    /**
2048
     * @param string $value
2049
     *
2050
     * @return $this
2051
     */
2052
    public function withJobName($value)
2053
    {
2054
        $this->data['JobName'] = $value;
2055
        $this->pathParameters['jobName'] = $value;
2056
2057
        return $this;
2058
    }
2059
}
2060
2061
/**
2062
 * @method string getProjectName()
2063
 * @method string getInstanceId()
2064
 * @method string getMetricJson()
2065
 * @method string getJobName()
2066
 */
2067
class GetInstanceMetric extends Roa
2068
{
2069
    /** @var string */
2070
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/metric';
2071
2072
    /** @var string */
2073
    public $method = 'POST';
2074
2075
    /**
2076
     * @param string $value
2077
     *
2078
     * @return $this
2079
     */
2080
    public function withProjectName($value)
2081
    {
2082
        $this->data['ProjectName'] = $value;
2083
        $this->pathParameters['projectName'] = $value;
2084
2085
        return $this;
2086
    }
2087
2088
    /**
2089
     * @param string $value
2090
     *
2091
     * @return $this
2092
     */
2093
    public function withInstanceId($value)
2094
    {
2095
        $this->data['InstanceId'] = $value;
2096
        $this->options['query']['instanceId'] = $value;
2097
2098
        return $this;
2099
    }
2100
2101
    /**
2102
     * @param string $value
2103
     *
2104
     * @return $this
2105
     */
2106
    public function withMetricJson($value)
2107
    {
2108
        $this->data['MetricJson'] = $value;
2109
        $this->options['form_params']['metricJson'] = $value;
2110
2111
        return $this;
2112
    }
2113
2114
    /**
2115
     * @param string $value
2116
     *
2117
     * @return $this
2118
     */
2119
    public function withJobName($value)
2120
    {
2121
        $this->data['JobName'] = $value;
2122
        $this->pathParameters['jobName'] = $value;
2123
2124
        return $this;
2125
    }
2126
}
2127
2128
/**
2129
 * @method string getProjectName()
2130
 * @method string getInstanceId()
2131
 * @method string getJobName()
2132
 */
2133
class GetInstanceResource extends Roa
2134
{
2135
    /** @var string */
2136
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]/resource';
2137
2138
    /**
2139
     * @param string $value
2140
     *
2141
     * @return $this
2142
     */
2143
    public function withProjectName($value)
2144
    {
2145
        $this->data['ProjectName'] = $value;
2146
        $this->pathParameters['projectName'] = $value;
2147
2148
        return $this;
2149
    }
2150
2151
    /**
2152
     * @param string $value
2153
     *
2154
     * @return $this
2155
     */
2156
    public function withInstanceId($value)
2157
    {
2158
        $this->data['InstanceId'] = $value;
2159
        $this->pathParameters['instanceId'] = $value;
2160
2161
        return $this;
2162
    }
2163
2164
    /**
2165
     * @param string $value
2166
     *
2167
     * @return $this
2168
     */
2169
    public function withJobName($value)
2170
    {
2171
        $this->data['JobName'] = $value;
2172
        $this->pathParameters['jobName'] = $value;
2173
2174
        return $this;
2175
    }
2176
}
2177
2178
/**
2179
 * @method string getProjectName()
2180
 * @method string getInstanceId()
2181
 * @method string getJobName()
2182
 */
2183
class GetInstanceRunSummary extends Roa
2184
{
2185
    /** @var string */
2186
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]/runsummary';
2187
2188
    /**
2189
     * @param string $value
2190
     *
2191
     * @return $this
2192
     */
2193
    public function withProjectName($value)
2194
    {
2195
        $this->data['ProjectName'] = $value;
2196
        $this->pathParameters['projectName'] = $value;
2197
2198
        return $this;
2199
    }
2200
2201
    /**
2202
     * @param string $value
2203
     *
2204
     * @return $this
2205
     */
2206
    public function withInstanceId($value)
2207
    {
2208
        $this->data['InstanceId'] = $value;
2209
        $this->pathParameters['instanceId'] = $value;
2210
2211
        return $this;
2212
    }
2213
2214
    /**
2215
     * @param string $value
2216
     *
2217
     * @return $this
2218
     */
2219
    public function withJobName($value)
2220
    {
2221
        $this->data['JobName'] = $value;
2222
        $this->pathParameters['jobName'] = $value;
2223
2224
        return $this;
2225
    }
2226
}
2227
2228
/**
2229
 * @method string getProjectName()
2230
 * @method string getJobName()
2231
 */
2232
class GetJob extends Roa
2233
{
2234
    /** @var string */
2235
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]';
2236
2237
    /**
2238
     * @param string $value
2239
     *
2240
     * @return $this
2241
     */
2242
    public function withProjectName($value)
2243
    {
2244
        $this->data['ProjectName'] = $value;
2245
        $this->pathParameters['projectName'] = $value;
2246
2247
        return $this;
2248
    }
2249
2250
    /**
2251
     * @param string $value
2252
     *
2253
     * @return $this
2254
     */
2255
    public function withJobName($value)
2256
    {
2257
        $this->data['JobName'] = $value;
2258
        $this->pathParameters['jobName'] = $value;
2259
2260
        return $this;
2261
    }
2262
}
2263
2264
/**
2265
 * @method string getProjectName()
2266
 * @method string getJobName()
2267
 */
2268
class GetJobLatestAutoScalePlan extends Roa
2269
{
2270
    /** @var string */
2271
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/autoscale/latestplanjson';
2272
2273
    /**
2274
     * @param string $value
2275
     *
2276
     * @return $this
2277
     */
2278
    public function withProjectName($value)
2279
    {
2280
        $this->data['ProjectName'] = $value;
2281
        $this->pathParameters['projectName'] = $value;
2282
2283
        return $this;
2284
    }
2285
2286
    /**
2287
     * @param string $value
2288
     *
2289
     * @return $this
2290
     */
2291
    public function withJobName($value)
2292
    {
2293
        $this->data['JobName'] = $value;
2294
        $this->pathParameters['jobName'] = $value;
2295
2296
        return $this;
2297
    }
2298
}
2299
2300
/**
2301
 * @method string getProjectName()
2302
 * @method string getPackageName()
2303
 */
2304
class GetPackage extends Roa
2305
{
2306
    /** @var string */
2307
    public $pathPattern = '/api/v2/projects/[projectName]/packages/[packageName]';
2308
2309
    /**
2310
     * @param string $value
2311
     *
2312
     * @return $this
2313
     */
2314
    public function withProjectName($value)
2315
    {
2316
        $this->data['ProjectName'] = $value;
2317
        $this->pathParameters['projectName'] = $value;
2318
2319
        return $this;
2320
    }
2321
2322
    /**
2323
     * @param string $value
2324
     *
2325
     * @return $this
2326
     */
2327
    public function withPackageName($value)
2328
    {
2329
        $this->data['PackageName'] = $value;
2330
        $this->pathParameters['packageName'] = $value;
2331
2332
        return $this;
2333
    }
2334
}
2335
2336
/**
2337
 * @method string getProjectName()
2338
 */
2339
class GetProject extends Roa
2340
{
2341
    /** @var string */
2342
    public $pathPattern = '/api/v2/projects/[projectName]';
2343
2344
    /**
2345
     * @param string $value
2346
     *
2347
     * @return $this
2348
     */
2349
    public function withProjectName($value)
2350
    {
2351
        $this->data['ProjectName'] = $value;
2352
        $this->pathParameters['projectName'] = $value;
2353
2354
        return $this;
2355
    }
2356
}
2357
2358
/**
2359
 * @method string getProjectName()
2360
 * @method string getExpectedGB()
2361
 * @method string getExpectedCore()
2362
 * @method string getAdvisorAction()
2363
 * @method string getJobName()
2364
 * @method string getAutoconfEnable()
2365
 */
2366
class GetRawPlanJson extends Roa
2367
{
2368
    /** @var string */
2369
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/planjson';
2370
2371
    /**
2372
     * @param string $value
2373
     *
2374
     * @return $this
2375
     */
2376
    public function withProjectName($value)
2377
    {
2378
        $this->data['ProjectName'] = $value;
2379
        $this->pathParameters['projectName'] = $value;
2380
2381
        return $this;
2382
    }
2383
2384
    /**
2385
     * @param string $value
2386
     *
2387
     * @return $this
2388
     */
2389
    public function withExpectedGB($value)
2390
    {
2391
        $this->data['ExpectedGB'] = $value;
2392
        $this->options['query']['expectedGB'] = $value;
2393
2394
        return $this;
2395
    }
2396
2397
    /**
2398
     * @param string $value
2399
     *
2400
     * @return $this
2401
     */
2402
    public function withExpectedCore($value)
2403
    {
2404
        $this->data['ExpectedCore'] = $value;
2405
        $this->options['query']['expectedCore'] = $value;
2406
2407
        return $this;
2408
    }
2409
2410
    /**
2411
     * @param string $value
2412
     *
2413
     * @return $this
2414
     */
2415
    public function withAdvisorAction($value)
2416
    {
2417
        $this->data['AdvisorAction'] = $value;
2418
        $this->options['query']['AdvisorAction'] = $value;
2419
2420
        return $this;
2421
    }
2422
2423
    /**
2424
     * @param string $value
2425
     *
2426
     * @return $this
2427
     */
2428
    public function withJobName($value)
2429
    {
2430
        $this->data['JobName'] = $value;
2431
        $this->pathParameters['jobName'] = $value;
2432
2433
        return $this;
2434
    }
2435
2436
    /**
2437
     * @param string $value
2438
     *
2439
     * @return $this
2440
     */
2441
    public function withAutoconfEnable($value)
2442
    {
2443
        $this->data['AutoconfEnable'] = $value;
2444
        $this->options['query']['autoconfEnable'] = $value;
2445
2446
        return $this;
2447
    }
2448
}
2449
2450
/**
2451
 * @method string getProjectName()
2452
 * @method string getPackageName()
2453
 * @method string getPageSize()
2454
 * @method string getPageIndex()
2455
 */
2456
class GetRefPackageJob extends Roa
2457
{
2458
    /** @var string */
2459
    public $pathPattern = '/api/v2/projects/[projectName]/packages/[packageName]/jobs';
2460
2461
    /**
2462
     * @param string $value
2463
     *
2464
     * @return $this
2465
     */
2466
    public function withProjectName($value)
2467
    {
2468
        $this->data['ProjectName'] = $value;
2469
        $this->pathParameters['projectName'] = $value;
2470
2471
        return $this;
2472
    }
2473
2474
    /**
2475
     * @param string $value
2476
     *
2477
     * @return $this
2478
     */
2479
    public function withPackageName($value)
2480
    {
2481
        $this->data['PackageName'] = $value;
2482
        $this->pathParameters['packageName'] = $value;
2483
2484
        return $this;
2485
    }
2486
2487
    /**
2488
     * @param string $value
2489
     *
2490
     * @return $this
2491
     */
2492
    public function withPageSize($value)
2493
    {
2494
        $this->data['PageSize'] = $value;
2495
        $this->options['query']['pageSize'] = $value;
2496
2497
        return $this;
2498
    }
2499
2500
    /**
2501
     * @param string $value
2502
     *
2503
     * @return $this
2504
     */
2505
    public function withPageIndex($value)
2506
    {
2507
        $this->data['PageIndex'] = $value;
2508
        $this->options['query']['pageIndex'] = $value;
2509
2510
        return $this;
2511
    }
2512
}
2513
2514
/**
2515
 * @method string getPath()
2516
 * @method string getProjectName()
2517
 */
2518
class ListChildFolder extends Roa
2519
{
2520
    /** @var string */
2521
    public $pathPattern = '/api/v2/projects/[projectName]/folders/children';
2522
2523
    /**
2524
     * @param string $value
2525
     *
2526
     * @return $this
2527
     */
2528
    public function withPath($value)
2529
    {
2530
        $this->data['Path'] = $value;
2531
        $this->options['query']['path'] = $value;
2532
2533
        return $this;
2534
    }
2535
2536
    /**
2537
     * @param string $value
2538
     *
2539
     * @return $this
2540
     */
2541
    public function withProjectName($value)
2542
    {
2543
        $this->data['ProjectName'] = $value;
2544
        $this->pathParameters['projectName'] = $value;
2545
2546
        return $this;
2547
    }
2548
}
2549
2550
/**
2551
 * @method string getDisplayName()
2552
 * @method string getPageSize()
2553
 * @method string getPageIndex()
2554
 * @method string getClusterId()
2555
 * @method string getState()
2556
 * @method string getRegion()
2557
 */
2558
class ListCluster extends Roa
2559
{
2560
    /** @var string */
2561
    public $pathPattern = '/api/v2/clusters';
2562
2563
    /**
2564
     * @param string $value
2565
     *
2566
     * @return $this
2567
     */
2568
    public function withDisplayName($value)
2569
    {
2570
        $this->data['DisplayName'] = $value;
2571
        $this->options['query']['displayName'] = $value;
2572
2573
        return $this;
2574
    }
2575
2576
    /**
2577
     * @param string $value
2578
     *
2579
     * @return $this
2580
     */
2581
    public function withPageSize($value)
2582
    {
2583
        $this->data['PageSize'] = $value;
2584
        $this->options['query']['pageSize'] = $value;
2585
2586
        return $this;
2587
    }
2588
2589
    /**
2590
     * @param string $value
2591
     *
2592
     * @return $this
2593
     */
2594
    public function withPageIndex($value)
2595
    {
2596
        $this->data['PageIndex'] = $value;
2597
        $this->options['query']['pageIndex'] = $value;
2598
2599
        return $this;
2600
    }
2601
2602
    /**
2603
     * @param string $value
2604
     *
2605
     * @return $this
2606
     */
2607
    public function withClusterId($value)
2608
    {
2609
        $this->data['ClusterId'] = $value;
2610
        $this->options['query']['clusterId'] = $value;
2611
2612
        return $this;
2613
    }
2614
2615
    /**
2616
     * @param string $value
2617
     *
2618
     * @return $this
2619
     */
2620
    public function withState($value)
2621
    {
2622
        $this->data['State'] = $value;
2623
        $this->options['query']['state'] = $value;
2624
2625
        return $this;
2626
    }
2627
2628
    /**
2629
     * @param string $value
2630
     *
2631
     * @return $this
2632
     */
2633
    public function withRegion($value)
2634
    {
2635
        $this->data['Region'] = $value;
2636
        $this->options['query']['region'] = $value;
2637
2638
        return $this;
2639
    }
2640
}
2641
2642
/**
2643
 * @method string getProjectName()
2644
 * @method string getEndBeginTs()
2645
 * @method string getExpectState()
2646
 * @method string getJobType()
2647
 * @method string getApiType()
2648
 * @method string getActualState()
2649
 * @method string getEndEndTs()
2650
 * @method string getStartEndTs()
2651
 * @method string getPageSize()
2652
 * @method string getStartBeginTs()
2653
 * @method string getPageIndex()
2654
 * @method string getIsArchived()
2655
 * @method string getJobName()
2656
 */
2657
class ListInstance extends Roa
2658
{
2659
    /** @var string */
2660
    public $pathPattern = '/api/v2/projects/[projectName]/instances';
2661
2662
    /**
2663
     * @param string $value
2664
     *
2665
     * @return $this
2666
     */
2667
    public function withProjectName($value)
2668
    {
2669
        $this->data['ProjectName'] = $value;
2670
        $this->pathParameters['projectName'] = $value;
2671
2672
        return $this;
2673
    }
2674
2675
    /**
2676
     * @param string $value
2677
     *
2678
     * @return $this
2679
     */
2680
    public function withEndBeginTs($value)
2681
    {
2682
        $this->data['EndBeginTs'] = $value;
2683
        $this->options['query']['endBeginTs'] = $value;
2684
2685
        return $this;
2686
    }
2687
2688
    /**
2689
     * @param string $value
2690
     *
2691
     * @return $this
2692
     */
2693
    public function withExpectState($value)
2694
    {
2695
        $this->data['ExpectState'] = $value;
2696
        $this->options['query']['expectState'] = $value;
2697
2698
        return $this;
2699
    }
2700
2701
    /**
2702
     * @param string $value
2703
     *
2704
     * @return $this
2705
     */
2706
    public function withJobType($value)
2707
    {
2708
        $this->data['JobType'] = $value;
2709
        $this->options['query']['jobType'] = $value;
2710
2711
        return $this;
2712
    }
2713
2714
    /**
2715
     * @param string $value
2716
     *
2717
     * @return $this
2718
     */
2719
    public function withApiType($value)
2720
    {
2721
        $this->data['ApiType'] = $value;
2722
        $this->options['query']['apiType'] = $value;
2723
2724
        return $this;
2725
    }
2726
2727
    /**
2728
     * @param string $value
2729
     *
2730
     * @return $this
2731
     */
2732
    public function withActualState($value)
2733
    {
2734
        $this->data['ActualState'] = $value;
2735
        $this->options['query']['actualState'] = $value;
2736
2737
        return $this;
2738
    }
2739
2740
    /**
2741
     * @param string $value
2742
     *
2743
     * @return $this
2744
     */
2745
    public function withEndEndTs($value)
2746
    {
2747
        $this->data['EndEndTs'] = $value;
2748
        $this->options['query']['endEndTs'] = $value;
2749
2750
        return $this;
2751
    }
2752
2753
    /**
2754
     * @param string $value
2755
     *
2756
     * @return $this
2757
     */
2758
    public function withStartEndTs($value)
2759
    {
2760
        $this->data['StartEndTs'] = $value;
2761
        $this->options['query']['startEndTs'] = $value;
2762
2763
        return $this;
2764
    }
2765
2766
    /**
2767
     * @param string $value
2768
     *
2769
     * @return $this
2770
     */
2771
    public function withPageSize($value)
2772
    {
2773
        $this->data['PageSize'] = $value;
2774
        $this->options['query']['pageSize'] = $value;
2775
2776
        return $this;
2777
    }
2778
2779
    /**
2780
     * @param string $value
2781
     *
2782
     * @return $this
2783
     */
2784
    public function withStartBeginTs($value)
2785
    {
2786
        $this->data['StartBeginTs'] = $value;
2787
        $this->options['query']['startBeginTs'] = $value;
2788
2789
        return $this;
2790
    }
2791
2792
    /**
2793
     * @param string $value
2794
     *
2795
     * @return $this
2796
     */
2797
    public function withPageIndex($value)
2798
    {
2799
        $this->data['PageIndex'] = $value;
2800
        $this->options['query']['pageIndex'] = $value;
2801
2802
        return $this;
2803
    }
2804
2805
    /**
2806
     * @param string $value
2807
     *
2808
     * @return $this
2809
     */
2810
    public function withIsArchived($value)
2811
    {
2812
        $this->data['IsArchived'] = $value;
2813
        $this->options['query']['isArchived'] = $value;
2814
2815
        return $this;
2816
    }
2817
2818
    /**
2819
     * @param string $value
2820
     *
2821
     * @return $this
2822
     */
2823
    public function withJobName($value)
2824
    {
2825
        $this->data['JobName'] = $value;
2826
        $this->options['query']['jobName'] = $value;
2827
2828
        return $this;
2829
    }
2830
}
2831
2832
/**
2833
 * @method string getQueueName()
2834
 * @method string getProjectName()
2835
 * @method string getPageSize()
2836
 * @method string getIsShowFullField()
2837
 * @method string getPageIndex()
2838
 * @method string getEngineVersion()
2839
 * @method string getClusterId()
2840
 * @method string getJobType()
2841
 * @method string getApiType()
2842
 * @method string getJobName()
2843
 * @method string getFolderId()
2844
 */
2845
class ListJob extends Roa
2846
{
2847
    /** @var string */
2848
    public $pathPattern = '/api/v2/projects/[projectName]/jobs';
2849
2850
    /**
2851
     * @param string $value
2852
     *
2853
     * @return $this
2854
     */
2855
    public function withQueueName($value)
2856
    {
2857
        $this->data['QueueName'] = $value;
2858
        $this->options['query']['queueName'] = $value;
2859
2860
        return $this;
2861
    }
2862
2863
    /**
2864
     * @param string $value
2865
     *
2866
     * @return $this
2867
     */
2868
    public function withProjectName($value)
2869
    {
2870
        $this->data['ProjectName'] = $value;
2871
        $this->pathParameters['projectName'] = $value;
2872
2873
        return $this;
2874
    }
2875
2876
    /**
2877
     * @param string $value
2878
     *
2879
     * @return $this
2880
     */
2881
    public function withPageSize($value)
2882
    {
2883
        $this->data['PageSize'] = $value;
2884
        $this->options['query']['pageSize'] = $value;
2885
2886
        return $this;
2887
    }
2888
2889
    /**
2890
     * @param string $value
2891
     *
2892
     * @return $this
2893
     */
2894
    public function withIsShowFullField($value)
2895
    {
2896
        $this->data['IsShowFullField'] = $value;
2897
        $this->options['query']['isShowFullField'] = $value;
2898
2899
        return $this;
2900
    }
2901
2902
    /**
2903
     * @param string $value
2904
     *
2905
     * @return $this
2906
     */
2907
    public function withPageIndex($value)
2908
    {
2909
        $this->data['PageIndex'] = $value;
2910
        $this->options['query']['pageIndex'] = $value;
2911
2912
        return $this;
2913
    }
2914
2915
    /**
2916
     * @param string $value
2917
     *
2918
     * @return $this
2919
     */
2920
    public function withEngineVersion($value)
2921
    {
2922
        $this->data['EngineVersion'] = $value;
2923
        $this->options['query']['engineVersion'] = $value;
2924
2925
        return $this;
2926
    }
2927
2928
    /**
2929
     * @param string $value
2930
     *
2931
     * @return $this
2932
     */
2933
    public function withClusterId($value)
2934
    {
2935
        $this->data['ClusterId'] = $value;
2936
        $this->options['query']['clusterId'] = $value;
2937
2938
        return $this;
2939
    }
2940
2941
    /**
2942
     * @param string $value
2943
     *
2944
     * @return $this
2945
     */
2946
    public function withJobType($value)
2947
    {
2948
        $this->data['JobType'] = $value;
2949
        $this->options['query']['jobType'] = $value;
2950
2951
        return $this;
2952
    }
2953
2954
    /**
2955
     * @param string $value
2956
     *
2957
     * @return $this
2958
     */
2959
    public function withApiType($value)
2960
    {
2961
        $this->data['ApiType'] = $value;
2962
        $this->options['query']['apiType'] = $value;
2963
2964
        return $this;
2965
    }
2966
2967
    /**
2968
     * @param string $value
2969
     *
2970
     * @return $this
2971
     */
2972
    public function withJobName($value)
2973
    {
2974
        $this->data['JobName'] = $value;
2975
        $this->options['query']['jobName'] = $value;
2976
2977
        return $this;
2978
    }
2979
2980
    /**
2981
     * @param string $value
2982
     *
2983
     * @return $this
2984
     */
2985
    public function withFolderId($value)
2986
    {
2987
        $this->data['FolderId'] = $value;
2988
        $this->options['query']['folderId'] = $value;
2989
2990
        return $this;
2991
    }
2992
}
2993
2994
/**
2995
 * @method string getProjectName()
2996
 * @method string getPackageName()
2997
 * @method string getPageSize()
2998
 * @method string getPageIndex()
2999
 * @method string getTag()
3000
 * @method string getType()
3001
 */
3002
class ListPackage extends Roa
3003
{
3004
    /** @var string */
3005
    public $pathPattern = '/api/v2/projects/[projectName]/packages';
3006
3007
    /**
3008
     * @param string $value
3009
     *
3010
     * @return $this
3011
     */
3012
    public function withProjectName($value)
3013
    {
3014
        $this->data['ProjectName'] = $value;
3015
        $this->pathParameters['projectName'] = $value;
3016
3017
        return $this;
3018
    }
3019
3020
    /**
3021
     * @param string $value
3022
     *
3023
     * @return $this
3024
     */
3025
    public function withPackageName($value)
3026
    {
3027
        $this->data['PackageName'] = $value;
3028
        $this->options['query']['packageName'] = $value;
3029
3030
        return $this;
3031
    }
3032
3033
    /**
3034
     * @param string $value
3035
     *
3036
     * @return $this
3037
     */
3038
    public function withPageSize($value)
3039
    {
3040
        $this->data['PageSize'] = $value;
3041
        $this->options['query']['pageSize'] = $value;
3042
3043
        return $this;
3044
    }
3045
3046
    /**
3047
     * @param string $value
3048
     *
3049
     * @return $this
3050
     */
3051
    public function withPageIndex($value)
3052
    {
3053
        $this->data['PageIndex'] = $value;
3054
        $this->options['query']['pageIndex'] = $value;
3055
3056
        return $this;
3057
    }
3058
3059
    /**
3060
     * @param string $value
3061
     *
3062
     * @return $this
3063
     */
3064
    public function withTag($value)
3065
    {
3066
        $this->data['Tag'] = $value;
3067
        $this->options['query']['tag'] = $value;
3068
3069
        return $this;
3070
    }
3071
3072
    /**
3073
     * @param string $value
3074
     *
3075
     * @return $this
3076
     */
3077
    public function withType($value)
3078
    {
3079
        $this->data['Type'] = $value;
3080
        $this->options['query']['type'] = $value;
3081
3082
        return $this;
3083
    }
3084
}
3085
3086
/**
3087
 * @method string getName()
3088
 * @method string getPageSize()
3089
 * @method string getPageIndex()
3090
 * @method string getClusterId()
3091
 * @method string getRegion()
3092
 * @method string getDeployType()
3093
 */
3094
class ListProject extends Roa
3095
{
3096
    /** @var string */
3097
    public $pathPattern = '/api/v2/projects';
3098
3099
    /**
3100
     * @param string $value
3101
     *
3102
     * @return $this
3103
     */
3104
    public function withName($value)
3105
    {
3106
        $this->data['Name'] = $value;
3107
        $this->options['query']['name'] = $value;
3108
3109
        return $this;
3110
    }
3111
3112
    /**
3113
     * @param string $value
3114
     *
3115
     * @return $this
3116
     */
3117
    public function withPageSize($value)
3118
    {
3119
        $this->data['PageSize'] = $value;
3120
        $this->options['query']['pageSize'] = $value;
3121
3122
        return $this;
3123
    }
3124
3125
    /**
3126
     * @param string $value
3127
     *
3128
     * @return $this
3129
     */
3130
    public function withPageIndex($value)
3131
    {
3132
        $this->data['PageIndex'] = $value;
3133
        $this->options['query']['pageIndex'] = $value;
3134
3135
        return $this;
3136
    }
3137
3138
    /**
3139
     * @param string $value
3140
     *
3141
     * @return $this
3142
     */
3143
    public function withClusterId($value)
3144
    {
3145
        $this->data['ClusterId'] = $value;
3146
        $this->options['query']['clusterId'] = $value;
3147
3148
        return $this;
3149
    }
3150
3151
    /**
3152
     * @param string $value
3153
     *
3154
     * @return $this
3155
     */
3156
    public function withRegion($value)
3157
    {
3158
        $this->data['Region'] = $value;
3159
        $this->options['query']['region'] = $value;
3160
3161
        return $this;
3162
    }
3163
3164
    /**
3165
     * @param string $value
3166
     *
3167
     * @return $this
3168
     */
3169
    public function withDeployType($value)
3170
    {
3171
        $this->data['DeployType'] = $value;
3172
        $this->options['query']['deployType'] = $value;
3173
3174
        return $this;
3175
    }
3176
}
3177
3178
/**
3179
 * @method string getQueueName()
3180
 * @method string getProjectName()
3181
 * @method string getClusterId()
3182
 */
3183
class ListProjectBindQueue extends Roa
3184
{
3185
    /** @var string */
3186
    public $pathPattern = '/api/v2/projects/[projectName]/queues';
3187
3188
    /**
3189
     * @param string $value
3190
     *
3191
     * @return $this
3192
     */
3193
    public function withQueueName($value)
3194
    {
3195
        $this->data['QueueName'] = $value;
3196
        $this->options['query']['queueName'] = $value;
3197
3198
        return $this;
3199
    }
3200
3201
    /**
3202
     * @param string $value
3203
     *
3204
     * @return $this
3205
     */
3206
    public function withProjectName($value)
3207
    {
3208
        $this->data['ProjectName'] = $value;
3209
        $this->pathParameters['projectName'] = $value;
3210
3211
        return $this;
3212
    }
3213
3214
    /**
3215
     * @param string $value
3216
     *
3217
     * @return $this
3218
     */
3219
    public function withClusterId($value)
3220
    {
3221
        $this->data['ClusterId'] = $value;
3222
        $this->options['query']['clusterId'] = $value;
3223
3224
        return $this;
3225
    }
3226
}
3227
3228
/**
3229
 * @method string getQueueName()
3230
 * @method string getProjectName()
3231
 * @method string getClusterId()
3232
 */
3233
class ListProjectBindQueueResource extends Roa
3234
{
3235
    /** @var string */
3236
    public $pathPattern = '/api/v2/projects/[projectName]/queueresource';
3237
3238
    /**
3239
     * @param string $value
3240
     *
3241
     * @return $this
3242
     */
3243
    public function withQueueName($value)
3244
    {
3245
        $this->data['QueueName'] = $value;
3246
        $this->options['query']['queueName'] = $value;
3247
3248
        return $this;
3249
    }
3250
3251
    /**
3252
     * @param string $value
3253
     *
3254
     * @return $this
3255
     */
3256
    public function withProjectName($value)
3257
    {
3258
        $this->data['ProjectName'] = $value;
3259
        $this->pathParameters['projectName'] = $value;
3260
3261
        return $this;
3262
    }
3263
3264
    /**
3265
     * @param string $value
3266
     *
3267
     * @return $this
3268
     */
3269
    public function withClusterId($value)
3270
    {
3271
        $this->data['ClusterId'] = $value;
3272
        $this->options['query']['clusterId'] = $value;
3273
3274
        return $this;
3275
    }
3276
}
3277
3278
/**
3279
 * @method string getNextToken()
3280
 * @method string getResourceType()
3281
 * @method string getResourceIds()
3282
 * @method string getTags()
3283
 */
3284
class ListTagResources extends Roa
3285
{
3286
    /** @var string */
3287
    public $pathPattern = '/api/v2/cluster/tags';
3288
3289
    /** @var string */
3290
    public $scheme = 'http';
3291
3292
    /**
3293
     * @param string $value
3294
     *
3295
     * @return $this
3296
     */
3297
    public function withNextToken($value)
3298
    {
3299
        $this->data['NextToken'] = $value;
3300
        $this->options['query']['NextToken'] = $value;
3301
3302
        return $this;
3303
    }
3304
3305
    /**
3306
     * @param string $value
3307
     *
3308
     * @return $this
3309
     */
3310
    public function withResourceType($value)
3311
    {
3312
        $this->data['ResourceType'] = $value;
3313
        $this->options['query']['ResourceType'] = $value;
3314
3315
        return $this;
3316
    }
3317
3318
    /**
3319
     * @param string $value
3320
     *
3321
     * @return $this
3322
     */
3323
    public function withResourceIds($value)
3324
    {
3325
        $this->data['ResourceIds'] = $value;
3326
        $this->options['query']['ResourceIds'] = $value;
3327
3328
        return $this;
3329
    }
3330
3331
    /**
3332
     * @param string $value
3333
     *
3334
     * @return $this
3335
     */
3336
    public function withTags($value)
3337
    {
3338
        $this->data['Tags'] = $value;
3339
        $this->options['query']['Tags'] = $value;
3340
3341
        return $this;
3342
    }
3343
}
3344
3345
/**
3346
 * @method string getIsFlush()
3347
 * @method string getProjectName()
3348
 * @method string getInstanceId()
3349
 * @method string getTriggerCheckpoint()
3350
 * @method string getExpectState()
3351
 * @method string getJobName()
3352
 */
3353
class ModifyInstanceState extends Roa
3354
{
3355
    /** @var string */
3356
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]/expectstate';
3357
3358
    /** @var string */
3359
    public $method = 'PUT';
3360
3361
    /**
3362
     * @param string $value
3363
     *
3364
     * @return $this
3365
     */
3366
    public function withIsFlush($value)
3367
    {
3368
        $this->data['IsFlush'] = $value;
3369
        $this->options['form_params']['isFlush'] = $value;
3370
3371
        return $this;
3372
    }
3373
3374
    /**
3375
     * @param string $value
3376
     *
3377
     * @return $this
3378
     */
3379
    public function withProjectName($value)
3380
    {
3381
        $this->data['ProjectName'] = $value;
3382
        $this->pathParameters['projectName'] = $value;
3383
3384
        return $this;
3385
    }
3386
3387
    /**
3388
     * @param string $value
3389
     *
3390
     * @return $this
3391
     */
3392
    public function withInstanceId($value)
3393
    {
3394
        $this->data['InstanceId'] = $value;
3395
        $this->pathParameters['instanceId'] = $value;
3396
3397
        return $this;
3398
    }
3399
3400
    /**
3401
     * @param string $value
3402
     *
3403
     * @return $this
3404
     */
3405
    public function withTriggerCheckpoint($value)
3406
    {
3407
        $this->data['TriggerCheckpoint'] = $value;
3408
        $this->options['form_params']['triggerCheckpoint'] = $value;
3409
3410
        return $this;
3411
    }
3412
3413
    /**
3414
     * @param string $value
3415
     *
3416
     * @return $this
3417
     */
3418
    public function withExpectState($value)
3419
    {
3420
        $this->data['ExpectState'] = $value;
3421
        $this->options['form_params']['expectState'] = $value;
3422
3423
        return $this;
3424
    }
3425
3426
    /**
3427
     * @param string $value
3428
     *
3429
     * @return $this
3430
     */
3431
    public function withJobName($value)
3432
    {
3433
        $this->data['JobName'] = $value;
3434
        $this->pathParameters['jobName'] = $value;
3435
3436
        return $this;
3437
    }
3438
}
3439
3440
/**
3441
 * @method string getClusterId()
3442
 * @method string getMasterTargetModel()
3443
 */
3444
class ModifyMasterSpec extends Roa
3445
{
3446
    /** @var string */
3447
    public $pathPattern = '/api/v2/clusters/[clusterId]/specification';
3448
3449
    /** @var string */
3450
    public $method = 'PUT';
3451
3452
    /**
3453
     * @param string $value
3454
     *
3455
     * @return $this
3456
     */
3457
    public function withClusterId($value)
3458
    {
3459
        $this->data['ClusterId'] = $value;
3460
        $this->pathParameters['clusterId'] = $value;
3461
3462
        return $this;
3463
    }
3464
3465
    /**
3466
     * @param string $value
3467
     *
3468
     * @return $this
3469
     */
3470
    public function withMasterTargetModel($value)
3471
    {
3472
        $this->data['MasterTargetModel'] = $value;
3473
        $this->options['form_params']['masterTargetModel'] = $value;
3474
3475
        return $this;
3476
    }
3477
}
3478
3479
/**
3480
 * @method string getProjectName()
3481
 * @method string getSrcPath()
3482
 * @method string getDestPath()
3483
 */
3484
class MVFolder extends Roa
3485
{
3486
    /** @var string */
3487
    public $pathPattern = '/api/v2/projects/[projectName]/folders';
3488
3489
    /** @var string */
3490
    public $method = 'PUT';
3491
3492
    /**
3493
     * @param string $value
3494
     *
3495
     * @return $this
3496
     */
3497
    public function withProjectName($value)
3498
    {
3499
        $this->data['ProjectName'] = $value;
3500
        $this->pathParameters['projectName'] = $value;
3501
3502
        return $this;
3503
    }
3504
3505
    /**
3506
     * @param string $value
3507
     *
3508
     * @return $this
3509
     */
3510
    public function withSrcPath($value)
3511
    {
3512
        $this->data['SrcPath'] = $value;
3513
        $this->options['form_params']['srcPath'] = $value;
3514
3515
        return $this;
3516
    }
3517
3518
    /**
3519
     * @param string $value
3520
     *
3521
     * @return $this
3522
     */
3523
    public function withDestPath($value)
3524
    {
3525
        $this->data['DestPath'] = $value;
3526
        $this->options['form_params']['destPath'] = $value;
3527
3528
        return $this;
3529
    }
3530
}
3531
3532
/**
3533
 * @method string getProjectName()
3534
 * @method string getJobName()
3535
 */
3536
class OfflineJob extends Roa
3537
{
3538
    /** @var string */
3539
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/offline';
3540
3541
    /** @var string */
3542
    public $method = 'PUT';
3543
3544
    /**
3545
     * @param string $value
3546
     *
3547
     * @return $this
3548
     */
3549
    public function withProjectName($value)
3550
    {
3551
        $this->data['ProjectName'] = $value;
3552
        $this->pathParameters['projectName'] = $value;
3553
3554
        return $this;
3555
    }
3556
3557
    /**
3558
     * @param string $value
3559
     *
3560
     * @return $this
3561
     */
3562
    public function withJobName($value)
3563
    {
3564
        $this->data['JobName'] = $value;
3565
        $this->pathParameters['jobName'] = $value;
3566
3567
        return $this;
3568
    }
3569
}
3570
3571
/**
3572
 * @method string getInstanceIds()
3573
 * @method string getClusterId()
3574
 * @method string getModelTargetCount()
3575
 */
3576
class ShrinkCluster extends Roa
3577
{
3578
    /** @var string */
3579
    public $pathPattern = '/api/v2/clusters/[clusterId]/shrink';
3580
3581
    /** @var string */
3582
    public $method = 'PUT';
3583
3584
    /**
3585
     * @param string $value
3586
     *
3587
     * @return $this
3588
     */
3589
    public function withInstanceIds($value)
3590
    {
3591
        $this->data['InstanceIds'] = $value;
3592
        $this->options['form_params']['instanceIds'] = $value;
3593
3594
        return $this;
3595
    }
3596
3597
    /**
3598
     * @param string $value
3599
     *
3600
     * @return $this
3601
     */
3602
    public function withClusterId($value)
3603
    {
3604
        $this->data['ClusterId'] = $value;
3605
        $this->pathParameters['clusterId'] = $value;
3606
3607
        return $this;
3608
    }
3609
3610
    /**
3611
     * @param string $value
3612
     *
3613
     * @return $this
3614
     */
3615
    public function withModelTargetCount($value)
3616
    {
3617
        $this->data['ModelTargetCount'] = $value;
3618
        $this->options['form_params']['modelTargetCount'] = $value;
3619
3620
        return $this;
3621
    }
3622
}
3623
3624
/**
3625
 * @method string getProjectName()
3626
 * @method string getParameterJson()
3627
 * @method string getJobName()
3628
 */
3629
class StartJob extends Roa
3630
{
3631
    /** @var string */
3632
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instance';
3633
3634
    /** @var string */
3635
    public $method = 'POST';
3636
3637
    /**
3638
     * @param string $value
3639
     *
3640
     * @return $this
3641
     */
3642
    public function withProjectName($value)
3643
    {
3644
        $this->data['ProjectName'] = $value;
3645
        $this->pathParameters['projectName'] = $value;
3646
3647
        return $this;
3648
    }
3649
3650
    /**
3651
     * @param string $value
3652
     *
3653
     * @return $this
3654
     */
3655
    public function withParameterJson($value)
3656
    {
3657
        $this->data['ParameterJson'] = $value;
3658
        $this->options['form_params']['parameterJson'] = $value;
3659
3660
        return $this;
3661
    }
3662
3663
    /**
3664
     * @param string $value
3665
     *
3666
     * @return $this
3667
     */
3668
    public function withJobName($value)
3669
    {
3670
        $this->data['JobName'] = $value;
3671
        $this->pathParameters['jobName'] = $value;
3672
3673
        return $this;
3674
    }
3675
}
3676
3677
class TagResources extends Roa
3678
{
3679
    /** @var string */
3680
    public $pathPattern = '/api/v2/cluster/tags';
3681
3682
    /** @var string */
3683
    public $scheme = 'http';
3684
3685
    /** @var string */
3686
    public $method = 'POST';
3687
}
3688
3689
/**
3690
 * @method string getQueueName()
3691
 * @method string getProjectName()
3692
 * @method string getClusterId()
3693
 */
3694
class UnbindQueue extends Roa
3695
{
3696
    /** @var string */
3697
    public $pathPattern = '/api/v2/projects/[projectName]/queue';
3698
3699
    /** @var string */
3700
    public $method = 'DELETE';
3701
3702
    /**
3703
     * @param string $value
3704
     *
3705
     * @return $this
3706
     */
3707
    public function withQueueName($value)
3708
    {
3709
        $this->data['QueueName'] = $value;
3710
        $this->options['query']['queueName'] = $value;
3711
3712
        return $this;
3713
    }
3714
3715
    /**
3716
     * @param string $value
3717
     *
3718
     * @return $this
3719
     */
3720
    public function withProjectName($value)
3721
    {
3722
        $this->data['ProjectName'] = $value;
3723
        $this->pathParameters['projectName'] = $value;
3724
3725
        return $this;
3726
    }
3727
3728
    /**
3729
     * @param string $value
3730
     *
3731
     * @return $this
3732
     */
3733
    public function withClusterId($value)
3734
    {
3735
        $this->data['ClusterId'] = $value;
3736
        $this->options['query']['clusterId'] = $value;
3737
3738
        return $this;
3739
    }
3740
}
3741
3742
/**
3743
 * @method string getAll()
3744
 * @method string getTagKeys()
3745
 * @method string getResourceType()
3746
 * @method string getResourceIds()
3747
 */
3748
class UntagResources extends Roa
3749
{
3750
    /** @var string */
3751
    public $pathPattern = '/api/v2/cluster/tags';
3752
3753
    /** @var string */
3754
    public $scheme = 'http';
3755
3756
    /** @var string */
3757
    public $method = 'DELETE';
3758
3759
    /**
3760
     * @param string $value
3761
     *
3762
     * @return $this
3763
     */
3764
    public function withAll($value)
3765
    {
3766
        $this->data['All'] = $value;
3767
        $this->options['query']['All'] = $value;
3768
3769
        return $this;
3770
    }
3771
3772
    /**
3773
     * @param string $value
3774
     *
3775
     * @return $this
3776
     */
3777
    public function withTagKeys($value)
3778
    {
3779
        $this->data['TagKeys'] = $value;
3780
        $this->options['query']['TagKeys'] = $value;
3781
3782
        return $this;
3783
    }
3784
3785
    /**
3786
     * @param string $value
3787
     *
3788
     * @return $this
3789
     */
3790
    public function withResourceType($value)
3791
    {
3792
        $this->data['ResourceType'] = $value;
3793
        $this->options['query']['ResourceType'] = $value;
3794
3795
        return $this;
3796
    }
3797
3798
    /**
3799
     * @param string $value
3800
     *
3801
     * @return $this
3802
     */
3803
    public function withResourceIds($value)
3804
    {
3805
        $this->data['ResourceIds'] = $value;
3806
        $this->options['query']['ResourceIds'] = $value;
3807
3808
        return $this;
3809
    }
3810
}
3811
3812
/**
3813
 * @method string getProjectName()
3814
 * @method string getInstanceId()
3815
 * @method string getConfigJson()
3816
 * @method string getJobName()
3817
 */
3818
class UpdateAutoScaleConfig extends Roa
3819
{
3820
    /** @var string */
3821
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instance/[instanceId]/autoscale/config';
3822
3823
    /** @var string */
3824
    public $method = 'PUT';
3825
3826
    /**
3827
     * @param string $value
3828
     *
3829
     * @return $this
3830
     */
3831
    public function withProjectName($value)
3832
    {
3833
        $this->data['ProjectName'] = $value;
3834
        $this->pathParameters['projectName'] = $value;
3835
3836
        return $this;
3837
    }
3838
3839
    /**
3840
     * @param string $value
3841
     *
3842
     * @return $this
3843
     */
3844
    public function withInstanceId($value)
3845
    {
3846
        $this->data['InstanceId'] = $value;
3847
        $this->pathParameters['instanceId'] = $value;
3848
3849
        return $this;
3850
    }
3851
3852
    /**
3853
     * @param string $value
3854
     *
3855
     * @return $this
3856
     */
3857
    public function withConfigJson($value)
3858
    {
3859
        $this->data['ConfigJson'] = $value;
3860
        $this->options['form_params']['configJson'] = $value;
3861
3862
        return $this;
3863
    }
3864
3865
    /**
3866
     * @param string $value
3867
     *
3868
     * @return $this
3869
     */
3870
    public function withJobName($value)
3871
    {
3872
        $this->data['JobName'] = $value;
3873
        $this->pathParameters['jobName'] = $value;
3874
3875
        return $this;
3876
    }
3877
}
3878
3879
/**
3880
 * @method string getQueueName()
3881
 * @method string getProjectName()
3882
 * @method string getCode()
3883
 * @method string getDescription()
3884
 * @method string getPlanJson()
3885
 * @method string getEngineVersion()
3886
 * @method string getClusterId()
3887
 * @method string getPackages()
3888
 * @method string getFolderId()
3889
 * @method string getProperties()
3890
 * @method string getJobName()
3891
 */
3892
class UpdateJob extends Roa
3893
{
3894
    /** @var string */
3895
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]';
3896
3897
    /** @var string */
3898
    public $method = 'PUT';
3899
3900
    /**
3901
     * @param string $value
3902
     *
3903
     * @return $this
3904
     */
3905
    public function withQueueName($value)
3906
    {
3907
        $this->data['QueueName'] = $value;
3908
        $this->options['form_params']['queueName'] = $value;
3909
3910
        return $this;
3911
    }
3912
3913
    /**
3914
     * @param string $value
3915
     *
3916
     * @return $this
3917
     */
3918
    public function withProjectName($value)
3919
    {
3920
        $this->data['ProjectName'] = $value;
3921
        $this->pathParameters['projectName'] = $value;
3922
3923
        return $this;
3924
    }
3925
3926
    /**
3927
     * @param string $value
3928
     *
3929
     * @return $this
3930
     */
3931
    public function withCode($value)
3932
    {
3933
        $this->data['Code'] = $value;
3934
        $this->options['form_params']['code'] = $value;
3935
3936
        return $this;
3937
    }
3938
3939
    /**
3940
     * @param string $value
3941
     *
3942
     * @return $this
3943
     */
3944
    public function withDescription($value)
3945
    {
3946
        $this->data['Description'] = $value;
3947
        $this->options['form_params']['description'] = $value;
3948
3949
        return $this;
3950
    }
3951
3952
    /**
3953
     * @param string $value
3954
     *
3955
     * @return $this
3956
     */
3957
    public function withPlanJson($value)
3958
    {
3959
        $this->data['PlanJson'] = $value;
3960
        $this->options['form_params']['planJson'] = $value;
3961
3962
        return $this;
3963
    }
3964
3965
    /**
3966
     * @param string $value
3967
     *
3968
     * @return $this
3969
     */
3970
    public function withEngineVersion($value)
3971
    {
3972
        $this->data['EngineVersion'] = $value;
3973
        $this->options['form_params']['engineVersion'] = $value;
3974
3975
        return $this;
3976
    }
3977
3978
    /**
3979
     * @param string $value
3980
     *
3981
     * @return $this
3982
     */
3983
    public function withClusterId($value)
3984
    {
3985
        $this->data['ClusterId'] = $value;
3986
        $this->options['form_params']['clusterId'] = $value;
3987
3988
        return $this;
3989
    }
3990
3991
    /**
3992
     * @param string $value
3993
     *
3994
     * @return $this
3995
     */
3996
    public function withPackages($value)
3997
    {
3998
        $this->data['Packages'] = $value;
3999
        $this->options['form_params']['packages'] = $value;
4000
4001
        return $this;
4002
    }
4003
4004
    /**
4005
     * @param string $value
4006
     *
4007
     * @return $this
4008
     */
4009
    public function withFolderId($value)
4010
    {
4011
        $this->data['FolderId'] = $value;
4012
        $this->options['form_params']['folderId'] = $value;
4013
4014
        return $this;
4015
    }
4016
4017
    /**
4018
     * @param string $value
4019
     *
4020
     * @return $this
4021
     */
4022
    public function withProperties($value)
4023
    {
4024
        $this->data['Properties'] = $value;
4025
        $this->options['form_params']['properties'] = $value;
4026
4027
        return $this;
4028
    }
4029
4030
    /**
4031
     * @param string $value
4032
     *
4033
     * @return $this
4034
     */
4035
    public function withJobName($value)
4036
    {
4037
        $this->data['JobName'] = $value;
4038
        $this->pathParameters['jobName'] = $value;
4039
4040
        return $this;
4041
    }
4042
}
4043
4044
/**
4045
 * @method string getProjectName()
4046
 * @method string getOssBucket()
4047
 * @method string getOssOwner()
4048
 * @method string getPackageName()
4049
 * @method string getOssEndpoint()
4050
 * @method string getDescription()
4051
 * @method string getTag()
4052
 * @method string getOriginName()
4053
 * @method string getOssPath()
4054
 * @method string getMd5()
4055
 */
4056
class UpdatePackage extends Roa
4057
{
4058
    /** @var string */
4059
    public $pathPattern = '/api/v2/projects/[projectName]/packages/[packageName]';
4060
4061
    /** @var string */
4062
    public $method = 'PUT';
4063
4064
    /**
4065
     * @param string $value
4066
     *
4067
     * @return $this
4068
     */
4069
    public function withProjectName($value)
4070
    {
4071
        $this->data['ProjectName'] = $value;
4072
        $this->pathParameters['projectName'] = $value;
4073
4074
        return $this;
4075
    }
4076
4077
    /**
4078
     * @param string $value
4079
     *
4080
     * @return $this
4081
     */
4082
    public function withOssBucket($value)
4083
    {
4084
        $this->data['OssBucket'] = $value;
4085
        $this->options['form_params']['ossBucket'] = $value;
4086
4087
        return $this;
4088
    }
4089
4090
    /**
4091
     * @param string $value
4092
     *
4093
     * @return $this
4094
     */
4095
    public function withOssOwner($value)
4096
    {
4097
        $this->data['OssOwner'] = $value;
4098
        $this->options['form_params']['ossOwner'] = $value;
4099
4100
        return $this;
4101
    }
4102
4103
    /**
4104
     * @param string $value
4105
     *
4106
     * @return $this
4107
     */
4108
    public function withPackageName($value)
4109
    {
4110
        $this->data['PackageName'] = $value;
4111
        $this->pathParameters['packageName'] = $value;
4112
4113
        return $this;
4114
    }
4115
4116
    /**
4117
     * @param string $value
4118
     *
4119
     * @return $this
4120
     */
4121
    public function withOssEndpoint($value)
4122
    {
4123
        $this->data['OssEndpoint'] = $value;
4124
        $this->options['form_params']['ossEndpoint'] = $value;
4125
4126
        return $this;
4127
    }
4128
4129
    /**
4130
     * @param string $value
4131
     *
4132
     * @return $this
4133
     */
4134
    public function withDescription($value)
4135
    {
4136
        $this->data['Description'] = $value;
4137
        $this->options['form_params']['description'] = $value;
4138
4139
        return $this;
4140
    }
4141
4142
    /**
4143
     * @param string $value
4144
     *
4145
     * @return $this
4146
     */
4147
    public function withTag($value)
4148
    {
4149
        $this->data['Tag'] = $value;
4150
        $this->options['form_params']['tag'] = $value;
4151
4152
        return $this;
4153
    }
4154
4155
    /**
4156
     * @param string $value
4157
     *
4158
     * @return $this
4159
     */
4160
    public function withOriginName($value)
4161
    {
4162
        $this->data['OriginName'] = $value;
4163
        $this->options['form_params']['originName'] = $value;
4164
4165
        return $this;
4166
    }
4167
4168
    /**
4169
     * @param string $value
4170
     *
4171
     * @return $this
4172
     */
4173
    public function withOssPath($value)
4174
    {
4175
        $this->data['OssPath'] = $value;
4176
        $this->options['form_params']['ossPath'] = $value;
4177
4178
        return $this;
4179
    }
4180
4181
    /**
4182
     * @param string $value
4183
     *
4184
     * @return $this
4185
     */
4186
    public function withMd5($value)
4187
    {
4188
        $this->data['Md5'] = $value;
4189
        $this->options['form_params']['md5'] = $value;
4190
4191
        return $this;
4192
    }
4193
}
4194
4195
/**
4196
 * @method string getProjectName()
4197
 * @method string getGlobalJobConfig()
4198
 */
4199
class UpdateProject extends Roa
4200
{
4201
    /** @var string */
4202
    public $pathPattern = '/api/v2/projects/[projectName]';
4203
4204
    /** @var string */
4205
    public $method = 'PUT';
4206
4207
    /**
4208
     * @param string $value
4209
     *
4210
     * @return $this
4211
     */
4212
    public function withProjectName($value)
4213
    {
4214
        $this->data['ProjectName'] = $value;
4215
        $this->pathParameters['projectName'] = $value;
4216
4217
        return $this;
4218
    }
4219
4220
    /**
4221
     * @param string $value
4222
     *
4223
     * @return $this
4224
     */
4225
    public function withGlobalJobConfig($value)
4226
    {
4227
        $this->data['GlobalJobConfig'] = $value;
4228
        $this->options['form_params']['globalJobConfig'] = $value;
4229
4230
        return $this;
4231
    }
4232
}
4233
4234
/**
4235
 * @method string getProjectName()
4236
 * @method string getIsOpenBatchSQL()
4237
 */
4238
class UpdateProjectConfig extends Roa
4239
{
4240
    /** @var string */
4241
    public $pathPattern = '/api/v2/project/config';
4242
4243
    /** @var string */
4244
    public $method = 'PUT';
4245
4246
    /**
4247
     * @param string $value
4248
     *
4249
     * @return $this
4250
     */
4251
    public function withProjectName($value)
4252
    {
4253
        $this->data['ProjectName'] = $value;
4254
        $this->options['query']['ProjectName'] = $value;
4255
4256
        return $this;
4257
    }
4258
4259
    /**
4260
     * @param string $value
4261
     *
4262
     * @return $this
4263
     */
4264
    public function withIsOpenBatchSQL($value)
4265
    {
4266
        $this->data['IsOpenBatchSQL'] = $value;
4267
        $this->options['query']['IsOpenBatchSQL'] = $value;
4268
4269
        return $this;
4270
    }
4271
}
4272
4273
/**
4274
 * @method string getQueueName()
4275
 * @method string getMaxMemMB()
4276
 * @method string getClusterId()
4277
 * @method string getGpu()
4278
 * @method string getMaxVcore()
4279
 */
4280
class UpdateQueue extends Roa
4281
{
4282
    /** @var string */
4283
    public $pathPattern = '/api/v2/clusters/[clusterId]/queue';
4284
4285
    /** @var string */
4286
    public $method = 'PUT';
4287
4288
    /**
4289
     * @param string $value
4290
     *
4291
     * @return $this
4292
     */
4293
    public function withQueueName($value)
4294
    {
4295
        $this->data['QueueName'] = $value;
4296
        $this->options['form_params']['queueName'] = $value;
4297
4298
        return $this;
4299
    }
4300
4301
    /**
4302
     * @param string $value
4303
     *
4304
     * @return $this
4305
     */
4306
    public function withMaxMemMB($value)
4307
    {
4308
        $this->data['MaxMemMB'] = $value;
4309
        $this->options['form_params']['maxMemMB'] = $value;
4310
4311
        return $this;
4312
    }
4313
4314
    /**
4315
     * @param string $value
4316
     *
4317
     * @return $this
4318
     */
4319
    public function withClusterId($value)
4320
    {
4321
        $this->data['ClusterId'] = $value;
4322
        $this->pathParameters['clusterId'] = $value;
4323
4324
        return $this;
4325
    }
4326
4327
    /**
4328
     * @param string $value
4329
     *
4330
     * @return $this
4331
     */
4332
    public function withGpu($value)
4333
    {
4334
        $this->data['Gpu'] = $value;
4335
        $this->options['form_params']['gpu'] = $value;
4336
4337
        return $this;
4338
    }
4339
4340
    /**
4341
     * @param string $value
4342
     *
4343
     * @return $this
4344
     */
4345
    public function withMaxVcore($value)
4346
    {
4347
        $this->data['MaxVcore'] = $value;
4348
        $this->options['form_params']['maxVcore'] = $value;
4349
4350
        return $this;
4351
    }
4352
}
4353
4354
/**
4355
 * @method string getProjectName()
4356
 * @method string getJobName()
4357
 */
4358
class ValidateJob extends Roa
4359
{
4360
    /** @var string */
4361
    public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/validate';
4362
4363
    /**
4364
     * @param string $value
4365
     *
4366
     * @return $this
4367
     */
4368
    public function withProjectName($value)
4369
    {
4370
        $this->data['ProjectName'] = $value;
4371
        $this->pathParameters['projectName'] = $value;
4372
4373
        return $this;
4374
    }
4375
4376
    /**
4377
     * @param string $value
4378
     *
4379
     * @return $this
4380
     */
4381
    public function withJobName($value)
4382
    {
4383
        $this->data['JobName'] = $value;
4384
        $this->pathParameters['jobName'] = $value;
4385
4386
        return $this;
4387
    }
4388
}
4389