GitHub Access Token became invalid

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

DevelopService   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 6
c 0
b 0
f 0
dl 0
loc 19
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A withExit() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\Eas\V20210701;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CommitService commitService(array $options = [])
9
 * @method CreateBenchmarkTask createBenchmarkTask(array $options = [])
10
 * @method CreateResource createResource(array $options = [])
11
 * @method CreateResourceInstances createResourceInstances(array $options = [])
12
 * @method CreateResourceLog createResourceLog(array $options = [])
13
 * @method CreateService createService(array $options = [])
14
 * @method CreateServiceAutoScaler createServiceAutoScaler(array $options = [])
15
 * @method CreateServiceCronScaler createServiceCronScaler(array $options = [])
16
 * @method CreateServiceMirror createServiceMirror(array $options = [])
17
 * @method DeleteBenchmarkTask deleteBenchmarkTask(array $options = [])
18
 * @method DeleteResource deleteResource(array $options = [])
19
 * @method DeleteResourceDLink deleteResourceDLink(array $options = [])
20
 * @method DeleteResourceInstances deleteResourceInstances(array $options = [])
21
 * @method DeleteResourceLog deleteResourceLog(array $options = [])
22
 * @method DeleteService deleteService(array $options = [])
23
 * @method DeleteServiceAutoScaler deleteServiceAutoScaler(array $options = [])
24
 * @method DeleteServiceCronScaler deleteServiceCronScaler(array $options = [])
25
 * @method DeleteServiceInstances deleteServiceInstances(array $options = [])
26
 * @method DeleteServiceLabel deleteServiceLabel(array $options = [])
27
 * @method DeleteServiceMirror deleteServiceMirror(array $options = [])
28
 * @method DescribeBenchmarkTask describeBenchmarkTask(array $options = [])
29
 * @method DescribeBenchmarkTaskReport describeBenchmarkTaskReport(array $options = [])
30
 * @method DescribeGroup describeGroup(array $options = [])
31
 * @method DescribeResource describeResource(array $options = [])
32
 * @method DescribeResourceDLink describeResourceDLink(array $options = [])
33
 * @method DescribeResourceLog describeResourceLog(array $options = [])
34
 * @method DescribeService describeService(array $options = [])
35
 * @method DescribeServiceAutoScaler describeServiceAutoScaler(array $options = [])
36
 * @method DescribeServiceCronScaler describeServiceCronScaler(array $options = [])
37
 * @method DescribeServiceEvent describeServiceEvent(array $options = [])
38
 * @method DescribeServiceLog describeServiceLog(array $options = [])
39
 * @method DescribeServiceMirror describeServiceMirror(array $options = [])
40
 * @method DevelopService developService(array $options = [])
41
 * @method ListBenchmarkTask listBenchmarkTask(array $options = [])
42
 * @method ListGroups listGroups(array $options = [])
43
 * @method ListResourceInstances listResourceInstances(array $options = [])
44
 * @method ListResourceInstanceWorker listResourceInstanceWorker(array $options = [])
45
 * @method ListResources listResources(array $options = [])
46
 * @method ListResourceServices listResourceServices(array $options = [])
47
 * @method ListServiceInstances listServiceInstances(array $options = [])
48
 * @method ListServices listServices(array $options = [])
49
 * @method ListServiceVersions listServiceVersions(array $options = [])
50
 * @method ReleaseService releaseService(array $options = [])
51
 * @method StartBenchmarkTask startBenchmarkTask(array $options = [])
52
 * @method StartService startService(array $options = [])
53
 * @method StopBenchmarkTask stopBenchmarkTask(array $options = [])
54
 * @method StopService stopService(array $options = [])
55
 * @method UpdateBenchmarkTask updateBenchmarkTask(array $options = [])
56
 * @method UpdateResource updateResource(array $options = [])
57
 * @method UpdateResourceDLink updateResourceDLink(array $options = [])
58
 * @method UpdateResourceInstance updateResourceInstance(array $options = [])
59
 * @method UpdateService updateService(array $options = [])
60
 * @method UpdateServiceAutoScaler updateServiceAutoScaler(array $options = [])
61
 * @method UpdateServiceCronScaler updateServiceCronScaler(array $options = [])
62
 * @method UpdateServiceLabel updateServiceLabel(array $options = [])
63
 * @method UpdateServiceMirror updateServiceMirror(array $options = [])
64
 * @method UpdateServiceSafetyLock updateServiceSafetyLock(array $options = [])
65
 * @method UpdateServiceVersion updateServiceVersion(array $options = [])
66
 */
67
class EasApiResolver extends ApiResolver
68
{
69
}
70
71
class Roa extends \AlibabaCloud\Client\Resolver\Roa
72
{
73
    /** @var string */
74
    public $product = 'eas';
75
76
    /** @var string */
77
    public $version = '2021-07-01';
78
79
    /** @var string */
80
    public $serviceCode = 'eas';
81
}
82
83
/**
84
 * @method string getServiceName()
85
 * @method $this withServiceName($value)
86
 * @method string getClusterId()
87
 * @method $this withClusterId($value)
88
 */
89
class CommitService extends Roa
90
{
91
    /** @var string */
92
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/commit';
93
94
    /** @var string */
95
    public $method = 'PUT';
96
}
97
98
/**
99
 * @method string getBody()
100
 */
101
class CreateBenchmarkTask extends Roa
102
{
103
    /** @var string */
104
    public $pathPattern = '/api/v2/benchmark-tasks';
105
106
    /** @var string */
107
    public $method = 'POST';
108
109
    /**
110
     * @param string $value
111
     *
112
     * @return $this
113
     */
114
    public function withBody($value)
115
    {
116
        $this->data['Body'] = $value;
117
        $this->options['form_params']['body'] = $value;
118
119
        return $this;
120
    }
121
}
122
123
/**
124
 * @method string getBody()
125
 */
126
class CreateResource extends Roa
127
{
128
    /** @var string */
129
    public $pathPattern = '/api/v2/resources';
130
131
    /** @var string */
132
    public $method = 'POST';
133
134
    /**
135
     * @param string $value
136
     *
137
     * @return $this
138
     */
139
    public function withBody($value)
140
    {
141
        $this->data['Body'] = $value;
142
        $this->options['form_params']['body'] = $value;
143
144
        return $this;
145
    }
146
}
147
148
/**
149
 * @method string getResourceId()
150
 * @method $this withResourceId($value)
151
 * @method string getClusterId()
152
 * @method $this withClusterId($value)
153
 * @method string getBody()
154
 */
155
class CreateResourceInstances extends Roa
156
{
157
    /** @var string */
158
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/instances';
159
160
    /** @var string */
161
    public $method = 'POST';
162
163
    /**
164
     * @param string $value
165
     *
166
     * @return $this
167
     */
168
    public function withBody($value)
169
    {
170
        $this->data['Body'] = $value;
171
        $this->options['form_params']['body'] = $value;
172
173
        return $this;
174
    }
175
}
176
177
/**
178
 * @method string getResourceId()
179
 * @method $this withResourceId($value)
180
 * @method string getClusterId()
181
 * @method $this withClusterId($value)
182
 * @method string getBody()
183
 */
184
class CreateResourceLog extends Roa
185
{
186
    /** @var string */
187
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/log';
188
189
    /** @var string */
190
    public $method = 'POST';
191
192
    /**
193
     * @param string $value
194
     *
195
     * @return $this
196
     */
197
    public function withBody($value)
198
    {
199
        $this->data['Body'] = $value;
200
        $this->options['form_params']['body'] = $value;
201
202
        return $this;
203
    }
204
}
205
206
/**
207
 * @method string getDevelop()
208
 * @method string getBody()
209
 * @method string getLabels()
210
 */
211
class CreateService extends Roa
212
{
213
    /** @var string */
214
    public $pathPattern = '/api/v2/services';
215
216
    /** @var string */
217
    public $method = 'POST';
218
219
    /**
220
     * @param string $value
221
     *
222
     * @return $this
223
     */
224
    public function withDevelop($value)
225
    {
226
        $this->data['Develop'] = $value;
227
        $this->options['query']['Develop'] = $value;
228
229
        return $this;
230
    }
231
232
    /**
233
     * @param string $value
234
     *
235
     * @return $this
236
     */
237
    public function withBody($value)
238
    {
239
        $this->data['Body'] = $value;
240
        $this->options['form_params']['body'] = $value;
241
242
        return $this;
243
    }
244
245
    /**
246
     * @param string $value
247
     *
248
     * @return $this
249
     */
250
    public function withLabels($value)
251
    {
252
        $this->data['Labels'] = $value;
253
        $this->options['query']['Labels'] = $value;
254
255
        return $this;
256
    }
257
}
258
259
/**
260
 * @method string getServiceName()
261
 * @method $this withServiceName($value)
262
 * @method string getClusterId()
263
 * @method $this withClusterId($value)
264
 * @method string getBody()
265
 */
266
class CreateServiceAutoScaler extends Roa
267
{
268
    /** @var string */
269
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/autoscaler';
270
271
    /** @var string */
272
    public $method = 'POST';
273
274
    /**
275
     * @param string $value
276
     *
277
     * @return $this
278
     */
279
    public function withBody($value)
280
    {
281
        $this->data['Body'] = $value;
282
        $this->options['form_params']['body'] = $value;
283
284
        return $this;
285
    }
286
}
287
288
/**
289
 * @method string getServiceName()
290
 * @method $this withServiceName($value)
291
 * @method string getClusterId()
292
 * @method $this withClusterId($value)
293
 * @method string getBody()
294
 */
295
class CreateServiceCronScaler extends Roa
296
{
297
    /** @var string */
298
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/cronscaler';
299
300
    /** @var string */
301
    public $method = 'POST';
302
303
    /**
304
     * @param string $value
305
     *
306
     * @return $this
307
     */
308
    public function withBody($value)
309
    {
310
        $this->data['Body'] = $value;
311
        $this->options['form_params']['body'] = $value;
312
313
        return $this;
314
    }
315
}
316
317
/**
318
 * @method string getServiceName()
319
 * @method $this withServiceName($value)
320
 * @method string getClusterId()
321
 * @method $this withClusterId($value)
322
 * @method string getBody()
323
 */
324
class CreateServiceMirror extends Roa
325
{
326
    /** @var string */
327
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/mirror';
328
329
    /** @var string */
330
    public $method = 'POST';
331
332
    /**
333
     * @param string $value
334
     *
335
     * @return $this
336
     */
337
    public function withBody($value)
338
    {
339
        $this->data['Body'] = $value;
340
        $this->options['form_params']['body'] = $value;
341
342
        return $this;
343
    }
344
}
345
346
/**
347
 * @method string getTaskName()
348
 * @method $this withTaskName($value)
349
 * @method string getClusterId()
350
 * @method $this withClusterId($value)
351
 */
352
class DeleteBenchmarkTask extends Roa
353
{
354
    /** @var string */
355
    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]';
356
357
    /** @var string */
358
    public $method = 'DELETE';
359
}
360
361
/**
362
 * @method string getResourceId()
363
 * @method $this withResourceId($value)
364
 * @method string getClusterId()
365
 * @method $this withClusterId($value)
366
 */
367
class DeleteResource extends Roa
368
{
369
    /** @var string */
370
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]';
371
372
    /** @var string */
373
    public $method = 'DELETE';
374
}
375
376
/**
377
 * @method string getResourceId()
378
 * @method $this withResourceId($value)
379
 * @method string getClusterId()
380
 * @method $this withClusterId($value)
381
 */
382
class DeleteResourceDLink extends Roa
383
{
384
    /** @var string */
385
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/dlink';
386
387
    /** @var string */
388
    public $method = 'DELETE';
389
}
390
391
/**
392
 * @method string getInstanceList()
393
 * @method string getResourceId()
394
 * @method $this withResourceId($value)
395
 * @method string getAllFailed()
396
 * @method string getClusterId()
397
 * @method $this withClusterId($value)
398
 */
399
class DeleteResourceInstances extends Roa
400
{
401
    /** @var string */
402
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/instances';
403
404
    /** @var string */
405
    public $method = 'DELETE';
406
407
    /**
408
     * @param string $value
409
     *
410
     * @return $this
411
     */
412
    public function withInstanceList($value)
413
    {
414
        $this->data['InstanceList'] = $value;
415
        $this->options['query']['InstanceList'] = $value;
416
417
        return $this;
418
    }
419
420
    /**
421
     * @param string $value
422
     *
423
     * @return $this
424
     */
425
    public function withAllFailed($value)
426
    {
427
        $this->data['AllFailed'] = $value;
428
        $this->options['query']['AllFailed'] = $value;
429
430
        return $this;
431
    }
432
}
433
434
/**
435
 * @method string getResourceId()
436
 * @method $this withResourceId($value)
437
 * @method string getClusterId()
438
 * @method $this withClusterId($value)
439
 */
440
class DeleteResourceLog extends Roa
441
{
442
    /** @var string */
443
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/log';
444
445
    /** @var string */
446
    public $method = 'DELETE';
447
}
448
449
/**
450
 * @method string getServiceName()
451
 * @method $this withServiceName($value)
452
 * @method string getClusterId()
453
 * @method $this withClusterId($value)
454
 */
455
class DeleteService extends Roa
456
{
457
    /** @var string */
458
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]';
459
460
    /** @var string */
461
    public $method = 'DELETE';
462
}
463
464
/**
465
 * @method string getServiceName()
466
 * @method $this withServiceName($value)
467
 * @method string getClusterId()
468
 * @method $this withClusterId($value)
469
 */
470
class DeleteServiceAutoScaler extends Roa
471
{
472
    /** @var string */
473
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/autoscaler';
474
475
    /** @var string */
476
    public $method = 'DELETE';
477
}
478
479
/**
480
 * @method string getServiceName()
481
 * @method $this withServiceName($value)
482
 * @method string getClusterId()
483
 * @method $this withClusterId($value)
484
 */
485
class DeleteServiceCronScaler extends Roa
486
{
487
    /** @var string */
488
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/cronscaler';
489
490
    /** @var string */
491
    public $method = 'DELETE';
492
}
493
494
/**
495
 * @method string getInstanceList()
496
 * @method string getServiceName()
497
 * @method $this withServiceName($value)
498
 * @method string getClusterId()
499
 * @method $this withClusterId($value)
500
 */
501
class DeleteServiceInstances extends Roa
502
{
503
    /** @var string */
504
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/instances';
505
506
    /** @var string */
507
    public $method = 'DELETE';
508
509
    /**
510
     * @param string $value
511
     *
512
     * @return $this
513
     */
514
    public function withInstanceList($value)
515
    {
516
        $this->data['InstanceList'] = $value;
517
        $this->options['query']['InstanceList'] = $value;
518
519
        return $this;
520
    }
521
}
522
523
/**
524
 * @method string getServiceName()
525
 * @method $this withServiceName($value)
526
 * @method string getClusterId()
527
 * @method $this withClusterId($value)
528
 */
529
class DeleteServiceLabel extends Roa
530
{
531
    /** @var string */
532
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/label';
533
534
    /** @var string */
535
    public $method = 'DELETE';
536
}
537
538
/**
539
 * @method string getServiceName()
540
 * @method $this withServiceName($value)
541
 * @method string getClusterId()
542
 * @method $this withClusterId($value)
543
 */
544
class DeleteServiceMirror extends Roa
545
{
546
    /** @var string */
547
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/mirror';
548
549
    /** @var string */
550
    public $method = 'DELETE';
551
}
552
553
/**
554
 * @method string getTaskName()
555
 * @method $this withTaskName($value)
556
 * @method string getClusterId()
557
 * @method $this withClusterId($value)
558
 */
559
class DescribeBenchmarkTask extends Roa
560
{
561
    /** @var string */
562
    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]';
563
}
564
565
/**
566
 * @method string getReportType()
567
 * @method string getTaskName()
568
 * @method $this withTaskName($value)
569
 * @method string getClusterId()
570
 * @method $this withClusterId($value)
571
 */
572
class DescribeBenchmarkTaskReport extends Roa
573
{
574
    /** @var string */
575
    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]/report';
576
577
    /**
578
     * @param string $value
579
     *
580
     * @return $this
581
     */
582
    public function withReportType($value)
583
    {
584
        $this->data['ReportType'] = $value;
585
        $this->options['query']['ReportType'] = $value;
586
587
        return $this;
588
    }
589
}
590
591
/**
592
 * @method string getClusterId()
593
 * @method $this withClusterId($value)
594
 * @method string getGroupName()
595
 * @method $this withGroupName($value)
596
 */
597
class DescribeGroup extends Roa
598
{
599
    /** @var string */
600
    public $pathPattern = '/api/v2/groups/[ClusterId]/[GroupName]';
601
}
602
603
/**
604
 * @method string getResourceId()
605
 * @method $this withResourceId($value)
606
 * @method string getClusterId()
607
 * @method $this withClusterId($value)
608
 */
609
class DescribeResource extends Roa
610
{
611
    /** @var string */
612
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]';
613
}
614
615
/**
616
 * @method string getResourceId()
617
 * @method $this withResourceId($value)
618
 * @method string getClusterId()
619
 * @method $this withClusterId($value)
620
 */
621
class DescribeResourceDLink extends Roa
622
{
623
    /** @var string */
624
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/dlink';
625
}
626
627
/**
628
 * @method string getResourceId()
629
 * @method $this withResourceId($value)
630
 * @method string getClusterId()
631
 * @method $this withClusterId($value)
632
 */
633
class DescribeResourceLog extends Roa
634
{
635
    /** @var string */
636
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/log';
637
}
638
639
/**
640
 * @method string getServiceName()
641
 * @method $this withServiceName($value)
642
 * @method string getClusterId()
643
 * @method $this withClusterId($value)
644
 */
645
class DescribeService extends Roa
646
{
647
    /** @var string */
648
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]';
649
}
650
651
/**
652
 * @method string getServiceName()
653
 * @method $this withServiceName($value)
654
 * @method string getClusterId()
655
 * @method $this withClusterId($value)
656
 */
657
class DescribeServiceAutoScaler extends Roa
658
{
659
    /** @var string */
660
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/autoscaler';
661
}
662
663
/**
664
 * @method string getServiceName()
665
 * @method $this withServiceName($value)
666
 * @method string getClusterId()
667
 * @method $this withClusterId($value)
668
 */
669
class DescribeServiceCronScaler extends Roa
670
{
671
    /** @var string */
672
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/cronscaler';
673
}
674
675
/**
676
 * @method string getPageSize()
677
 * @method string getEndTime()
678
 * @method string getServiceName()
679
 * @method $this withServiceName($value)
680
 * @method string getClusterId()
681
 * @method $this withClusterId($value)
682
 * @method string getStartTime()
683
 * @method string getPageNum()
684
 */
685
class DescribeServiceEvent extends Roa
686
{
687
    /** @var string */
688
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/events';
689
690
    /**
691
     * @param string $value
692
     *
693
     * @return $this
694
     */
695
    public function withPageSize($value)
696
    {
697
        $this->data['PageSize'] = $value;
698
        $this->options['query']['PageSize'] = $value;
699
700
        return $this;
701
    }
702
703
    /**
704
     * @param string $value
705
     *
706
     * @return $this
707
     */
708
    public function withEndTime($value)
709
    {
710
        $this->data['EndTime'] = $value;
711
        $this->options['query']['EndTime'] = $value;
712
713
        return $this;
714
    }
715
716
    /**
717
     * @param string $value
718
     *
719
     * @return $this
720
     */
721
    public function withStartTime($value)
722
    {
723
        $this->data['StartTime'] = $value;
724
        $this->options['query']['StartTime'] = $value;
725
726
        return $this;
727
    }
728
729
    /**
730
     * @param string $value
731
     *
732
     * @return $this
733
     */
734
    public function withPageNum($value)
735
    {
736
        $this->data['PageNum'] = $value;
737
        $this->options['query']['PageNum'] = $value;
738
739
        return $this;
740
    }
741
}
742
743
/**
744
 * @method string getIp()
745
 * @method string getPageSize()
746
 * @method string getEndTime()
747
 * @method string getServiceName()
748
 * @method $this withServiceName($value)
749
 * @method string getStartTime()
750
 * @method string getClusterId()
751
 * @method $this withClusterId($value)
752
 * @method string getPageNum()
753
 * @method string getKeyword()
754
 */
755
class DescribeServiceLog extends Roa
756
{
757
    /** @var string */
758
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/logs';
759
760
    /**
761
     * @param string $value
762
     *
763
     * @return $this
764
     */
765
    public function withIp($value)
766
    {
767
        $this->data['Ip'] = $value;
768
        $this->options['query']['Ip'] = $value;
769
770
        return $this;
771
    }
772
773
    /**
774
     * @param string $value
775
     *
776
     * @return $this
777
     */
778
    public function withPageSize($value)
779
    {
780
        $this->data['PageSize'] = $value;
781
        $this->options['query']['PageSize'] = $value;
782
783
        return $this;
784
    }
785
786
    /**
787
     * @param string $value
788
     *
789
     * @return $this
790
     */
791
    public function withEndTime($value)
792
    {
793
        $this->data['EndTime'] = $value;
794
        $this->options['query']['EndTime'] = $value;
795
796
        return $this;
797
    }
798
799
    /**
800
     * @param string $value
801
     *
802
     * @return $this
803
     */
804
    public function withStartTime($value)
805
    {
806
        $this->data['StartTime'] = $value;
807
        $this->options['query']['StartTime'] = $value;
808
809
        return $this;
810
    }
811
812
    /**
813
     * @param string $value
814
     *
815
     * @return $this
816
     */
817
    public function withPageNum($value)
818
    {
819
        $this->data['PageNum'] = $value;
820
        $this->options['query']['PageNum'] = $value;
821
822
        return $this;
823
    }
824
825
    /**
826
     * @param string $value
827
     *
828
     * @return $this
829
     */
830
    public function withKeyword($value)
831
    {
832
        $this->data['Keyword'] = $value;
833
        $this->options['query']['Keyword'] = $value;
834
835
        return $this;
836
    }
837
}
838
839
/**
840
 * @method string getServiceName()
841
 * @method $this withServiceName($value)
842
 * @method string getClusterId()
843
 * @method $this withClusterId($value)
844
 */
845
class DescribeServiceMirror extends Roa
846
{
847
    /** @var string */
848
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/mirror';
849
}
850
851
/**
852
 * @method string getExit()
853
 * @method string getServiceName()
854
 * @method $this withServiceName($value)
855
 * @method string getClusterId()
856
 * @method $this withClusterId($value)
857
 */
858
class DevelopService extends Roa
859
{
860
    /** @var string */
861
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/develop';
862
863
    /** @var string */
864
    public $method = 'PUT';
865
866
    /**
867
     * @param string $value
868
     *
869
     * @return $this
870
     */
871
    public function withExit($value)
872
    {
873
        $this->data['Exit'] = $value;
874
        $this->options['query']['Exit'] = $value;
875
876
        return $this;
877
    }
878
}
879
880
/**
881
 * @method string getFilter()
882
 * @method string getPageSize()
883
 * @method string getServiceName()
884
 * @method string getPageNumber()
885
 */
886
class ListBenchmarkTask extends Roa
887
{
888
    /** @var string */
889
    public $pathPattern = '/api/v2/benchmark-tasks';
890
891
    /**
892
     * @param string $value
893
     *
894
     * @return $this
895
     */
896
    public function withFilter($value)
897
    {
898
        $this->data['Filter'] = $value;
899
        $this->options['query']['Filter'] = $value;
900
901
        return $this;
902
    }
903
904
    /**
905
     * @param string $value
906
     *
907
     * @return $this
908
     */
909
    public function withPageSize($value)
910
    {
911
        $this->data['PageSize'] = $value;
912
        $this->options['query']['PageSize'] = $value;
913
914
        return $this;
915
    }
916
917
    /**
918
     * @param string $value
919
     *
920
     * @return $this
921
     */
922
    public function withServiceName($value)
923
    {
924
        $this->data['ServiceName'] = $value;
925
        $this->options['query']['ServiceName'] = $value;
926
927
        return $this;
928
    }
929
930
    /**
931
     * @param string $value
932
     *
933
     * @return $this
934
     */
935
    public function withPageNumber($value)
936
    {
937
        $this->data['PageNumber'] = $value;
938
        $this->options['query']['PageNumber'] = $value;
939
940
        return $this;
941
    }
942
}
943
944
/**
945
 * @method string getFilter()
946
 * @method string getPageSize()
947
 * @method string getPageNumber()
948
 */
949
class ListGroups extends Roa
950
{
951
    /** @var string */
952
    public $pathPattern = '/api/v2/groups';
953
954
    /**
955
     * @param string $value
956
     *
957
     * @return $this
958
     */
959
    public function withFilter($value)
960
    {
961
        $this->data['Filter'] = $value;
962
        $this->options['query']['Filter'] = $value;
963
964
        return $this;
965
    }
966
967
    /**
968
     * @param string $value
969
     *
970
     * @return $this
971
     */
972
    public function withPageSize($value)
973
    {
974
        $this->data['PageSize'] = $value;
975
        $this->options['query']['PageSize'] = $value;
976
977
        return $this;
978
    }
979
980
    /**
981
     * @param string $value
982
     *
983
     * @return $this
984
     */
985
    public function withPageNumber($value)
986
    {
987
        $this->data['PageNumber'] = $value;
988
        $this->options['query']['PageNumber'] = $value;
989
990
        return $this;
991
    }
992
}
993
994
/**
995
 * @method string getResourceId()
996
 * @method $this withResourceId($value)
997
 * @method string getInstanceName()
998
 * @method string getInstanceId()
999
 * @method string getPageSize()
1000
 * @method string getClusterId()
1001
 * @method $this withClusterId($value)
1002
 * @method string getChargeType()
1003
 * @method string getPageNumber()
1004
 */
1005
class ListResourceInstances extends Roa
1006
{
1007
    /** @var string */
1008
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/instances';
1009
1010
    /**
1011
     * @param string $value
1012
     *
1013
     * @return $this
1014
     */
1015
    public function withInstanceName($value)
1016
    {
1017
        $this->data['InstanceName'] = $value;
1018
        $this->options['query']['InstanceName'] = $value;
1019
1020
        return $this;
1021
    }
1022
1023
    /**
1024
     * @param string $value
1025
     *
1026
     * @return $this
1027
     */
1028
    public function withInstanceId($value)
1029
    {
1030
        $this->data['InstanceId'] = $value;
1031
        $this->options['query']['InstanceId'] = $value;
1032
1033
        return $this;
1034
    }
1035
1036
    /**
1037
     * @param string $value
1038
     *
1039
     * @return $this
1040
     */
1041
    public function withPageSize($value)
1042
    {
1043
        $this->data['PageSize'] = $value;
1044
        $this->options['query']['PageSize'] = $value;
1045
1046
        return $this;
1047
    }
1048
1049
    /**
1050
     * @param string $value
1051
     *
1052
     * @return $this
1053
     */
1054
    public function withChargeType($value)
1055
    {
1056
        $this->data['ChargeType'] = $value;
1057
        $this->options['query']['ChargeType'] = $value;
1058
1059
        return $this;
1060
    }
1061
1062
    /**
1063
     * @param string $value
1064
     *
1065
     * @return $this
1066
     */
1067
    public function withPageNumber($value)
1068
    {
1069
        $this->data['PageNumber'] = $value;
1070
        $this->options['query']['PageNumber'] = $value;
1071
1072
        return $this;
1073
    }
1074
}
1075
1076
/**
1077
 * @method string getResourceId()
1078
 * @method $this withResourceId($value)
1079
 * @method string getInstanceName()
1080
 * @method $this withInstanceName($value)
1081
 * @method string getPageSize()
1082
 * @method string getClusterId()
1083
 * @method $this withClusterId($value)
1084
 * @method string getPageNumber()
1085
 */
1086
class ListResourceInstanceWorker extends Roa
1087
{
1088
    /** @var string */
1089
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/instance/[InstanceName]/workers';
1090
1091
    /**
1092
     * @param string $value
1093
     *
1094
     * @return $this
1095
     */
1096
    public function withPageSize($value)
1097
    {
1098
        $this->data['PageSize'] = $value;
1099
        $this->options['query']['PageSize'] = $value;
1100
1101
        return $this;
1102
    }
1103
1104
    /**
1105
     * @param string $value
1106
     *
1107
     * @return $this
1108
     */
1109
    public function withPageNumber($value)
1110
    {
1111
        $this->data['PageNumber'] = $value;
1112
        $this->options['query']['PageNumber'] = $value;
1113
1114
        return $this;
1115
    }
1116
}
1117
1118
/**
1119
 * @method string getResourceId()
1120
 * @method string getPageSize()
1121
 * @method string getResourceName()
1122
 * @method string getPageNumber()
1123
 */
1124
class ListResources extends Roa
1125
{
1126
    /** @var string */
1127
    public $pathPattern = '/api/v2/resources';
1128
1129
    /**
1130
     * @param string $value
1131
     *
1132
     * @return $this
1133
     */
1134
    public function withResourceId($value)
1135
    {
1136
        $this->data['ResourceId'] = $value;
1137
        $this->options['query']['ResourceId'] = $value;
1138
1139
        return $this;
1140
    }
1141
1142
    /**
1143
     * @param string $value
1144
     *
1145
     * @return $this
1146
     */
1147
    public function withPageSize($value)
1148
    {
1149
        $this->data['PageSize'] = $value;
1150
        $this->options['query']['PageSize'] = $value;
1151
1152
        return $this;
1153
    }
1154
1155
    /**
1156
     * @param string $value
1157
     *
1158
     * @return $this
1159
     */
1160
    public function withResourceName($value)
1161
    {
1162
        $this->data['ResourceName'] = $value;
1163
        $this->options['query']['ResourceName'] = $value;
1164
1165
        return $this;
1166
    }
1167
1168
    /**
1169
     * @param string $value
1170
     *
1171
     * @return $this
1172
     */
1173
    public function withPageNumber($value)
1174
    {
1175
        $this->data['PageNumber'] = $value;
1176
        $this->options['query']['PageNumber'] = $value;
1177
1178
        return $this;
1179
    }
1180
}
1181
1182
/**
1183
 * @method string getResourceId()
1184
 * @method $this withResourceId($value)
1185
 * @method string getPageSize()
1186
 * @method string getClusterId()
1187
 * @method $this withClusterId($value)
1188
 * @method string getPageNumber()
1189
 */
1190
class ListResourceServices extends Roa
1191
{
1192
    /** @var string */
1193
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/services';
1194
1195
    /**
1196
     * @param string $value
1197
     *
1198
     * @return $this
1199
     */
1200
    public function withPageSize($value)
1201
    {
1202
        $this->data['PageSize'] = $value;
1203
        $this->options['query']['PageSize'] = $value;
1204
1205
        return $this;
1206
    }
1207
1208
    /**
1209
     * @param string $value
1210
     *
1211
     * @return $this
1212
     */
1213
    public function withPageNumber($value)
1214
    {
1215
        $this->data['PageNumber'] = $value;
1216
        $this->options['query']['PageNumber'] = $value;
1217
1218
        return $this;
1219
    }
1220
}
1221
1222
/**
1223
 * @method string getPageSize()
1224
 * @method string getServiceName()
1225
 * @method $this withServiceName($value)
1226
 * @method string getClusterId()
1227
 * @method $this withClusterId($value)
1228
 * @method string getPageNumber()
1229
 */
1230
class ListServiceInstances extends Roa
1231
{
1232
    /** @var string */
1233
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/instances';
1234
1235
    /**
1236
     * @param string $value
1237
     *
1238
     * @return $this
1239
     */
1240
    public function withPageSize($value)
1241
    {
1242
        $this->data['PageSize'] = $value;
1243
        $this->options['query']['PageSize'] = $value;
1244
1245
        return $this;
1246
    }
1247
1248
    /**
1249
     * @param string $value
1250
     *
1251
     * @return $this
1252
     */
1253
    public function withPageNumber($value)
1254
    {
1255
        $this->data['PageNumber'] = $value;
1256
        $this->options['query']['PageNumber'] = $value;
1257
1258
        return $this;
1259
    }
1260
}
1261
1262
/**
1263
 * @method string getFilter()
1264
 * @method string getServiceType()
1265
 * @method string getParentServiceUid()
1266
 * @method string getPageSize()
1267
 * @method string getSort()
1268
 * @method string getLabel()
1269
 * @method string getGroupName()
1270
 * @method string getPageNumber()
1271
 * @method string getOrder()
1272
 */
1273
class ListServices extends Roa
1274
{
1275
    /** @var string */
1276
    public $pathPattern = '/api/v2/services';
1277
1278
    /**
1279
     * @param string $value
1280
     *
1281
     * @return $this
1282
     */
1283
    public function withFilter($value)
1284
    {
1285
        $this->data['Filter'] = $value;
1286
        $this->options['query']['Filter'] = $value;
1287
1288
        return $this;
1289
    }
1290
1291
    /**
1292
     * @param string $value
1293
     *
1294
     * @return $this
1295
     */
1296
    public function withServiceType($value)
1297
    {
1298
        $this->data['ServiceType'] = $value;
1299
        $this->options['query']['ServiceType'] = $value;
1300
1301
        return $this;
1302
    }
1303
1304
    /**
1305
     * @param string $value
1306
     *
1307
     * @return $this
1308
     */
1309
    public function withParentServiceUid($value)
1310
    {
1311
        $this->data['ParentServiceUid'] = $value;
1312
        $this->options['query']['ParentServiceUid'] = $value;
1313
1314
        return $this;
1315
    }
1316
1317
    /**
1318
     * @param string $value
1319
     *
1320
     * @return $this
1321
     */
1322
    public function withPageSize($value)
1323
    {
1324
        $this->data['PageSize'] = $value;
1325
        $this->options['query']['PageSize'] = $value;
1326
1327
        return $this;
1328
    }
1329
1330
    /**
1331
     * @param string $value
1332
     *
1333
     * @return $this
1334
     */
1335
    public function withSort($value)
1336
    {
1337
        $this->data['Sort'] = $value;
1338
        $this->options['query']['Sort'] = $value;
1339
1340
        return $this;
1341
    }
1342
1343
    /**
1344
     * @param string $value
1345
     *
1346
     * @return $this
1347
     */
1348
    public function withLabel($value)
1349
    {
1350
        $this->data['Label'] = $value;
1351
        $this->options['query']['Label'] = $value;
1352
1353
        return $this;
1354
    }
1355
1356
    /**
1357
     * @param string $value
1358
     *
1359
     * @return $this
1360
     */
1361
    public function withGroupName($value)
1362
    {
1363
        $this->data['GroupName'] = $value;
1364
        $this->options['query']['GroupName'] = $value;
1365
1366
        return $this;
1367
    }
1368
1369
    /**
1370
     * @param string $value
1371
     *
1372
     * @return $this
1373
     */
1374
    public function withPageNumber($value)
1375
    {
1376
        $this->data['PageNumber'] = $value;
1377
        $this->options['query']['PageNumber'] = $value;
1378
1379
        return $this;
1380
    }
1381
1382
    /**
1383
     * @param string $value
1384
     *
1385
     * @return $this
1386
     */
1387
    public function withOrder($value)
1388
    {
1389
        $this->data['Order'] = $value;
1390
        $this->options['query']['Order'] = $value;
1391
1392
        return $this;
1393
    }
1394
}
1395
1396
/**
1397
 * @method string getPageSize()
1398
 * @method string getServiceName()
1399
 * @method $this withServiceName($value)
1400
 * @method string getClusterId()
1401
 * @method $this withClusterId($value)
1402
 * @method string getPageNumber()
1403
 */
1404
class ListServiceVersions extends Roa
1405
{
1406
    /** @var string */
1407
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/versions';
1408
1409
    /**
1410
     * @param string $value
1411
     *
1412
     * @return $this
1413
     */
1414
    public function withPageSize($value)
1415
    {
1416
        $this->data['PageSize'] = $value;
1417
        $this->options['query']['PageSize'] = $value;
1418
1419
        return $this;
1420
    }
1421
1422
    /**
1423
     * @param string $value
1424
     *
1425
     * @return $this
1426
     */
1427
    public function withPageNumber($value)
1428
    {
1429
        $this->data['PageNumber'] = $value;
1430
        $this->options['query']['PageNumber'] = $value;
1431
1432
        return $this;
1433
    }
1434
}
1435
1436
/**
1437
 * @method string getServiceName()
1438
 * @method $this withServiceName($value)
1439
 * @method string getClusterId()
1440
 * @method $this withClusterId($value)
1441
 * @method string getBody()
1442
 */
1443
class ReleaseService extends Roa
1444
{
1445
    /** @var string */
1446
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/release';
1447
1448
    /** @var string */
1449
    public $method = 'PUT';
1450
1451
    /**
1452
     * @param string $value
1453
     *
1454
     * @return $this
1455
     */
1456
    public function withBody($value)
1457
    {
1458
        $this->data['Body'] = $value;
1459
        $this->options['form_params']['body'] = $value;
1460
1461
        return $this;
1462
    }
1463
}
1464
1465
/**
1466
 * @method string getTaskName()
1467
 * @method $this withTaskName($value)
1468
 * @method string getClusterId()
1469
 * @method $this withClusterId($value)
1470
 */
1471
class StartBenchmarkTask extends Roa
1472
{
1473
    /** @var string */
1474
    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]/start';
1475
1476
    /** @var string */
1477
    public $method = 'PUT';
1478
}
1479
1480
/**
1481
 * @method string getServiceName()
1482
 * @method $this withServiceName($value)
1483
 * @method string getClusterId()
1484
 * @method $this withClusterId($value)
1485
 */
1486
class StartService extends Roa
1487
{
1488
    /** @var string */
1489
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/start';
1490
1491
    /** @var string */
1492
    public $method = 'PUT';
1493
}
1494
1495
/**
1496
 * @method string getTaskName()
1497
 * @method $this withTaskName($value)
1498
 * @method string getClusterId()
1499
 * @method $this withClusterId($value)
1500
 */
1501
class StopBenchmarkTask extends Roa
1502
{
1503
    /** @var string */
1504
    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]/stop';
1505
1506
    /** @var string */
1507
    public $method = 'PUT';
1508
}
1509
1510
/**
1511
 * @method string getServiceName()
1512
 * @method $this withServiceName($value)
1513
 * @method string getClusterId()
1514
 * @method $this withClusterId($value)
1515
 */
1516
class StopService extends Roa
1517
{
1518
    /** @var string */
1519
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/stop';
1520
1521
    /** @var string */
1522
    public $method = 'PUT';
1523
}
1524
1525
/**
1526
 * @method string getTaskName()
1527
 * @method $this withTaskName($value)
1528
 * @method string getClusterId()
1529
 * @method $this withClusterId($value)
1530
 * @method string getBody()
1531
 */
1532
class UpdateBenchmarkTask extends Roa
1533
{
1534
    /** @var string */
1535
    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]';
1536
1537
    /** @var string */
1538
    public $method = 'PUT';
1539
1540
    /**
1541
     * @param string $value
1542
     *
1543
     * @return $this
1544
     */
1545
    public function withBody($value)
1546
    {
1547
        $this->data['Body'] = $value;
1548
        $this->options['form_params']['body'] = $value;
1549
1550
        return $this;
1551
    }
1552
}
1553
1554
/**
1555
 * @method string getResourceId()
1556
 * @method $this withResourceId($value)
1557
 * @method string getClusterId()
1558
 * @method $this withClusterId($value)
1559
 * @method string getBody()
1560
 */
1561
class UpdateResource extends Roa
1562
{
1563
    /** @var string */
1564
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]';
1565
1566
    /** @var string */
1567
    public $method = 'PUT';
1568
1569
    /**
1570
     * @param string $value
1571
     *
1572
     * @return $this
1573
     */
1574
    public function withBody($value)
1575
    {
1576
        $this->data['Body'] = $value;
1577
        $this->options['form_params']['body'] = $value;
1578
1579
        return $this;
1580
    }
1581
}
1582
1583
/**
1584
 * @method string getResourceId()
1585
 * @method $this withResourceId($value)
1586
 * @method string getClusterId()
1587
 * @method $this withClusterId($value)
1588
 * @method string getBody()
1589
 */
1590
class UpdateResourceDLink extends Roa
1591
{
1592
    /** @var string */
1593
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/dlink';
1594
1595
    /** @var string */
1596
    public $method = 'PUT';
1597
1598
    /**
1599
     * @param string $value
1600
     *
1601
     * @return $this
1602
     */
1603
    public function withBody($value)
1604
    {
1605
        $this->data['Body'] = $value;
1606
        $this->options['form_params']['body'] = $value;
1607
1608
        return $this;
1609
    }
1610
}
1611
1612
/**
1613
 * @method string getResourceId()
1614
 * @method $this withResourceId($value)
1615
 * @method string getInstanceId()
1616
 * @method $this withInstanceId($value)
1617
 * @method string getClusterId()
1618
 * @method $this withClusterId($value)
1619
 * @method string getBody()
1620
 */
1621
class UpdateResourceInstance extends Roa
1622
{
1623
    /** @var string */
1624
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/instances/[InstanceId]';
1625
1626
    /** @var string */
1627
    public $method = 'PUT';
1628
1629
    /**
1630
     * @param string $value
1631
     *
1632
     * @return $this
1633
     */
1634
    public function withBody($value)
1635
    {
1636
        $this->data['Body'] = $value;
1637
        $this->options['form_params']['body'] = $value;
1638
1639
        return $this;
1640
    }
1641
}
1642
1643
/**
1644
 * @method string getServiceName()
1645
 * @method $this withServiceName($value)
1646
 * @method string getClusterId()
1647
 * @method $this withClusterId($value)
1648
 * @method string getBody()
1649
 */
1650
class UpdateService extends Roa
1651
{
1652
    /** @var string */
1653
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]';
1654
1655
    /** @var string */
1656
    public $method = 'PUT';
1657
1658
    /**
1659
     * @param string $value
1660
     *
1661
     * @return $this
1662
     */
1663
    public function withBody($value)
1664
    {
1665
        $this->data['Body'] = $value;
1666
        $this->options['form_params']['body'] = $value;
1667
1668
        return $this;
1669
    }
1670
}
1671
1672
/**
1673
 * @method string getServiceName()
1674
 * @method $this withServiceName($value)
1675
 * @method string getClusterId()
1676
 * @method $this withClusterId($value)
1677
 * @method string getBody()
1678
 */
1679
class UpdateServiceAutoScaler extends Roa
1680
{
1681
    /** @var string */
1682
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/autoscaler';
1683
1684
    /** @var string */
1685
    public $method = 'PUT';
1686
1687
    /**
1688
     * @param string $value
1689
     *
1690
     * @return $this
1691
     */
1692
    public function withBody($value)
1693
    {
1694
        $this->data['Body'] = $value;
1695
        $this->options['form_params']['body'] = $value;
1696
1697
        return $this;
1698
    }
1699
}
1700
1701
/**
1702
 * @method string getServiceName()
1703
 * @method $this withServiceName($value)
1704
 * @method string getClusterId()
1705
 * @method $this withClusterId($value)
1706
 * @method string getBody()
1707
 */
1708
class UpdateServiceCronScaler extends Roa
1709
{
1710
    /** @var string */
1711
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/cronscaler';
1712
1713
    /** @var string */
1714
    public $method = 'PUT';
1715
1716
    /**
1717
     * @param string $value
1718
     *
1719
     * @return $this
1720
     */
1721
    public function withBody($value)
1722
    {
1723
        $this->data['Body'] = $value;
1724
        $this->options['form_params']['body'] = $value;
1725
1726
        return $this;
1727
    }
1728
}
1729
1730
/**
1731
 * @method string getServiceName()
1732
 * @method $this withServiceName($value)
1733
 * @method string getClusterId()
1734
 * @method $this withClusterId($value)
1735
 * @method string getBody()
1736
 */
1737
class UpdateServiceLabel extends Roa
1738
{
1739
    /** @var string */
1740
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/label';
1741
1742
    /** @var string */
1743
    public $method = 'PUT';
1744
1745
    /**
1746
     * @param string $value
1747
     *
1748
     * @return $this
1749
     */
1750
    public function withBody($value)
1751
    {
1752
        $this->data['Body'] = $value;
1753
        $this->options['form_params']['body'] = $value;
1754
1755
        return $this;
1756
    }
1757
}
1758
1759
/**
1760
 * @method string getServiceName()
1761
 * @method $this withServiceName($value)
1762
 * @method string getClusterId()
1763
 * @method $this withClusterId($value)
1764
 * @method string getBody()
1765
 */
1766
class UpdateServiceMirror extends Roa
1767
{
1768
    /** @var string */
1769
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/mirror';
1770
1771
    /** @var string */
1772
    public $method = 'PUT';
1773
1774
    /**
1775
     * @param string $value
1776
     *
1777
     * @return $this
1778
     */
1779
    public function withBody($value)
1780
    {
1781
        $this->data['Body'] = $value;
1782
        $this->options['form_params']['body'] = $value;
1783
1784
        return $this;
1785
    }
1786
}
1787
1788
/**
1789
 * @method string getServiceName()
1790
 * @method $this withServiceName($value)
1791
 * @method string getClusterId()
1792
 * @method $this withClusterId($value)
1793
 * @method string getBody()
1794
 */
1795
class UpdateServiceSafetyLock extends Roa
1796
{
1797
    /** @var string */
1798
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/lock';
1799
1800
    /** @var string */
1801
    public $method = 'PUT';
1802
1803
    /**
1804
     * @param string $value
1805
     *
1806
     * @return $this
1807
     */
1808
    public function withBody($value)
1809
    {
1810
        $this->data['Body'] = $value;
1811
        $this->options['form_params']['body'] = $value;
1812
1813
        return $this;
1814
    }
1815
}
1816
1817
/**
1818
 * @method string getServiceName()
1819
 * @method $this withServiceName($value)
1820
 * @method string getClusterId()
1821
 * @method $this withClusterId($value)
1822
 * @method string getBody()
1823
 */
1824
class UpdateServiceVersion extends Roa
1825
{
1826
    /** @var string */
1827
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/version';
1828
1829
    /** @var string */
1830
    public $method = 'PUT';
1831
1832
    /**
1833
     * @param string $value
1834
     *
1835
     * @return $this
1836
     */
1837
    public function withBody($value)
1838
    {
1839
        $this->data['Body'] = $value;
1840
        $this->options['form_params']['body'] = $value;
1841
1842
        return $this;
1843
    }
1844
}
1845