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 ( 504d49...4f9f84 )
by
unknown
06:23
created

ModifyWhiteIps::withClientToken()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
c 0
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Elasticsearch\V20170613;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method ActivateZones activateZones(array $options = [])
9
 * @method AddConnectableCluster addConnectableCluster(array $options = [])
10
 * @method AddSnapshotRepo addSnapshotRepo(array $options = [])
11
 * @method CancelTask cancelTask(array $options = [])
12
 * @method CloseDiagnosis closeDiagnosis(array $options = [])
13
 * @method CloseHttps closeHttps(array $options = [])
14
 * @method CreateDataTasks createDataTasks(array $options = [])
15
 * @method CreateInstance createInstance(array $options = [])
16
 * @method CreateLogstash createLogstash(array $options = [])
17
 * @method CreatePipelines createPipelines(array $options = [])
18
 * @method CreateProject createProject(array $options = [])
19
 * @method CreateSnapshot createSnapshot(array $options = [])
20
 * @method DeactivateZones deactivateZones(array $options = [])
21
 * @method DeleteCollector deleteCollector(array $options = [])
22
 * @method DeleteConnectedCluster deleteConnectedCluster(array $options = [])
23
 * @method DeleteDataTask deleteDataTask(array $options = [])
24
 * @method DeleteInstance deleteInstance(array $options = [])
25
 * @method DeleteLogstash deleteLogstash(array $options = [])
26
 * @method DeletePipelines deletePipelines(array $options = [])
27
 * @method DeleteProject deleteProject(array $options = [])
28
 * @method DeleteSnapshotRepo deleteSnapshotRepo(array $options = [])
29
 * @method DescribeCollector describeCollector(array $options = [])
30
 * @method DescribeConnectableClusters describeConnectableClusters(array $options = [])
31
 * @method DescribeDiagnoseReport describeDiagnoseReport(array $options = [])
32
 * @method DescribeDiagnosisSettings describeDiagnosisSettings(array $options = [])
33
 * @method DescribeElasticsearchHealth describeElasticsearchHealth(array $options = [])
34
 * @method DescribeInstance describeInstance(array $options = [])
35
 * @method DescribeKibanaSettings describeKibanaSettings(array $options = [])
36
 * @method DescribeLogstash describeLogstash(array $options = [])
37
 * @method DescribePipeline describePipeline(array $options = [])
38
 * @method DescribePipelineManagementConfig describePipelineManagementConfig(array $options = [])
39
 * @method DescribeRegions describeRegions(array $options = [])
40
 * @method DescribeSnapshotSetting describeSnapshotSetting(array $options = [])
41
 * @method DescribeTemplates describeTemplates(array $options = [])
42
 * @method DescribeXpackMonitorConfig describeXpackMonitorConfig(array $options = [])
43
 * @method DiagnoseInstance diagnoseInstance(array $options = [])
44
 * @method EstimatedLogstashRestartTime estimatedLogstashRestartTime(array $options = [])
45
 * @method EstimatedRestartTime estimatedRestartTime(array $options = [])
46
 * @method GetClusterDataInformation getClusterDataInformation(array $options = [])
47
 * @method GetElastictask getElastictask(array $options = [])
48
 * @method GetEmonMonitorData getEmonMonitorData(array $options = [])
49
 * @method GetRegionConfiguration getRegionConfiguration(array $options = [])
50
 * @method GetSuggestShrinkableNodes getSuggestShrinkableNodes(array $options = [])
51
 * @method GetTransferableNodes getTransferableNodes(array $options = [])
52
 * @method InstallKibanaSystemPlugin installKibanaSystemPlugin(array $options = [])
53
 * @method InstallLogstashSystemPlugin installLogstashSystemPlugin(array $options = [])
54
 * @method InstallSystemPlugin installSystemPlugin(array $options = [])
55
 * @method InstallUserPlugins installUserPlugins(array $options = [])
56
 * @method InterruptElasticsearchTask interruptElasticsearchTask(array $options = [])
57
 * @method InterruptLogstashTask interruptLogstashTask(array $options = [])
58
 * @method ListAllNode listAllNode(array $options = [])
59
 * @method ListAlternativeSnapshotRepos listAlternativeSnapshotRepos(array $options = [])
60
 * @method ListAvailableEsInstanceIds listAvailableEsInstanceIds(array $options = [])
61
 * @method ListCollectors listCollectors(array $options = [])
62
 * @method ListConnectedClusters listConnectedClusters(array $options = [])
63
 * @method ListDataTasks listDataTasks(array $options = [])
64
 * @method ListDiagnoseReport listDiagnoseReport(array $options = [])
65
 * @method ListDiagnoseReportIds listDiagnoseReportIds(array $options = [])
66
 * @method ListDictInformation listDictInformation(array $options = [])
67
 * @method ListEcsInstances listEcsInstances(array $options = [])
68
 * @method ListExtendfiles listExtendfiles(array $options = [])
69
 * @method ListInstance listInstance(array $options = [])
70
 * @method ListInstanceIndices listInstanceIndices(array $options = [])
71
 * @method ListKibanaPlugins listKibanaPlugins(array $options = [])
72
 * @method ListLogstash listLogstash(array $options = [])
73
 * @method ListLogstashLog listLogstashLog(array $options = [])
74
 * @method ListLogstashPlugins listLogstashPlugins(array $options = [])
75
 * @method ListNodes listNodes(array $options = [])
76
 * @method ListPipeline listPipeline(array $options = [])
77
 * @method ListPipelineIds listPipelineIds(array $options = [])
78
 * @method ListPlugins listPlugins(array $options = [])
79
 * @method ListSearchLog listSearchLog(array $options = [])
80
 * @method ListSnapshotReposByInstanceId listSnapshotReposByInstanceId(array $options = [])
81
 * @method ListTagResources listTagResources(array $options = [])
82
 * @method ListTags listTags(array $options = [])
83
 * @method MigrateToOtherZone migrateToOtherZone(array $options = [])
84
 * @method ModifyDeployMachine modifyDeployMachine(array $options = [])
85
 * @method ModifyElastictask modifyElastictask(array $options = [])
86
 * @method ModifyInstanceMaintainTime modifyInstanceMaintainTime(array $options = [])
87
 * @method ModifyWhiteIps modifyWhiteIps(array $options = [])
88
 * @method MoveResourceGroup moveResourceGroup(array $options = [])
89
 * @method OpenDiagnosis openDiagnosis(array $options = [])
90
 * @method OpenHttps openHttps(array $options = [])
91
 * @method ReinstallCollector reinstallCollector(array $options = [])
92
 * @method RenewInstance renewInstance(array $options = [])
93
 * @method RenewLogstash renewLogstash(array $options = [])
94
 * @method RestartInstance restartInstance(array $options = [])
95
 * @method RestartLogstash restartLogstash(array $options = [])
96
 * @method ResumeElasticsearchTask resumeElasticsearchTask(array $options = [])
97
 * @method ResumeLogstashTask resumeLogstashTask(array $options = [])
98
 * @method RollbackInstance rollbackInstance(array $options = [])
99
 * @method RunPipelines runPipelines(array $options = [])
100
 * @method ShrinkNode shrinkNode(array $options = [])
101
 * @method StartCollector startCollector(array $options = [])
102
 * @method StopCollector stopCollector(array $options = [])
103
 * @method StopPipelines stopPipelines(array $options = [])
104
 * @method TagResources tagResources(array $options = [])
105
 * @method TransferNode transferNode(array $options = [])
106
 * @method TriggerNetwork triggerNetwork(array $options = [])
107
 * @method UninstallKibanaPlugin uninstallKibanaPlugin(array $options = [])
108
 * @method UninstallLogstashPlugin uninstallLogstashPlugin(array $options = [])
109
 * @method UninstallPlugin uninstallPlugin(array $options = [])
110
 * @method UntagResources untagResources(array $options = [])
111
 * @method UpdateAdminPassword updateAdminPassword(array $options = [])
112
 * @method UpdateAdvancedSetting updateAdvancedSetting(array $options = [])
113
 * @method UpdateAliwsDict updateAliwsDict(array $options = [])
114
 * @method UpdateBlackIps updateBlackIps(array $options = [])
115
 * @method UpdateCollector updateCollector(array $options = [])
116
 * @method UpdateCollectorName updateCollectorName(array $options = [])
117
 * @method UpdateDescription updateDescription(array $options = [])
118
 * @method UpdateDiagnosisSettings updateDiagnosisSettings(array $options = [])
119
 * @method UpdateDict updateDict(array $options = [])
120
 * @method UpdateExtendConfig updateExtendConfig(array $options = [])
121
 * @method UpdateExtendfiles updateExtendfiles(array $options = [])
122
 * @method UpdateHotIkDicts updateHotIkDicts(array $options = [])
123
 * @method UpdateInstance updateInstance(array $options = [])
124
 * @method UpdateInstanceChargeType updateInstanceChargeType(array $options = [])
125
 * @method UpdateInstanceSettings updateInstanceSettings(array $options = [])
126
 * @method UpdateKibanaSettings updateKibanaSettings(array $options = [])
127
 * @method UpdateKibanaWhiteIps updateKibanaWhiteIps(array $options = [])
128
 * @method UpdateLogstash updateLogstash(array $options = [])
129
 * @method UpdateLogstashChargeType updateLogstashChargeType(array $options = [])
130
 * @method UpdateLogstashDescription updateLogstashDescription(array $options = [])
131
 * @method UpdateLogstashSettings updateLogstashSettings(array $options = [])
132
 * @method UpdatePipelineManagementConfig updatePipelineManagementConfig(array $options = [])
133
 * @method UpdatePipelines updatePipelines(array $options = [])
134
 * @method UpdatePrivateNetworkWhiteIps updatePrivateNetworkWhiteIps(array $options = [])
135
 * @method UpdatePublicNetwork updatePublicNetwork(array $options = [])
136
 * @method UpdatePublicWhiteIps updatePublicWhiteIps(array $options = [])
137
 * @method UpdateReadWritePolicy updateReadWritePolicy(array $options = [])
138
 * @method UpdateSnapshotSetting updateSnapshotSetting(array $options = [])
139
 * @method UpdateSynonymsDicts updateSynonymsDicts(array $options = [])
140
 * @method UpdateTemplate updateTemplate(array $options = [])
141
 * @method UpdateWhiteIps updateWhiteIps(array $options = [])
142
 * @method UpdateXpackMonitorConfig updateXpackMonitorConfig(array $options = [])
143
 * @method UpgradeEngineVersion upgradeEngineVersion(array $options = [])
144
 * @method ValidateConnection validateConnection(array $options = [])
145
 * @method ValidateShrinkNodes validateShrinkNodes(array $options = [])
146
 * @method ValidateTransferableNodes validateTransferableNodes(array $options = [])
147
 */
148
class ElasticsearchApiResolver extends ApiResolver
149
{
150
}
151
152
class Roa extends \AlibabaCloud\Client\Resolver\Roa
153
{
154
    /** @var string */
155
    public $product = 'elasticsearch';
156
157
    /** @var string */
158
    public $version = '2017-06-13';
159
160
    /** @var string */
161
    public $method = 'POST';
162
163
    /** @var string */
164
    public $serviceCode = 'elasticsearch';
165
}
166
167
/**
168
 * @method string getInstanceId()
169
 * @method $this withInstanceId($value)
170
 * @method string getClientToken()
171
 */
172
class ActivateZones extends Roa
173
{
174
    /** @var string */
175
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/recover-zones';
176
177
    /**
178
     * @param string $value
179
     *
180
     * @return $this
181
     */
182
    public function withClientToken($value)
183
    {
184
        $this->data['ClientToken'] = $value;
185
        $this->options['query']['clientToken'] = $value;
186
187
        return $this;
188
    }
189
}
190
191
/**
192
 * @method string getInstanceId()
193
 * @method $this withInstanceId($value)
194
 * @method string getClientToken()
195
 */
196
class AddConnectableCluster extends Roa
197
{
198
    /** @var string */
199
    public $pathPattern = '/openapi/instances/[InstanceId]/connected-clusters';
200
201
    /**
202
     * @param string $value
203
     *
204
     * @return $this
205
     */
206
    public function withClientToken($value)
207
    {
208
        $this->data['ClientToken'] = $value;
209
        $this->options['query']['clientToken'] = $value;
210
211
        return $this;
212
    }
213
}
214
215
/**
216
 * @method string getInstanceId()
217
 * @method $this withInstanceId($value)
218
 */
219
class AddSnapshotRepo extends Roa
220
{
221
    /** @var string */
222
    public $pathPattern = '/openapi/instances/[InstanceId]/snapshot-repos';
223
}
224
225
/**
226
 * @method string getInstanceId()
227
 * @method $this withInstanceId($value)
228
 * @method string getTaskType()
229
 * @method string getClientToken()
230
 */
231
class CancelTask extends Roa
232
{
233
    /** @var string */
234
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/cancel-task';
235
236
    /**
237
     * @param string $value
238
     *
239
     * @return $this
240
     */
241
    public function withTaskType($value)
242
    {
243
        $this->data['TaskType'] = $value;
244
        $this->options['query']['taskType'] = $value;
245
246
        return $this;
247
    }
248
249
    /**
250
     * @param string $value
251
     *
252
     * @return $this
253
     */
254
    public function withClientToken($value)
255
    {
256
        $this->data['ClientToken'] = $value;
257
        $this->options['query']['clientToken'] = $value;
258
259
        return $this;
260
    }
261
}
262
263
/**
264
 * @method string getInstanceId()
265
 * @method $this withInstanceId($value)
266
 * @method string getClientToken()
267
 * @method string getLang()
268
 */
269
class CloseDiagnosis extends Roa
270
{
271
    /** @var string */
272
    public $pathPattern = '/openapi/diagnosis/instances/[InstanceId]/actions/close-diagnosis';
273
274
    /**
275
     * @param string $value
276
     *
277
     * @return $this
278
     */
279
    public function withClientToken($value)
280
    {
281
        $this->data['ClientToken'] = $value;
282
        $this->options['query']['ClientToken'] = $value;
283
284
        return $this;
285
    }
286
287
    /**
288
     * @param string $value
289
     *
290
     * @return $this
291
     */
292
    public function withLang($value)
293
    {
294
        $this->data['Lang'] = $value;
295
        $this->options['query']['lang'] = $value;
296
297
        return $this;
298
    }
299
}
300
301
/**
302
 * @method string getInstanceId()
303
 * @method $this withInstanceId($value)
304
 * @method string getClientToken()
305
 */
306
class CloseHttps extends Roa
307
{
308
    /** @var string */
309
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/close-https';
310
311
    /**
312
     * @param string $value
313
     *
314
     * @return $this
315
     */
316
    public function withClientToken($value)
317
    {
318
        $this->data['ClientToken'] = $value;
319
        $this->options['query']['clientToken'] = $value;
320
321
        return $this;
322
    }
323
}
324
325
/**
326
 * @method string getInstanceId()
327
 * @method $this withInstanceId($value)
328
 * @method string getClientToken()
329
 */
330
class CreateDataTasks extends Roa
331
{
332
    /** @var string */
333
    public $pathPattern = '/openapi/instances/[InstanceId]/data-task';
334
335
    /**
336
     * @param string $value
337
     *
338
     * @return $this
339
     */
340
    public function withClientToken($value)
341
    {
342
        $this->data['ClientToken'] = $value;
343
        $this->options['query']['ClientToken'] = $value;
344
345
        return $this;
346
    }
347
}
348
349
/**
350
 * @method string getClientToken()
351
 */
352
class CreateInstance extends Roa
353
{
354
    /** @var string */
355
    public $pathPattern = '/openapi/instances';
356
357
    /**
358
     * @param string $value
359
     *
360
     * @return $this
361
     */
362
    public function withClientToken($value)
363
    {
364
        $this->data['ClientToken'] = $value;
365
        $this->options['query']['clientToken'] = $value;
366
367
        return $this;
368
    }
369
}
370
371
/**
372
 * @method string getClientToken()
373
 */
374
class CreateLogstash extends Roa
375
{
376
    /** @var string */
377
    public $pathPattern = '/openapi/logstashes';
378
379
    /**
380
     * @param string $value
381
     *
382
     * @return $this
383
     */
384
    public function withClientToken($value)
385
    {
386
        $this->data['ClientToken'] = $value;
387
        $this->options['query']['clientToken'] = $value;
388
389
        return $this;
390
    }
391
}
392
393
/**
394
 * @method string getInstanceId()
395
 * @method $this withInstanceId($value)
396
 * @method string getClientToken()
397
 * @method string getTrigger()
398
 */
399
class CreatePipelines extends Roa
400
{
401
    /** @var string */
402
    public $pathPattern = '/openapi/logstashes/[InstanceId]/pipelines';
403
404
    /**
405
     * @param string $value
406
     *
407
     * @return $this
408
     */
409
    public function withClientToken($value)
410
    {
411
        $this->data['ClientToken'] = $value;
412
        $this->options['query']['ClientToken'] = $value;
413
414
        return $this;
415
    }
416
417
    /**
418
     * @param string $value
419
     *
420
     * @return $this
421
     */
422
    public function withTrigger($value)
423
    {
424
        $this->data['Trigger'] = $value;
425
        $this->options['query']['trigger'] = $value;
426
427
        return $this;
428
    }
429
}
430
431
/**
432
 * @method string getClientToken()
433
 */
434
class CreateProject extends Roa
435
{
436
    /** @var string */
437
    public $pathPattern = '/openapi/projects';
438
439
    /**
440
     * @param string $value
441
     *
442
     * @return $this
443
     */
444
    public function withClientToken($value)
445
    {
446
        $this->data['ClientToken'] = $value;
447
        $this->options['query']['clientToken'] = $value;
448
449
        return $this;
450
    }
451
}
452
453
/**
454
 * @method string getInstanceId()
455
 * @method $this withInstanceId($value)
456
 * @method string getClientToken()
457
 */
458
class CreateSnapshot extends Roa
459
{
460
    /** @var string */
461
    public $pathPattern = '/openapi/instances/[InstanceId]/snapshots';
462
463
    /**
464
     * @param string $value
465
     *
466
     * @return $this
467
     */
468
    public function withClientToken($value)
469
    {
470
        $this->data['ClientToken'] = $value;
471
        $this->options['query']['ClientToken'] = $value;
472
473
        return $this;
474
    }
475
}
476
477
/**
478
 * @method string getInstanceId()
479
 * @method $this withInstanceId($value)
480
 * @method string getClientToken()
481
 */
482
class DeactivateZones extends Roa
483
{
484
    /** @var string */
485
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/down-zones';
486
487
    /**
488
     * @param string $value
489
     *
490
     * @return $this
491
     */
492
    public function withClientToken($value)
493
    {
494
        $this->data['ClientToken'] = $value;
495
        $this->options['query']['clientToken'] = $value;
496
497
        return $this;
498
    }
499
}
500
501
/**
502
 * @method string getClientToken()
503
 * @method string getResId()
504
 * @method $this withResId($value)
505
 */
506
class DeleteCollector extends Roa
507
{
508
    /** @var string */
509
    public $pathPattern = '/openapi/collectors/[ResId]';
510
511
    /** @var string */
512
    public $method = 'DELETE';
513
514
    /**
515
     * @param string $value
516
     *
517
     * @return $this
518
     */
519
    public function withClientToken($value)
520
    {
521
        $this->data['ClientToken'] = $value;
522
        $this->options['query']['ClientToken'] = $value;
523
524
        return $this;
525
    }
526
}
527
528
/**
529
 * @method string getInstanceId()
530
 * @method $this withInstanceId($value)
531
 * @method string getClientToken()
532
 * @method string getConnectedInstanceId()
533
 */
534
class DeleteConnectedCluster extends Roa
535
{
536
    /** @var string */
537
    public $pathPattern = '/openapi/instances/[InstanceId]/connected-clusters';
538
539
    /** @var string */
540
    public $method = 'DELETE';
541
542
    /**
543
     * @param string $value
544
     *
545
     * @return $this
546
     */
547
    public function withClientToken($value)
548
    {
549
        $this->data['ClientToken'] = $value;
550
        $this->options['query']['clientToken'] = $value;
551
552
        return $this;
553
    }
554
555
    /**
556
     * @param string $value
557
     *
558
     * @return $this
559
     */
560
    public function withConnectedInstanceId($value)
561
    {
562
        $this->data['ConnectedInstanceId'] = $value;
563
        $this->options['query']['connectedInstanceId'] = $value;
564
565
        return $this;
566
    }
567
}
568
569
/**
570
 * @method string getInstanceId()
571
 * @method $this withInstanceId($value)
572
 * @method string getClientToken()
573
 * @method string getTaskId()
574
 */
575
class DeleteDataTask extends Roa
576
{
577
    /** @var string */
578
    public $pathPattern = '/openapi/instances/[InstanceId]/data-task';
579
580
    /** @var string */
581
    public $method = 'DELETE';
582
583
    /**
584
     * @param string $value
585
     *
586
     * @return $this
587
     */
588
    public function withClientToken($value)
589
    {
590
        $this->data['ClientToken'] = $value;
591
        $this->options['query']['ClientToken'] = $value;
592
593
        return $this;
594
    }
595
596
    /**
597
     * @param string $value
598
     *
599
     * @return $this
600
     */
601
    public function withTaskId($value)
602
    {
603
        $this->data['TaskId'] = $value;
604
        $this->options['query']['taskId'] = $value;
605
606
        return $this;
607
    }
608
}
609
610
/**
611
 * @method string getInstanceId()
612
 * @method $this withInstanceId($value)
613
 * @method string getClientToken()
614
 */
615
class DeleteInstance extends Roa
616
{
617
    /** @var string */
618
    public $pathPattern = '/openapi/instances/[InstanceId]';
619
620
    /** @var string */
621
    public $method = 'DELETE';
622
623
    /**
624
     * @param string $value
625
     *
626
     * @return $this
627
     */
628
    public function withClientToken($value)
629
    {
630
        $this->data['ClientToken'] = $value;
631
        $this->options['query']['clientToken'] = $value;
632
633
        return $this;
634
    }
635
}
636
637
/**
638
 * @method string getInstanceId()
639
 * @method $this withInstanceId($value)
640
 * @method string getClientToken()
641
 */
642
class DeleteLogstash extends Roa
643
{
644
    /** @var string */
645
    public $pathPattern = '/openapi/logstashes/[InstanceId]';
646
647
    /** @var string */
648
    public $method = 'DELETE';
649
650
    /**
651
     * @param string $value
652
     *
653
     * @return $this
654
     */
655
    public function withClientToken($value)
656
    {
657
        $this->data['ClientToken'] = $value;
658
        $this->options['query']['clientToken'] = $value;
659
660
        return $this;
661
    }
662
}
663
664
/**
665
 * @method string getInstanceId()
666
 * @method $this withInstanceId($value)
667
 * @method string getClientToken()
668
 * @method string getPipelineIds()
669
 */
670
class DeletePipelines extends Roa
671
{
672
    /** @var string */
673
    public $pathPattern = '/openapi/logstashes/[InstanceId]/pipelines';
674
675
    /** @var string */
676
    public $method = 'DELETE';
677
678
    /**
679
     * @param string $value
680
     *
681
     * @return $this
682
     */
683
    public function withClientToken($value)
684
    {
685
        $this->data['ClientToken'] = $value;
686
        $this->options['query']['ClientToken'] = $value;
687
688
        return $this;
689
    }
690
691
    /**
692
     * @param string $value
693
     *
694
     * @return $this
695
     */
696
    public function withPipelineIds($value)
697
    {
698
        $this->data['PipelineIds'] = $value;
699
        $this->options['query']['pipelineIds'] = $value;
700
701
        return $this;
702
    }
703
}
704
705
/**
706
 * @method string getClientToken()
707
 * @method string getId()
708
 * @method $this withId($value)
709
 */
710
class DeleteProject extends Roa
711
{
712
    /** @var string */
713
    public $pathPattern = '/openapi/projects/[Id]';
714
715
    /** @var string */
716
    public $method = 'DELETE';
717
718
    /**
719
     * @param string $value
720
     *
721
     * @return $this
722
     */
723
    public function withClientToken($value)
724
    {
725
        $this->data['ClientToken'] = $value;
726
        $this->options['query']['clientToken'] = $value;
727
728
        return $this;
729
    }
730
}
731
732
/**
733
 * @method string getInstanceId()
734
 * @method $this withInstanceId($value)
735
 * @method string getClientToken()
736
 * @method string getRepoPath()
737
 */
738
class DeleteSnapshotRepo extends Roa
739
{
740
    /** @var string */
741
    public $pathPattern = '/openapi/instances/[InstanceId]/snapshot-repos';
742
743
    /** @var string */
744
    public $method = 'DELETE';
745
746
    /**
747
     * @param string $value
748
     *
749
     * @return $this
750
     */
751
    public function withClientToken($value)
752
    {
753
        $this->data['ClientToken'] = $value;
754
        $this->options['query']['clientToken'] = $value;
755
756
        return $this;
757
    }
758
759
    /**
760
     * @param string $value
761
     *
762
     * @return $this
763
     */
764
    public function withRepoPath($value)
765
    {
766
        $this->data['RepoPath'] = $value;
767
        $this->options['query']['repoPath'] = $value;
768
769
        return $this;
770
    }
771
}
772
773
/**
774
 * @method string getResId()
775
 * @method $this withResId($value)
776
 */
777
class DescribeCollector extends Roa
778
{
779
    /** @var string */
780
    public $pathPattern = '/openapi/collectors/[ResId]';
781
782
    /** @var string */
783
    public $method = 'GET';
784
}
785
786
/**
787
 * @method string getInstanceId()
788
 * @method $this withInstanceId($value)
789
 * @method string getAlreadySetItems()
790
 */
791
class DescribeConnectableClusters extends Roa
792
{
793
    /** @var string */
794
    public $pathPattern = '/openapi/instances/[InstanceId]/connectable-clusters';
795
796
    /** @var string */
797
    public $method = 'GET';
798
799
    /**
800
     * @param string $value
801
     *
802
     * @return $this
803
     */
804
    public function withAlreadySetItems($value)
805
    {
806
        $this->data['AlreadySetItems'] = $value;
807
        $this->options['query']['alreadySetItems'] = $value;
808
809
        return $this;
810
    }
811
}
812
813
/**
814
 * @method string getInstanceId()
815
 * @method $this withInstanceId($value)
816
 * @method string getReportId()
817
 * @method $this withReportId($value)
818
 * @method string getLang()
819
 */
820
class DescribeDiagnoseReport extends Roa
821
{
822
    /** @var string */
823
    public $pathPattern = '/openapi/diagnosis/instances/[InstanceId]/reports/[ReportId]';
824
825
    /** @var string */
826
    public $method = 'GET';
827
828
    /**
829
     * @param string $value
830
     *
831
     * @return $this
832
     */
833
    public function withLang($value)
834
    {
835
        $this->data['Lang'] = $value;
836
        $this->options['query']['lang'] = $value;
837
838
        return $this;
839
    }
840
}
841
842
/**
843
 * @method string getInstanceId()
844
 * @method $this withInstanceId($value)
845
 * @method string getLang()
846
 */
847
class DescribeDiagnosisSettings extends Roa
848
{
849
    /** @var string */
850
    public $pathPattern = '/openapi/diagnosis/instances/[InstanceId]/settings';
851
852
    /** @var string */
853
    public $method = 'GET';
854
855
    /**
856
     * @param string $value
857
     *
858
     * @return $this
859
     */
860
    public function withLang($value)
861
    {
862
        $this->data['Lang'] = $value;
863
        $this->options['query']['lang'] = $value;
864
865
        return $this;
866
    }
867
}
868
869
/**
870
 * @method string getInstanceId()
871
 * @method $this withInstanceId($value)
872
 */
873
class DescribeElasticsearchHealth extends Roa
874
{
875
    /** @var string */
876
    public $pathPattern = '/openapi/instances/[InstanceId]/elasticsearch-health';
877
878
    /** @var string */
879
    public $method = 'GET';
880
}
881
882
/**
883
 * @method string getInstanceId()
884
 * @method $this withInstanceId($value)
885
 */
886
class DescribeInstance extends Roa
887
{
888
    /** @var string */
889
    public $pathPattern = '/openapi/instances/[InstanceId]';
890
891
    /** @var string */
892
    public $method = 'GET';
893
}
894
895
/**
896
 * @method string getInstanceId()
897
 * @method $this withInstanceId($value)
898
 */
899
class DescribeKibanaSettings extends Roa
900
{
901
    /** @var string */
902
    public $pathPattern = '/openapi/instances/[InstanceId]/kibana-settings';
903
904
    /** @var string */
905
    public $method = 'GET';
906
}
907
908
/**
909
 * @method string getInstanceId()
910
 * @method $this withInstanceId($value)
911
 */
912
class DescribeLogstash extends Roa
913
{
914
    /** @var string */
915
    public $pathPattern = '/openapi/logstashes/[InstanceId]';
916
917
    /** @var string */
918
    public $method = 'GET';
919
}
920
921
/**
922
 * @method string getInstanceId()
923
 * @method $this withInstanceId($value)
924
 * @method string getPipelineId()
925
 * @method $this withPipelineId($value)
926
 */
927
class DescribePipeline extends Roa
928
{
929
    /** @var string */
930
    public $pathPattern = '/openapi/logstashes/[InstanceId]/pipelines/[PipelineId]';
931
932
    /** @var string */
933
    public $method = 'GET';
934
}
935
936
/**
937
 * @method string getInstanceId()
938
 * @method $this withInstanceId($value)
939
 * @method string getClientToken()
940
 */
941
class DescribePipelineManagementConfig extends Roa
942
{
943
    /** @var string */
944
    public $pathPattern = '/openapi/logstashes/[InstanceId]/pipeline-management-config';
945
946
    /** @var string */
947
    public $method = 'GET';
948
949
    /**
950
     * @param string $value
951
     *
952
     * @return $this
953
     */
954
    public function withClientToken($value)
955
    {
956
        $this->data['ClientToken'] = $value;
957
        $this->options['query']['clientToken'] = $value;
958
959
        return $this;
960
    }
961
}
962
963
class DescribeRegions extends Roa
964
{
965
    /** @var string */
966
    public $pathPattern = '/openapi/regions';
967
968
    /** @var string */
969
    public $method = 'GET';
970
}
971
972
/**
973
 * @method string getInstanceId()
974
 * @method $this withInstanceId($value)
975
 */
976
class DescribeSnapshotSetting extends Roa
977
{
978
    /** @var string */
979
    public $pathPattern = '/openapi/instances/[InstanceId]/snapshot-setting';
980
981
    /** @var string */
982
    public $method = 'GET';
983
}
984
985
/**
986
 * @method string getInstanceId()
987
 * @method $this withInstanceId($value)
988
 */
989
class DescribeTemplates extends Roa
990
{
991
    /** @var string */
992
    public $pathPattern = '/openapi/instances/[InstanceId]/templates';
993
994
    /** @var string */
995
    public $method = 'GET';
996
}
997
998
/**
999
 * @method string getInstanceId()
1000
 * @method $this withInstanceId($value)
1001
 */
1002
class DescribeXpackMonitorConfig extends Roa
1003
{
1004
    /** @var string */
1005
    public $pathPattern = '/openapi/logstashes/[InstanceId]/xpack-monitor-config';
1006
1007
    /** @var string */
1008
    public $method = 'GET';
1009
}
1010
1011
/**
1012
 * @method string getInstanceId()
1013
 * @method $this withInstanceId($value)
1014
 * @method string getClientToken()
1015
 * @method string getLang()
1016
 */
1017
class DiagnoseInstance extends Roa
1018
{
1019
    /** @var string */
1020
    public $pathPattern = '/openapi/diagnosis/instances/[InstanceId]/actions/diagnose';
1021
1022
    /**
1023
     * @param string $value
1024
     *
1025
     * @return $this
1026
     */
1027
    public function withClientToken($value)
1028
    {
1029
        $this->data['ClientToken'] = $value;
1030
        $this->options['query']['ClientToken'] = $value;
1031
1032
        return $this;
1033
    }
1034
1035
    /**
1036
     * @param string $value
1037
     *
1038
     * @return $this
1039
     */
1040
    public function withLang($value)
1041
    {
1042
        $this->data['Lang'] = $value;
1043
        $this->options['query']['lang'] = $value;
1044
1045
        return $this;
1046
    }
1047
}
1048
1049
/**
1050
 * @method string getInstanceId()
1051
 * @method $this withInstanceId($value)
1052
 * @method string getForce()
1053
 */
1054
class EstimatedLogstashRestartTime extends Roa
1055
{
1056
    /** @var string */
1057
    public $pathPattern = '/openapi/logstashes/[InstanceId]/estimated-time/restart-time';
1058
1059
    /**
1060
     * @param string $value
1061
     *
1062
     * @return $this
1063
     */
1064
    public function withForce($value)
1065
    {
1066
        $this->data['Force'] = $value;
1067
        $this->options['query']['force'] = $value;
1068
1069
        return $this;
1070
    }
1071
}
1072
1073
/**
1074
 * @method string getInstanceId()
1075
 * @method $this withInstanceId($value)
1076
 * @method string getForce()
1077
 */
1078
class EstimatedRestartTime extends Roa
1079
{
1080
    /** @var string */
1081
    public $pathPattern = '/openapi/instances/[InstanceId]/estimated-time/restart-time';
1082
1083
    /**
1084
     * @param string $value
1085
     *
1086
     * @return $this
1087
     */
1088
    public function withForce($value)
1089
    {
1090
        $this->data['Force'] = $value;
1091
        $this->options['query']['force'] = $value;
1092
1093
        return $this;
1094
    }
1095
}
1096
1097
class GetClusterDataInformation extends Roa
1098
{
1099
    /** @var string */
1100
    public $pathPattern = '/openapi/cluster/data-information';
1101
}
1102
1103
/**
1104
 * @method string getInstanceId()
1105
 * @method $this withInstanceId($value)
1106
 */
1107
class GetElastictask extends Roa
1108
{
1109
    /** @var string */
1110
    public $pathPattern = '/openapi/instances/[InstanceId]/elastic-task';
1111
1112
    /** @var string */
1113
    public $method = 'GET';
1114
}
1115
1116
/**
1117
 * @method string getProjectId()
1118
 * @method $this withProjectId($value)
1119
 */
1120
class GetEmonMonitorData extends Roa
1121
{
1122
    /** @var string */
1123
    public $pathPattern = '/openapi/emon/projects/[ProjectId]/metrics/query';
1124
}
1125
1126
/**
1127
 * @method string getZoneId()
1128
 */
1129
class GetRegionConfiguration extends Roa
1130
{
1131
    /** @var string */
1132
    public $pathPattern = '/openapi/region';
1133
1134
    /** @var string */
1135
    public $method = 'GET';
1136
1137
    /**
1138
     * @param string $value
1139
     *
1140
     * @return $this
1141
     */
1142
    public function withZoneId($value)
1143
    {
1144
        $this->data['ZoneId'] = $value;
1145
        $this->options['query']['zoneId'] = $value;
1146
1147
        return $this;
1148
    }
1149
}
1150
1151
/**
1152
 * @method string getIgnoreStatus()
1153
 * @method string getInstanceId()
1154
 * @method $this withInstanceId($value)
1155
 * @method string getNodeType()
1156
 * @method string getCount()
1157
 */
1158
class GetSuggestShrinkableNodes extends Roa
1159
{
1160
    /** @var string */
1161
    public $pathPattern = '/openapi/instances/[InstanceId]/suggest-shrinkable-nodes';
1162
1163
    /** @var string */
1164
    public $method = 'GET';
1165
1166
    /**
1167
     * @param string $value
1168
     *
1169
     * @return $this
1170
     */
1171
    public function withIgnoreStatus($value)
1172
    {
1173
        $this->data['IgnoreStatus'] = $value;
1174
        $this->options['query']['ignoreStatus'] = $value;
1175
1176
        return $this;
1177
    }
1178
1179
    /**
1180
     * @param string $value
1181
     *
1182
     * @return $this
1183
     */
1184
    public function withNodeType($value)
1185
    {
1186
        $this->data['NodeType'] = $value;
1187
        $this->options['query']['nodeType'] = $value;
1188
1189
        return $this;
1190
    }
1191
1192
    /**
1193
     * @param string $value
1194
     *
1195
     * @return $this
1196
     */
1197
    public function withCount($value)
1198
    {
1199
        $this->data['Count'] = $value;
1200
        $this->options['query']['count'] = $value;
1201
1202
        return $this;
1203
    }
1204
}
1205
1206
/**
1207
 * @method string getInstanceId()
1208
 * @method $this withInstanceId($value)
1209
 * @method string getNodeType()
1210
 * @method string getCount()
1211
 */
1212
class GetTransferableNodes extends Roa
1213
{
1214
    /** @var string */
1215
    public $pathPattern = '/openapi/instances/[InstanceId]/transferable-nodes';
1216
1217
    /** @var string */
1218
    public $method = 'GET';
1219
1220
    /**
1221
     * @param string $value
1222
     *
1223
     * @return $this
1224
     */
1225
    public function withNodeType($value)
1226
    {
1227
        $this->data['NodeType'] = $value;
1228
        $this->options['query']['nodeType'] = $value;
1229
1230
        return $this;
1231
    }
1232
1233
    /**
1234
     * @param string $value
1235
     *
1236
     * @return $this
1237
     */
1238
    public function withCount($value)
1239
    {
1240
        $this->data['Count'] = $value;
1241
        $this->options['query']['count'] = $value;
1242
1243
        return $this;
1244
    }
1245
}
1246
1247
/**
1248
 * @method string getInstanceId()
1249
 * @method $this withInstanceId($value)
1250
 * @method string getClientToken()
1251
 */
1252
class InstallKibanaSystemPlugin extends Roa
1253
{
1254
    /** @var string */
1255
    public $pathPattern = '/openapi/instances/[InstanceId]/kibana-plugins/system/actions/install';
1256
1257
    /**
1258
     * @param string $value
1259
     *
1260
     * @return $this
1261
     */
1262
    public function withClientToken($value)
1263
    {
1264
        $this->data['ClientToken'] = $value;
1265
        $this->options['query']['clientToken'] = $value;
1266
1267
        return $this;
1268
    }
1269
}
1270
1271
/**
1272
 * @method string getInstanceId()
1273
 * @method $this withInstanceId($value)
1274
 * @method string getClientToken()
1275
 */
1276
class InstallLogstashSystemPlugin extends Roa
1277
{
1278
    /** @var string */
1279
    public $pathPattern = '/openapi/logstashes/[InstanceId]/plugins/system/actions/install';
1280
1281
    /**
1282
     * @param string $value
1283
     *
1284
     * @return $this
1285
     */
1286
    public function withClientToken($value)
1287
    {
1288
        $this->data['ClientToken'] = $value;
1289
        $this->options['query']['clientToken'] = $value;
1290
1291
        return $this;
1292
    }
1293
}
1294
1295
/**
1296
 * @method string getInstanceId()
1297
 * @method $this withInstanceId($value)
1298
 * @method string getClientToken()
1299
 */
1300
class InstallSystemPlugin extends Roa
1301
{
1302
    /** @var string */
1303
    public $pathPattern = '/openapi/instances/[InstanceId]/plugins/system/actions/install';
1304
1305
    /**
1306
     * @param string $value
1307
     *
1308
     * @return $this
1309
     */
1310
    public function withClientToken($value)
1311
    {
1312
        $this->data['ClientToken'] = $value;
1313
        $this->options['query']['clientToken'] = $value;
1314
1315
        return $this;
1316
    }
1317
}
1318
1319
/**
1320
 * @method string getInstanceId()
1321
 * @method $this withInstanceId($value)
1322
 */
1323
class InstallUserPlugins extends Roa
1324
{
1325
    /** @var string */
1326
    public $pathPattern = '/openapi/instances/[InstanceId]/plugins/user/actions/install';
1327
}
1328
1329
/**
1330
 * @method string getInstanceId()
1331
 * @method $this withInstanceId($value)
1332
 * @method string getClientToken()
1333
 */
1334
class InterruptElasticsearchTask extends Roa
1335
{
1336
    /** @var string */
1337
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/interrupt';
1338
1339
    /**
1340
     * @param string $value
1341
     *
1342
     * @return $this
1343
     */
1344
    public function withClientToken($value)
1345
    {
1346
        $this->data['ClientToken'] = $value;
1347
        $this->options['query']['clientToken'] = $value;
1348
1349
        return $this;
1350
    }
1351
}
1352
1353
/**
1354
 * @method string getInstanceId()
1355
 * @method $this withInstanceId($value)
1356
 * @method string getClientToken()
1357
 */
1358
class InterruptLogstashTask extends Roa
1359
{
1360
    /** @var string */
1361
    public $pathPattern = '/openapi/logstashes/[InstanceId]/actions/interrupt';
1362
1363
    /**
1364
     * @param string $value
1365
     *
1366
     * @return $this
1367
     */
1368
    public function withClientToken($value)
1369
    {
1370
        $this->data['ClientToken'] = $value;
1371
        $this->options['query']['clientToken'] = $value;
1372
1373
        return $this;
1374
    }
1375
}
1376
1377
/**
1378
 * @method string getInstanceId()
1379
 * @method $this withInstanceId($value)
1380
 */
1381
class ListAllNode extends Roa
1382
{
1383
    /** @var string */
1384
    public $pathPattern = '/openapi/instances/[InstanceId]/nodes';
1385
1386
    /** @var string */
1387
    public $method = 'GET';
1388
}
1389
1390
/**
1391
 * @method string getInstanceId()
1392
 * @method $this withInstanceId($value)
1393
 * @method string getAlreadySetItems()
1394
 */
1395
class ListAlternativeSnapshotRepos extends Roa
1396
{
1397
    /** @var string */
1398
    public $pathPattern = '/openapi/instances/[InstanceId]/alternative-snapshot-repos';
1399
1400
    /** @var string */
1401
    public $method = 'GET';
1402
1403
    /**
1404
     * @param string $value
1405
     *
1406
     * @return $this
1407
     */
1408
    public function withAlreadySetItems($value)
1409
    {
1410
        $this->data['AlreadySetItems'] = $value;
1411
        $this->options['query']['alreadySetItems'] = $value;
1412
1413
        return $this;
1414
    }
1415
}
1416
1417
/**
1418
 * @method string getInstanceId()
1419
 * @method $this withInstanceId($value)
1420
 */
1421
class ListAvailableEsInstanceIds extends Roa
1422
{
1423
    /** @var string */
1424
    public $pathPattern = '/openapi/logstashes/[InstanceId]/available-elasticsearch-for-centralized-management';
1425
1426
    /** @var string */
1427
    public $method = 'GET';
1428
}
1429
1430
/**
1431
 * @method string getInstanceId()
1432
 * @method string getSize()
1433
 * @method string getName()
1434
 * @method string getPage()
1435
 * @method string getResId()
1436
 */
1437
class ListCollectors extends Roa
1438
{
1439
    /** @var string */
1440
    public $pathPattern = '/openapi/collectors';
1441
1442
    /** @var string */
1443
    public $method = 'GET';
1444
1445
    /**
1446
     * @param string $value
1447
     *
1448
     * @return $this
1449
     */
1450
    public function withInstanceId($value)
1451
    {
1452
        $this->data['InstanceId'] = $value;
1453
        $this->options['query']['instanceId'] = $value;
1454
1455
        return $this;
1456
    }
1457
1458
    /**
1459
     * @param string $value
1460
     *
1461
     * @return $this
1462
     */
1463
    public function withSize($value)
1464
    {
1465
        $this->data['Size'] = $value;
1466
        $this->options['query']['size'] = $value;
1467
1468
        return $this;
1469
    }
1470
1471
    /**
1472
     * @param string $value
1473
     *
1474
     * @return $this
1475
     */
1476
    public function withName($value)
1477
    {
1478
        $this->data['Name'] = $value;
1479
        $this->options['query']['name'] = $value;
1480
1481
        return $this;
1482
    }
1483
1484
    /**
1485
     * @param string $value
1486
     *
1487
     * @return $this
1488
     */
1489
    public function withPage($value)
1490
    {
1491
        $this->data['Page'] = $value;
1492
        $this->options['query']['page'] = $value;
1493
1494
        return $this;
1495
    }
1496
1497
    /**
1498
     * @param string $value
1499
     *
1500
     * @return $this
1501
     */
1502
    public function withResId($value)
1503
    {
1504
        $this->data['ResId'] = $value;
1505
        $this->options['query']['resId'] = $value;
1506
1507
        return $this;
1508
    }
1509
}
1510
1511
/**
1512
 * @method string getInstanceId()
1513
 * @method $this withInstanceId($value)
1514
 */
1515
class ListConnectedClusters extends Roa
1516
{
1517
    /** @var string */
1518
    public $pathPattern = '/openapi/instances/[InstanceId]/connected-clusters';
1519
1520
    /** @var string */
1521
    public $method = 'GET';
1522
}
1523
1524
/**
1525
 * @method string getInstanceId()
1526
 * @method $this withInstanceId($value)
1527
 */
1528
class ListDataTasks extends Roa
1529
{
1530
    /** @var string */
1531
    public $pathPattern = '/openapi/instances/[InstanceId]/data-task';
1532
1533
    /** @var string */
1534
    public $method = 'GET';
1535
}
1536
1537
/**
1538
 * @method string getInstanceId()
1539
 * @method $this withInstanceId($value)
1540
 * @method string getSize()
1541
 * @method string getEndTime()
1542
 * @method string getStartTime()
1543
 * @method string getPage()
1544
 * @method string getDetail()
1545
 * @method string getTrigger()
1546
 * @method string getLang()
1547
 */
1548
class ListDiagnoseReport extends Roa
1549
{
1550
    /** @var string */
1551
    public $pathPattern = '/openapi/diagnosis/instances/[InstanceId]/reports';
1552
1553
    /** @var string */
1554
    public $method = 'GET';
1555
1556
    /**
1557
     * @param string $value
1558
     *
1559
     * @return $this
1560
     */
1561
    public function withSize($value)
1562
    {
1563
        $this->data['Size'] = $value;
1564
        $this->options['query']['size'] = $value;
1565
1566
        return $this;
1567
    }
1568
1569
    /**
1570
     * @param string $value
1571
     *
1572
     * @return $this
1573
     */
1574
    public function withEndTime($value)
1575
    {
1576
        $this->data['EndTime'] = $value;
1577
        $this->options['query']['endTime'] = $value;
1578
1579
        return $this;
1580
    }
1581
1582
    /**
1583
     * @param string $value
1584
     *
1585
     * @return $this
1586
     */
1587
    public function withStartTime($value)
1588
    {
1589
        $this->data['StartTime'] = $value;
1590
        $this->options['query']['startTime'] = $value;
1591
1592
        return $this;
1593
    }
1594
1595
    /**
1596
     * @param string $value
1597
     *
1598
     * @return $this
1599
     */
1600
    public function withPage($value)
1601
    {
1602
        $this->data['Page'] = $value;
1603
        $this->options['query']['page'] = $value;
1604
1605
        return $this;
1606
    }
1607
1608
    /**
1609
     * @param string $value
1610
     *
1611
     * @return $this
1612
     */
1613
    public function withDetail($value)
1614
    {
1615
        $this->data['Detail'] = $value;
1616
        $this->options['query']['detail'] = $value;
1617
1618
        return $this;
1619
    }
1620
1621
    /**
1622
     * @param string $value
1623
     *
1624
     * @return $this
1625
     */
1626
    public function withTrigger($value)
1627
    {
1628
        $this->data['Trigger'] = $value;
1629
        $this->options['query']['trigger'] = $value;
1630
1631
        return $this;
1632
    }
1633
1634
    /**
1635
     * @param string $value
1636
     *
1637
     * @return $this
1638
     */
1639
    public function withLang($value)
1640
    {
1641
        $this->data['Lang'] = $value;
1642
        $this->options['query']['lang'] = $value;
1643
1644
        return $this;
1645
    }
1646
}
1647
1648
/**
1649
 * @method string getInstanceId()
1650
 * @method $this withInstanceId($value)
1651
 * @method string getSize()
1652
 * @method string getEndTime()
1653
 * @method string getStartTime()
1654
 * @method string getPage()
1655
 * @method string getTrigger()
1656
 * @method string getLang()
1657
 */
1658
class ListDiagnoseReportIds extends Roa
1659
{
1660
    /** @var string */
1661
    public $pathPattern = '/openapi/diagnosis/instances/[InstanceId]/report-ids';
1662
1663
    /** @var string */
1664
    public $method = 'GET';
1665
1666
    /**
1667
     * @param string $value
1668
     *
1669
     * @return $this
1670
     */
1671
    public function withSize($value)
1672
    {
1673
        $this->data['Size'] = $value;
1674
        $this->options['query']['size'] = $value;
1675
1676
        return $this;
1677
    }
1678
1679
    /**
1680
     * @param string $value
1681
     *
1682
     * @return $this
1683
     */
1684
    public function withEndTime($value)
1685
    {
1686
        $this->data['EndTime'] = $value;
1687
        $this->options['query']['endTime'] = $value;
1688
1689
        return $this;
1690
    }
1691
1692
    /**
1693
     * @param string $value
1694
     *
1695
     * @return $this
1696
     */
1697
    public function withStartTime($value)
1698
    {
1699
        $this->data['StartTime'] = $value;
1700
        $this->options['query']['startTime'] = $value;
1701
1702
        return $this;
1703
    }
1704
1705
    /**
1706
     * @param string $value
1707
     *
1708
     * @return $this
1709
     */
1710
    public function withPage($value)
1711
    {
1712
        $this->data['Page'] = $value;
1713
        $this->options['query']['page'] = $value;
1714
1715
        return $this;
1716
    }
1717
1718
    /**
1719
     * @param string $value
1720
     *
1721
     * @return $this
1722
     */
1723
    public function withTrigger($value)
1724
    {
1725
        $this->data['Trigger'] = $value;
1726
        $this->options['query']['trigger'] = $value;
1727
1728
        return $this;
1729
    }
1730
1731
    /**
1732
     * @param string $value
1733
     *
1734
     * @return $this
1735
     */
1736
    public function withLang($value)
1737
    {
1738
        $this->data['Lang'] = $value;
1739
        $this->options['query']['lang'] = $value;
1740
1741
        return $this;
1742
    }
1743
}
1744
1745
/**
1746
 * @method string getInstanceId()
1747
 * @method $this withInstanceId($value)
1748
 * @method string getAnalyzerType()
1749
 * @method string getBucketName()
1750
 * @method string getKey()
1751
 */
1752
class ListDictInformation extends Roa
1753
{
1754
    /** @var string */
1755
    public $pathPattern = '/openapi/instances/[InstanceId]/dict/_info';
1756
1757
    /** @var string */
1758
    public $method = 'GET';
1759
1760
    /**
1761
     * @param string $value
1762
     *
1763
     * @return $this
1764
     */
1765
    public function withAnalyzerType($value)
1766
    {
1767
        $this->data['AnalyzerType'] = $value;
1768
        $this->options['query']['analyzerType'] = $value;
1769
1770
        return $this;
1771
    }
1772
1773
    /**
1774
     * @param string $value
1775
     *
1776
     * @return $this
1777
     */
1778
    public function withBucketName($value)
1779
    {
1780
        $this->data['BucketName'] = $value;
1781
        $this->options['query']['bucketName'] = $value;
1782
1783
        return $this;
1784
    }
1785
1786
    /**
1787
     * @param string $value
1788
     *
1789
     * @return $this
1790
     */
1791
    public function withKey($value)
1792
    {
1793
        $this->data['Key'] = $value;
1794
        $this->options['query']['key'] = $value;
1795
1796
        return $this;
1797
    }
1798
}
1799
1800
/**
1801
 * @method string getEcsInstanceName()
1802
 * @method string getEcsInstanceIds()
1803
 * @method string getSize()
1804
 * @method string getVpcId()
1805
 * @method string getPage()
1806
 * @method string getTags()
1807
 */
1808
class ListEcsInstances extends Roa
1809
{
1810
    /** @var string */
1811
    public $pathPattern = '/openapi/ecs';
1812
1813
    /** @var string */
1814
    public $method = 'GET';
1815
1816
    /**
1817
     * @param string $value
1818
     *
1819
     * @return $this
1820
     */
1821
    public function withEcsInstanceName($value)
1822
    {
1823
        $this->data['EcsInstanceName'] = $value;
1824
        $this->options['query']['ecsInstanceName'] = $value;
1825
1826
        return $this;
1827
    }
1828
1829
    /**
1830
     * @param string $value
1831
     *
1832
     * @return $this
1833
     */
1834
    public function withEcsInstanceIds($value)
1835
    {
1836
        $this->data['EcsInstanceIds'] = $value;
1837
        $this->options['query']['ecsInstanceIds'] = $value;
1838
1839
        return $this;
1840
    }
1841
1842
    /**
1843
     * @param string $value
1844
     *
1845
     * @return $this
1846
     */
1847
    public function withSize($value)
1848
    {
1849
        $this->data['Size'] = $value;
1850
        $this->options['query']['size'] = $value;
1851
1852
        return $this;
1853
    }
1854
1855
    /**
1856
     * @param string $value
1857
     *
1858
     * @return $this
1859
     */
1860
    public function withVpcId($value)
1861
    {
1862
        $this->data['VpcId'] = $value;
1863
        $this->options['query']['vpcId'] = $value;
1864
1865
        return $this;
1866
    }
1867
1868
    /**
1869
     * @param string $value
1870
     *
1871
     * @return $this
1872
     */
1873
    public function withPage($value)
1874
    {
1875
        $this->data['Page'] = $value;
1876
        $this->options['query']['page'] = $value;
1877
1878
        return $this;
1879
    }
1880
1881
    /**
1882
     * @param string $value
1883
     *
1884
     * @return $this
1885
     */
1886
    public function withTags($value)
1887
    {
1888
        $this->data['Tags'] = $value;
1889
        $this->options['query']['tags'] = $value;
1890
1891
        return $this;
1892
    }
1893
}
1894
1895
/**
1896
 * @method string getInstanceId()
1897
 * @method $this withInstanceId($value)
1898
 */
1899
class ListExtendfiles extends Roa
1900
{
1901
    /** @var string */
1902
    public $pathPattern = '/openapi/logstashes/[InstanceId]/extendfiles';
1903
1904
    /** @var string */
1905
    public $method = 'GET';
1906
}
1907
1908
/**
1909
 * @method string getDescription()
1910
 * @method string getInstanceCategory()
1911
 * @method string getOwnerId()
1912
 * @method string getTags()
1913
 * @method string getResourceGroupId()
1914
 * @method string getInstanceId()
1915
 * @method string getSize()
1916
 * @method string getEsVersion()
1917
 * @method string getVpcId()
1918
 * @method string getZoneId()
1919
 * @method string getPage()
1920
 * @method string getPaymentType()
1921
 */
1922
class ListInstance extends Roa
1923
{
1924
    /** @var string */
1925
    public $pathPattern = '/openapi/instances';
1926
1927
    /** @var string */
1928
    public $method = 'GET';
1929
1930
    /**
1931
     * @param string $value
1932
     *
1933
     * @return $this
1934
     */
1935
    public function withDescription($value)
1936
    {
1937
        $this->data['Description'] = $value;
1938
        $this->options['query']['description'] = $value;
1939
1940
        return $this;
1941
    }
1942
1943
    /**
1944
     * @param string $value
1945
     *
1946
     * @return $this
1947
     */
1948
    public function withInstanceCategory($value)
1949
    {
1950
        $this->data['InstanceCategory'] = $value;
1951
        $this->options['query']['instanceCategory'] = $value;
1952
1953
        return $this;
1954
    }
1955
1956
    /**
1957
     * @param string $value
1958
     *
1959
     * @return $this
1960
     */
1961
    public function withOwnerId($value)
1962
    {
1963
        $this->data['OwnerId'] = $value;
1964
        $this->options['query']['ownerId'] = $value;
1965
1966
        return $this;
1967
    }
1968
1969
    /**
1970
     * @param string $value
1971
     *
1972
     * @return $this
1973
     */
1974
    public function withTags($value)
1975
    {
1976
        $this->data['Tags'] = $value;
1977
        $this->options['query']['tags'] = $value;
1978
1979
        return $this;
1980
    }
1981
1982
    /**
1983
     * @param string $value
1984
     *
1985
     * @return $this
1986
     */
1987
    public function withResourceGroupId($value)
1988
    {
1989
        $this->data['ResourceGroupId'] = $value;
1990
        $this->options['query']['resourceGroupId'] = $value;
1991
1992
        return $this;
1993
    }
1994
1995
    /**
1996
     * @param string $value
1997
     *
1998
     * @return $this
1999
     */
2000
    public function withInstanceId($value)
2001
    {
2002
        $this->data['InstanceId'] = $value;
2003
        $this->options['query']['instanceId'] = $value;
2004
2005
        return $this;
2006
    }
2007
2008
    /**
2009
     * @param string $value
2010
     *
2011
     * @return $this
2012
     */
2013
    public function withSize($value)
2014
    {
2015
        $this->data['Size'] = $value;
2016
        $this->options['query']['size'] = $value;
2017
2018
        return $this;
2019
    }
2020
2021
    /**
2022
     * @param string $value
2023
     *
2024
     * @return $this
2025
     */
2026
    public function withEsVersion($value)
2027
    {
2028
        $this->data['EsVersion'] = $value;
2029
        $this->options['query']['esVersion'] = $value;
2030
2031
        return $this;
2032
    }
2033
2034
    /**
2035
     * @param string $value
2036
     *
2037
     * @return $this
2038
     */
2039
    public function withVpcId($value)
2040
    {
2041
        $this->data['VpcId'] = $value;
2042
        $this->options['query']['vpcId'] = $value;
2043
2044
        return $this;
2045
    }
2046
2047
    /**
2048
     * @param string $value
2049
     *
2050
     * @return $this
2051
     */
2052
    public function withZoneId($value)
2053
    {
2054
        $this->data['ZoneId'] = $value;
2055
        $this->options['query']['zoneId'] = $value;
2056
2057
        return $this;
2058
    }
2059
2060
    /**
2061
     * @param string $value
2062
     *
2063
     * @return $this
2064
     */
2065
    public function withPage($value)
2066
    {
2067
        $this->data['Page'] = $value;
2068
        $this->options['query']['page'] = $value;
2069
2070
        return $this;
2071
    }
2072
2073
    /**
2074
     * @param string $value
2075
     *
2076
     * @return $this
2077
     */
2078
    public function withPaymentType($value)
2079
    {
2080
        $this->data['PaymentType'] = $value;
2081
        $this->options['query']['paymentType'] = $value;
2082
2083
        return $this;
2084
    }
2085
}
2086
2087
/**
2088
 * @method string getInstanceId()
2089
 * @method $this withInstanceId($value)
2090
 * @method string getLang()
2091
 */
2092
class ListInstanceIndices extends Roa
2093
{
2094
    /** @var string */
2095
    public $pathPattern = '/openapi/diagnosis/instances/[InstanceId]/indices';
2096
2097
    /** @var string */
2098
    public $method = 'GET';
2099
2100
    /**
2101
     * @param string $value
2102
     *
2103
     * @return $this
2104
     */
2105
    public function withLang($value)
2106
    {
2107
        $this->data['Lang'] = $value;
2108
        $this->options['query']['lang'] = $value;
2109
2110
        return $this;
2111
    }
2112
}
2113
2114
/**
2115
 * @method string getInstanceId()
2116
 * @method $this withInstanceId($value)
2117
 * @method string getSize()
2118
 * @method string getPage()
2119
 */
2120
class ListKibanaPlugins extends Roa
2121
{
2122
    /** @var string */
2123
    public $pathPattern = '/openapi/instances/[InstanceId]/kibana-plugins';
2124
2125
    /** @var string */
2126
    public $method = 'GET';
2127
2128
    /**
2129
     * @param string $value
2130
     *
2131
     * @return $this
2132
     */
2133
    public function withSize($value)
2134
    {
2135
        $this->data['Size'] = $value;
2136
        $this->options['query']['size'] = $value;
2137
2138
        return $this;
2139
    }
2140
2141
    /**
2142
     * @param string $value
2143
     *
2144
     * @return $this
2145
     */
2146
    public function withPage($value)
2147
    {
2148
        $this->data['Page'] = $value;
2149
        $this->options['query']['page'] = $value;
2150
2151
        return $this;
2152
    }
2153
}
2154
2155
/**
2156
 * @method string getResourceGroupId()
2157
 * @method string getInstanceId()
2158
 * @method string getSize()
2159
 * @method string getDescription()
2160
 * @method string getPage()
2161
 * @method string getOwnerId()
2162
 * @method string getVersion()
2163
 */
2164
class ListLogstash extends Roa
2165
{
2166
    /** @var string */
2167
    public $pathPattern = '/openapi/logstashes';
2168
2169
    /** @var string */
2170
    public $method = 'GET';
2171
2172
    /**
2173
     * @param string $value
2174
     *
2175
     * @return $this
2176
     */
2177
    public function withResourceGroupId($value)
2178
    {
2179
        $this->data['ResourceGroupId'] = $value;
2180
        $this->options['query']['resourceGroupId'] = $value;
2181
2182
        return $this;
2183
    }
2184
2185
    /**
2186
     * @param string $value
2187
     *
2188
     * @return $this
2189
     */
2190
    public function withInstanceId($value)
2191
    {
2192
        $this->data['InstanceId'] = $value;
2193
        $this->options['query']['instanceId'] = $value;
2194
2195
        return $this;
2196
    }
2197
2198
    /**
2199
     * @param string $value
2200
     *
2201
     * @return $this
2202
     */
2203
    public function withSize($value)
2204
    {
2205
        $this->data['Size'] = $value;
2206
        $this->options['query']['size'] = $value;
2207
2208
        return $this;
2209
    }
2210
2211
    /**
2212
     * @param string $value
2213
     *
2214
     * @return $this
2215
     */
2216
    public function withDescription($value)
2217
    {
2218
        $this->data['Description'] = $value;
2219
        $this->options['query']['description'] = $value;
2220
2221
        return $this;
2222
    }
2223
2224
    /**
2225
     * @param string $value
2226
     *
2227
     * @return $this
2228
     */
2229
    public function withPage($value)
2230
    {
2231
        $this->data['Page'] = $value;
2232
        $this->options['query']['page'] = $value;
2233
2234
        return $this;
2235
    }
2236
2237
    /**
2238
     * @param string $value
2239
     *
2240
     * @return $this
2241
     */
2242
    public function withOwnerId($value)
2243
    {
2244
        $this->data['OwnerId'] = $value;
2245
        $this->options['query']['ownerId'] = $value;
2246
2247
        return $this;
2248
    }
2249
2250
    /**
2251
     * @param string $value
2252
     *
2253
     * @return $this
2254
     */
2255
    public function withVersion($value)
2256
    {
2257
        $this->data['Version'] = $value;
2258
        $this->options['query']['version'] = $value;
2259
2260
        return $this;
2261
    }
2262
}
2263
2264
/**
2265
 * @method string getInstanceId()
2266
 * @method $this withInstanceId($value)
2267
 * @method string getSize()
2268
 * @method string getQuery()
2269
 * @method string getEndTime()
2270
 * @method string getBeginTime()
2271
 * @method string getPage()
2272
 * @method string getType()
2273
 */
2274
class ListLogstashLog extends Roa
2275
{
2276
    /** @var string */
2277
    public $pathPattern = '/openapi/logstashes/[InstanceId]/search-log';
2278
2279
    /** @var string */
2280
    public $method = 'GET';
2281
2282
    /**
2283
     * @param string $value
2284
     *
2285
     * @return $this
2286
     */
2287
    public function withSize($value)
2288
    {
2289
        $this->data['Size'] = $value;
2290
        $this->options['query']['size'] = $value;
2291
2292
        return $this;
2293
    }
2294
2295
    /**
2296
     * @param string $value
2297
     *
2298
     * @return $this
2299
     */
2300
    public function withQuery($value)
2301
    {
2302
        $this->data['Query'] = $value;
2303
        $this->options['query']['query'] = $value;
2304
2305
        return $this;
2306
    }
2307
2308
    /**
2309
     * @param string $value
2310
     *
2311
     * @return $this
2312
     */
2313
    public function withEndTime($value)
2314
    {
2315
        $this->data['EndTime'] = $value;
2316
        $this->options['query']['endTime'] = $value;
2317
2318
        return $this;
2319
    }
2320
2321
    /**
2322
     * @param string $value
2323
     *
2324
     * @return $this
2325
     */
2326
    public function withBeginTime($value)
2327
    {
2328
        $this->data['BeginTime'] = $value;
2329
        $this->options['query']['beginTime'] = $value;
2330
2331
        return $this;
2332
    }
2333
2334
    /**
2335
     * @param string $value
2336
     *
2337
     * @return $this
2338
     */
2339
    public function withPage($value)
2340
    {
2341
        $this->data['Page'] = $value;
2342
        $this->options['query']['page'] = $value;
2343
2344
        return $this;
2345
    }
2346
2347
    /**
2348
     * @param string $value
2349
     *
2350
     * @return $this
2351
     */
2352
    public function withType($value)
2353
    {
2354
        $this->data['Type'] = $value;
2355
        $this->options['query']['type'] = $value;
2356
2357
        return $this;
2358
    }
2359
}
2360
2361
/**
2362
 * @method string getInstanceId()
2363
 * @method $this withInstanceId($value)
2364
 * @method string getSize()
2365
 * @method string getName()
2366
 * @method string getPage()
2367
 * @method string getSource()
2368
 */
2369
class ListLogstashPlugins extends Roa
2370
{
2371
    /** @var string */
2372
    public $pathPattern = '/openapi/logstashes/[InstanceId]/plugins';
2373
2374
    /** @var string */
2375
    public $method = 'GET';
2376
2377
    /**
2378
     * @param string $value
2379
     *
2380
     * @return $this
2381
     */
2382
    public function withSize($value)
2383
    {
2384
        $this->data['Size'] = $value;
2385
        $this->options['query']['size'] = $value;
2386
2387
        return $this;
2388
    }
2389
2390
    /**
2391
     * @param string $value
2392
     *
2393
     * @return $this
2394
     */
2395
    public function withName($value)
2396
    {
2397
        $this->data['Name'] = $value;
2398
        $this->options['query']['name'] = $value;
2399
2400
        return $this;
2401
    }
2402
2403
    /**
2404
     * @param string $value
2405
     *
2406
     * @return $this
2407
     */
2408
    public function withPage($value)
2409
    {
2410
        $this->data['Page'] = $value;
2411
        $this->options['query']['page'] = $value;
2412
2413
        return $this;
2414
    }
2415
2416
    /**
2417
     * @param string $value
2418
     *
2419
     * @return $this
2420
     */
2421
    public function withSource($value)
2422
    {
2423
        $this->data['Source'] = $value;
2424
        $this->options['query']['source'] = $value;
2425
2426
        return $this;
2427
    }
2428
}
2429
2430
/**
2431
 * @method string getEcsInstanceName()
2432
 * @method string getEcsInstanceIds()
2433
 * @method string getSize()
2434
 * @method string getPage()
2435
 * @method string getResId()
2436
 * @method $this withResId($value)
2437
 * @method string getTags()
2438
 */
2439
class ListNodes extends Roa
2440
{
2441
    /** @var string */
2442
    public $pathPattern = '/openapi/collectors/[ResId]/nodes';
2443
2444
    /** @var string */
2445
    public $method = 'GET';
2446
2447
    /**
2448
     * @param string $value
2449
     *
2450
     * @return $this
2451
     */
2452
    public function withEcsInstanceName($value)
2453
    {
2454
        $this->data['EcsInstanceName'] = $value;
2455
        $this->options['query']['ecsInstanceName'] = $value;
2456
2457
        return $this;
2458
    }
2459
2460
    /**
2461
     * @param string $value
2462
     *
2463
     * @return $this
2464
     */
2465
    public function withEcsInstanceIds($value)
2466
    {
2467
        $this->data['EcsInstanceIds'] = $value;
2468
        $this->options['query']['ecsInstanceIds'] = $value;
2469
2470
        return $this;
2471
    }
2472
2473
    /**
2474
     * @param string $value
2475
     *
2476
     * @return $this
2477
     */
2478
    public function withSize($value)
2479
    {
2480
        $this->data['Size'] = $value;
2481
        $this->options['query']['size'] = $value;
2482
2483
        return $this;
2484
    }
2485
2486
    /**
2487
     * @param string $value
2488
     *
2489
     * @return $this
2490
     */
2491
    public function withPage($value)
2492
    {
2493
        $this->data['Page'] = $value;
2494
        $this->options['query']['page'] = $value;
2495
2496
        return $this;
2497
    }
2498
2499
    /**
2500
     * @param string $value
2501
     *
2502
     * @return $this
2503
     */
2504
    public function withTags($value)
2505
    {
2506
        $this->data['Tags'] = $value;
2507
        $this->options['query']['tags'] = $value;
2508
2509
        return $this;
2510
    }
2511
}
2512
2513
/**
2514
 * @method string getInstanceId()
2515
 * @method $this withInstanceId($value)
2516
 * @method string getSize()
2517
 * @method string getPage()
2518
 * @method string getPipelineId()
2519
 */
2520
class ListPipeline extends Roa
2521
{
2522
    /** @var string */
2523
    public $pathPattern = '/openapi/logstashes/[InstanceId]/pipelines';
2524
2525
    /** @var string */
2526
    public $method = 'GET';
2527
2528
    /**
2529
     * @param string $value
2530
     *
2531
     * @return $this
2532
     */
2533
    public function withSize($value)
2534
    {
2535
        $this->data['Size'] = $value;
2536
        $this->options['query']['size'] = $value;
2537
2538
        return $this;
2539
    }
2540
2541
    /**
2542
     * @param string $value
2543
     *
2544
     * @return $this
2545
     */
2546
    public function withPage($value)
2547
    {
2548
        $this->data['Page'] = $value;
2549
        $this->options['query']['page'] = $value;
2550
2551
        return $this;
2552
    }
2553
2554
    /**
2555
     * @param string $value
2556
     *
2557
     * @return $this
2558
     */
2559
    public function withPipelineId($value)
2560
    {
2561
        $this->data['PipelineId'] = $value;
2562
        $this->options['query']['pipelineId'] = $value;
2563
2564
        return $this;
2565
    }
2566
}
2567
2568
/**
2569
 * @method string getInstanceId()
2570
 * @method $this withInstanceId($value)
2571
 */
2572
class ListPipelineIds extends Roa
2573
{
2574
    /** @var string */
2575
    public $pathPattern = '/openapi/instances/[InstanceId]/pipeline-ids';
2576
}
2577
2578
/**
2579
 * @method string getInstanceId()
2580
 * @method $this withInstanceId($value)
2581
 * @method string getSize()
2582
 * @method string getName()
2583
 * @method string getPage()
2584
 * @method string getSource()
2585
 */
2586
class ListPlugins extends Roa
2587
{
2588
    /** @var string */
2589
    public $pathPattern = '/openapi/instances/[InstanceId]/plugins';
2590
2591
    /** @var string */
2592
    public $method = 'GET';
2593
2594
    /**
2595
     * @param string $value
2596
     *
2597
     * @return $this
2598
     */
2599
    public function withSize($value)
2600
    {
2601
        $this->data['Size'] = $value;
2602
        $this->options['query']['size'] = $value;
2603
2604
        return $this;
2605
    }
2606
2607
    /**
2608
     * @param string $value
2609
     *
2610
     * @return $this
2611
     */
2612
    public function withName($value)
2613
    {
2614
        $this->data['Name'] = $value;
2615
        $this->options['query']['name'] = $value;
2616
2617
        return $this;
2618
    }
2619
2620
    /**
2621
     * @param string $value
2622
     *
2623
     * @return $this
2624
     */
2625
    public function withPage($value)
2626
    {
2627
        $this->data['Page'] = $value;
2628
        $this->options['query']['page'] = $value;
2629
2630
        return $this;
2631
    }
2632
2633
    /**
2634
     * @param string $value
2635
     *
2636
     * @return $this
2637
     */
2638
    public function withSource($value)
2639
    {
2640
        $this->data['Source'] = $value;
2641
        $this->options['query']['source'] = $value;
2642
2643
        return $this;
2644
    }
2645
}
2646
2647
/**
2648
 * @method string getInstanceId()
2649
 * @method $this withInstanceId($value)
2650
 * @method string getSize()
2651
 * @method string getQuery()
2652
 * @method string getEndTime()
2653
 * @method string getBeginTime()
2654
 * @method string getPage()
2655
 * @method string getType()
2656
 */
2657
class ListSearchLog extends Roa
2658
{
2659
    /** @var string */
2660
    public $pathPattern = '/openapi/instances/[InstanceId]/search-log';
2661
2662
    /** @var string */
2663
    public $method = 'GET';
2664
2665
    /**
2666
     * @param string $value
2667
     *
2668
     * @return $this
2669
     */
2670
    public function withSize($value)
2671
    {
2672
        $this->data['Size'] = $value;
2673
        $this->options['query']['size'] = $value;
2674
2675
        return $this;
2676
    }
2677
2678
    /**
2679
     * @param string $value
2680
     *
2681
     * @return $this
2682
     */
2683
    public function withQuery($value)
2684
    {
2685
        $this->data['Query'] = $value;
2686
        $this->options['query']['query'] = $value;
2687
2688
        return $this;
2689
    }
2690
2691
    /**
2692
     * @param string $value
2693
     *
2694
     * @return $this
2695
     */
2696
    public function withEndTime($value)
2697
    {
2698
        $this->data['EndTime'] = $value;
2699
        $this->options['query']['endTime'] = $value;
2700
2701
        return $this;
2702
    }
2703
2704
    /**
2705
     * @param string $value
2706
     *
2707
     * @return $this
2708
     */
2709
    public function withBeginTime($value)
2710
    {
2711
        $this->data['BeginTime'] = $value;
2712
        $this->options['query']['beginTime'] = $value;
2713
2714
        return $this;
2715
    }
2716
2717
    /**
2718
     * @param string $value
2719
     *
2720
     * @return $this
2721
     */
2722
    public function withPage($value)
2723
    {
2724
        $this->data['Page'] = $value;
2725
        $this->options['query']['page'] = $value;
2726
2727
        return $this;
2728
    }
2729
2730
    /**
2731
     * @param string $value
2732
     *
2733
     * @return $this
2734
     */
2735
    public function withType($value)
2736
    {
2737
        $this->data['Type'] = $value;
2738
        $this->options['query']['type'] = $value;
2739
2740
        return $this;
2741
    }
2742
}
2743
2744
/**
2745
 * @method string getInstanceId()
2746
 * @method $this withInstanceId($value)
2747
 */
2748
class ListSnapshotReposByInstanceId extends Roa
2749
{
2750
    /** @var string */
2751
    public $pathPattern = '/openapi/instances/[InstanceId]/snapshot-repos';
2752
2753
    /** @var string */
2754
    public $method = 'GET';
2755
}
2756
2757
/**
2758
 * @method string getSize()
2759
 * @method string getNextToken()
2760
 * @method string getPage()
2761
 * @method string getResourceType()
2762
 * @method string getResourceIds()
2763
 * @method string getTags()
2764
 */
2765
class ListTagResources extends Roa
2766
{
2767
    /** @var string */
2768
    public $pathPattern = '/openapi/tags';
2769
2770
    /** @var string */
2771
    public $method = 'GET';
2772
2773
    /**
2774
     * @param string $value
2775
     *
2776
     * @return $this
2777
     */
2778
    public function withSize($value)
2779
    {
2780
        $this->data['Size'] = $value;
2781
        $this->options['query']['Size'] = $value;
2782
2783
        return $this;
2784
    }
2785
2786
    /**
2787
     * @param string $value
2788
     *
2789
     * @return $this
2790
     */
2791
    public function withNextToken($value)
2792
    {
2793
        $this->data['NextToken'] = $value;
2794
        $this->options['query']['NextToken'] = $value;
2795
2796
        return $this;
2797
    }
2798
2799
    /**
2800
     * @param string $value
2801
     *
2802
     * @return $this
2803
     */
2804
    public function withPage($value)
2805
    {
2806
        $this->data['Page'] = $value;
2807
        $this->options['query']['Page'] = $value;
2808
2809
        return $this;
2810
    }
2811
2812
    /**
2813
     * @param string $value
2814
     *
2815
     * @return $this
2816
     */
2817
    public function withResourceType($value)
2818
    {
2819
        $this->data['ResourceType'] = $value;
2820
        $this->options['query']['ResourceType'] = $value;
2821
2822
        return $this;
2823
    }
2824
2825
    /**
2826
     * @param string $value
2827
     *
2828
     * @return $this
2829
     */
2830
    public function withResourceIds($value)
2831
    {
2832
        $this->data['ResourceIds'] = $value;
2833
        $this->options['query']['ResourceIds'] = $value;
2834
2835
        return $this;
2836
    }
2837
2838
    /**
2839
     * @param string $value
2840
     *
2841
     * @return $this
2842
     */
2843
    public function withTags($value)
2844
    {
2845
        $this->data['Tags'] = $value;
2846
        $this->options['query']['Tags'] = $value;
2847
2848
        return $this;
2849
    }
2850
}
2851
2852
/**
2853
 * @method string getPageSize()
2854
 * @method string getResourceType()
2855
 */
2856
class ListTags extends Roa
2857
{
2858
    /** @var string */
2859
    public $pathPattern = '/openapi/tags/all-tags';
2860
2861
    /** @var string */
2862
    public $method = 'GET';
2863
2864
    /**
2865
     * @param string $value
2866
     *
2867
     * @return $this
2868
     */
2869
    public function withPageSize($value)
2870
    {
2871
        $this->data['PageSize'] = $value;
2872
        $this->options['query']['pageSize'] = $value;
2873
2874
        return $this;
2875
    }
2876
2877
    /**
2878
     * @param string $value
2879
     *
2880
     * @return $this
2881
     */
2882
    public function withResourceType($value)
2883
    {
2884
        $this->data['ResourceType'] = $value;
2885
        $this->options['query']['resourceType'] = $value;
2886
2887
        return $this;
2888
    }
2889
}
2890
2891
/**
2892
 * @method string getInstanceId()
2893
 * @method $this withInstanceId($value)
2894
 * @method string getDryRun()
2895
 */
2896
class MigrateToOtherZone extends Roa
2897
{
2898
    /** @var string */
2899
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/migrate-zones';
2900
2901
    /**
2902
     * @param string $value
2903
     *
2904
     * @return $this
2905
     */
2906
    public function withDryRun($value)
2907
    {
2908
        $this->data['DryRun'] = $value;
2909
        $this->options['query']['dryRun'] = $value;
2910
2911
        return $this;
2912
    }
2913
}
2914
2915
/**
2916
 * @method string getClientToken()
2917
 * @method string getResId()
2918
 * @method $this withResId($value)
2919
 */
2920
class ModifyDeployMachine extends Roa
2921
{
2922
    /** @var string */
2923
    public $pathPattern = '/openapi/collectors/[ResId]/actions/modify-deploy-machines';
2924
2925
    /**
2926
     * @param string $value
2927
     *
2928
     * @return $this
2929
     */
2930
    public function withClientToken($value)
2931
    {
2932
        $this->data['ClientToken'] = $value;
2933
        $this->options['query']['ClientToken'] = $value;
2934
2935
        return $this;
2936
    }
2937
}
2938
2939
/**
2940
 * @method string getInstanceId()
2941
 * @method $this withInstanceId($value)
2942
 */
2943
class ModifyElastictask extends Roa
2944
{
2945
    /** @var string */
2946
    public $pathPattern = '/openapi/instances/[InstanceId]/elastic-task';
2947
}
2948
2949
/**
2950
 * @method string getInstanceId()
2951
 * @method $this withInstanceId($value)
2952
 * @method string getClientToken()
2953
 */
2954
class ModifyInstanceMaintainTime extends Roa
2955
{
2956
    /** @var string */
2957
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/modify-maintaintime';
2958
2959
    /**
2960
     * @param string $value
2961
     *
2962
     * @return $this
2963
     */
2964
    public function withClientToken($value)
2965
    {
2966
        $this->data['ClientToken'] = $value;
2967
        $this->options['query']['ClientToken'] = $value;
2968
2969
        return $this;
2970
    }
2971
}
2972
2973
/**
2974
 * @method string getInstanceId()
2975
 * @method $this withInstanceId($value)
2976
 * @method string getNodeType()
2977
 * @method string getClientToken()
2978
 * @method string getNetworkType()
2979
 */
2980
class ModifyWhiteIps extends Roa
2981
{
2982
    /** @var string */
2983
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/modify-white-ips';
2984
2985
    /**
2986
     * @param string $value
2987
     *
2988
     * @return $this
2989
     */
2990
    public function withNodeType($value)
2991
    {
2992
        $this->data['NodeType'] = $value;
2993
        $this->options['form_params']['nodeType'] = $value;
2994
2995
        return $this;
2996
    }
2997
2998
    /**
2999
     * @param string $value
3000
     *
3001
     * @return $this
3002
     */
3003
    public function withClientToken($value)
3004
    {
3005
        $this->data['ClientToken'] = $value;
3006
        $this->options['query']['clientToken'] = $value;
3007
3008
        return $this;
3009
    }
3010
3011
    /**
3012
     * @param string $value
3013
     *
3014
     * @return $this
3015
     */
3016
    public function withNetworkType($value)
3017
    {
3018
        $this->data['NetworkType'] = $value;
3019
        $this->options['form_params']['networkType'] = $value;
3020
3021
        return $this;
3022
    }
3023
}
3024
3025
/**
3026
 * @method string getInstanceId()
3027
 * @method $this withInstanceId($value)
3028
 * @method string getClientToken()
3029
 */
3030
class MoveResourceGroup extends Roa
3031
{
3032
    /** @var string */
3033
    public $pathPattern = '/openapi/instances/[InstanceId]/resourcegroup';
3034
3035
    /**
3036
     * @param string $value
3037
     *
3038
     * @return $this
3039
     */
3040
    public function withClientToken($value)
3041
    {
3042
        $this->data['ClientToken'] = $value;
3043
        $this->options['query']['clientToken'] = $value;
3044
3045
        return $this;
3046
    }
3047
}
3048
3049
/**
3050
 * @method string getInstanceId()
3051
 * @method $this withInstanceId($value)
3052
 * @method string getClientToken()
3053
 * @method string getLang()
3054
 */
3055
class OpenDiagnosis extends Roa
3056
{
3057
    /** @var string */
3058
    public $pathPattern = '/openapi/diagnosis/instances/[InstanceId]/actions/open-diagnosis';
3059
3060
    /**
3061
     * @param string $value
3062
     *
3063
     * @return $this
3064
     */
3065
    public function withClientToken($value)
3066
    {
3067
        $this->data['ClientToken'] = $value;
3068
        $this->options['query']['ClientToken'] = $value;
3069
3070
        return $this;
3071
    }
3072
3073
    /**
3074
     * @param string $value
3075
     *
3076
     * @return $this
3077
     */
3078
    public function withLang($value)
3079
    {
3080
        $this->data['Lang'] = $value;
3081
        $this->options['query']['lang'] = $value;
3082
3083
        return $this;
3084
    }
3085
}
3086
3087
/**
3088
 * @method string getInstanceId()
3089
 * @method $this withInstanceId($value)
3090
 * @method string getClientToken()
3091
 */
3092
class OpenHttps extends Roa
3093
{
3094
    /** @var string */
3095
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/open-https';
3096
3097
    /**
3098
     * @param string $value
3099
     *
3100
     * @return $this
3101
     */
3102
    public function withClientToken($value)
3103
    {
3104
        $this->data['ClientToken'] = $value;
3105
        $this->options['query']['clientToken'] = $value;
3106
3107
        return $this;
3108
    }
3109
}
3110
3111
/**
3112
 * @method string getClientToken()
3113
 * @method string getResId()
3114
 * @method $this withResId($value)
3115
 */
3116
class ReinstallCollector extends Roa
3117
{
3118
    /** @var string */
3119
    public $pathPattern = '/openapi/collectors/[ResId]/actions/reinstall';
3120
3121
    /**
3122
     * @param string $value
3123
     *
3124
     * @return $this
3125
     */
3126
    public function withClientToken($value)
3127
    {
3128
        $this->data['ClientToken'] = $value;
3129
        $this->options['query']['ClientToken'] = $value;
3130
3131
        return $this;
3132
    }
3133
}
3134
3135
/**
3136
 * @method string getInstanceId()
3137
 * @method $this withInstanceId($value)
3138
 * @method string getClientToken()
3139
 */
3140
class RenewInstance extends Roa
3141
{
3142
    /** @var string */
3143
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/renew';
3144
3145
    /**
3146
     * @param string $value
3147
     *
3148
     * @return $this
3149
     */
3150
    public function withClientToken($value)
3151
    {
3152
        $this->data['ClientToken'] = $value;
3153
        $this->options['query']['clientToken'] = $value;
3154
3155
        return $this;
3156
    }
3157
}
3158
3159
/**
3160
 * @method string getInstanceId()
3161
 * @method $this withInstanceId($value)
3162
 * @method string getClientToken()
3163
 */
3164
class RenewLogstash extends Roa
3165
{
3166
    /** @var string */
3167
    public $pathPattern = '/openapi/logstashes/[InstanceId]/actions/renew';
3168
3169
    /**
3170
     * @param string $value
3171
     *
3172
     * @return $this
3173
     */
3174
    public function withClientToken($value)
3175
    {
3176
        $this->data['ClientToken'] = $value;
3177
        $this->options['query']['clientToken'] = $value;
3178
3179
        return $this;
3180
    }
3181
}
3182
3183
/**
3184
 * @method string getInstanceId()
3185
 * @method $this withInstanceId($value)
3186
 * @method string getClientToken()
3187
 * @method string getForce()
3188
 */
3189
class RestartInstance extends Roa
3190
{
3191
    /** @var string */
3192
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/restart';
3193
3194
    /**
3195
     * @param string $value
3196
     *
3197
     * @return $this
3198
     */
3199
    public function withClientToken($value)
3200
    {
3201
        $this->data['ClientToken'] = $value;
3202
        $this->options['query']['clientToken'] = $value;
3203
3204
        return $this;
3205
    }
3206
3207
    /**
3208
     * @param string $value
3209
     *
3210
     * @return $this
3211
     */
3212
    public function withForce($value)
3213
    {
3214
        $this->data['Force'] = $value;
3215
        $this->options['query']['force'] = $value;
3216
3217
        return $this;
3218
    }
3219
}
3220
3221
/**
3222
 * @method string getInstanceId()
3223
 * @method $this withInstanceId($value)
3224
 * @method string getClientToken()
3225
 * @method string getForce()
3226
 */
3227
class RestartLogstash extends Roa
3228
{
3229
    /** @var string */
3230
    public $pathPattern = '/openapi/logstashes/[InstanceId]/actions/restart';
3231
3232
    /**
3233
     * @param string $value
3234
     *
3235
     * @return $this
3236
     */
3237
    public function withClientToken($value)
3238
    {
3239
        $this->data['ClientToken'] = $value;
3240
        $this->options['query']['clientToken'] = $value;
3241
3242
        return $this;
3243
    }
3244
3245
    /**
3246
     * @param string $value
3247
     *
3248
     * @return $this
3249
     */
3250
    public function withForce($value)
3251
    {
3252
        $this->data['Force'] = $value;
3253
        $this->options['query']['force'] = $value;
3254
3255
        return $this;
3256
    }
3257
}
3258
3259
/**
3260
 * @method string getInstanceId()
3261
 * @method $this withInstanceId($value)
3262
 * @method string getClientToken()
3263
 */
3264
class ResumeElasticsearchTask extends Roa
3265
{
3266
    /** @var string */
3267
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/resume';
3268
3269
    /**
3270
     * @param string $value
3271
     *
3272
     * @return $this
3273
     */
3274
    public function withClientToken($value)
3275
    {
3276
        $this->data['ClientToken'] = $value;
3277
        $this->options['query']['clientToken'] = $value;
3278
3279
        return $this;
3280
    }
3281
}
3282
3283
/**
3284
 * @method string getInstanceId()
3285
 * @method $this withInstanceId($value)
3286
 * @method string getClientToken()
3287
 */
3288
class ResumeLogstashTask extends Roa
3289
{
3290
    /** @var string */
3291
    public $pathPattern = '/openapi/logstashes/[InstanceId]/actions/resume';
3292
3293
    /**
3294
     * @param string $value
3295
     *
3296
     * @return $this
3297
     */
3298
    public function withClientToken($value)
3299
    {
3300
        $this->data['ClientToken'] = $value;
3301
        $this->options['query']['clientToken'] = $value;
3302
3303
        return $this;
3304
    }
3305
}
3306
3307
/**
3308
 * @method string getInstanceId()
3309
 * @method $this withInstanceId($value)
3310
 * @method string getClientToken()
3311
 */
3312
class RollbackInstance extends Roa
3313
{
3314
    /** @var string */
3315
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/rollback';
3316
3317
    /**
3318
     * @param string $value
3319
     *
3320
     * @return $this
3321
     */
3322
    public function withClientToken($value)
3323
    {
3324
        $this->data['ClientToken'] = $value;
3325
        $this->options['query']['clientToken'] = $value;
3326
3327
        return $this;
3328
    }
3329
}
3330
3331
/**
3332
 * @method string getInstanceId()
3333
 * @method $this withInstanceId($value)
3334
 * @method string getClientToken()
3335
 */
3336
class RunPipelines extends Roa
3337
{
3338
    /** @var string */
3339
    public $pathPattern = '/openapi/logstashes/[InstanceId]/pipelines/action/run';
3340
3341
    /**
3342
     * @param string $value
3343
     *
3344
     * @return $this
3345
     */
3346
    public function withClientToken($value)
3347
    {
3348
        $this->data['ClientToken'] = $value;
3349
        $this->options['query']['ClientToken'] = $value;
3350
3351
        return $this;
3352
    }
3353
}
3354
3355
/**
3356
 * @method string getIgnoreStatus()
3357
 * @method string getInstanceId()
3358
 * @method $this withInstanceId($value)
3359
 * @method string getNodeType()
3360
 * @method string getClientToken()
3361
 */
3362
class ShrinkNode extends Roa
3363
{
3364
    /** @var string */
3365
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/shrink';
3366
3367
    /**
3368
     * @param string $value
3369
     *
3370
     * @return $this
3371
     */
3372
    public function withIgnoreStatus($value)
3373
    {
3374
        $this->data['IgnoreStatus'] = $value;
3375
        $this->options['query']['ignoreStatus'] = $value;
3376
3377
        return $this;
3378
    }
3379
3380
    /**
3381
     * @param string $value
3382
     *
3383
     * @return $this
3384
     */
3385
    public function withNodeType($value)
3386
    {
3387
        $this->data['NodeType'] = $value;
3388
        $this->options['query']['nodeType'] = $value;
3389
3390
        return $this;
3391
    }
3392
3393
    /**
3394
     * @param string $value
3395
     *
3396
     * @return $this
3397
     */
3398
    public function withClientToken($value)
3399
    {
3400
        $this->data['ClientToken'] = $value;
3401
        $this->options['query']['clientToken'] = $value;
3402
3403
        return $this;
3404
    }
3405
}
3406
3407
/**
3408
 * @method string getClientToken()
3409
 * @method string getResId()
3410
 * @method $this withResId($value)
3411
 */
3412
class StartCollector extends Roa
3413
{
3414
    /** @var string */
3415
    public $pathPattern = '/openapi/collectors/[ResId]/actions/start';
3416
3417
    /**
3418
     * @param string $value
3419
     *
3420
     * @return $this
3421
     */
3422
    public function withClientToken($value)
3423
    {
3424
        $this->data['ClientToken'] = $value;
3425
        $this->options['query']['ClientToken'] = $value;
3426
3427
        return $this;
3428
    }
3429
}
3430
3431
/**
3432
 * @method string getClientToken()
3433
 * @method string getResId()
3434
 * @method $this withResId($value)
3435
 */
3436
class StopCollector extends Roa
3437
{
3438
    /** @var string */
3439
    public $pathPattern = '/openapi/collectors/[ResId]/actions/stop';
3440
3441
    /**
3442
     * @param string $value
3443
     *
3444
     * @return $this
3445
     */
3446
    public function withClientToken($value)
3447
    {
3448
        $this->data['ClientToken'] = $value;
3449
        $this->options['query']['ClientToken'] = $value;
3450
3451
        return $this;
3452
    }
3453
}
3454
3455
/**
3456
 * @method string getInstanceId()
3457
 * @method $this withInstanceId($value)
3458
 * @method string getClientToken()
3459
 */
3460
class StopPipelines extends Roa
3461
{
3462
    /** @var string */
3463
    public $pathPattern = '/openapi/logstashes/[InstanceId]/pipelines/action/stop';
3464
3465
    /**
3466
     * @param string $value
3467
     *
3468
     * @return $this
3469
     */
3470
    public function withClientToken($value)
3471
    {
3472
        $this->data['ClientToken'] = $value;
3473
        $this->options['query']['ClientToken'] = $value;
3474
3475
        return $this;
3476
    }
3477
}
3478
3479
class TagResources extends Roa
3480
{
3481
    /** @var string */
3482
    public $pathPattern = '/openapi/tags';
3483
}
3484
3485
/**
3486
 * @method string getInstanceId()
3487
 * @method $this withInstanceId($value)
3488
 * @method string getNodeType()
3489
 * @method string getClientToken()
3490
 */
3491
class TransferNode extends Roa
3492
{
3493
    /** @var string */
3494
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/transfer';
3495
3496
    /**
3497
     * @param string $value
3498
     *
3499
     * @return $this
3500
     */
3501
    public function withNodeType($value)
3502
    {
3503
        $this->data['NodeType'] = $value;
3504
        $this->options['query']['nodeType'] = $value;
3505
3506
        return $this;
3507
    }
3508
3509
    /**
3510
     * @param string $value
3511
     *
3512
     * @return $this
3513
     */
3514
    public function withClientToken($value)
3515
    {
3516
        $this->data['ClientToken'] = $value;
3517
        $this->options['query']['clientToken'] = $value;
3518
3519
        return $this;
3520
    }
3521
}
3522
3523
/**
3524
 * @method string getActionType()
3525
 * @method string getInstanceId()
3526
 * @method $this withInstanceId($value)
3527
 * @method string getNodeType()
3528
 * @method string getClientToken()
3529
 * @method string getNetworkType()
3530
 */
3531
class TriggerNetwork extends Roa
3532
{
3533
    /** @var string */
3534
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/network-trigger';
3535
3536
    /**
3537
     * @param string $value
3538
     *
3539
     * @return $this
3540
     */
3541
    public function withActionType($value)
3542
    {
3543
        $this->data['ActionType'] = $value;
3544
        $this->options['form_params']['actionType'] = $value;
3545
3546
        return $this;
3547
    }
3548
3549
    /**
3550
     * @param string $value
3551
     *
3552
     * @return $this
3553
     */
3554
    public function withNodeType($value)
3555
    {
3556
        $this->data['NodeType'] = $value;
3557
        $this->options['form_params']['nodeType'] = $value;
3558
3559
        return $this;
3560
    }
3561
3562
    /**
3563
     * @param string $value
3564
     *
3565
     * @return $this
3566
     */
3567
    public function withClientToken($value)
3568
    {
3569
        $this->data['ClientToken'] = $value;
3570
        $this->options['query']['clientToken'] = $value;
3571
3572
        return $this;
3573
    }
3574
3575
    /**
3576
     * @param string $value
3577
     *
3578
     * @return $this
3579
     */
3580
    public function withNetworkType($value)
3581
    {
3582
        $this->data['NetworkType'] = $value;
3583
        $this->options['form_params']['networkType'] = $value;
3584
3585
        return $this;
3586
    }
3587
}
3588
3589
/**
3590
 * @method string getInstanceId()
3591
 * @method $this withInstanceId($value)
3592
 * @method string getClientToken()
3593
 */
3594
class UninstallKibanaPlugin extends Roa
3595
{
3596
    /** @var string */
3597
    public $pathPattern = '/openapi/instances/[InstanceId]/kibana-plugins/actions/uninstall';
3598
3599
    /**
3600
     * @param string $value
3601
     *
3602
     * @return $this
3603
     */
3604
    public function withClientToken($value)
3605
    {
3606
        $this->data['ClientToken'] = $value;
3607
        $this->options['query']['clientToken'] = $value;
3608
3609
        return $this;
3610
    }
3611
}
3612
3613
/**
3614
 * @method string getInstanceId()
3615
 * @method $this withInstanceId($value)
3616
 * @method string getClientToken()
3617
 */
3618
class UninstallLogstashPlugin extends Roa
3619
{
3620
    /** @var string */
3621
    public $pathPattern = '/openapi/logstashes/[InstanceId]/plugins/actions/uninstall';
3622
3623
    /**
3624
     * @param string $value
3625
     *
3626
     * @return $this
3627
     */
3628
    public function withClientToken($value)
3629
    {
3630
        $this->data['ClientToken'] = $value;
3631
        $this->options['query']['clientToken'] = $value;
3632
3633
        return $this;
3634
    }
3635
}
3636
3637
/**
3638
 * @method string getInstanceId()
3639
 * @method $this withInstanceId($value)
3640
 * @method string getClientToken()
3641
 */
3642
class UninstallPlugin extends Roa
3643
{
3644
    /** @var string */
3645
    public $pathPattern = '/openapi/instances/[InstanceId]/plugins/actions/uninstall';
3646
3647
    /**
3648
     * @param string $value
3649
     *
3650
     * @return $this
3651
     */
3652
    public function withClientToken($value)
3653
    {
3654
        $this->data['ClientToken'] = $value;
3655
        $this->options['query']['clientToken'] = $value;
3656
3657
        return $this;
3658
    }
3659
}
3660
3661
/**
3662
 * @method string getAll()
3663
 * @method string getTagKeys()
3664
 * @method string getResourceType()
3665
 * @method string getResourceIds()
3666
 */
3667
class UntagResources extends Roa
3668
{
3669
    /** @var string */
3670
    public $pathPattern = '/openapi/tags';
3671
3672
    /** @var string */
3673
    public $method = 'DELETE';
3674
3675
    /**
3676
     * @param string $value
3677
     *
3678
     * @return $this
3679
     */
3680
    public function withAll($value)
3681
    {
3682
        $this->data['All'] = $value;
3683
        $this->options['query']['All'] = $value;
3684
3685
        return $this;
3686
    }
3687
3688
    /**
3689
     * @param string $value
3690
     *
3691
     * @return $this
3692
     */
3693
    public function withTagKeys($value)
3694
    {
3695
        $this->data['TagKeys'] = $value;
3696
        $this->options['query']['TagKeys'] = $value;
3697
3698
        return $this;
3699
    }
3700
3701
    /**
3702
     * @param string $value
3703
     *
3704
     * @return $this
3705
     */
3706
    public function withResourceType($value)
3707
    {
3708
        $this->data['ResourceType'] = $value;
3709
        $this->options['query']['ResourceType'] = $value;
3710
3711
        return $this;
3712
    }
3713
3714
    /**
3715
     * @param string $value
3716
     *
3717
     * @return $this
3718
     */
3719
    public function withResourceIds($value)
3720
    {
3721
        $this->data['ResourceIds'] = $value;
3722
        $this->options['query']['ResourceIds'] = $value;
3723
3724
        return $this;
3725
    }
3726
}
3727
3728
/**
3729
 * @method string getInstanceId()
3730
 * @method $this withInstanceId($value)
3731
 * @method string getClientToken()
3732
 */
3733
class UpdateAdminPassword extends Roa
3734
{
3735
    /** @var string */
3736
    public $pathPattern = '/openapi/instances/[InstanceId]/admin-pwd';
3737
3738
    /**
3739
     * @param string $value
3740
     *
3741
     * @return $this
3742
     */
3743
    public function withClientToken($value)
3744
    {
3745
        $this->data['ClientToken'] = $value;
3746
        $this->options['query']['clientToken'] = $value;
3747
3748
        return $this;
3749
    }
3750
}
3751
3752
/**
3753
 * @method string getInstanceId()
3754
 * @method $this withInstanceId($value)
3755
 * @method string getClientToken()
3756
 */
3757
class UpdateAdvancedSetting extends Roa
3758
{
3759
    /** @var string */
3760
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/update-advanced-setting';
3761
3762
    /**
3763
     * @param string $value
3764
     *
3765
     * @return $this
3766
     */
3767
    public function withClientToken($value)
3768
    {
3769
        $this->data['ClientToken'] = $value;
3770
        $this->options['query']['clientToken'] = $value;
3771
3772
        return $this;
3773
    }
3774
}
3775
3776
/**
3777
 * @method string getInstanceId()
3778
 * @method $this withInstanceId($value)
3779
 * @method string getClientToken()
3780
 */
3781
class UpdateAliwsDict extends Roa
3782
{
3783
    /** @var string */
3784
    public $pathPattern = '/openapi/instances/[InstanceId]/aliws-dict';
3785
3786
    /** @var string */
3787
    public $method = 'PUT';
3788
3789
    /**
3790
     * @param string $value
3791
     *
3792
     * @return $this
3793
     */
3794
    public function withClientToken($value)
3795
    {
3796
        $this->data['ClientToken'] = $value;
3797
        $this->options['query']['clientToken'] = $value;
3798
3799
        return $this;
3800
    }
3801
}
3802
3803
/**
3804
 * @method string getInstanceId()
3805
 * @method $this withInstanceId($value)
3806
 * @method string getClientToken()
3807
 */
3808
class UpdateBlackIps extends Roa
3809
{
3810
    /** @var string */
3811
    public $pathPattern = '/openapi/instances/[InstanceId]/black-ips';
3812
3813
    /**
3814
     * @param string $value
3815
     *
3816
     * @return $this
3817
     */
3818
    public function withClientToken($value)
3819
    {
3820
        $this->data['ClientToken'] = $value;
3821
        $this->options['query']['clientToken'] = $value;
3822
3823
        return $this;
3824
    }
3825
}
3826
3827
/**
3828
 * @method string getClientToken()
3829
 * @method string getResId()
3830
 * @method $this withResId($value)
3831
 */
3832
class UpdateCollector extends Roa
3833
{
3834
    /** @var string */
3835
    public $pathPattern = '/openapi/collectors/[ResId]';
3836
3837
    /** @var string */
3838
    public $method = 'PUT';
3839
3840
    /**
3841
     * @param string $value
3842
     *
3843
     * @return $this
3844
     */
3845
    public function withClientToken($value)
3846
    {
3847
        $this->data['ClientToken'] = $value;
3848
        $this->options['query']['ClientToken'] = $value;
3849
3850
        return $this;
3851
    }
3852
}
3853
3854
/**
3855
 * @method string getClientToken()
3856
 * @method string getResId()
3857
 * @method $this withResId($value)
3858
 */
3859
class UpdateCollectorName extends Roa
3860
{
3861
    /** @var string */
3862
    public $pathPattern = '/openapi/collectors/[ResId]/actions/rename';
3863
3864
    /**
3865
     * @param string $value
3866
     *
3867
     * @return $this
3868
     */
3869
    public function withClientToken($value)
3870
    {
3871
        $this->data['ClientToken'] = $value;
3872
        $this->options['query']['ClientToken'] = $value;
3873
3874
        return $this;
3875
    }
3876
}
3877
3878
/**
3879
 * @method string getInstanceId()
3880
 * @method $this withInstanceId($value)
3881
 * @method string getClientToken()
3882
 * @method string getDescription()
3883
 */
3884
class UpdateDescription extends Roa
3885
{
3886
    /** @var string */
3887
    public $pathPattern = '/openapi/instances/[InstanceId]/description';
3888
3889
    /**
3890
     * @param string $value
3891
     *
3892
     * @return $this
3893
     */
3894
    public function withClientToken($value)
3895
    {
3896
        $this->data['ClientToken'] = $value;
3897
        $this->options['query']['clientToken'] = $value;
3898
3899
        return $this;
3900
    }
3901
3902
    /**
3903
     * @param string $value
3904
     *
3905
     * @return $this
3906
     */
3907
    public function withDescription($value)
3908
    {
3909
        $this->data['Description'] = $value;
3910
        $this->options['form_params']['description'] = $value;
3911
3912
        return $this;
3913
    }
3914
}
3915
3916
/**
3917
 * @method string getInstanceId()
3918
 * @method $this withInstanceId($value)
3919
 * @method string getClientToken()
3920
 * @method string getLang()
3921
 */
3922
class UpdateDiagnosisSettings extends Roa
3923
{
3924
    /** @var string */
3925
    public $pathPattern = '/openapi/diagnosis/instances/[InstanceId]/settings';
3926
3927
    /** @var string */
3928
    public $method = 'PUT';
3929
3930
    /**
3931
     * @param string $value
3932
     *
3933
     * @return $this
3934
     */
3935
    public function withClientToken($value)
3936
    {
3937
        $this->data['ClientToken'] = $value;
3938
        $this->options['query']['ClientToken'] = $value;
3939
3940
        return $this;
3941
    }
3942
3943
    /**
3944
     * @param string $value
3945
     *
3946
     * @return $this
3947
     */
3948
    public function withLang($value)
3949
    {
3950
        $this->data['Lang'] = $value;
3951
        $this->options['query']['lang'] = $value;
3952
3953
        return $this;
3954
    }
3955
}
3956
3957
/**
3958
 * @method string getInstanceId()
3959
 * @method $this withInstanceId($value)
3960
 * @method string getClientToken()
3961
 */
3962
class UpdateDict extends Roa
3963
{
3964
    /** @var string */
3965
    public $pathPattern = '/openapi/instances/[InstanceId]/dict';
3966
3967
    /** @var string */
3968
    public $method = 'PUT';
3969
3970
    /**
3971
     * @param string $value
3972
     *
3973
     * @return $this
3974
     */
3975
    public function withClientToken($value)
3976
    {
3977
        $this->data['ClientToken'] = $value;
3978
        $this->options['query']['clientToken'] = $value;
3979
3980
        return $this;
3981
    }
3982
}
3983
3984
/**
3985
 * @method string getInstanceId()
3986
 * @method $this withInstanceId($value)
3987
 * @method string getClientToken()
3988
 */
3989
class UpdateExtendConfig extends Roa
3990
{
3991
    /** @var string */
3992
    public $pathPattern = '/openapi/instances/[InstanceId]/extend-configs/actions/update';
3993
3994
    /**
3995
     * @param string $value
3996
     *
3997
     * @return $this
3998
     */
3999
    public function withClientToken($value)
4000
    {
4001
        $this->data['ClientToken'] = $value;
4002
        $this->options['query']['ClientToken'] = $value;
4003
4004
        return $this;
4005
    }
4006
}
4007
4008
/**
4009
 * @method string getInstanceId()
4010
 * @method $this withInstanceId($value)
4011
 * @method string getClientToken()
4012
 */
4013
class UpdateExtendfiles extends Roa
4014
{
4015
    /** @var string */
4016
    public $pathPattern = '/openapi/logstashes/[InstanceId]/extendfiles';
4017
4018
    /** @var string */
4019
    public $method = 'PUT';
4020
4021
    /**
4022
     * @param string $value
4023
     *
4024
     * @return $this
4025
     */
4026
    public function withClientToken($value)
4027
    {
4028
        $this->data['ClientToken'] = $value;
4029
        $this->options['query']['ClientToken'] = $value;
4030
4031
        return $this;
4032
    }
4033
}
4034
4035
/**
4036
 * @method string getInstanceId()
4037
 * @method $this withInstanceId($value)
4038
 * @method string getClientToken()
4039
 */
4040
class UpdateHotIkDicts extends Roa
4041
{
4042
    /** @var string */
4043
    public $pathPattern = '/openapi/instances/[InstanceId]/ik-hot-dict';
4044
4045
    /** @var string */
4046
    public $method = 'PUT';
4047
4048
    /**
4049
     * @param string $value
4050
     *
4051
     * @return $this
4052
     */
4053
    public function withClientToken($value)
4054
    {
4055
        $this->data['ClientToken'] = $value;
4056
        $this->options['query']['clientToken'] = $value;
4057
4058
        return $this;
4059
    }
4060
}
4061
4062
/**
4063
 * @method string getIgnoreStatus()
4064
 * @method string getInstanceId()
4065
 * @method $this withInstanceId($value)
4066
 * @method string getClientToken()
4067
 */
4068
class UpdateInstance extends Roa
4069
{
4070
    /** @var string */
4071
    public $pathPattern = '/openapi/instances/[InstanceId]';
4072
4073
    /** @var string */
4074
    public $method = 'PUT';
4075
4076
    /**
4077
     * @param string $value
4078
     *
4079
     * @return $this
4080
     */
4081
    public function withIgnoreStatus($value)
4082
    {
4083
        $this->data['IgnoreStatus'] = $value;
4084
        $this->options['query']['ignoreStatus'] = $value;
4085
4086
        return $this;
4087
    }
4088
4089
    /**
4090
     * @param string $value
4091
     *
4092
     * @return $this
4093
     */
4094
    public function withClientToken($value)
4095
    {
4096
        $this->data['ClientToken'] = $value;
4097
        $this->options['query']['clientToken'] = $value;
4098
4099
        return $this;
4100
    }
4101
}
4102
4103
/**
4104
 * @method string getInstanceId()
4105
 * @method $this withInstanceId($value)
4106
 * @method string getClientToken()
4107
 */
4108
class UpdateInstanceChargeType extends Roa
4109
{
4110
    /** @var string */
4111
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/convert-pay-type';
4112
4113
    /**
4114
     * @param string $value
4115
     *
4116
     * @return $this
4117
     */
4118
    public function withClientToken($value)
4119
    {
4120
        $this->data['ClientToken'] = $value;
4121
        $this->options['query']['clientToken'] = $value;
4122
4123
        return $this;
4124
    }
4125
}
4126
4127
/**
4128
 * @method string getInstanceId()
4129
 * @method $this withInstanceId($value)
4130
 * @method string getClientToken()
4131
 */
4132
class UpdateInstanceSettings extends Roa
4133
{
4134
    /** @var string */
4135
    public $pathPattern = '/openapi/instances/[InstanceId]/instance-settings';
4136
4137
    /**
4138
     * @param string $value
4139
     *
4140
     * @return $this
4141
     */
4142
    public function withClientToken($value)
4143
    {
4144
        $this->data['ClientToken'] = $value;
4145
        $this->options['query']['clientToken'] = $value;
4146
4147
        return $this;
4148
    }
4149
}
4150
4151
/**
4152
 * @method string getInstanceId()
4153
 * @method $this withInstanceId($value)
4154
 * @method string getClientToken()
4155
 */
4156
class UpdateKibanaSettings extends Roa
4157
{
4158
    /** @var string */
4159
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/update-kibana-settings';
4160
4161
    /**
4162
     * @param string $value
4163
     *
4164
     * @return $this
4165
     */
4166
    public function withClientToken($value)
4167
    {
4168
        $this->data['ClientToken'] = $value;
4169
        $this->options['query']['clientToken'] = $value;
4170
4171
        return $this;
4172
    }
4173
}
4174
4175
/**
4176
 * @method string getInstanceId()
4177
 * @method $this withInstanceId($value)
4178
 * @method string getClientToken()
4179
 */
4180
class UpdateKibanaWhiteIps extends Roa
4181
{
4182
    /** @var string */
4183
    public $pathPattern = '/openapi/instances/[InstanceId]/kibana-white-ips';
4184
4185
    /**
4186
     * @param string $value
4187
     *
4188
     * @return $this
4189
     */
4190
    public function withClientToken($value)
4191
    {
4192
        $this->data['ClientToken'] = $value;
4193
        $this->options['query']['clientToken'] = $value;
4194
4195
        return $this;
4196
    }
4197
}
4198
4199
/**
4200
 * @method string getInstanceId()
4201
 * @method $this withInstanceId($value)
4202
 * @method string getClientToken()
4203
 */
4204
class UpdateLogstash extends Roa
4205
{
4206
    /** @var string */
4207
    public $pathPattern = '/openapi/logstashes/[InstanceId]';
4208
4209
    /** @var string */
4210
    public $method = 'PUT';
4211
4212
    /**
4213
     * @param string $value
4214
     *
4215
     * @return $this
4216
     */
4217
    public function withClientToken($value)
4218
    {
4219
        $this->data['ClientToken'] = $value;
4220
        $this->options['query']['clientToken'] = $value;
4221
4222
        return $this;
4223
    }
4224
}
4225
4226
/**
4227
 * @method string getInstanceId()
4228
 * @method $this withInstanceId($value)
4229
 * @method string getClientToken()
4230
 */
4231
class UpdateLogstashChargeType extends Roa
4232
{
4233
    /** @var string */
4234
    public $pathPattern = '/openapi/logstashes/[InstanceId]/actions/convert-pay-type';
4235
4236
    /**
4237
     * @param string $value
4238
     *
4239
     * @return $this
4240
     */
4241
    public function withClientToken($value)
4242
    {
4243
        $this->data['ClientToken'] = $value;
4244
        $this->options['query']['clientToken'] = $value;
4245
4246
        return $this;
4247
    }
4248
}
4249
4250
/**
4251
 * @method string getInstanceId()
4252
 * @method $this withInstanceId($value)
4253
 * @method string getClientToken()
4254
 */
4255
class UpdateLogstashDescription extends Roa
4256
{
4257
    /** @var string */
4258
    public $pathPattern = '/openapi/logstashes/[InstanceId]/description';
4259
4260
    /**
4261
     * @param string $value
4262
     *
4263
     * @return $this
4264
     */
4265
    public function withClientToken($value)
4266
    {
4267
        $this->data['ClientToken'] = $value;
4268
        $this->options['query']['clientToken'] = $value;
4269
4270
        return $this;
4271
    }
4272
}
4273
4274
/**
4275
 * @method string getInstanceId()
4276
 * @method $this withInstanceId($value)
4277
 * @method string getClientToken()
4278
 */
4279
class UpdateLogstashSettings extends Roa
4280
{
4281
    /** @var string */
4282
    public $pathPattern = '/openapi/logstashes/[InstanceId]/instance-settings';
4283
4284
    /**
4285
     * @param string $value
4286
     *
4287
     * @return $this
4288
     */
4289
    public function withClientToken($value)
4290
    {
4291
        $this->data['ClientToken'] = $value;
4292
        $this->options['query']['clientToken'] = $value;
4293
4294
        return $this;
4295
    }
4296
}
4297
4298
/**
4299
 * @method string getInstanceId()
4300
 * @method $this withInstanceId($value)
4301
 * @method string getClientToken()
4302
 */
4303
class UpdatePipelineManagementConfig extends Roa
4304
{
4305
    /** @var string */
4306
    public $pathPattern = '/openapi/logstashes/[InstanceId]/pipeline-management-config';
4307
4308
    /**
4309
     * @param string $value
4310
     *
4311
     * @return $this
4312
     */
4313
    public function withClientToken($value)
4314
    {
4315
        $this->data['ClientToken'] = $value;
4316
        $this->options['query']['clientToken'] = $value;
4317
4318
        return $this;
4319
    }
4320
}
4321
4322
/**
4323
 * @method string getInstanceId()
4324
 * @method $this withInstanceId($value)
4325
 * @method string getClientToken()
4326
 * @method string getTrigger()
4327
 */
4328
class UpdatePipelines extends Roa
4329
{
4330
    /** @var string */
4331
    public $pathPattern = '/openapi/logstashes/[InstanceId]/pipelines';
4332
4333
    /** @var string */
4334
    public $method = 'PUT';
4335
4336
    /**
4337
     * @param string $value
4338
     *
4339
     * @return $this
4340
     */
4341
    public function withClientToken($value)
4342
    {
4343
        $this->data['ClientToken'] = $value;
4344
        $this->options['query']['clientToken'] = $value;
4345
4346
        return $this;
4347
    }
4348
4349
    /**
4350
     * @param string $value
4351
     *
4352
     * @return $this
4353
     */
4354
    public function withTrigger($value)
4355
    {
4356
        $this->data['Trigger'] = $value;
4357
        $this->options['query']['trigger'] = $value;
4358
4359
        return $this;
4360
    }
4361
}
4362
4363
/**
4364
 * @method string getInstanceId()
4365
 * @method $this withInstanceId($value)
4366
 * @method string getClientToken()
4367
 */
4368
class UpdatePrivateNetworkWhiteIps extends Roa
4369
{
4370
    /** @var string */
4371
    public $pathPattern = '/openapi/instances/[InstanceId]/private-network-white-ips';
4372
4373
    /**
4374
     * @param string $value
4375
     *
4376
     * @return $this
4377
     */
4378
    public function withClientToken($value)
4379
    {
4380
        $this->data['ClientToken'] = $value;
4381
        $this->options['query']['clientToken'] = $value;
4382
4383
        return $this;
4384
    }
4385
}
4386
4387
/**
4388
 * @method string getInstanceId()
4389
 * @method $this withInstanceId($value)
4390
 * @method string getClientToken()
4391
 */
4392
class UpdatePublicNetwork extends Roa
4393
{
4394
    /** @var string */
4395
    public $pathPattern = '/openapi/instances/[InstanceId]/public-network';
4396
4397
    /**
4398
     * @param string $value
4399
     *
4400
     * @return $this
4401
     */
4402
    public function withClientToken($value)
4403
    {
4404
        $this->data['ClientToken'] = $value;
4405
        $this->options['query']['clientToken'] = $value;
4406
4407
        return $this;
4408
    }
4409
}
4410
4411
/**
4412
 * @method string getInstanceId()
4413
 * @method $this withInstanceId($value)
4414
 * @method string getClientToken()
4415
 */
4416
class UpdatePublicWhiteIps extends Roa
4417
{
4418
    /** @var string */
4419
    public $pathPattern = '/openapi/instances/[InstanceId]/public-white-ips';
4420
4421
    /**
4422
     * @param string $value
4423
     *
4424
     * @return $this
4425
     */
4426
    public function withClientToken($value)
4427
    {
4428
        $this->data['ClientToken'] = $value;
4429
        $this->options['query']['clientToken'] = $value;
4430
4431
        return $this;
4432
    }
4433
}
4434
4435
/**
4436
 * @method string getInstanceId()
4437
 * @method $this withInstanceId($value)
4438
 * @method string getClientToken()
4439
 */
4440
class UpdateReadWritePolicy extends Roa
4441
{
4442
    /** @var string */
4443
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/update-read-write-policy';
4444
4445
    /**
4446
     * @param string $value
4447
     *
4448
     * @return $this
4449
     */
4450
    public function withClientToken($value)
4451
    {
4452
        $this->data['ClientToken'] = $value;
4453
        $this->options['query']['ClientToken'] = $value;
4454
4455
        return $this;
4456
    }
4457
}
4458
4459
/**
4460
 * @method string getInstanceId()
4461
 * @method $this withInstanceId($value)
4462
 */
4463
class UpdateSnapshotSetting extends Roa
4464
{
4465
    /** @var string */
4466
    public $pathPattern = '/openapi/instances/[InstanceId]/snapshot-setting';
4467
}
4468
4469
/**
4470
 * @method string getInstanceId()
4471
 * @method $this withInstanceId($value)
4472
 * @method string getClientToken()
4473
 */
4474
class UpdateSynonymsDicts extends Roa
4475
{
4476
    /** @var string */
4477
    public $pathPattern = '/openapi/instances/[InstanceId]/synonymsDict';
4478
4479
    /** @var string */
4480
    public $method = 'PUT';
4481
4482
    /**
4483
     * @param string $value
4484
     *
4485
     * @return $this
4486
     */
4487
    public function withClientToken($value)
4488
    {
4489
        $this->data['ClientToken'] = $value;
4490
        $this->options['query']['clientToken'] = $value;
4491
4492
        return $this;
4493
    }
4494
}
4495
4496
/**
4497
 * @method string getInstanceId()
4498
 * @method $this withInstanceId($value)
4499
 * @method string getClientToken()
4500
 * @method string getTemplateName()
4501
 * @method $this withTemplateName($value)
4502
 */
4503
class UpdateTemplate extends Roa
4504
{
4505
    /** @var string */
4506
    public $pathPattern = '/openapi/instances/[InstanceId]/templates/[TemplateName]';
4507
4508
    /**
4509
     * @param string $value
4510
     *
4511
     * @return $this
4512
     */
4513
    public function withClientToken($value)
4514
    {
4515
        $this->data['ClientToken'] = $value;
4516
        $this->options['query']['ClientToken'] = $value;
4517
4518
        return $this;
4519
    }
4520
}
4521
4522
/**
4523
 * @method string getInstanceId()
4524
 * @method $this withInstanceId($value)
4525
 * @method string getClientToken()
4526
 */
4527
class UpdateWhiteIps extends Roa
4528
{
4529
    /** @var string */
4530
    public $pathPattern = '/openapi/instances/[InstanceId]/white-ips';
4531
4532
    /**
4533
     * @param string $value
4534
     *
4535
     * @return $this
4536
     */
4537
    public function withClientToken($value)
4538
    {
4539
        $this->data['ClientToken'] = $value;
4540
        $this->options['query']['clientToken'] = $value;
4541
4542
        return $this;
4543
    }
4544
}
4545
4546
/**
4547
 * @method string getInstanceId()
4548
 * @method $this withInstanceId($value)
4549
 * @method string getClientToken()
4550
 */
4551
class UpdateXpackMonitorConfig extends Roa
4552
{
4553
    /** @var string */
4554
    public $pathPattern = '/openapi/logstashes/[InstanceId]/xpack-monitor-config';
4555
4556
    /**
4557
     * @param string $value
4558
     *
4559
     * @return $this
4560
     */
4561
    public function withClientToken($value)
4562
    {
4563
        $this->data['ClientToken'] = $value;
4564
        $this->options['query']['ClientToken'] = $value;
4565
4566
        return $this;
4567
    }
4568
}
4569
4570
/**
4571
 * @method string getInstanceId()
4572
 * @method $this withInstanceId($value)
4573
 * @method string getDryRun()
4574
 * @method string getClientToken()
4575
 * @method string getType()
4576
 * @method string getVersion()
4577
 */
4578
class UpgradeEngineVersion extends Roa
4579
{
4580
    /** @var string */
4581
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/upgrade-version';
4582
4583
    /**
4584
     * @param string $value
4585
     *
4586
     * @return $this
4587
     */
4588
    public function withDryRun($value)
4589
    {
4590
        $this->data['DryRun'] = $value;
4591
        $this->options['query']['dryRun'] = $value;
4592
4593
        return $this;
4594
    }
4595
4596
    /**
4597
     * @param string $value
4598
     *
4599
     * @return $this
4600
     */
4601
    public function withClientToken($value)
4602
    {
4603
        $this->data['ClientToken'] = $value;
4604
        $this->options['query']['clientToken'] = $value;
4605
4606
        return $this;
4607
    }
4608
4609
    /**
4610
     * @param string $value
4611
     *
4612
     * @return $this
4613
     */
4614
    public function withType($value)
4615
    {
4616
        $this->data['Type'] = $value;
4617
        $this->options['form_params']['type'] = $value;
4618
4619
        return $this;
4620
    }
4621
4622
    /**
4623
     * @param string $value
4624
     *
4625
     * @return $this
4626
     */
4627
    public function withVersion($value)
4628
    {
4629
        $this->data['Version'] = $value;
4630
        $this->options['form_params']['version'] = $value;
4631
4632
        return $this;
4633
    }
4634
}
4635
4636
/**
4637
 * @method string getInstanceId()
4638
 * @method $this withInstanceId($value)
4639
 * @method string getClientToken()
4640
 */
4641
class ValidateConnection extends Roa
4642
{
4643
    /** @var string */
4644
    public $pathPattern = '/openapi/logstashes/[InstanceId]/validate-connection';
4645
4646
    /**
4647
     * @param string $value
4648
     *
4649
     * @return $this
4650
     */
4651
    public function withClientToken($value)
4652
    {
4653
        $this->data['ClientToken'] = $value;
4654
        $this->options['query']['ClientToken'] = $value;
4655
4656
        return $this;
4657
    }
4658
}
4659
4660
/**
4661
 * @method string getIgnoreStatus()
4662
 * @method string getInstanceId()
4663
 * @method $this withInstanceId($value)
4664
 * @method string getNodeType()
4665
 */
4666
class ValidateShrinkNodes extends Roa
4667
{
4668
    /** @var string */
4669
    public $pathPattern = '/openapi/instances/[InstanceId]/validate-shrink-nodes';
4670
4671
    /**
4672
     * @param string $value
4673
     *
4674
     * @return $this
4675
     */
4676
    public function withIgnoreStatus($value)
4677
    {
4678
        $this->data['IgnoreStatus'] = $value;
4679
        $this->options['query']['ignoreStatus'] = $value;
4680
4681
        return $this;
4682
    }
4683
4684
    /**
4685
     * @param string $value
4686
     *
4687
     * @return $this
4688
     */
4689
    public function withNodeType($value)
4690
    {
4691
        $this->data['NodeType'] = $value;
4692
        $this->options['query']['nodeType'] = $value;
4693
4694
        return $this;
4695
    }
4696
}
4697
4698
/**
4699
 * @method string getInstanceId()
4700
 * @method $this withInstanceId($value)
4701
 * @method string getNodeType()
4702
 */
4703
class ValidateTransferableNodes extends Roa
4704
{
4705
    /** @var string */
4706
    public $pathPattern = '/openapi/instances/[InstanceId]/validate-transfer-nodes';
4707
4708
    /**
4709
     * @param string $value
4710
     *
4711
     * @return $this
4712
     */
4713
    public function withNodeType($value)
4714
    {
4715
        $this->data['NodeType'] = $value;
4716
        $this->options['query']['nodeType'] = $value;
4717
4718
        return $this;
4719
    }
4720
}
4721