GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Passed
Push — master ( 63a2db...c184ec )
by Yong
04:23
created

ModifyMasterSpec   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 32
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 9
dl 0
loc 32
c 0
b 0
f 0
rs 10

2 Methods

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