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 ( f83f1e...9b1db0 )
by Yong
02:21 queued 11s
created

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