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 ( 40deb1...7d42f7 )
by
unknown
11:17
created

DescribeServiceLog::withPageNum()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Eas\V20210701;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CreateBenchmarkTask createBenchmarkTask(array $options = [])
9
 * @method CreateResource createResource(array $options = [])
10
 * @method CreateResourceInstances createResourceInstances(array $options = [])
11
 * @method CreateResourceLog createResourceLog(array $options = [])
12
 * @method CreateService createService(array $options = [])
13
 * @method CreateServiceAutoScaler createServiceAutoScaler(array $options = [])
14
 * @method CreateServiceCronScaler createServiceCronScaler(array $options = [])
15
 * @method CreateServiceMirror createServiceMirror(array $options = [])
16
 * @method DeleteBenchmarkTask deleteBenchmarkTask(array $options = [])
17
 * @method DeleteResource deleteResource(array $options = [])
18
 * @method DeleteResourceDLink deleteResourceDLink(array $options = [])
19
 * @method DeleteResourceInstances deleteResourceInstances(array $options = [])
20
 * @method DeleteResourceLog deleteResourceLog(array $options = [])
21
 * @method DeleteService deleteService(array $options = [])
22
 * @method DeleteServiceAutoScaler deleteServiceAutoScaler(array $options = [])
23
 * @method DeleteServiceCronScaler deleteServiceCronScaler(array $options = [])
24
 * @method DeleteServiceInstances deleteServiceInstances(array $options = [])
25
 * @method DeleteServiceMirror deleteServiceMirror(array $options = [])
26
 * @method DescribeBenchmarkTask describeBenchmarkTask(array $options = [])
27
 * @method DescribeBenchmarkTaskReport describeBenchmarkTaskReport(array $options = [])
28
 * @method DescribeResource describeResource(array $options = [])
29
 * @method DescribeResourceDLink describeResourceDLink(array $options = [])
30
 * @method DescribeResourceLog describeResourceLog(array $options = [])
31
 * @method DescribeService describeService(array $options = [])
32
 * @method DescribeServiceAutoScaler describeServiceAutoScaler(array $options = [])
33
 * @method DescribeServiceCronScaler describeServiceCronScaler(array $options = [])
34
 * @method DescribeServiceLog describeServiceLog(array $options = [])
35
 * @method DescribeServiceMirror describeServiceMirror(array $options = [])
36
 * @method ListBenchmarkTask listBenchmarkTask(array $options = [])
37
 * @method ListResourceInstances listResourceInstances(array $options = [])
38
 * @method ListResourceInstanceWorker listResourceInstanceWorker(array $options = [])
39
 * @method ListResources listResources(array $options = [])
40
 * @method ListResourceServices listResourceServices(array $options = [])
41
 * @method ListServiceInstances listServiceInstances(array $options = [])
42
 * @method ListServices listServices(array $options = [])
43
 * @method ReleaseService releaseService(array $options = [])
44
 * @method StartBenchmarkTask startBenchmarkTask(array $options = [])
45
 * @method StartService startService(array $options = [])
46
 * @method StopBenchmarkTask stopBenchmarkTask(array $options = [])
47
 * @method StopService stopService(array $options = [])
48
 * @method UpdateBenchmarkTask updateBenchmarkTask(array $options = [])
49
 * @method UpdateResource updateResource(array $options = [])
50
 * @method UpdateResourceDLink updateResourceDLink(array $options = [])
51
 * @method UpdateService updateService(array $options = [])
52
 * @method UpdateServiceAutoScaler updateServiceAutoScaler(array $options = [])
53
 * @method UpdateServiceCronScaler updateServiceCronScaler(array $options = [])
54
 * @method UpdateServiceMirror updateServiceMirror(array $options = [])
55
 * @method UpdateServiceVersion updateServiceVersion(array $options = [])
56
 */
57
class EasApiResolver extends ApiResolver
58
{
59
}
60
61
class Roa extends \AlibabaCloud\Client\Resolver\Roa
62
{
63
    /** @var string */
64
    public $product = 'eas';
65
66
    /** @var string */
67
    public $version = '2021-07-01';
68
69
    /** @var string */
70
    public $serviceCode = 'eas';
71
}
72
73
/**
74
 * @method string getBody()
75
 */
76
class CreateBenchmarkTask extends Roa
77
{
78
    /** @var string */
79
    public $pathPattern = '/api/v2/benchmark-tasks';
80
81
    /** @var string */
82
    public $method = 'POST';
83
84
    /**
85
     * @param string $value
86
     *
87
     * @return $this
88
     */
89
    public function withBody($value)
90
    {
91
        $this->data['Body'] = $value;
92
        $this->options['form_params']['body'] = $value;
93
94
        return $this;
95
    }
96
}
97
98
/**
99
 * @method string getBody()
100
 */
101
class CreateResource extends Roa
102
{
103
    /** @var string */
104
    public $pathPattern = '/api/v2/resources';
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 getResourceId()
125
 * @method $this withResourceId($value)
126
 * @method string getClusterId()
127
 * @method $this withClusterId($value)
128
 * @method string getBody()
129
 */
130
class CreateResourceInstances extends Roa
131
{
132
    /** @var string */
133
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/instances';
134
135
    /** @var string */
136
    public $method = 'POST';
137
138
    /**
139
     * @param string $value
140
     *
141
     * @return $this
142
     */
143
    public function withBody($value)
144
    {
145
        $this->data['Body'] = $value;
146
        $this->options['form_params']['body'] = $value;
147
148
        return $this;
149
    }
150
}
151
152
/**
153
 * @method string getResourceId()
154
 * @method $this withResourceId($value)
155
 * @method string getClusterId()
156
 * @method $this withClusterId($value)
157
 * @method string getBody()
158
 */
159
class CreateResourceLog extends Roa
160
{
161
    /** @var string */
162
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/log';
163
164
    /** @var string */
165
    public $method = 'POST';
166
167
    /**
168
     * @param string $value
169
     *
170
     * @return $this
171
     */
172
    public function withBody($value)
173
    {
174
        $this->data['Body'] = $value;
175
        $this->options['form_params']['body'] = $value;
176
177
        return $this;
178
    }
179
}
180
181
/**
182
 * @method string getBody()
183
 */
184
class CreateService extends Roa
185
{
186
    /** @var string */
187
    public $pathPattern = '/api/v2/services';
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 getServiceName()
208
 * @method $this withServiceName($value)
209
 * @method string getClusterId()
210
 * @method $this withClusterId($value)
211
 * @method string getBody()
212
 */
213
class CreateServiceAutoScaler extends Roa
214
{
215
    /** @var string */
216
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/autoscaler';
217
218
    /** @var string */
219
    public $method = 'POST';
220
221
    /**
222
     * @param string $value
223
     *
224
     * @return $this
225
     */
226
    public function withBody($value)
227
    {
228
        $this->data['Body'] = $value;
229
        $this->options['form_params']['body'] = $value;
230
231
        return $this;
232
    }
233
}
234
235
/**
236
 * @method string getServiceName()
237
 * @method $this withServiceName($value)
238
 * @method string getClusterId()
239
 * @method $this withClusterId($value)
240
 * @method string getBody()
241
 */
242
class CreateServiceCronScaler extends Roa
243
{
244
    /** @var string */
245
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/cronscaler';
246
247
    /** @var string */
248
    public $method = 'POST';
249
250
    /**
251
     * @param string $value
252
     *
253
     * @return $this
254
     */
255
    public function withBody($value)
256
    {
257
        $this->data['Body'] = $value;
258
        $this->options['form_params']['body'] = $value;
259
260
        return $this;
261
    }
262
}
263
264
/**
265
 * @method string getServiceName()
266
 * @method $this withServiceName($value)
267
 * @method string getClusterId()
268
 * @method $this withClusterId($value)
269
 * @method string getBody()
270
 */
271
class CreateServiceMirror extends Roa
272
{
273
    /** @var string */
274
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/mirror';
275
276
    /** @var string */
277
    public $method = 'POST';
278
279
    /**
280
     * @param string $value
281
     *
282
     * @return $this
283
     */
284
    public function withBody($value)
285
    {
286
        $this->data['Body'] = $value;
287
        $this->options['form_params']['body'] = $value;
288
289
        return $this;
290
    }
291
}
292
293
/**
294
 * @method string getTaskName()
295
 * @method $this withTaskName($value)
296
 * @method string getClusterId()
297
 * @method $this withClusterId($value)
298
 */
299
class DeleteBenchmarkTask extends Roa
300
{
301
    /** @var string */
302
    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]';
303
304
    /** @var string */
305
    public $method = 'DELETE';
306
}
307
308
/**
309
 * @method string getResourceId()
310
 * @method $this withResourceId($value)
311
 * @method string getClusterId()
312
 * @method $this withClusterId($value)
313
 */
314
class DeleteResource extends Roa
315
{
316
    /** @var string */
317
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]';
318
319
    /** @var string */
320
    public $method = 'DELETE';
321
}
322
323
/**
324
 * @method string getResourceId()
325
 * @method $this withResourceId($value)
326
 * @method string getClusterId()
327
 * @method $this withClusterId($value)
328
 */
329
class DeleteResourceDLink extends Roa
330
{
331
    /** @var string */
332
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/dlink';
333
334
    /** @var string */
335
    public $method = 'DELETE';
336
}
337
338
/**
339
 * @method string getInstanceList()
340
 * @method string getResourceId()
341
 * @method $this withResourceId($value)
342
 * @method string getAllFailed()
343
 * @method string getClusterId()
344
 * @method $this withClusterId($value)
345
 */
346
class DeleteResourceInstances extends Roa
347
{
348
    /** @var string */
349
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/instances';
350
351
    /** @var string */
352
    public $method = 'DELETE';
353
354
    /**
355
     * @param string $value
356
     *
357
     * @return $this
358
     */
359
    public function withInstanceList($value)
360
    {
361
        $this->data['InstanceList'] = $value;
362
        $this->options['query']['InstanceList'] = $value;
363
364
        return $this;
365
    }
366
367
    /**
368
     * @param string $value
369
     *
370
     * @return $this
371
     */
372
    public function withAllFailed($value)
373
    {
374
        $this->data['AllFailed'] = $value;
375
        $this->options['query']['AllFailed'] = $value;
376
377
        return $this;
378
    }
379
}
380
381
/**
382
 * @method string getResourceId()
383
 * @method $this withResourceId($value)
384
 * @method string getClusterId()
385
 * @method $this withClusterId($value)
386
 */
387
class DeleteResourceLog extends Roa
388
{
389
    /** @var string */
390
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/log';
391
392
    /** @var string */
393
    public $method = 'DELETE';
394
}
395
396
/**
397
 * @method string getServiceName()
398
 * @method $this withServiceName($value)
399
 * @method string getClusterId()
400
 * @method $this withClusterId($value)
401
 */
402
class DeleteService extends Roa
403
{
404
    /** @var string */
405
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]';
406
407
    /** @var string */
408
    public $method = 'DELETE';
409
}
410
411
/**
412
 * @method string getServiceName()
413
 * @method $this withServiceName($value)
414
 * @method string getClusterId()
415
 * @method $this withClusterId($value)
416
 */
417
class DeleteServiceAutoScaler extends Roa
418
{
419
    /** @var string */
420
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/autoscaler';
421
422
    /** @var string */
423
    public $method = 'DELETE';
424
}
425
426
/**
427
 * @method string getServiceName()
428
 * @method $this withServiceName($value)
429
 * @method string getClusterId()
430
 * @method $this withClusterId($value)
431
 */
432
class DeleteServiceCronScaler extends Roa
433
{
434
    /** @var string */
435
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/cronscaler';
436
437
    /** @var string */
438
    public $method = 'DELETE';
439
}
440
441
/**
442
 * @method string getInstanceList()
443
 * @method string getServiceName()
444
 * @method $this withServiceName($value)
445
 * @method string getClusterId()
446
 * @method $this withClusterId($value)
447
 */
448
class DeleteServiceInstances extends Roa
449
{
450
    /** @var string */
451
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/instances';
452
453
    /** @var string */
454
    public $method = 'DELETE';
455
456
    /**
457
     * @param string $value
458
     *
459
     * @return $this
460
     */
461
    public function withInstanceList($value)
462
    {
463
        $this->data['InstanceList'] = $value;
464
        $this->options['query']['InstanceList'] = $value;
465
466
        return $this;
467
    }
468
}
469
470
/**
471
 * @method string getServiceName()
472
 * @method $this withServiceName($value)
473
 * @method string getClusterId()
474
 * @method $this withClusterId($value)
475
 */
476
class DeleteServiceMirror extends Roa
477
{
478
    /** @var string */
479
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/mirror';
480
481
    /** @var string */
482
    public $method = 'DELETE';
483
}
484
485
/**
486
 * @method string getTaskName()
487
 * @method $this withTaskName($value)
488
 * @method string getClusterId()
489
 * @method $this withClusterId($value)
490
 */
491
class DescribeBenchmarkTask extends Roa
492
{
493
    /** @var string */
494
    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]';
495
}
496
497
/**
498
 * @method string getTaskName()
499
 * @method $this withTaskName($value)
500
 * @method string getClusterId()
501
 * @method $this withClusterId($value)
502
 */
503
class DescribeBenchmarkTaskReport extends Roa
504
{
505
    /** @var string */
506
    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]/report';
507
}
508
509
/**
510
 * @method string getResourceId()
511
 * @method $this withResourceId($value)
512
 * @method string getClusterId()
513
 * @method $this withClusterId($value)
514
 */
515
class DescribeResource extends Roa
516
{
517
    /** @var string */
518
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]';
519
}
520
521
/**
522
 * @method string getResourceId()
523
 * @method $this withResourceId($value)
524
 * @method string getClusterId()
525
 * @method $this withClusterId($value)
526
 */
527
class DescribeResourceDLink extends Roa
528
{
529
    /** @var string */
530
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/dlink';
531
}
532
533
/**
534
 * @method string getResourceId()
535
 * @method $this withResourceId($value)
536
 * @method string getClusterId()
537
 * @method $this withClusterId($value)
538
 */
539
class DescribeResourceLog extends Roa
540
{
541
    /** @var string */
542
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/log';
543
}
544
545
/**
546
 * @method string getServiceName()
547
 * @method $this withServiceName($value)
548
 * @method string getClusterId()
549
 * @method $this withClusterId($value)
550
 */
551
class DescribeService extends Roa
552
{
553
    /** @var string */
554
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]';
555
}
556
557
/**
558
 * @method string getServiceName()
559
 * @method $this withServiceName($value)
560
 * @method string getClusterId()
561
 * @method $this withClusterId($value)
562
 */
563
class DescribeServiceAutoScaler extends Roa
564
{
565
    /** @var string */
566
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/autoscaler';
567
}
568
569
/**
570
 * @method string getServiceName()
571
 * @method $this withServiceName($value)
572
 * @method string getClusterId()
573
 * @method $this withClusterId($value)
574
 */
575
class DescribeServiceCronScaler extends Roa
576
{
577
    /** @var string */
578
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/cronscaler';
579
}
580
581
/**
582
 * @method string getIp()
583
 * @method string getPageSize()
584
 * @method string getEndTime()
585
 * @method string getServiceName()
586
 * @method $this withServiceName($value)
587
 * @method string getStartTime()
588
 * @method string getClusterId()
589
 * @method $this withClusterId($value)
590
 * @method string getPageNum()
591
 * @method string getKeyword()
592
 */
593
class DescribeServiceLog extends Roa
594
{
595
    /** @var string */
596
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/logs';
597
598
    /**
599
     * @param string $value
600
     *
601
     * @return $this
602
     */
603
    public function withIp($value)
604
    {
605
        $this->data['Ip'] = $value;
606
        $this->options['query']['Ip'] = $value;
607
608
        return $this;
609
    }
610
611
    /**
612
     * @param string $value
613
     *
614
     * @return $this
615
     */
616
    public function withPageSize($value)
617
    {
618
        $this->data['PageSize'] = $value;
619
        $this->options['query']['PageSize'] = $value;
620
621
        return $this;
622
    }
623
624
    /**
625
     * @param string $value
626
     *
627
     * @return $this
628
     */
629
    public function withEndTime($value)
630
    {
631
        $this->data['EndTime'] = $value;
632
        $this->options['query']['EndTime'] = $value;
633
634
        return $this;
635
    }
636
637
    /**
638
     * @param string $value
639
     *
640
     * @return $this
641
     */
642
    public function withStartTime($value)
643
    {
644
        $this->data['StartTime'] = $value;
645
        $this->options['query']['StartTime'] = $value;
646
647
        return $this;
648
    }
649
650
    /**
651
     * @param string $value
652
     *
653
     * @return $this
654
     */
655
    public function withPageNum($value)
656
    {
657
        $this->data['PageNum'] = $value;
658
        $this->options['query']['PageNum'] = $value;
659
660
        return $this;
661
    }
662
663
    /**
664
     * @param string $value
665
     *
666
     * @return $this
667
     */
668
    public function withKeyword($value)
669
    {
670
        $this->data['Keyword'] = $value;
671
        $this->options['query']['Keyword'] = $value;
672
673
        return $this;
674
    }
675
}
676
677
/**
678
 * @method string getServiceName()
679
 * @method $this withServiceName($value)
680
 * @method string getClusterId()
681
 * @method $this withClusterId($value)
682
 */
683
class DescribeServiceMirror extends Roa
684
{
685
    /** @var string */
686
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/mirror';
687
}
688
689
class ListBenchmarkTask extends Roa
690
{
691
    /** @var string */
692
    public $pathPattern = '/api/v2/benchmark-tasks';
693
}
694
695
/**
696
 * @method string getResourceId()
697
 * @method $this withResourceId($value)
698
 * @method string getPageSize()
699
 * @method string getClusterId()
700
 * @method $this withClusterId($value)
701
 * @method string getChargeType()
702
 * @method string getPageNumber()
703
 */
704
class ListResourceInstances extends Roa
705
{
706
    /** @var string */
707
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/instances';
708
709
    /**
710
     * @param string $value
711
     *
712
     * @return $this
713
     */
714
    public function withPageSize($value)
715
    {
716
        $this->data['PageSize'] = $value;
717
        $this->options['query']['PageSize'] = $value;
718
719
        return $this;
720
    }
721
722
    /**
723
     * @param string $value
724
     *
725
     * @return $this
726
     */
727
    public function withChargeType($value)
728
    {
729
        $this->data['ChargeType'] = $value;
730
        $this->options['query']['ChargeType'] = $value;
731
732
        return $this;
733
    }
734
735
    /**
736
     * @param string $value
737
     *
738
     * @return $this
739
     */
740
    public function withPageNumber($value)
741
    {
742
        $this->data['PageNumber'] = $value;
743
        $this->options['query']['PageNumber'] = $value;
744
745
        return $this;
746
    }
747
}
748
749
/**
750
 * @method string getResourceId()
751
 * @method $this withResourceId($value)
752
 * @method string getInstanceName()
753
 * @method $this withInstanceName($value)
754
 * @method string getPageSize()
755
 * @method string getClusterId()
756
 * @method $this withClusterId($value)
757
 * @method string getPageNumber()
758
 */
759
class ListResourceInstanceWorker extends Roa
760
{
761
    /** @var string */
762
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/instance/[InstanceName]/workers';
763
764
    /**
765
     * @param string $value
766
     *
767
     * @return $this
768
     */
769
    public function withPageSize($value)
770
    {
771
        $this->data['PageSize'] = $value;
772
        $this->options['query']['PageSize'] = $value;
773
774
        return $this;
775
    }
776
777
    /**
778
     * @param string $value
779
     *
780
     * @return $this
781
     */
782
    public function withPageNumber($value)
783
    {
784
        $this->data['PageNumber'] = $value;
785
        $this->options['query']['PageNumber'] = $value;
786
787
        return $this;
788
    }
789
}
790
791
/**
792
 * @method string getPageSize()
793
 * @method string getPageNumber()
794
 */
795
class ListResources extends Roa
796
{
797
    /** @var string */
798
    public $pathPattern = '/api/v2/resources';
799
800
    /**
801
     * @param string $value
802
     *
803
     * @return $this
804
     */
805
    public function withPageSize($value)
806
    {
807
        $this->data['PageSize'] = $value;
808
        $this->options['query']['PageSize'] = $value;
809
810
        return $this;
811
    }
812
813
    /**
814
     * @param string $value
815
     *
816
     * @return $this
817
     */
818
    public function withPageNumber($value)
819
    {
820
        $this->data['PageNumber'] = $value;
821
        $this->options['query']['PageNumber'] = $value;
822
823
        return $this;
824
    }
825
}
826
827
/**
828
 * @method string getResourceId()
829
 * @method $this withResourceId($value)
830
 * @method string getPageSize()
831
 * @method string getClusterId()
832
 * @method $this withClusterId($value)
833
 * @method string getPageNumber()
834
 */
835
class ListResourceServices extends Roa
836
{
837
    /** @var string */
838
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/services';
839
840
    /**
841
     * @param string $value
842
     *
843
     * @return $this
844
     */
845
    public function withPageSize($value)
846
    {
847
        $this->data['PageSize'] = $value;
848
        $this->options['query']['PageSize'] = $value;
849
850
        return $this;
851
    }
852
853
    /**
854
     * @param string $value
855
     *
856
     * @return $this
857
     */
858
    public function withPageNumber($value)
859
    {
860
        $this->data['PageNumber'] = $value;
861
        $this->options['query']['PageNumber'] = $value;
862
863
        return $this;
864
    }
865
}
866
867
/**
868
 * @method string getPageSize()
869
 * @method string getServiceName()
870
 * @method $this withServiceName($value)
871
 * @method string getClusterId()
872
 * @method $this withClusterId($value)
873
 * @method string getPageNumber()
874
 */
875
class ListServiceInstances extends Roa
876
{
877
    /** @var string */
878
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/instances';
879
880
    /**
881
     * @param string $value
882
     *
883
     * @return $this
884
     */
885
    public function withPageSize($value)
886
    {
887
        $this->data['PageSize'] = $value;
888
        $this->options['query']['PageSize'] = $value;
889
890
        return $this;
891
    }
892
893
    /**
894
     * @param string $value
895
     *
896
     * @return $this
897
     */
898
    public function withPageNumber($value)
899
    {
900
        $this->data['PageNumber'] = $value;
901
        $this->options['query']['PageNumber'] = $value;
902
903
        return $this;
904
    }
905
}
906
907
/**
908
 * @method string getFilter()
909
 * @method string getPageSize()
910
 * @method string getSort()
911
 * @method string getPageNumber()
912
 * @method string getOrder()
913
 */
914
class ListServices extends Roa
915
{
916
    /** @var string */
917
    public $pathPattern = '/api/v2/services';
918
919
    /**
920
     * @param string $value
921
     *
922
     * @return $this
923
     */
924
    public function withFilter($value)
925
    {
926
        $this->data['Filter'] = $value;
927
        $this->options['query']['Filter'] = $value;
928
929
        return $this;
930
    }
931
932
    /**
933
     * @param string $value
934
     *
935
     * @return $this
936
     */
937
    public function withPageSize($value)
938
    {
939
        $this->data['PageSize'] = $value;
940
        $this->options['query']['PageSize'] = $value;
941
942
        return $this;
943
    }
944
945
    /**
946
     * @param string $value
947
     *
948
     * @return $this
949
     */
950
    public function withSort($value)
951
    {
952
        $this->data['Sort'] = $value;
953
        $this->options['query']['Sort'] = $value;
954
955
        return $this;
956
    }
957
958
    /**
959
     * @param string $value
960
     *
961
     * @return $this
962
     */
963
    public function withPageNumber($value)
964
    {
965
        $this->data['PageNumber'] = $value;
966
        $this->options['query']['PageNumber'] = $value;
967
968
        return $this;
969
    }
970
971
    /**
972
     * @param string $value
973
     *
974
     * @return $this
975
     */
976
    public function withOrder($value)
977
    {
978
        $this->data['Order'] = $value;
979
        $this->options['query']['Order'] = $value;
980
981
        return $this;
982
    }
983
}
984
985
/**
986
 * @method string getServiceName()
987
 * @method $this withServiceName($value)
988
 * @method string getClusterId()
989
 * @method $this withClusterId($value)
990
 * @method string getBody()
991
 */
992
class ReleaseService extends Roa
993
{
994
    /** @var string */
995
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/release';
996
997
    /** @var string */
998
    public $method = 'PUT';
999
1000
    /**
1001
     * @param string $value
1002
     *
1003
     * @return $this
1004
     */
1005
    public function withBody($value)
1006
    {
1007
        $this->data['Body'] = $value;
1008
        $this->options['form_params']['body'] = $value;
1009
1010
        return $this;
1011
    }
1012
}
1013
1014
/**
1015
 * @method string getTaskName()
1016
 * @method $this withTaskName($value)
1017
 * @method string getClusterId()
1018
 * @method $this withClusterId($value)
1019
 */
1020
class StartBenchmarkTask extends Roa
1021
{
1022
    /** @var string */
1023
    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]/start';
1024
1025
    /** @var string */
1026
    public $method = 'PUT';
1027
}
1028
1029
/**
1030
 * @method string getServiceName()
1031
 * @method $this withServiceName($value)
1032
 * @method string getClusterId()
1033
 * @method $this withClusterId($value)
1034
 */
1035
class StartService extends Roa
1036
{
1037
    /** @var string */
1038
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/start';
1039
1040
    /** @var string */
1041
    public $method = 'PUT';
1042
}
1043
1044
/**
1045
 * @method string getTaskName()
1046
 * @method $this withTaskName($value)
1047
 * @method string getClusterId()
1048
 * @method $this withClusterId($value)
1049
 */
1050
class StopBenchmarkTask extends Roa
1051
{
1052
    /** @var string */
1053
    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]/stop';
1054
1055
    /** @var string */
1056
    public $method = 'PUT';
1057
}
1058
1059
/**
1060
 * @method string getServiceName()
1061
 * @method $this withServiceName($value)
1062
 * @method string getClusterId()
1063
 * @method $this withClusterId($value)
1064
 */
1065
class StopService extends Roa
1066
{
1067
    /** @var string */
1068
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/stop';
1069
1070
    /** @var string */
1071
    public $method = 'PUT';
1072
}
1073
1074
/**
1075
 * @method string getTaskName()
1076
 * @method $this withTaskName($value)
1077
 * @method string getClusterId()
1078
 * @method $this withClusterId($value)
1079
 * @method string getBody()
1080
 */
1081
class UpdateBenchmarkTask extends Roa
1082
{
1083
    /** @var string */
1084
    public $pathPattern = '/api/v2/benchmark-tasks/[ClusterId]/[TaskName]';
1085
1086
    /** @var string */
1087
    public $method = 'PUT';
1088
1089
    /**
1090
     * @param string $value
1091
     *
1092
     * @return $this
1093
     */
1094
    public function withBody($value)
1095
    {
1096
        $this->data['Body'] = $value;
1097
        $this->options['form_params']['body'] = $value;
1098
1099
        return $this;
1100
    }
1101
}
1102
1103
/**
1104
 * @method string getResourceId()
1105
 * @method $this withResourceId($value)
1106
 * @method string getClusterId()
1107
 * @method $this withClusterId($value)
1108
 * @method string getBody()
1109
 */
1110
class UpdateResource extends Roa
1111
{
1112
    /** @var string */
1113
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]';
1114
1115
    /** @var string */
1116
    public $method = 'PUT';
1117
1118
    /**
1119
     * @param string $value
1120
     *
1121
     * @return $this
1122
     */
1123
    public function withBody($value)
1124
    {
1125
        $this->data['Body'] = $value;
1126
        $this->options['form_params']['body'] = $value;
1127
1128
        return $this;
1129
    }
1130
}
1131
1132
/**
1133
 * @method string getResourceId()
1134
 * @method $this withResourceId($value)
1135
 * @method string getClusterId()
1136
 * @method $this withClusterId($value)
1137
 * @method string getBody()
1138
 */
1139
class UpdateResourceDLink extends Roa
1140
{
1141
    /** @var string */
1142
    public $pathPattern = '/api/v2/resources/[ClusterId]/[ResourceId]/dlink';
1143
1144
    /** @var string */
1145
    public $method = 'PUT';
1146
1147
    /**
1148
     * @param string $value
1149
     *
1150
     * @return $this
1151
     */
1152
    public function withBody($value)
1153
    {
1154
        $this->data['Body'] = $value;
1155
        $this->options['form_params']['body'] = $value;
1156
1157
        return $this;
1158
    }
1159
}
1160
1161
/**
1162
 * @method string getServiceName()
1163
 * @method $this withServiceName($value)
1164
 * @method string getClusterId()
1165
 * @method $this withClusterId($value)
1166
 * @method string getBody()
1167
 */
1168
class UpdateService extends Roa
1169
{
1170
    /** @var string */
1171
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]';
1172
1173
    /** @var string */
1174
    public $method = 'PUT';
1175
1176
    /**
1177
     * @param string $value
1178
     *
1179
     * @return $this
1180
     */
1181
    public function withBody($value)
1182
    {
1183
        $this->data['Body'] = $value;
1184
        $this->options['form_params']['body'] = $value;
1185
1186
        return $this;
1187
    }
1188
}
1189
1190
/**
1191
 * @method string getServiceName()
1192
 * @method $this withServiceName($value)
1193
 * @method string getClusterId()
1194
 * @method $this withClusterId($value)
1195
 * @method string getBody()
1196
 */
1197
class UpdateServiceAutoScaler extends Roa
1198
{
1199
    /** @var string */
1200
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/autoscaler';
1201
1202
    /** @var string */
1203
    public $method = 'PUT';
1204
1205
    /**
1206
     * @param string $value
1207
     *
1208
     * @return $this
1209
     */
1210
    public function withBody($value)
1211
    {
1212
        $this->data['Body'] = $value;
1213
        $this->options['form_params']['body'] = $value;
1214
1215
        return $this;
1216
    }
1217
}
1218
1219
/**
1220
 * @method string getServiceName()
1221
 * @method $this withServiceName($value)
1222
 * @method string getClusterId()
1223
 * @method $this withClusterId($value)
1224
 * @method string getBody()
1225
 */
1226
class UpdateServiceCronScaler extends Roa
1227
{
1228
    /** @var string */
1229
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/cronscaler';
1230
1231
    /** @var string */
1232
    public $method = 'PUT';
1233
1234
    /**
1235
     * @param string $value
1236
     *
1237
     * @return $this
1238
     */
1239
    public function withBody($value)
1240
    {
1241
        $this->data['Body'] = $value;
1242
        $this->options['form_params']['body'] = $value;
1243
1244
        return $this;
1245
    }
1246
}
1247
1248
/**
1249
 * @method string getServiceName()
1250
 * @method $this withServiceName($value)
1251
 * @method string getClusterId()
1252
 * @method $this withClusterId($value)
1253
 * @method string getBody()
1254
 */
1255
class UpdateServiceMirror extends Roa
1256
{
1257
    /** @var string */
1258
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/mirror';
1259
1260
    /** @var string */
1261
    public $method = 'PUT';
1262
1263
    /**
1264
     * @param string $value
1265
     *
1266
     * @return $this
1267
     */
1268
    public function withBody($value)
1269
    {
1270
        $this->data['Body'] = $value;
1271
        $this->options['form_params']['body'] = $value;
1272
1273
        return $this;
1274
    }
1275
}
1276
1277
/**
1278
 * @method string getServiceName()
1279
 * @method $this withServiceName($value)
1280
 * @method string getClusterId()
1281
 * @method $this withClusterId($value)
1282
 * @method string getBody()
1283
 */
1284
class UpdateServiceVersion extends Roa
1285
{
1286
    /** @var string */
1287
    public $pathPattern = '/api/v2/services/[ClusterId]/[ServiceName]/version';
1288
1289
    /** @var string */
1290
    public $method = 'PUT';
1291
1292
    /**
1293
     * @param string $value
1294
     *
1295
     * @return $this
1296
     */
1297
    public function withBody($value)
1298
    {
1299
        $this->data['Body'] = $value;
1300
        $this->options['form_params']['body'] = $value;
1301
1302
        return $this;
1303
    }
1304
}
1305