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 ( 3f7819...da03b2 )
by
unknown
22:25 queued 08:23
created

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