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 ( da18f7...0e2dab )
by
unknown
09:16 queued 03:17
created

UpgradeEngineVersion::withClientToken()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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