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 ( 4fb4ee...baa238 )
by
unknown
04:13
created

GetRegionConfiguration   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 19
Duplicated Lines 0 %

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A withZoneId() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\Elasticsearch\V20170613;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method ActivateZones activateZones(array $options = [])
9
 * @method AddConnectableCluster addConnectableCluster(array $options = [])
10
 * @method AddSnapshotRepo addSnapshotRepo(array $options = [])
11
 * @method CancelTask cancelTask(array $options = [])
12
 * @method CloseHttps closeHttps(array $options = [])
13
 * @method CreateInstance createInstance(array $options = [])
14
 * @method CreateLogstash createLogstash(array $options = [])
15
 * @method CreateProject createProject(array $options = [])
16
 * @method DeactivateZones deactivateZones(array $options = [])
17
 * @method DeleteConnectedCluster deleteConnectedCluster(array $options = [])
18
 * @method DeleteInstance deleteInstance(array $options = [])
19
 * @method DeleteLogstash deleteLogstash(array $options = [])
20
 * @method DeleteProject deleteProject(array $options = [])
21
 * @method DeleteSnapshotRepo deleteSnapshotRepo(array $options = [])
22
 * @method DescribeConnectableClusters describeConnectableClusters(array $options = [])
23
 * @method DescribeElasticsearchHealth describeElasticsearchHealth(array $options = [])
24
 * @method DescribeInstance describeInstance(array $options = [])
25
 * @method DescribeKibanaSettings describeKibanaSettings(array $options = [])
26
 * @method DescribeLogstash describeLogstash(array $options = [])
27
 * @method DescribePipelineManagementConfig describePipelineManagementConfig(array $options = [])
28
 * @method DescribeRegions describeRegions(array $options = [])
29
 * @method GetRegionConfiguration getRegionConfiguration(array $options = [])
30
 * @method GetSuggestShrinkableNodes getSuggestShrinkableNodes(array $options = [])
31
 * @method GetTransferableNodes getTransferableNodes(array $options = [])
32
 * @method InstallKibanaSystemPlugin installKibanaSystemPlugin(array $options = [])
33
 * @method InstallLogstashSystemPlugin installLogstashSystemPlugin(array $options = [])
34
 * @method InstallSystemPlugin installSystemPlugin(array $options = [])
35
 * @method InstallUserPlugins installUserPlugins(array $options = [])
36
 * @method InterruptElasticsearchTask interruptElasticsearchTask(array $options = [])
37
 * @method InterruptLogstashTask interruptLogstashTask(array $options = [])
38
 * @method ListAllNode listAllNode(array $options = [])
39
 * @method ListAlternativeSnapshotRepos listAlternativeSnapshotRepos(array $options = [])
40
 * @method ListConnectedClusters listConnectedClusters(array $options = [])
41
 * @method ListInstance listInstance(array $options = [])
42
 * @method ListKibanaPlugins listKibanaPlugins(array $options = [])
43
 * @method ListLogstash listLogstash(array $options = [])
44
 * @method ListLogstashLog listLogstashLog(array $options = [])
45
 * @method ListLogstashPlugins listLogstashPlugins(array $options = [])
46
 * @method ListPlugins listPlugins(array $options = [])
47
 * @method ListSearchLog listSearchLog(array $options = [])
48
 * @method ListSnapshotReposByInstanceId listSnapshotReposByInstanceId(array $options = [])
49
 * @method ListTagResources listTagResources(array $options = [])
50
 * @method ModifyWhiteIps modifyWhiteIps(array $options = [])
51
 * @method MoveResourceGroup moveResourceGroup(array $options = [])
52
 * @method OpenHttps openHttps(array $options = [])
53
 * @method RenewInstance renewInstance(array $options = [])
54
 * @method RenewLogstash renewLogstash(array $options = [])
55
 * @method RestartInstance restartInstance(array $options = [])
56
 * @method RestartLogstash restartLogstash(array $options = [])
57
 * @method ResumeElasticsearchTask resumeElasticsearchTask(array $options = [])
58
 * @method ResumeLogstashTask resumeLogstashTask(array $options = [])
59
 * @method RollbackInstance rollbackInstance(array $options = [])
60
 * @method ShrinkNode shrinkNode(array $options = [])
61
 * @method TagResources tagResources(array $options = [])
62
 * @method TransferNode transferNode(array $options = [])
63
 * @method TriggerNetwork triggerNetwork(array $options = [])
64
 * @method UninstallKibanaPlugin uninstallKibanaPlugin(array $options = [])
65
 * @method UninstallLogstashPlugin uninstallLogstashPlugin(array $options = [])
66
 * @method UninstallPlugin uninstallPlugin(array $options = [])
67
 * @method UntagResources untagResources(array $options = [])
68
 * @method UpdateAdminPassword updateAdminPassword(array $options = [])
69
 * @method UpdateAdvancedSetting updateAdvancedSetting(array $options = [])
70
 * @method UpdateAliwsDict updateAliwsDict(array $options = [])
71
 * @method UpdateBlackIps updateBlackIps(array $options = [])
72
 * @method UpdateDescription updateDescription(array $options = [])
73
 * @method UpdateDict updateDict(array $options = [])
74
 * @method UpdateHotIkDicts updateHotIkDicts(array $options = [])
75
 * @method UpdateInstance updateInstance(array $options = [])
76
 * @method UpdateInstanceChargeType updateInstanceChargeType(array $options = [])
77
 * @method UpdateInstanceSettings updateInstanceSettings(array $options = [])
78
 * @method UpdateKibanaSettings updateKibanaSettings(array $options = [])
79
 * @method UpdateKibanaWhiteIps updateKibanaWhiteIps(array $options = [])
80
 * @method UpdateLogstash updateLogstash(array $options = [])
81
 * @method UpdateLogstashChargeType updateLogstashChargeType(array $options = [])
82
 * @method UpdateLogstashDescription updateLogstashDescription(array $options = [])
83
 * @method UpdateLogstashSettings updateLogstashSettings(array $options = [])
84
 * @method UpdatePipelineManagementConfig updatePipelineManagementConfig(array $options = [])
85
 * @method UpdatePipelines updatePipelines(array $options = [])
86
 * @method UpdatePrivateNetworkWhiteIps updatePrivateNetworkWhiteIps(array $options = [])
87
 * @method UpdatePublicNetwork updatePublicNetwork(array $options = [])
88
 * @method UpdatePublicWhiteIps updatePublicWhiteIps(array $options = [])
89
 * @method UpdateSnapshotSetting updateSnapshotSetting(array $options = [])
90
 * @method UpdateSynonymsDicts updateSynonymsDicts(array $options = [])
91
 * @method UpdateWhiteIps updateWhiteIps(array $options = [])
92
 * @method UpgradeEngineVersion upgradeEngineVersion(array $options = [])
93
 * @method ValidateShrinkNodes validateShrinkNodes(array $options = [])
94
 * @method ValidateTransferableNodes validateTransferableNodes(array $options = [])
95
 */
96
class ElasticsearchApiResolver extends ApiResolver
97
{
98
}
99
100
class Roa extends \AlibabaCloud\Client\Resolver\Roa
101
{
102
    /** @var string */
103
    public $product = 'elasticsearch';
104
105
    /** @var string */
106
    public $version = '2017-06-13';
107
108
    /** @var string */
109
    public $method = 'POST';
110
111
    /** @var string */
112
    public $serviceCode = 'elasticsearch';
113
}
114
115
/**
116
 * @method string getInstanceId()
117
 * @method $this withInstanceId($value)
118
 * @method string getClientToken()
119
 */
120
class ActivateZones extends Roa
121
{
122
    /** @var string */
123
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/recover-zones';
124
125
    /**
126
     * @param string $value
127
     *
128
     * @return $this
129
     */
130
    public function withClientToken($value)
131
    {
132
        $this->data['ClientToken'] = $value;
133
        $this->options['query']['clientToken'] = $value;
134
135
        return $this;
136
    }
137
}
138
139
/**
140
 * @method string getInstanceId()
141
 * @method $this withInstanceId($value)
142
 * @method string getClientToken()
143
 */
144
class AddConnectableCluster extends Roa
145
{
146
    /** @var string */
147
    public $pathPattern = '/openapi/instances/[InstanceId]/connected-clusters';
148
149
    /**
150
     * @param string $value
151
     *
152
     * @return $this
153
     */
154
    public function withClientToken($value)
155
    {
156
        $this->data['ClientToken'] = $value;
157
        $this->options['query']['clientToken'] = $value;
158
159
        return $this;
160
    }
161
}
162
163
/**
164
 * @method string getInstanceId()
165
 * @method $this withInstanceId($value)
166
 */
167
class AddSnapshotRepo extends Roa
168
{
169
    /** @var string */
170
    public $pathPattern = '/openapi/instances/[InstanceId]/snapshot-repos';
171
}
172
173
/**
174
 * @method string getInstanceId()
175
 * @method $this withInstanceId($value)
176
 * @method string getTaskType()
177
 * @method string getClientToken()
178
 */
179
class CancelTask extends Roa
180
{
181
    /** @var string */
182
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/cancel-task';
183
184
    /**
185
     * @param string $value
186
     *
187
     * @return $this
188
     */
189
    public function withTaskType($value)
190
    {
191
        $this->data['TaskType'] = $value;
192
        $this->options['query']['taskType'] = $value;
193
194
        return $this;
195
    }
196
197
    /**
198
     * @param string $value
199
     *
200
     * @return $this
201
     */
202
    public function withClientToken($value)
203
    {
204
        $this->data['ClientToken'] = $value;
205
        $this->options['query']['clientToken'] = $value;
206
207
        return $this;
208
    }
209
}
210
211
/**
212
 * @method string getInstanceId()
213
 * @method $this withInstanceId($value)
214
 * @method string getClientToken()
215
 */
216
class CloseHttps extends Roa
217
{
218
    /** @var string */
219
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/close-https';
220
221
    /**
222
     * @param string $value
223
     *
224
     * @return $this
225
     */
226
    public function withClientToken($value)
227
    {
228
        $this->data['ClientToken'] = $value;
229
        $this->options['query']['clientToken'] = $value;
230
231
        return $this;
232
    }
233
}
234
235
/**
236
 * @method string getClientToken()
237
 */
238
class CreateInstance extends Roa
239
{
240
    /** @var string */
241
    public $pathPattern = '/openapi/instances';
242
243
    /**
244
     * @param string $value
245
     *
246
     * @return $this
247
     */
248
    public function withClientToken($value)
249
    {
250
        $this->data['ClientToken'] = $value;
251
        $this->options['query']['clientToken'] = $value;
252
253
        return $this;
254
    }
255
}
256
257
/**
258
 * @method string getClientToken()
259
 */
260
class CreateLogstash extends Roa
261
{
262
    /** @var string */
263
    public $pathPattern = '/openapi/logstashes';
264
265
    /**
266
     * @param string $value
267
     *
268
     * @return $this
269
     */
270
    public function withClientToken($value)
271
    {
272
        $this->data['ClientToken'] = $value;
273
        $this->options['query']['clientToken'] = $value;
274
275
        return $this;
276
    }
277
}
278
279
/**
280
 * @method string getClientToken()
281
 */
282
class CreateProject extends Roa
283
{
284
    /** @var string */
285
    public $pathPattern = '/openapi/projects';
286
287
    /**
288
     * @param string $value
289
     *
290
     * @return $this
291
     */
292
    public function withClientToken($value)
293
    {
294
        $this->data['ClientToken'] = $value;
295
        $this->options['query']['clientToken'] = $value;
296
297
        return $this;
298
    }
299
}
300
301
/**
302
 * @method string getInstanceId()
303
 * @method $this withInstanceId($value)
304
 * @method string getClientToken()
305
 */
306
class DeactivateZones extends Roa
307
{
308
    /** @var string */
309
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/down-zones';
310
311
    /**
312
     * @param string $value
313
     *
314
     * @return $this
315
     */
316
    public function withClientToken($value)
317
    {
318
        $this->data['ClientToken'] = $value;
319
        $this->options['query']['clientToken'] = $value;
320
321
        return $this;
322
    }
323
}
324
325
/**
326
 * @method string getInstanceId()
327
 * @method $this withInstanceId($value)
328
 * @method string getClientToken()
329
 * @method string getConnectedInstanceId()
330
 */
331
class DeleteConnectedCluster extends Roa
332
{
333
    /** @var string */
334
    public $pathPattern = '/openapi/instances/[InstanceId]/connected-clusters';
335
336
    /** @var string */
337
    public $method = 'DELETE';
338
339
    /**
340
     * @param string $value
341
     *
342
     * @return $this
343
     */
344
    public function withClientToken($value)
345
    {
346
        $this->data['ClientToken'] = $value;
347
        $this->options['query']['clientToken'] = $value;
348
349
        return $this;
350
    }
351
352
    /**
353
     * @param string $value
354
     *
355
     * @return $this
356
     */
357
    public function withConnectedInstanceId($value)
358
    {
359
        $this->data['ConnectedInstanceId'] = $value;
360
        $this->options['query']['connectedInstanceId'] = $value;
361
362
        return $this;
363
    }
364
}
365
366
/**
367
 * @method string getInstanceId()
368
 * @method $this withInstanceId($value)
369
 * @method string getClientToken()
370
 */
371
class DeleteInstance extends Roa
372
{
373
    /** @var string */
374
    public $pathPattern = '/openapi/instances/[InstanceId]';
375
376
    /** @var string */
377
    public $method = 'DELETE';
378
379
    /**
380
     * @param string $value
381
     *
382
     * @return $this
383
     */
384
    public function withClientToken($value)
385
    {
386
        $this->data['ClientToken'] = $value;
387
        $this->options['query']['clientToken'] = $value;
388
389
        return $this;
390
    }
391
}
392
393
/**
394
 * @method string getInstanceId()
395
 * @method $this withInstanceId($value)
396
 * @method string getClientToken()
397
 */
398
class DeleteLogstash extends Roa
399
{
400
    /** @var string */
401
    public $pathPattern = '/openapi/logstashes/[InstanceId]';
402
403
    /** @var string */
404
    public $method = 'DELETE';
405
406
    /**
407
     * @param string $value
408
     *
409
     * @return $this
410
     */
411
    public function withClientToken($value)
412
    {
413
        $this->data['ClientToken'] = $value;
414
        $this->options['query']['clientToken'] = $value;
415
416
        return $this;
417
    }
418
}
419
420
/**
421
 * @method string getClientToken()
422
 * @method string getId()
423
 * @method $this withId($value)
424
 */
425
class DeleteProject extends Roa
426
{
427
    /** @var string */
428
    public $pathPattern = '/openapi/projects/[Id]';
429
430
    /** @var string */
431
    public $method = 'DELETE';
432
433
    /**
434
     * @param string $value
435
     *
436
     * @return $this
437
     */
438
    public function withClientToken($value)
439
    {
440
        $this->data['ClientToken'] = $value;
441
        $this->options['query']['clientToken'] = $value;
442
443
        return $this;
444
    }
445
}
446
447
/**
448
 * @method string getInstanceId()
449
 * @method $this withInstanceId($value)
450
 * @method string getRepoPath()
451
 */
452
class DeleteSnapshotRepo extends Roa
453
{
454
    /** @var string */
455
    public $pathPattern = '/openapi/instances/[InstanceId]/snapshot-repos';
456
457
    /** @var string */
458
    public $method = 'DELETE';
459
460
    /**
461
     * @param string $value
462
     *
463
     * @return $this
464
     */
465
    public function withRepoPath($value)
466
    {
467
        $this->data['RepoPath'] = $value;
468
        $this->options['query']['repoPath'] = $value;
469
470
        return $this;
471
    }
472
}
473
474
/**
475
 * @method string getInstanceId()
476
 * @method $this withInstanceId($value)
477
 * @method string getAlreadySetItems()
478
 */
479
class DescribeConnectableClusters extends Roa
480
{
481
    /** @var string */
482
    public $pathPattern = '/openapi/instances/[InstanceId]/connectable-clusters';
483
484
    /** @var string */
485
    public $method = 'GET';
486
487
    /**
488
     * @param string $value
489
     *
490
     * @return $this
491
     */
492
    public function withAlreadySetItems($value)
493
    {
494
        $this->data['AlreadySetItems'] = $value;
495
        $this->options['query']['alreadySetItems'] = $value;
496
497
        return $this;
498
    }
499
}
500
501
/**
502
 * @method string getInstanceId()
503
 * @method $this withInstanceId($value)
504
 */
505
class DescribeElasticsearchHealth extends Roa
506
{
507
    /** @var string */
508
    public $pathPattern = '/openapi/instances/[InstanceId]/elasticsearch-health';
509
510
    /** @var string */
511
    public $method = 'GET';
512
}
513
514
/**
515
 * @method string getInstanceId()
516
 * @method $this withInstanceId($value)
517
 */
518
class DescribeInstance extends Roa
519
{
520
    /** @var string */
521
    public $pathPattern = '/openapi/instances/[InstanceId]';
522
523
    /** @var string */
524
    public $method = 'GET';
525
}
526
527
/**
528
 * @method string getInstanceId()
529
 * @method $this withInstanceId($value)
530
 */
531
class DescribeKibanaSettings extends Roa
532
{
533
    /** @var string */
534
    public $pathPattern = '/openapi/instances/[InstanceId]/kibana-settings';
535
536
    /** @var string */
537
    public $method = 'GET';
538
}
539
540
/**
541
 * @method string getInstanceId()
542
 * @method $this withInstanceId($value)
543
 */
544
class DescribeLogstash extends Roa
545
{
546
    /** @var string */
547
    public $pathPattern = '/openapi/logstashes/[InstanceId]';
548
549
    /** @var string */
550
    public $method = 'GET';
551
}
552
553
/**
554
 * @method string getInstanceId()
555
 * @method $this withInstanceId($value)
556
 * @method string getClientToken()
557
 */
558
class DescribePipelineManagementConfig extends Roa
559
{
560
    /** @var string */
561
    public $pathPattern = '/openapi/logstashes/[InstanceId]//pipeline-management-config';
562
563
    /** @var string */
564
    public $method = 'GET';
565
566
    /**
567
     * @param string $value
568
     *
569
     * @return $this
570
     */
571
    public function withClientToken($value)
572
    {
573
        $this->data['ClientToken'] = $value;
574
        $this->options['query']['clientToken'] = $value;
575
576
        return $this;
577
    }
578
}
579
580
class DescribeRegions extends Roa
581
{
582
    /** @var string */
583
    public $pathPattern = '/openapi/regions';
584
585
    /** @var string */
586
    public $method = 'GET';
587
}
588
589
/**
590
 * @method string getZoneId()
591
 */
592
class GetRegionConfiguration extends Roa
593
{
594
    /** @var string */
595
    public $pathPattern = '/openapi/region';
596
597
    /** @var string */
598
    public $method = 'GET';
599
600
    /**
601
     * @param string $value
602
     *
603
     * @return $this
604
     */
605
    public function withZoneId($value)
606
    {
607
        $this->data['ZoneId'] = $value;
608
        $this->options['query']['zoneId'] = $value;
609
610
        return $this;
611
    }
612
}
613
614
/**
615
 * @method string getInstanceId()
616
 * @method $this withInstanceId($value)
617
 * @method string getNodeType()
618
 * @method string getCount()
619
 */
620
class GetSuggestShrinkableNodes extends Roa
621
{
622
    /** @var string */
623
    public $pathPattern = '/openapi/instances/[InstanceId]/suggest-shrinkable-nodes';
624
625
    /** @var string */
626
    public $method = 'GET';
627
628
    /**
629
     * @param string $value
630
     *
631
     * @return $this
632
     */
633
    public function withNodeType($value)
634
    {
635
        $this->data['NodeType'] = $value;
636
        $this->options['query']['nodeType'] = $value;
637
638
        return $this;
639
    }
640
641
    /**
642
     * @param string $value
643
     *
644
     * @return $this
645
     */
646
    public function withCount($value)
647
    {
648
        $this->data['Count'] = $value;
649
        $this->options['query']['count'] = $value;
650
651
        return $this;
652
    }
653
}
654
655
/**
656
 * @method string getInstanceId()
657
 * @method $this withInstanceId($value)
658
 * @method string getNodeType()
659
 * @method string getCount()
660
 */
661
class GetTransferableNodes extends Roa
662
{
663
    /** @var string */
664
    public $pathPattern = '/openapi/instances/[InstanceId]/transferable-nodes';
665
666
    /** @var string */
667
    public $method = 'GET';
668
669
    /**
670
     * @param string $value
671
     *
672
     * @return $this
673
     */
674
    public function withNodeType($value)
675
    {
676
        $this->data['NodeType'] = $value;
677
        $this->options['query']['nodeType'] = $value;
678
679
        return $this;
680
    }
681
682
    /**
683
     * @param string $value
684
     *
685
     * @return $this
686
     */
687
    public function withCount($value)
688
    {
689
        $this->data['Count'] = $value;
690
        $this->options['query']['count'] = $value;
691
692
        return $this;
693
    }
694
}
695
696
/**
697
 * @method string getInstanceId()
698
 * @method $this withInstanceId($value)
699
 * @method string getClientToken()
700
 */
701
class InstallKibanaSystemPlugin extends Roa
702
{
703
    /** @var string */
704
    public $pathPattern = '/openapi/instances/[InstanceId]/kibana-plugins/system/actions/install';
705
706
    /**
707
     * @param string $value
708
     *
709
     * @return $this
710
     */
711
    public function withClientToken($value)
712
    {
713
        $this->data['ClientToken'] = $value;
714
        $this->options['query']['clientToken'] = $value;
715
716
        return $this;
717
    }
718
}
719
720
/**
721
 * @method string getInstanceId()
722
 * @method $this withInstanceId($value)
723
 * @method string getClientToken()
724
 */
725
class InstallLogstashSystemPlugin extends Roa
726
{
727
    /** @var string */
728
    public $pathPattern = '/openapi/logstashes/[InstanceId]/plugins/system/actions/install';
729
730
    /**
731
     * @param string $value
732
     *
733
     * @return $this
734
     */
735
    public function withClientToken($value)
736
    {
737
        $this->data['ClientToken'] = $value;
738
        $this->options['query']['clientToken'] = $value;
739
740
        return $this;
741
    }
742
}
743
744
/**
745
 * @method string getInstanceId()
746
 * @method $this withInstanceId($value)
747
 * @method string getClientToken()
748
 */
749
class InstallSystemPlugin extends Roa
750
{
751
    /** @var string */
752
    public $pathPattern = '/openapi/instances/[InstanceId]/plugins/system/actions/install';
753
754
    /**
755
     * @param string $value
756
     *
757
     * @return $this
758
     */
759
    public function withClientToken($value)
760
    {
761
        $this->data['ClientToken'] = $value;
762
        $this->options['query']['clientToken'] = $value;
763
764
        return $this;
765
    }
766
}
767
768
/**
769
 * @method string getInstanceId()
770
 * @method $this withInstanceId($value)
771
 */
772
class InstallUserPlugins extends Roa
773
{
774
    /** @var string */
775
    public $pathPattern = '/openapi/instances/[InstanceId]/plugins/user/actions/install';
776
}
777
778
/**
779
 * @method string getInstanceId()
780
 * @method $this withInstanceId($value)
781
 * @method string getClientToken()
782
 */
783
class InterruptElasticsearchTask extends Roa
784
{
785
    /** @var string */
786
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/interrupt';
787
788
    /**
789
     * @param string $value
790
     *
791
     * @return $this
792
     */
793
    public function withClientToken($value)
794
    {
795
        $this->data['ClientToken'] = $value;
796
        $this->options['query']['clientToken'] = $value;
797
798
        return $this;
799
    }
800
}
801
802
/**
803
 * @method string getInstanceId()
804
 * @method $this withInstanceId($value)
805
 * @method string getClientToken()
806
 */
807
class InterruptLogstashTask extends Roa
808
{
809
    /** @var string */
810
    public $pathPattern = '/openapi/logstashes/[InstanceId]/actions/interrupt';
811
812
    /**
813
     * @param string $value
814
     *
815
     * @return $this
816
     */
817
    public function withClientToken($value)
818
    {
819
        $this->data['ClientToken'] = $value;
820
        $this->options['query']['clientToken'] = $value;
821
822
        return $this;
823
    }
824
}
825
826
/**
827
 * @method string getInstanceId()
828
 * @method $this withInstanceId($value)
829
 */
830
class ListAllNode extends Roa
831
{
832
    /** @var string */
833
    public $pathPattern = '/openapi/instances/[InstanceId]/nodes';
834
835
    /** @var string */
836
    public $method = 'GET';
837
}
838
839
/**
840
 * @method string getInstanceId()
841
 * @method $this withInstanceId($value)
842
 * @method string getAlreadySetItems()
843
 */
844
class ListAlternativeSnapshotRepos extends Roa
845
{
846
    /** @var string */
847
    public $pathPattern = '/openapi/instances/[InstanceId]/alternative-snapshot-repos';
848
849
    /** @var string */
850
    public $method = 'GET';
851
852
    /**
853
     * @param string $value
854
     *
855
     * @return $this
856
     */
857
    public function withAlreadySetItems($value)
858
    {
859
        $this->data['AlreadySetItems'] = $value;
860
        $this->options['query']['alreadySetItems'] = $value;
861
862
        return $this;
863
    }
864
}
865
866
/**
867
 * @method string getInstanceId()
868
 * @method $this withInstanceId($value)
869
 */
870
class ListConnectedClusters extends Roa
871
{
872
    /** @var string */
873
    public $pathPattern = '/openapi/instances/[InstanceId]/connected-clusters';
874
875
    /** @var string */
876
    public $method = 'GET';
877
}
878
879
/**
880
 * @method string getDescription()
881
 * @method string getInstanceCategory()
882
 * @method string getOwnerId()
883
 * @method string getTags()
884
 * @method string getResourceGroupId()
885
 * @method string getInstanceId()
886
 * @method string getSize()
887
 * @method string getEsVersion()
888
 * @method string getVpcId()
889
 * @method string getZoneId()
890
 * @method string getPage()
891
 * @method string getPaymentType()
892
 */
893
class ListInstance extends Roa
894
{
895
    /** @var string */
896
    public $pathPattern = '/openapi/instances';
897
898
    /** @var string */
899
    public $method = 'GET';
900
901
    /**
902
     * @param string $value
903
     *
904
     * @return $this
905
     */
906
    public function withDescription($value)
907
    {
908
        $this->data['Description'] = $value;
909
        $this->options['query']['description'] = $value;
910
911
        return $this;
912
    }
913
914
    /**
915
     * @param string $value
916
     *
917
     * @return $this
918
     */
919
    public function withInstanceCategory($value)
920
    {
921
        $this->data['InstanceCategory'] = $value;
922
        $this->options['query']['instanceCategory'] = $value;
923
924
        return $this;
925
    }
926
927
    /**
928
     * @param string $value
929
     *
930
     * @return $this
931
     */
932
    public function withOwnerId($value)
933
    {
934
        $this->data['OwnerId'] = $value;
935
        $this->options['query']['ownerId'] = $value;
936
937
        return $this;
938
    }
939
940
    /**
941
     * @param string $value
942
     *
943
     * @return $this
944
     */
945
    public function withTags($value)
946
    {
947
        $this->data['Tags'] = $value;
948
        $this->options['query']['tags'] = $value;
949
950
        return $this;
951
    }
952
953
    /**
954
     * @param string $value
955
     *
956
     * @return $this
957
     */
958
    public function withResourceGroupId($value)
959
    {
960
        $this->data['ResourceGroupId'] = $value;
961
        $this->options['query']['resourceGroupId'] = $value;
962
963
        return $this;
964
    }
965
966
    /**
967
     * @param string $value
968
     *
969
     * @return $this
970
     */
971
    public function withInstanceId($value)
972
    {
973
        $this->data['InstanceId'] = $value;
974
        $this->options['query']['instanceId'] = $value;
975
976
        return $this;
977
    }
978
979
    /**
980
     * @param string $value
981
     *
982
     * @return $this
983
     */
984
    public function withSize($value)
985
    {
986
        $this->data['Size'] = $value;
987
        $this->options['query']['size'] = $value;
988
989
        return $this;
990
    }
991
992
    /**
993
     * @param string $value
994
     *
995
     * @return $this
996
     */
997
    public function withEsVersion($value)
998
    {
999
        $this->data['EsVersion'] = $value;
1000
        $this->options['query']['esVersion'] = $value;
1001
1002
        return $this;
1003
    }
1004
1005
    /**
1006
     * @param string $value
1007
     *
1008
     * @return $this
1009
     */
1010
    public function withVpcId($value)
1011
    {
1012
        $this->data['VpcId'] = $value;
1013
        $this->options['query']['vpcId'] = $value;
1014
1015
        return $this;
1016
    }
1017
1018
    /**
1019
     * @param string $value
1020
     *
1021
     * @return $this
1022
     */
1023
    public function withZoneId($value)
1024
    {
1025
        $this->data['ZoneId'] = $value;
1026
        $this->options['query']['zoneId'] = $value;
1027
1028
        return $this;
1029
    }
1030
1031
    /**
1032
     * @param string $value
1033
     *
1034
     * @return $this
1035
     */
1036
    public function withPage($value)
1037
    {
1038
        $this->data['Page'] = $value;
1039
        $this->options['query']['page'] = $value;
1040
1041
        return $this;
1042
    }
1043
1044
    /**
1045
     * @param string $value
1046
     *
1047
     * @return $this
1048
     */
1049
    public function withPaymentType($value)
1050
    {
1051
        $this->data['PaymentType'] = $value;
1052
        $this->options['query']['paymentType'] = $value;
1053
1054
        return $this;
1055
    }
1056
}
1057
1058
/**
1059
 * @method string getInstanceId()
1060
 * @method $this withInstanceId($value)
1061
 * @method string getSize()
1062
 * @method string getPage()
1063
 */
1064
class ListKibanaPlugins extends Roa
1065
{
1066
    /** @var string */
1067
    public $pathPattern = '/openapi/instances/[InstanceId]/kibana-plugins';
1068
1069
    /** @var string */
1070
    public $method = 'GET';
1071
1072
    /**
1073
     * @param string $value
1074
     *
1075
     * @return $this
1076
     */
1077
    public function withSize($value)
1078
    {
1079
        $this->data['Size'] = $value;
1080
        $this->options['query']['size'] = $value;
1081
1082
        return $this;
1083
    }
1084
1085
    /**
1086
     * @param string $value
1087
     *
1088
     * @return $this
1089
     */
1090
    public function withPage($value)
1091
    {
1092
        $this->data['Page'] = $value;
1093
        $this->options['query']['page'] = $value;
1094
1095
        return $this;
1096
    }
1097
}
1098
1099
/**
1100
 * @method string getResourceGroupId()
1101
 * @method string getInstanceId()
1102
 * @method string getSize()
1103
 * @method string getDescription()
1104
 * @method string getPage()
1105
 * @method string getOwnerId()
1106
 * @method string getVersion()
1107
 */
1108
class ListLogstash extends Roa
1109
{
1110
    /** @var string */
1111
    public $pathPattern = '/openapi/logstashes';
1112
1113
    /** @var string */
1114
    public $method = 'GET';
1115
1116
    /**
1117
     * @param string $value
1118
     *
1119
     * @return $this
1120
     */
1121
    public function withResourceGroupId($value)
1122
    {
1123
        $this->data['ResourceGroupId'] = $value;
1124
        $this->options['query']['resourceGroupId'] = $value;
1125
1126
        return $this;
1127
    }
1128
1129
    /**
1130
     * @param string $value
1131
     *
1132
     * @return $this
1133
     */
1134
    public function withInstanceId($value)
1135
    {
1136
        $this->data['InstanceId'] = $value;
1137
        $this->options['query']['instanceId'] = $value;
1138
1139
        return $this;
1140
    }
1141
1142
    /**
1143
     * @param string $value
1144
     *
1145
     * @return $this
1146
     */
1147
    public function withSize($value)
1148
    {
1149
        $this->data['Size'] = $value;
1150
        $this->options['query']['size'] = $value;
1151
1152
        return $this;
1153
    }
1154
1155
    /**
1156
     * @param string $value
1157
     *
1158
     * @return $this
1159
     */
1160
    public function withDescription($value)
1161
    {
1162
        $this->data['Description'] = $value;
1163
        $this->options['query']['description'] = $value;
1164
1165
        return $this;
1166
    }
1167
1168
    /**
1169
     * @param string $value
1170
     *
1171
     * @return $this
1172
     */
1173
    public function withPage($value)
1174
    {
1175
        $this->data['Page'] = $value;
1176
        $this->options['query']['page'] = $value;
1177
1178
        return $this;
1179
    }
1180
1181
    /**
1182
     * @param string $value
1183
     *
1184
     * @return $this
1185
     */
1186
    public function withOwnerId($value)
1187
    {
1188
        $this->data['OwnerId'] = $value;
1189
        $this->options['query']['ownerId'] = $value;
1190
1191
        return $this;
1192
    }
1193
1194
    /**
1195
     * @param string $value
1196
     *
1197
     * @return $this
1198
     */
1199
    public function withVersion($value)
1200
    {
1201
        $this->data['Version'] = $value;
1202
        $this->options['query']['version'] = $value;
1203
1204
        return $this;
1205
    }
1206
}
1207
1208
/**
1209
 * @method string getInstanceId()
1210
 * @method $this withInstanceId($value)
1211
 * @method string getSize()
1212
 * @method string getQuery()
1213
 * @method string getEndTime()
1214
 * @method string getBeginTime()
1215
 * @method string getPage()
1216
 * @method string getType()
1217
 */
1218
class ListLogstashLog extends Roa
1219
{
1220
    /** @var string */
1221
    public $pathPattern = '/openapi/logstashes/[InstanceId]/search-log';
1222
1223
    /** @var string */
1224
    public $method = 'GET';
1225
1226
    /**
1227
     * @param string $value
1228
     *
1229
     * @return $this
1230
     */
1231
    public function withSize($value)
1232
    {
1233
        $this->data['Size'] = $value;
1234
        $this->options['query']['size'] = $value;
1235
1236
        return $this;
1237
    }
1238
1239
    /**
1240
     * @param string $value
1241
     *
1242
     * @return $this
1243
     */
1244
    public function withQuery($value)
1245
    {
1246
        $this->data['Query'] = $value;
1247
        $this->options['query']['query'] = $value;
1248
1249
        return $this;
1250
    }
1251
1252
    /**
1253
     * @param string $value
1254
     *
1255
     * @return $this
1256
     */
1257
    public function withEndTime($value)
1258
    {
1259
        $this->data['EndTime'] = $value;
1260
        $this->options['query']['endTime'] = $value;
1261
1262
        return $this;
1263
    }
1264
1265
    /**
1266
     * @param string $value
1267
     *
1268
     * @return $this
1269
     */
1270
    public function withBeginTime($value)
1271
    {
1272
        $this->data['BeginTime'] = $value;
1273
        $this->options['query']['beginTime'] = $value;
1274
1275
        return $this;
1276
    }
1277
1278
    /**
1279
     * @param string $value
1280
     *
1281
     * @return $this
1282
     */
1283
    public function withPage($value)
1284
    {
1285
        $this->data['Page'] = $value;
1286
        $this->options['query']['page'] = $value;
1287
1288
        return $this;
1289
    }
1290
1291
    /**
1292
     * @param string $value
1293
     *
1294
     * @return $this
1295
     */
1296
    public function withType($value)
1297
    {
1298
        $this->data['Type'] = $value;
1299
        $this->options['query']['type'] = $value;
1300
1301
        return $this;
1302
    }
1303
}
1304
1305
/**
1306
 * @method string getInstanceId()
1307
 * @method $this withInstanceId($value)
1308
 * @method string getSize()
1309
 * @method string getName()
1310
 * @method string getPage()
1311
 * @method string getSource()
1312
 */
1313
class ListLogstashPlugins extends Roa
1314
{
1315
    /** @var string */
1316
    public $pathPattern = '/openapi/logstashes/[InstanceId]/plugins';
1317
1318
    /** @var string */
1319
    public $method = 'GET';
1320
1321
    /**
1322
     * @param string $value
1323
     *
1324
     * @return $this
1325
     */
1326
    public function withSize($value)
1327
    {
1328
        $this->data['Size'] = $value;
1329
        $this->options['query']['size'] = $value;
1330
1331
        return $this;
1332
    }
1333
1334
    /**
1335
     * @param string $value
1336
     *
1337
     * @return $this
1338
     */
1339
    public function withName($value)
1340
    {
1341
        $this->data['Name'] = $value;
1342
        $this->options['query']['name'] = $value;
1343
1344
        return $this;
1345
    }
1346
1347
    /**
1348
     * @param string $value
1349
     *
1350
     * @return $this
1351
     */
1352
    public function withPage($value)
1353
    {
1354
        $this->data['Page'] = $value;
1355
        $this->options['query']['page'] = $value;
1356
1357
        return $this;
1358
    }
1359
1360
    /**
1361
     * @param string $value
1362
     *
1363
     * @return $this
1364
     */
1365
    public function withSource($value)
1366
    {
1367
        $this->data['Source'] = $value;
1368
        $this->options['query']['source'] = $value;
1369
1370
        return $this;
1371
    }
1372
}
1373
1374
/**
1375
 * @method string getInstanceId()
1376
 * @method $this withInstanceId($value)
1377
 * @method string getSize()
1378
 * @method string getName()
1379
 * @method string getPage()
1380
 * @method string getSource()
1381
 */
1382
class ListPlugins extends Roa
1383
{
1384
    /** @var string */
1385
    public $pathPattern = '/openapi/instances/[InstanceId]/plugins';
1386
1387
    /** @var string */
1388
    public $method = 'GET';
1389
1390
    /**
1391
     * @param string $value
1392
     *
1393
     * @return $this
1394
     */
1395
    public function withSize($value)
1396
    {
1397
        $this->data['Size'] = $value;
1398
        $this->options['query']['size'] = $value;
1399
1400
        return $this;
1401
    }
1402
1403
    /**
1404
     * @param string $value
1405
     *
1406
     * @return $this
1407
     */
1408
    public function withName($value)
1409
    {
1410
        $this->data['Name'] = $value;
1411
        $this->options['query']['name'] = $value;
1412
1413
        return $this;
1414
    }
1415
1416
    /**
1417
     * @param string $value
1418
     *
1419
     * @return $this
1420
     */
1421
    public function withPage($value)
1422
    {
1423
        $this->data['Page'] = $value;
1424
        $this->options['query']['page'] = $value;
1425
1426
        return $this;
1427
    }
1428
1429
    /**
1430
     * @param string $value
1431
     *
1432
     * @return $this
1433
     */
1434
    public function withSource($value)
1435
    {
1436
        $this->data['Source'] = $value;
1437
        $this->options['query']['source'] = $value;
1438
1439
        return $this;
1440
    }
1441
}
1442
1443
/**
1444
 * @method string getInstanceId()
1445
 * @method $this withInstanceId($value)
1446
 * @method string getSize()
1447
 * @method string getQuery()
1448
 * @method string getEndTime()
1449
 * @method string getBeginTime()
1450
 * @method string getPage()
1451
 * @method string getType()
1452
 */
1453
class ListSearchLog extends Roa
1454
{
1455
    /** @var string */
1456
    public $pathPattern = '/openapi/instances/[InstanceId]/search-log';
1457
1458
    /** @var string */
1459
    public $method = 'GET';
1460
1461
    /**
1462
     * @param string $value
1463
     *
1464
     * @return $this
1465
     */
1466
    public function withSize($value)
1467
    {
1468
        $this->data['Size'] = $value;
1469
        $this->options['query']['size'] = $value;
1470
1471
        return $this;
1472
    }
1473
1474
    /**
1475
     * @param string $value
1476
     *
1477
     * @return $this
1478
     */
1479
    public function withQuery($value)
1480
    {
1481
        $this->data['Query'] = $value;
1482
        $this->options['query']['query'] = $value;
1483
1484
        return $this;
1485
    }
1486
1487
    /**
1488
     * @param string $value
1489
     *
1490
     * @return $this
1491
     */
1492
    public function withEndTime($value)
1493
    {
1494
        $this->data['EndTime'] = $value;
1495
        $this->options['query']['endTime'] = $value;
1496
1497
        return $this;
1498
    }
1499
1500
    /**
1501
     * @param string $value
1502
     *
1503
     * @return $this
1504
     */
1505
    public function withBeginTime($value)
1506
    {
1507
        $this->data['BeginTime'] = $value;
1508
        $this->options['query']['beginTime'] = $value;
1509
1510
        return $this;
1511
    }
1512
1513
    /**
1514
     * @param string $value
1515
     *
1516
     * @return $this
1517
     */
1518
    public function withPage($value)
1519
    {
1520
        $this->data['Page'] = $value;
1521
        $this->options['query']['page'] = $value;
1522
1523
        return $this;
1524
    }
1525
1526
    /**
1527
     * @param string $value
1528
     *
1529
     * @return $this
1530
     */
1531
    public function withType($value)
1532
    {
1533
        $this->data['Type'] = $value;
1534
        $this->options['query']['type'] = $value;
1535
1536
        return $this;
1537
    }
1538
}
1539
1540
/**
1541
 * @method string getInstanceId()
1542
 * @method $this withInstanceId($value)
1543
 */
1544
class ListSnapshotReposByInstanceId extends Roa
1545
{
1546
    /** @var string */
1547
    public $pathPattern = '/openapi/instances/[InstanceId]/snapshot-repos';
1548
1549
    /** @var string */
1550
    public $method = 'GET';
1551
}
1552
1553
/**
1554
 * @method string getSize()
1555
 * @method string getNextToken()
1556
 * @method string getPage()
1557
 * @method string getResourceType()
1558
 * @method string getResourceIds()
1559
 * @method string getTags()
1560
 */
1561
class ListTagResources extends Roa
1562
{
1563
    /** @var string */
1564
    public $pathPattern = '/openapi/tags';
1565
1566
    /** @var string */
1567
    public $method = 'GET';
1568
1569
    /**
1570
     * @param string $value
1571
     *
1572
     * @return $this
1573
     */
1574
    public function withSize($value)
1575
    {
1576
        $this->data['Size'] = $value;
1577
        $this->options['query']['Size'] = $value;
1578
1579
        return $this;
1580
    }
1581
1582
    /**
1583
     * @param string $value
1584
     *
1585
     * @return $this
1586
     */
1587
    public function withNextToken($value)
1588
    {
1589
        $this->data['NextToken'] = $value;
1590
        $this->options['query']['NextToken'] = $value;
1591
1592
        return $this;
1593
    }
1594
1595
    /**
1596
     * @param string $value
1597
     *
1598
     * @return $this
1599
     */
1600
    public function withPage($value)
1601
    {
1602
        $this->data['Page'] = $value;
1603
        $this->options['query']['Page'] = $value;
1604
1605
        return $this;
1606
    }
1607
1608
    /**
1609
     * @param string $value
1610
     *
1611
     * @return $this
1612
     */
1613
    public function withResourceType($value)
1614
    {
1615
        $this->data['ResourceType'] = $value;
1616
        $this->options['query']['ResourceType'] = $value;
1617
1618
        return $this;
1619
    }
1620
1621
    /**
1622
     * @param string $value
1623
     *
1624
     * @return $this
1625
     */
1626
    public function withResourceIds($value)
1627
    {
1628
        $this->data['ResourceIds'] = $value;
1629
        $this->options['query']['ResourceIds'] = $value;
1630
1631
        return $this;
1632
    }
1633
1634
    /**
1635
     * @param string $value
1636
     *
1637
     * @return $this
1638
     */
1639
    public function withTags($value)
1640
    {
1641
        $this->data['Tags'] = $value;
1642
        $this->options['query']['Tags'] = $value;
1643
1644
        return $this;
1645
    }
1646
}
1647
1648
/**
1649
 * @method string getInstanceId()
1650
 * @method $this withInstanceId($value)
1651
 * @method string getClientToken()
1652
 */
1653
class ModifyWhiteIps extends Roa
1654
{
1655
    /** @var string */
1656
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/modify-white-ips';
1657
1658
    /**
1659
     * @param string $value
1660
     *
1661
     * @return $this
1662
     */
1663
    public function withClientToken($value)
1664
    {
1665
        $this->data['ClientToken'] = $value;
1666
        $this->options['query']['clientToken'] = $value;
1667
1668
        return $this;
1669
    }
1670
}
1671
1672
/**
1673
 * @method string getInstanceId()
1674
 * @method $this withInstanceId($value)
1675
 * @method string getClientToken()
1676
 */
1677
class MoveResourceGroup extends Roa
1678
{
1679
    /** @var string */
1680
    public $pathPattern = '/openapi/instances/[InstanceId]/resourcegroup';
1681
1682
    /**
1683
     * @param string $value
1684
     *
1685
     * @return $this
1686
     */
1687
    public function withClientToken($value)
1688
    {
1689
        $this->data['ClientToken'] = $value;
1690
        $this->options['query']['clientToken'] = $value;
1691
1692
        return $this;
1693
    }
1694
}
1695
1696
/**
1697
 * @method string getInstanceId()
1698
 * @method $this withInstanceId($value)
1699
 * @method string getClientToken()
1700
 */
1701
class OpenHttps extends Roa
1702
{
1703
    /** @var string */
1704
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/open-https';
1705
1706
    /**
1707
     * @param string $value
1708
     *
1709
     * @return $this
1710
     */
1711
    public function withClientToken($value)
1712
    {
1713
        $this->data['ClientToken'] = $value;
1714
        $this->options['query']['clientToken'] = $value;
1715
1716
        return $this;
1717
    }
1718
}
1719
1720
/**
1721
 * @method string getInstanceId()
1722
 * @method $this withInstanceId($value)
1723
 * @method string getClientToken()
1724
 */
1725
class RenewInstance extends Roa
1726
{
1727
    /** @var string */
1728
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/renew';
1729
1730
    /**
1731
     * @param string $value
1732
     *
1733
     * @return $this
1734
     */
1735
    public function withClientToken($value)
1736
    {
1737
        $this->data['ClientToken'] = $value;
1738
        $this->options['query']['clientToken'] = $value;
1739
1740
        return $this;
1741
    }
1742
}
1743
1744
/**
1745
 * @method string getInstanceId()
1746
 * @method $this withInstanceId($value)
1747
 * @method string getClientToken()
1748
 */
1749
class RenewLogstash extends Roa
1750
{
1751
    /** @var string */
1752
    public $pathPattern = '/openapi/logstashes/[InstanceId]/actions/renew';
1753
1754
    /**
1755
     * @param string $value
1756
     *
1757
     * @return $this
1758
     */
1759
    public function withClientToken($value)
1760
    {
1761
        $this->data['ClientToken'] = $value;
1762
        $this->options['query']['clientToken'] = $value;
1763
1764
        return $this;
1765
    }
1766
}
1767
1768
/**
1769
 * @method string getInstanceId()
1770
 * @method $this withInstanceId($value)
1771
 * @method string getClientToken()
1772
 * @method string getForce()
1773
 */
1774
class RestartInstance extends Roa
1775
{
1776
    /** @var string */
1777
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/restart';
1778
1779
    /**
1780
     * @param string $value
1781
     *
1782
     * @return $this
1783
     */
1784
    public function withClientToken($value)
1785
    {
1786
        $this->data['ClientToken'] = $value;
1787
        $this->options['query']['clientToken'] = $value;
1788
1789
        return $this;
1790
    }
1791
1792
    /**
1793
     * @param string $value
1794
     *
1795
     * @return $this
1796
     */
1797
    public function withForce($value)
1798
    {
1799
        $this->data['Force'] = $value;
1800
        $this->options['query']['force'] = $value;
1801
1802
        return $this;
1803
    }
1804
}
1805
1806
/**
1807
 * @method string getInstanceId()
1808
 * @method $this withInstanceId($value)
1809
 * @method string getClientToken()
1810
 * @method string getForce()
1811
 */
1812
class RestartLogstash extends Roa
1813
{
1814
    /** @var string */
1815
    public $pathPattern = '/openapi/logstashes/[InstanceId]/actions/restart';
1816
1817
    /**
1818
     * @param string $value
1819
     *
1820
     * @return $this
1821
     */
1822
    public function withClientToken($value)
1823
    {
1824
        $this->data['ClientToken'] = $value;
1825
        $this->options['query']['clientToken'] = $value;
1826
1827
        return $this;
1828
    }
1829
1830
    /**
1831
     * @param string $value
1832
     *
1833
     * @return $this
1834
     */
1835
    public function withForce($value)
1836
    {
1837
        $this->data['Force'] = $value;
1838
        $this->options['query']['force'] = $value;
1839
1840
        return $this;
1841
    }
1842
}
1843
1844
/**
1845
 * @method string getInstanceId()
1846
 * @method $this withInstanceId($value)
1847
 * @method string getClientToken()
1848
 */
1849
class ResumeElasticsearchTask extends Roa
1850
{
1851
    /** @var string */
1852
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/resume';
1853
1854
    /**
1855
     * @param string $value
1856
     *
1857
     * @return $this
1858
     */
1859
    public function withClientToken($value)
1860
    {
1861
        $this->data['ClientToken'] = $value;
1862
        $this->options['query']['clientToken'] = $value;
1863
1864
        return $this;
1865
    }
1866
}
1867
1868
/**
1869
 * @method string getInstanceId()
1870
 * @method $this withInstanceId($value)
1871
 * @method string getClientToken()
1872
 */
1873
class ResumeLogstashTask extends Roa
1874
{
1875
    /** @var string */
1876
    public $pathPattern = '/openapi/logstashes/[InstanceId]/actions/resume';
1877
1878
    /**
1879
     * @param string $value
1880
     *
1881
     * @return $this
1882
     */
1883
    public function withClientToken($value)
1884
    {
1885
        $this->data['ClientToken'] = $value;
1886
        $this->options['query']['clientToken'] = $value;
1887
1888
        return $this;
1889
    }
1890
}
1891
1892
/**
1893
 * @method string getInstanceId()
1894
 * @method $this withInstanceId($value)
1895
 * @method string getClientToken()
1896
 */
1897
class RollbackInstance extends Roa
1898
{
1899
    /** @var string */
1900
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/rollback';
1901
1902
    /**
1903
     * @param string $value
1904
     *
1905
     * @return $this
1906
     */
1907
    public function withClientToken($value)
1908
    {
1909
        $this->data['ClientToken'] = $value;
1910
        $this->options['query']['clientToken'] = $value;
1911
1912
        return $this;
1913
    }
1914
}
1915
1916
/**
1917
 * @method string getInstanceId()
1918
 * @method $this withInstanceId($value)
1919
 * @method string getNodeType()
1920
 * @method string getClientToken()
1921
 */
1922
class ShrinkNode extends Roa
1923
{
1924
    /** @var string */
1925
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/shrink';
1926
1927
    /**
1928
     * @param string $value
1929
     *
1930
     * @return $this
1931
     */
1932
    public function withNodeType($value)
1933
    {
1934
        $this->data['NodeType'] = $value;
1935
        $this->options['query']['nodeType'] = $value;
1936
1937
        return $this;
1938
    }
1939
1940
    /**
1941
     * @param string $value
1942
     *
1943
     * @return $this
1944
     */
1945
    public function withClientToken($value)
1946
    {
1947
        $this->data['ClientToken'] = $value;
1948
        $this->options['query']['clientToken'] = $value;
1949
1950
        return $this;
1951
    }
1952
}
1953
1954
class TagResources extends Roa
1955
{
1956
    /** @var string */
1957
    public $pathPattern = '/openapi/tags';
1958
}
1959
1960
/**
1961
 * @method string getInstanceId()
1962
 * @method $this withInstanceId($value)
1963
 * @method string getNodeType()
1964
 * @method string getClientToken()
1965
 */
1966
class TransferNode extends Roa
1967
{
1968
    /** @var string */
1969
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/transfer';
1970
1971
    /**
1972
     * @param string $value
1973
     *
1974
     * @return $this
1975
     */
1976
    public function withNodeType($value)
1977
    {
1978
        $this->data['NodeType'] = $value;
1979
        $this->options['query']['nodeType'] = $value;
1980
1981
        return $this;
1982
    }
1983
1984
    /**
1985
     * @param string $value
1986
     *
1987
     * @return $this
1988
     */
1989
    public function withClientToken($value)
1990
    {
1991
        $this->data['ClientToken'] = $value;
1992
        $this->options['query']['clientToken'] = $value;
1993
1994
        return $this;
1995
    }
1996
}
1997
1998
/**
1999
 * @method string getInstanceId()
2000
 * @method $this withInstanceId($value)
2001
 * @method string getClientToken()
2002
 */
2003
class TriggerNetwork extends Roa
2004
{
2005
    /** @var string */
2006
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/network-trigger';
2007
2008
    /**
2009
     * @param string $value
2010
     *
2011
     * @return $this
2012
     */
2013
    public function withClientToken($value)
2014
    {
2015
        $this->data['ClientToken'] = $value;
2016
        $this->options['query']['clientToken'] = $value;
2017
2018
        return $this;
2019
    }
2020
}
2021
2022
/**
2023
 * @method string getInstanceId()
2024
 * @method $this withInstanceId($value)
2025
 * @method string getClientToken()
2026
 */
2027
class UninstallKibanaPlugin extends Roa
2028
{
2029
    /** @var string */
2030
    public $pathPattern = '/openapi/instances/[InstanceId]/kibana-plugins/actions/uninstall';
2031
2032
    /**
2033
     * @param string $value
2034
     *
2035
     * @return $this
2036
     */
2037
    public function withClientToken($value)
2038
    {
2039
        $this->data['ClientToken'] = $value;
2040
        $this->options['query']['clientToken'] = $value;
2041
2042
        return $this;
2043
    }
2044
}
2045
2046
/**
2047
 * @method string getInstanceId()
2048
 * @method $this withInstanceId($value)
2049
 * @method string getClientToken()
2050
 */
2051
class UninstallLogstashPlugin extends Roa
2052
{
2053
    /** @var string */
2054
    public $pathPattern = '/openapi/logstashes/[InstanceId]/plugins/actions/uninstall';
2055
2056
    /**
2057
     * @param string $value
2058
     *
2059
     * @return $this
2060
     */
2061
    public function withClientToken($value)
2062
    {
2063
        $this->data['ClientToken'] = $value;
2064
        $this->options['query']['clientToken'] = $value;
2065
2066
        return $this;
2067
    }
2068
}
2069
2070
/**
2071
 * @method string getInstanceId()
2072
 * @method $this withInstanceId($value)
2073
 * @method string getClientToken()
2074
 */
2075
class UninstallPlugin extends Roa
2076
{
2077
    /** @var string */
2078
    public $pathPattern = '/openapi/instances/[InstanceId]/plugins/actions/uninstall';
2079
2080
    /**
2081
     * @param string $value
2082
     *
2083
     * @return $this
2084
     */
2085
    public function withClientToken($value)
2086
    {
2087
        $this->data['ClientToken'] = $value;
2088
        $this->options['query']['clientToken'] = $value;
2089
2090
        return $this;
2091
    }
2092
}
2093
2094
/**
2095
 * @method string getAll()
2096
 * @method string getTagKeys()
2097
 * @method string getResourceType()
2098
 * @method string getResourceIds()
2099
 */
2100
class UntagResources extends Roa
2101
{
2102
    /** @var string */
2103
    public $pathPattern = '/openapi/tags';
2104
2105
    /** @var string */
2106
    public $method = 'DELETE';
2107
2108
    /**
2109
     * @param string $value
2110
     *
2111
     * @return $this
2112
     */
2113
    public function withAll($value)
2114
    {
2115
        $this->data['All'] = $value;
2116
        $this->options['query']['All'] = $value;
2117
2118
        return $this;
2119
    }
2120
2121
    /**
2122
     * @param string $value
2123
     *
2124
     * @return $this
2125
     */
2126
    public function withTagKeys($value)
2127
    {
2128
        $this->data['TagKeys'] = $value;
2129
        $this->options['query']['TagKeys'] = $value;
2130
2131
        return $this;
2132
    }
2133
2134
    /**
2135
     * @param string $value
2136
     *
2137
     * @return $this
2138
     */
2139
    public function withResourceType($value)
2140
    {
2141
        $this->data['ResourceType'] = $value;
2142
        $this->options['query']['ResourceType'] = $value;
2143
2144
        return $this;
2145
    }
2146
2147
    /**
2148
     * @param string $value
2149
     *
2150
     * @return $this
2151
     */
2152
    public function withResourceIds($value)
2153
    {
2154
        $this->data['ResourceIds'] = $value;
2155
        $this->options['query']['ResourceIds'] = $value;
2156
2157
        return $this;
2158
    }
2159
}
2160
2161
/**
2162
 * @method string getInstanceId()
2163
 * @method $this withInstanceId($value)
2164
 * @method string getClientToken()
2165
 */
2166
class UpdateAdminPassword extends Roa
2167
{
2168
    /** @var string */
2169
    public $pathPattern = '/openapi/instances/[InstanceId]/admin-pwd';
2170
2171
    /**
2172
     * @param string $value
2173
     *
2174
     * @return $this
2175
     */
2176
    public function withClientToken($value)
2177
    {
2178
        $this->data['ClientToken'] = $value;
2179
        $this->options['query']['clientToken'] = $value;
2180
2181
        return $this;
2182
    }
2183
}
2184
2185
/**
2186
 * @method string getInstanceId()
2187
 * @method $this withInstanceId($value)
2188
 * @method string getClientToken()
2189
 */
2190
class UpdateAdvancedSetting extends Roa
2191
{
2192
    /** @var string */
2193
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/update-advanced-setting';
2194
2195
    /**
2196
     * @param string $value
2197
     *
2198
     * @return $this
2199
     */
2200
    public function withClientToken($value)
2201
    {
2202
        $this->data['ClientToken'] = $value;
2203
        $this->options['query']['clientToken'] = $value;
2204
2205
        return $this;
2206
    }
2207
}
2208
2209
/**
2210
 * @method string getInstanceId()
2211
 * @method $this withInstanceId($value)
2212
 * @method string getClientToken()
2213
 */
2214
class UpdateAliwsDict extends Roa
2215
{
2216
    /** @var string */
2217
    public $pathPattern = '/openapi/instances/[InstanceId]/aliws-dict';
2218
2219
    /** @var string */
2220
    public $method = 'PUT';
2221
2222
    /**
2223
     * @param string $value
2224
     *
2225
     * @return $this
2226
     */
2227
    public function withClientToken($value)
2228
    {
2229
        $this->data['ClientToken'] = $value;
2230
        $this->options['query']['clientToken'] = $value;
2231
2232
        return $this;
2233
    }
2234
}
2235
2236
/**
2237
 * @method string getInstanceId()
2238
 * @method $this withInstanceId($value)
2239
 * @method string getClientToken()
2240
 */
2241
class UpdateBlackIps extends Roa
2242
{
2243
    /** @var string */
2244
    public $pathPattern = '/openapi/instances/[InstanceId]/black-ips';
2245
2246
    /**
2247
     * @param string $value
2248
     *
2249
     * @return $this
2250
     */
2251
    public function withClientToken($value)
2252
    {
2253
        $this->data['ClientToken'] = $value;
2254
        $this->options['query']['clientToken'] = $value;
2255
2256
        return $this;
2257
    }
2258
}
2259
2260
/**
2261
 * @method string getInstanceId()
2262
 * @method $this withInstanceId($value)
2263
 * @method string getClientToken()
2264
 */
2265
class UpdateDescription extends Roa
2266
{
2267
    /** @var string */
2268
    public $pathPattern = '/openapi/instances/[InstanceId]/description';
2269
2270
    /**
2271
     * @param string $value
2272
     *
2273
     * @return $this
2274
     */
2275
    public function withClientToken($value)
2276
    {
2277
        $this->data['ClientToken'] = $value;
2278
        $this->options['query']['clientToken'] = $value;
2279
2280
        return $this;
2281
    }
2282
}
2283
2284
/**
2285
 * @method string getInstanceId()
2286
 * @method $this withInstanceId($value)
2287
 * @method string getClientToken()
2288
 */
2289
class UpdateDict extends Roa
2290
{
2291
    /** @var string */
2292
    public $pathPattern = '/openapi/instances/[InstanceId]/dict';
2293
2294
    /** @var string */
2295
    public $method = 'PUT';
2296
2297
    /**
2298
     * @param string $value
2299
     *
2300
     * @return $this
2301
     */
2302
    public function withClientToken($value)
2303
    {
2304
        $this->data['ClientToken'] = $value;
2305
        $this->options['query']['clientToken'] = $value;
2306
2307
        return $this;
2308
    }
2309
}
2310
2311
/**
2312
 * @method string getInstanceId()
2313
 * @method $this withInstanceId($value)
2314
 * @method string getClientToken()
2315
 */
2316
class UpdateHotIkDicts extends Roa
2317
{
2318
    /** @var string */
2319
    public $pathPattern = '/openapi/instances/[InstanceId]/ik-hot-dict';
2320
2321
    /** @var string */
2322
    public $method = 'PUT';
2323
2324
    /**
2325
     * @param string $value
2326
     *
2327
     * @return $this
2328
     */
2329
    public function withClientToken($value)
2330
    {
2331
        $this->data['ClientToken'] = $value;
2332
        $this->options['query']['clientToken'] = $value;
2333
2334
        return $this;
2335
    }
2336
}
2337
2338
/**
2339
 * @method string getInstanceId()
2340
 * @method $this withInstanceId($value)
2341
 * @method string getClientToken()
2342
 */
2343
class UpdateInstance extends Roa
2344
{
2345
    /** @var string */
2346
    public $pathPattern = '/openapi/instances/[InstanceId]';
2347
2348
    /** @var string */
2349
    public $method = 'PUT';
2350
2351
    /**
2352
     * @param string $value
2353
     *
2354
     * @return $this
2355
     */
2356
    public function withClientToken($value)
2357
    {
2358
        $this->data['ClientToken'] = $value;
2359
        $this->options['query']['clientToken'] = $value;
2360
2361
        return $this;
2362
    }
2363
}
2364
2365
/**
2366
 * @method string getInstanceId()
2367
 * @method $this withInstanceId($value)
2368
 * @method string getClientToken()
2369
 */
2370
class UpdateInstanceChargeType extends Roa
2371
{
2372
    /** @var string */
2373
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/convert-pay-type';
2374
2375
    /**
2376
     * @param string $value
2377
     *
2378
     * @return $this
2379
     */
2380
    public function withClientToken($value)
2381
    {
2382
        $this->data['ClientToken'] = $value;
2383
        $this->options['query']['clientToken'] = $value;
2384
2385
        return $this;
2386
    }
2387
}
2388
2389
/**
2390
 * @method string getInstanceId()
2391
 * @method $this withInstanceId($value)
2392
 * @method string getClientToken()
2393
 */
2394
class UpdateInstanceSettings extends Roa
2395
{
2396
    /** @var string */
2397
    public $pathPattern = '/openapi/instances/[InstanceId]/instance-settings';
2398
2399
    /**
2400
     * @param string $value
2401
     *
2402
     * @return $this
2403
     */
2404
    public function withClientToken($value)
2405
    {
2406
        $this->data['ClientToken'] = $value;
2407
        $this->options['query']['clientToken'] = $value;
2408
2409
        return $this;
2410
    }
2411
}
2412
2413
/**
2414
 * @method string getInstanceId()
2415
 * @method $this withInstanceId($value)
2416
 * @method string getClientToken()
2417
 */
2418
class UpdateKibanaSettings extends Roa
2419
{
2420
    /** @var string */
2421
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/update-kibana-settings';
2422
2423
    /**
2424
     * @param string $value
2425
     *
2426
     * @return $this
2427
     */
2428
    public function withClientToken($value)
2429
    {
2430
        $this->data['ClientToken'] = $value;
2431
        $this->options['query']['clientToken'] = $value;
2432
2433
        return $this;
2434
    }
2435
}
2436
2437
/**
2438
 * @method string getInstanceId()
2439
 * @method $this withInstanceId($value)
2440
 * @method string getClientToken()
2441
 */
2442
class UpdateKibanaWhiteIps extends Roa
2443
{
2444
    /** @var string */
2445
    public $pathPattern = '/openapi/instances/[InstanceId]/kibana-white-ips';
2446
2447
    /**
2448
     * @param string $value
2449
     *
2450
     * @return $this
2451
     */
2452
    public function withClientToken($value)
2453
    {
2454
        $this->data['ClientToken'] = $value;
2455
        $this->options['query']['clientToken'] = $value;
2456
2457
        return $this;
2458
    }
2459
}
2460
2461
/**
2462
 * @method string getInstanceId()
2463
 * @method $this withInstanceId($value)
2464
 * @method string getClientToken()
2465
 */
2466
class UpdateLogstash extends Roa
2467
{
2468
    /** @var string */
2469
    public $pathPattern = '/openapi/logstashes/[InstanceId]';
2470
2471
    /** @var string */
2472
    public $method = 'GET';
2473
2474
    /**
2475
     * @param string $value
2476
     *
2477
     * @return $this
2478
     */
2479
    public function withClientToken($value)
2480
    {
2481
        $this->data['ClientToken'] = $value;
2482
        $this->options['query']['clientToken'] = $value;
2483
2484
        return $this;
2485
    }
2486
}
2487
2488
/**
2489
 * @method string getInstanceId()
2490
 * @method $this withInstanceId($value)
2491
 * @method string getClientToken()
2492
 */
2493
class UpdateLogstashChargeType extends Roa
2494
{
2495
    /** @var string */
2496
    public $pathPattern = '/openapi/logstashes/[InstanceId]/actions/convert-pay-type';
2497
2498
    /**
2499
     * @param string $value
2500
     *
2501
     * @return $this
2502
     */
2503
    public function withClientToken($value)
2504
    {
2505
        $this->data['ClientToken'] = $value;
2506
        $this->options['query']['clientToken'] = $value;
2507
2508
        return $this;
2509
    }
2510
}
2511
2512
/**
2513
 * @method string getInstanceId()
2514
 * @method $this withInstanceId($value)
2515
 * @method string getClientToken()
2516
 */
2517
class UpdateLogstashDescription extends Roa
2518
{
2519
    /** @var string */
2520
    public $pathPattern = '/openapi/logstashes/[InstanceId]/description';
2521
2522
    /**
2523
     * @param string $value
2524
     *
2525
     * @return $this
2526
     */
2527
    public function withClientToken($value)
2528
    {
2529
        $this->data['ClientToken'] = $value;
2530
        $this->options['query']['clientToken'] = $value;
2531
2532
        return $this;
2533
    }
2534
}
2535
2536
/**
2537
 * @method string getInstanceId()
2538
 * @method $this withInstanceId($value)
2539
 * @method string getClientToken()
2540
 */
2541
class UpdateLogstashSettings extends Roa
2542
{
2543
    /** @var string */
2544
    public $pathPattern = '/openapi/logstashes/[InstanceId]/instance-settings';
2545
2546
    /**
2547
     * @param string $value
2548
     *
2549
     * @return $this
2550
     */
2551
    public function withClientToken($value)
2552
    {
2553
        $this->data['ClientToken'] = $value;
2554
        $this->options['query']['clientToken'] = $value;
2555
2556
        return $this;
2557
    }
2558
}
2559
2560
/**
2561
 * @method string getInstanceId()
2562
 * @method $this withInstanceId($value)
2563
 * @method string getClientToken()
2564
 */
2565
class UpdatePipelineManagementConfig extends Roa
2566
{
2567
    /** @var string */
2568
    public $pathPattern = '/openapi/logstashes/[InstanceId]/pipeline-management-config';
2569
2570
    /**
2571
     * @param string $value
2572
     *
2573
     * @return $this
2574
     */
2575
    public function withClientToken($value)
2576
    {
2577
        $this->data['ClientToken'] = $value;
2578
        $this->options['query']['clientToken'] = $value;
2579
2580
        return $this;
2581
    }
2582
}
2583
2584
/**
2585
 * @method string getInstanceId()
2586
 * @method $this withInstanceId($value)
2587
 * @method string getClientToken()
2588
 * @method string getTrigger()
2589
 */
2590
class UpdatePipelines extends Roa
2591
{
2592
    /** @var string */
2593
    public $pathPattern = '/openapi/logstashes/[InstanceId]/pipelines';
2594
2595
    /** @var string */
2596
    public $method = 'PUT';
2597
2598
    /**
2599
     * @param string $value
2600
     *
2601
     * @return $this
2602
     */
2603
    public function withClientToken($value)
2604
    {
2605
        $this->data['ClientToken'] = $value;
2606
        $this->options['query']['clientToken'] = $value;
2607
2608
        return $this;
2609
    }
2610
2611
    /**
2612
     * @param string $value
2613
     *
2614
     * @return $this
2615
     */
2616
    public function withTrigger($value)
2617
    {
2618
        $this->data['Trigger'] = $value;
2619
        $this->options['query']['trigger'] = $value;
2620
2621
        return $this;
2622
    }
2623
}
2624
2625
/**
2626
 * @method string getInstanceId()
2627
 * @method $this withInstanceId($value)
2628
 * @method string getClientToken()
2629
 */
2630
class UpdatePrivateNetworkWhiteIps extends Roa
2631
{
2632
    /** @var string */
2633
    public $pathPattern = '/openapi/instances/[InstanceId]/private-network-white-ips';
2634
2635
    /**
2636
     * @param string $value
2637
     *
2638
     * @return $this
2639
     */
2640
    public function withClientToken($value)
2641
    {
2642
        $this->data['ClientToken'] = $value;
2643
        $this->options['query']['clientToken'] = $value;
2644
2645
        return $this;
2646
    }
2647
}
2648
2649
/**
2650
 * @method string getInstanceId()
2651
 * @method $this withInstanceId($value)
2652
 * @method string getClientToken()
2653
 */
2654
class UpdatePublicNetwork extends Roa
2655
{
2656
    /** @var string */
2657
    public $pathPattern = '/openapi/instances/[InstanceId]/public-network';
2658
2659
    /**
2660
     * @param string $value
2661
     *
2662
     * @return $this
2663
     */
2664
    public function withClientToken($value)
2665
    {
2666
        $this->data['ClientToken'] = $value;
2667
        $this->options['query']['clientToken'] = $value;
2668
2669
        return $this;
2670
    }
2671
}
2672
2673
/**
2674
 * @method string getInstanceId()
2675
 * @method $this withInstanceId($value)
2676
 * @method string getClientToken()
2677
 */
2678
class UpdatePublicWhiteIps extends Roa
2679
{
2680
    /** @var string */
2681
    public $pathPattern = '/openapi/instances/[InstanceId]/public-white-ips';
2682
2683
    /**
2684
     * @param string $value
2685
     *
2686
     * @return $this
2687
     */
2688
    public function withClientToken($value)
2689
    {
2690
        $this->data['ClientToken'] = $value;
2691
        $this->options['query']['clientToken'] = $value;
2692
2693
        return $this;
2694
    }
2695
}
2696
2697
/**
2698
 * @method string getInstanceId()
2699
 * @method $this withInstanceId($value)
2700
 */
2701
class UpdateSnapshotSetting extends Roa
2702
{
2703
    /** @var string */
2704
    public $pathPattern = '/openapi/instances/[InstanceId]/snapshot-setting';
2705
}
2706
2707
/**
2708
 * @method string getInstanceId()
2709
 * @method $this withInstanceId($value)
2710
 * @method string getClientToken()
2711
 */
2712
class UpdateSynonymsDicts extends Roa
2713
{
2714
    /** @var string */
2715
    public $pathPattern = '/openapi/instances/[InstanceId]/synonymsDict';
2716
2717
    /** @var string */
2718
    public $method = 'PUT';
2719
2720
    /**
2721
     * @param string $value
2722
     *
2723
     * @return $this
2724
     */
2725
    public function withClientToken($value)
2726
    {
2727
        $this->data['ClientToken'] = $value;
2728
        $this->options['query']['clientToken'] = $value;
2729
2730
        return $this;
2731
    }
2732
}
2733
2734
/**
2735
 * @method string getInstanceId()
2736
 * @method $this withInstanceId($value)
2737
 * @method string getClientToken()
2738
 */
2739
class UpdateWhiteIps extends Roa
2740
{
2741
    /** @var string */
2742
    public $pathPattern = '/openapi/instances/[InstanceId]/white-ips';
2743
2744
    /**
2745
     * @param string $value
2746
     *
2747
     * @return $this
2748
     */
2749
    public function withClientToken($value)
2750
    {
2751
        $this->data['ClientToken'] = $value;
2752
        $this->options['query']['clientToken'] = $value;
2753
2754
        return $this;
2755
    }
2756
}
2757
2758
/**
2759
 * @method string getInstanceId()
2760
 * @method $this withInstanceId($value)
2761
 * @method string getDryRun()
2762
 * @method string getClientToken()
2763
 */
2764
class UpgradeEngineVersion extends Roa
2765
{
2766
    /** @var string */
2767
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/upgrade-version';
2768
2769
    /**
2770
     * @param string $value
2771
     *
2772
     * @return $this
2773
     */
2774
    public function withDryRun($value)
2775
    {
2776
        $this->data['DryRun'] = $value;
2777
        $this->options['query']['dryRun'] = $value;
2778
2779
        return $this;
2780
    }
2781
2782
    /**
2783
     * @param string $value
2784
     *
2785
     * @return $this
2786
     */
2787
    public function withClientToken($value)
2788
    {
2789
        $this->data['ClientToken'] = $value;
2790
        $this->options['query']['clientToken'] = $value;
2791
2792
        return $this;
2793
    }
2794
}
2795
2796
/**
2797
 * @method string getInstanceId()
2798
 * @method $this withInstanceId($value)
2799
 * @method string getNodeType()
2800
 */
2801
class ValidateShrinkNodes extends Roa
2802
{
2803
    /** @var string */
2804
    public $pathPattern = '/openapi/instances/[InstanceId]/validate-shrink-nodes';
2805
2806
    /**
2807
     * @param string $value
2808
     *
2809
     * @return $this
2810
     */
2811
    public function withNodeType($value)
2812
    {
2813
        $this->data['NodeType'] = $value;
2814
        $this->options['query']['nodeType'] = $value;
2815
2816
        return $this;
2817
    }
2818
}
2819
2820
/**
2821
 * @method string getInstanceId()
2822
 * @method $this withInstanceId($value)
2823
 * @method string getNodeType()
2824
 */
2825
class ValidateTransferableNodes extends Roa
2826
{
2827
    /** @var string */
2828
    public $pathPattern = '/openapi/instances/[InstanceId]/validate-transfer-nodes';
2829
2830
    /**
2831
     * @param string $value
2832
     *
2833
     * @return $this
2834
     */
2835
    public function withNodeType($value)
2836
    {
2837
        $this->data['NodeType'] = $value;
2838
        $this->options['query']['nodeType'] = $value;
2839
2840
        return $this;
2841
    }
2842
}
2843