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 ( bd7d52...ce31c8 )
by
unknown
07:51
created

InstallLogstashSystemPlugin   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

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

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