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 ( 73d26f...fd3e4f )
by
unknown
07:09
created

UpdateLogstashChargeType   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 16
rs 10
c 0
b 0
f 0

1 Method

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