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 ( bda918...00ebdc )
by
unknown
06:01
created

UpdateDescription::withClientToken()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 1
Metric Value
eloc 3
c 1
b 0
f 1
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 InstallUserPlugins installUserPlugins(array $options = [])
9
 * @method DescribeElasticsearchHealth describeElasticsearchHealth(array $options = [])
10
 * @method UpdateAdvancedSetting updateAdvancedSetting(array $options = [])
11
 * @method UpdateAliwsDict updateAliwsDict(array $options = [])
12
 * @method RollbackInstance rollbackInstance(array $options = [])
13
 * @method ListKibanaPlugins listKibanaPlugins(array $options = [])
14
 * @method DeactivateZones deactivateZones(array $options = [])
15
 * @method ActivateZones activateZones(array $options = [])
16
 * @method OpenHttps openHttps(array $options = [])
17
 * @method CloseHttps closeHttps(array $options = [])
18
 * @method UpdateKibanaSettings updateKibanaSettings(array $options = [])
19
 * @method DescribeKibanaSettings describeKibanaSettings(array $options = [])
20
 * @method InstallKibanaSystemPlugin installKibanaSystemPlugin(array $options = [])
21
 * @method UninstallKibanaPlugin uninstallKibanaPlugin(array $options = [])
22
 * @method TriggerNetwork triggerNetwork(array $options = [])
23
 * @method MoveResourceGroup moveResourceGroup(array $options = [])
24
 * @method GetSuggestShrinkableNodes getSuggestShrinkableNodes(array $options = [])
25
 * @method ListAllNode listAllNode(array $options = [])
26
 * @method ValidateShrinkNodes validateShrinkNodes(array $options = [])
27
 * @method ShrinkNode shrinkNode(array $options = [])
28
 * @method GetTransferableNodes getTransferableNodes(array $options = [])
29
 * @method ValidateTransferableNodes validateTransferableNodes(array $options = [])
30
 * @method TransferNode transferNode(array $options = [])
31
 * @method CancelTask cancelTask(array $options = [])
32
 * @method DeleteProject deleteProject(array $options = [])
33
 * @method CreateProject createProject(array $options = [])
34
 * @method UpdatePrivateNetworkWhiteIps updatePrivateNetworkWhiteIps(array $options = [])
35
 * @method ListPlugins listPlugins(array $options = [])
36
 * @method InstallSystemPlugin installSystemPlugin(array $options = [])
37
 * @method UninstallPlugin uninstallPlugin(array $options = [])
38
 * @method UpdateHotIkDicts updateHotIkDicts(array $options = [])
39
 * @method UpdateSynonymsDicts updateSynonymsDicts(array $options = [])
40
 * @method UpdateSnapshotSetting updateSnapshotSetting(array $options = [])
41
 * @method UpdateWhiteIps updateWhiteIps(array $options = [])
42
 * @method UpdateDescription updateDescription(array $options = [])
43
 * @method UpdateBlackIps updateBlackIps(array $options = [])
44
 * @method UpdateKibanaWhiteIps updateKibanaWhiteIps(array $options = [])
45
 * @method UpdatePublicNetwork updatePublicNetwork(array $options = [])
46
 * @method UpdatePublicWhiteIps updatePublicWhiteIps(array $options = [])
47
 * @method ListSearchLog listSearchLog(array $options = [])
48
 * @method UpdateInstanceSettings updateInstanceSettings(array $options = [])
49
 * @method UpdateAdminPassword updateAdminPassword(array $options = [])
50
 * @method GetRegionConfiguration getRegionConfiguration(array $options = [])
51
 * @method UpdateDict updateDict(array $options = [])
52
 * @method UpdateInstance updateInstance(array $options = [])
53
 * @method RestartInstance restartInstance(array $options = [])
54
 * @method ListInstance listInstance(array $options = [])
55
 * @method DescribeInstance describeInstance(array $options = [])
56
 * @method DeleteInstance deleteInstance(array $options = [])
57
 * @method CreateInstance createInstance(array $options = [])
58
 */
59
class ElasticsearchApiResolver extends ApiResolver
60
{
61
}
62
63
class Roa extends \AlibabaCloud\Client\Resolver\Roa
64
{
65
    /** @var string */
66
    public $product = 'elasticsearch';
67
68
    /** @var string */
69
    public $version = '2017-06-13';
70
71
    /** @var string */
72
    public $method = 'POST';
73
74
    /** @var string */
75
    public $serviceCode = 'elasticsearch';
76
}
77
78
/**
79
 * @method string getInstanceId()
80
 * @method $this withInstanceId($value)
81
 */
82
class InstallUserPlugins extends Roa
83
{
84
    /** @var string */
85
    public $pathPattern = '/openapi/instances/[InstanceId]/plugins/user/actions/install';
86
}
87
88
/**
89
 * @method string getInstanceId()
90
 * @method $this withInstanceId($value)
91
 */
92
class DescribeElasticsearchHealth extends Roa
93
{
94
    /** @var string */
95
    public $pathPattern = '/openapi/instances/[InstanceId]/elasticsearch-health';
96
97
    /** @var string */
98
    public $method = 'GET';
99
}
100
101
/**
102
 * @method string getInstanceId()
103
 * @method $this withInstanceId($value)
104
 * @method string getClientToken()
105
 */
106
class UpdateAdvancedSetting extends Roa
107
{
108
    /** @var string */
109
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/update-advanced-setting';
110
111
    /** @var string */
112
    public $method = 'PUT';
113
114
    /**
115
     * @param string $value
116
     *
117
     * @return $this
118
     */
119
    public function withClientToken($value)
120
    {
121
        $this->data['ClientToken'] = $value;
122
        $this->options['query']['clientToken'] = $value;
123
124
        return $this;
125
    }
126
}
127
128
/**
129
 * @method string getInstanceId()
130
 * @method $this withInstanceId($value)
131
 * @method string getClientToken()
132
 */
133
class UpdateAliwsDict extends Roa
134
{
135
    /** @var string */
136
    public $pathPattern = '/openapi/instances/[InstanceId]/aliws-dict';
137
138
    /** @var string */
139
    public $method = 'PUT';
140
141
    /**
142
     * @param string $value
143
     *
144
     * @return $this
145
     */
146
    public function withClientToken($value)
147
    {
148
        $this->data['ClientToken'] = $value;
149
        $this->options['query']['clientToken'] = $value;
150
151
        return $this;
152
    }
153
}
154
155
/**
156
 * @method string getInstanceId()
157
 * @method $this withInstanceId($value)
158
 * @method string getClientToken()
159
 */
160
class RollbackInstance extends Roa
161
{
162
    /** @var string */
163
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/rollback';
164
165
    /**
166
     * @param string $value
167
     *
168
     * @return $this
169
     */
170
    public function withClientToken($value)
171
    {
172
        $this->data['ClientToken'] = $value;
173
        $this->options['query']['clientToken'] = $value;
174
175
        return $this;
176
    }
177
}
178
179
/**
180
 * @method string getInstanceId()
181
 * @method $this withInstanceId($value)
182
 * @method string getSize()
183
 * @method string getPage()
184
 */
185
class ListKibanaPlugins extends Roa
186
{
187
    /** @var string */
188
    public $pathPattern = '/openapi/instances/[InstanceId]/kibana-plugins';
189
190
    /** @var string */
191
    public $method = 'GET';
192
193
    /**
194
     * @param string $value
195
     *
196
     * @return $this
197
     */
198
    public function withSize($value)
199
    {
200
        $this->data['Size'] = $value;
201
        $this->options['query']['size'] = $value;
202
203
        return $this;
204
    }
205
206
    /**
207
     * @param string $value
208
     *
209
     * @return $this
210
     */
211
    public function withPage($value)
212
    {
213
        $this->data['Page'] = $value;
214
        $this->options['query']['page'] = $value;
215
216
        return $this;
217
    }
218
}
219
220
/**
221
 * @method string getInstanceId()
222
 * @method $this withInstanceId($value)
223
 * @method string getClientToken()
224
 */
225
class DeactivateZones extends Roa
226
{
227
    /** @var string */
228
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/down-zones';
229
230
    /**
231
     * @param string $value
232
     *
233
     * @return $this
234
     */
235
    public function withClientToken($value)
236
    {
237
        $this->data['ClientToken'] = $value;
238
        $this->options['query']['clientToken'] = $value;
239
240
        return $this;
241
    }
242
}
243
244
/**
245
 * @method string getInstanceId()
246
 * @method $this withInstanceId($value)
247
 * @method string getClientToken()
248
 */
249
class ActivateZones extends Roa
250
{
251
    /** @var string */
252
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/recover-zones';
253
254
    /**
255
     * @param string $value
256
     *
257
     * @return $this
258
     */
259
    public function withClientToken($value)
260
    {
261
        $this->data['ClientToken'] = $value;
262
        $this->options['query']['clientToken'] = $value;
263
264
        return $this;
265
    }
266
}
267
268
/**
269
 * @method string getInstanceId()
270
 * @method $this withInstanceId($value)
271
 * @method string getClientToken()
272
 */
273
class OpenHttps extends Roa
274
{
275
    /** @var string */
276
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/open-https';
277
278
    /**
279
     * @param string $value
280
     *
281
     * @return $this
282
     */
283
    public function withClientToken($value)
284
    {
285
        $this->data['ClientToken'] = $value;
286
        $this->options['query']['clientToken'] = $value;
287
288
        return $this;
289
    }
290
}
291
292
/**
293
 * @method string getInstanceId()
294
 * @method $this withInstanceId($value)
295
 * @method string getClientToken()
296
 */
297
class CloseHttps extends Roa
298
{
299
    /** @var string */
300
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/close-https';
301
302
    /**
303
     * @param string $value
304
     *
305
     * @return $this
306
     */
307
    public function withClientToken($value)
308
    {
309
        $this->data['ClientToken'] = $value;
310
        $this->options['query']['clientToken'] = $value;
311
312
        return $this;
313
    }
314
}
315
316
/**
317
 * @method string getInstanceId()
318
 * @method $this withInstanceId($value)
319
 * @method string getClientToken()
320
 */
321
class UpdateKibanaSettings extends Roa
322
{
323
    /** @var string */
324
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/update-kibana-settings';
325
326
    /**
327
     * @param string $value
328
     *
329
     * @return $this
330
     */
331
    public function withClientToken($value)
332
    {
333
        $this->data['ClientToken'] = $value;
334
        $this->options['query']['clientToken'] = $value;
335
336
        return $this;
337
    }
338
}
339
340
/**
341
 * @method string getInstanceId()
342
 * @method $this withInstanceId($value)
343
 */
344
class DescribeKibanaSettings extends Roa
345
{
346
    /** @var string */
347
    public $pathPattern = '/openapi/instances/[InstanceId]/kibana-settings';
348
349
    /** @var string */
350
    public $method = 'GET';
351
}
352
353
/**
354
 * @method string getInstanceId()
355
 * @method $this withInstanceId($value)
356
 * @method string getClientToken()
357
 */
358
class InstallKibanaSystemPlugin extends Roa
359
{
360
    /** @var string */
361
    public $pathPattern = '/openapi/instances/[InstanceId]/kibana-plugins/system/actions/install';
362
363
    /**
364
     * @param string $value
365
     *
366
     * @return $this
367
     */
368
    public function withClientToken($value)
369
    {
370
        $this->data['ClientToken'] = $value;
371
        $this->options['query']['clientToken'] = $value;
372
373
        return $this;
374
    }
375
}
376
377
/**
378
 * @method string getInstanceId()
379
 * @method $this withInstanceId($value)
380
 * @method string getClientToken()
381
 */
382
class UninstallKibanaPlugin extends Roa
383
{
384
    /** @var string */
385
    public $pathPattern = '/openapi/instances/[InstanceId]/kibana-plugins/actions/uninstall';
386
387
    /**
388
     * @param string $value
389
     *
390
     * @return $this
391
     */
392
    public function withClientToken($value)
393
    {
394
        $this->data['ClientToken'] = $value;
395
        $this->options['query']['clientToken'] = $value;
396
397
        return $this;
398
    }
399
}
400
401
/**
402
 * @method string getInstanceId()
403
 * @method $this withInstanceId($value)
404
 * @method string getClientToken()
405
 */
406
class TriggerNetwork extends Roa
407
{
408
    /** @var string */
409
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/network-trigger';
410
411
    /**
412
     * @param string $value
413
     *
414
     * @return $this
415
     */
416
    public function withClientToken($value)
417
    {
418
        $this->data['ClientToken'] = $value;
419
        $this->options['query']['clientToken'] = $value;
420
421
        return $this;
422
    }
423
}
424
425
/**
426
 * @method string getInstanceId()
427
 * @method $this withInstanceId($value)
428
 * @method string getClientToken()
429
 */
430
class MoveResourceGroup extends Roa
431
{
432
    /** @var string */
433
    public $pathPattern = '/openapi/instances/[InstanceId]/resourcegroup';
434
435
    /**
436
     * @param string $value
437
     *
438
     * @return $this
439
     */
440
    public function withClientToken($value)
441
    {
442
        $this->data['ClientToken'] = $value;
443
        $this->options['query']['clientToken'] = $value;
444
445
        return $this;
446
    }
447
}
448
449
/**
450
 * @method string getInstanceId()
451
 * @method $this withInstanceId($value)
452
 * @method string getNodeType()
453
 * @method string getCount()
454
 */
455
class GetSuggestShrinkableNodes extends Roa
456
{
457
    /** @var string */
458
    public $pathPattern = '/openapi/instances/[InstanceId]/suggest-shrinkable-nodes';
459
460
    /** @var string */
461
    public $method = 'GET';
462
463
    /**
464
     * @param string $value
465
     *
466
     * @return $this
467
     */
468
    public function withNodeType($value)
469
    {
470
        $this->data['NodeType'] = $value;
471
        $this->options['query']['nodeType'] = $value;
472
473
        return $this;
474
    }
475
476
    /**
477
     * @param string $value
478
     *
479
     * @return $this
480
     */
481
    public function withCount($value)
482
    {
483
        $this->data['Count'] = $value;
484
        $this->options['query']['count'] = $value;
485
486
        return $this;
487
    }
488
}
489
490
/**
491
 * @method string getInstanceId()
492
 * @method $this withInstanceId($value)
493
 */
494
class ListAllNode extends Roa
495
{
496
    /** @var string */
497
    public $pathPattern = '/openapi/instances/[InstanceId]/nodes';
498
499
    /** @var string */
500
    public $method = 'GET';
501
}
502
503
/**
504
 * @method string getInstanceId()
505
 * @method $this withInstanceId($value)
506
 * @method string getNodeType()
507
 */
508
class ValidateShrinkNodes extends Roa
509
{
510
    /** @var string */
511
    public $pathPattern = '/openapi/instances/[InstanceId]/validate-shrink-nodes';
512
513
    /**
514
     * @param string $value
515
     *
516
     * @return $this
517
     */
518
    public function withNodeType($value)
519
    {
520
        $this->data['NodeType'] = $value;
521
        $this->options['query']['nodeType'] = $value;
522
523
        return $this;
524
    }
525
}
526
527
/**
528
 * @method string getInstanceId()
529
 * @method $this withInstanceId($value)
530
 * @method string getNodeType()
531
 * @method string getClientToken()
532
 */
533
class ShrinkNode extends Roa
534
{
535
    /** @var string */
536
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/shrink';
537
538
    /**
539
     * @param string $value
540
     *
541
     * @return $this
542
     */
543
    public function withNodeType($value)
544
    {
545
        $this->data['NodeType'] = $value;
546
        $this->options['query']['nodeType'] = $value;
547
548
        return $this;
549
    }
550
551
    /**
552
     * @param string $value
553
     *
554
     * @return $this
555
     */
556
    public function withClientToken($value)
557
    {
558
        $this->data['ClientToken'] = $value;
559
        $this->options['query']['clientToken'] = $value;
560
561
        return $this;
562
    }
563
}
564
565
/**
566
 * @method string getInstanceId()
567
 * @method $this withInstanceId($value)
568
 * @method string getNodeType()
569
 * @method string getCount()
570
 */
571
class GetTransferableNodes extends Roa
572
{
573
    /** @var string */
574
    public $pathPattern = '/openapi/instances/[InstanceId]/transferable-nodes';
575
576
    /** @var string */
577
    public $method = 'GET';
578
579
    /**
580
     * @param string $value
581
     *
582
     * @return $this
583
     */
584
    public function withNodeType($value)
585
    {
586
        $this->data['NodeType'] = $value;
587
        $this->options['query']['nodeType'] = $value;
588
589
        return $this;
590
    }
591
592
    /**
593
     * @param string $value
594
     *
595
     * @return $this
596
     */
597
    public function withCount($value)
598
    {
599
        $this->data['Count'] = $value;
600
        $this->options['query']['count'] = $value;
601
602
        return $this;
603
    }
604
}
605
606
/**
607
 * @method string getInstanceId()
608
 * @method $this withInstanceId($value)
609
 * @method string getNodeType()
610
 */
611
class ValidateTransferableNodes extends Roa
612
{
613
    /** @var string */
614
    public $pathPattern = '/openapi/instances/[InstanceId]/validate-transfer-nodes';
615
616
    /**
617
     * @param string $value
618
     *
619
     * @return $this
620
     */
621
    public function withNodeType($value)
622
    {
623
        $this->data['NodeType'] = $value;
624
        $this->options['query']['nodeType'] = $value;
625
626
        return $this;
627
    }
628
}
629
630
/**
631
 * @method string getInstanceId()
632
 * @method $this withInstanceId($value)
633
 * @method string getNodeType()
634
 * @method string getClientToken()
635
 */
636
class TransferNode extends Roa
637
{
638
    /** @var string */
639
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/transfer';
640
641
    /**
642
     * @param string $value
643
     *
644
     * @return $this
645
     */
646
    public function withNodeType($value)
647
    {
648
        $this->data['NodeType'] = $value;
649
        $this->options['query']['nodeType'] = $value;
650
651
        return $this;
652
    }
653
654
    /**
655
     * @param string $value
656
     *
657
     * @return $this
658
     */
659
    public function withClientToken($value)
660
    {
661
        $this->data['ClientToken'] = $value;
662
        $this->options['query']['clientToken'] = $value;
663
664
        return $this;
665
    }
666
}
667
668
/**
669
 * @method string getInstanceId()
670
 * @method $this withInstanceId($value)
671
 * @method string getTaskType()
672
 * @method string getClientToken()
673
 */
674
class CancelTask extends Roa
675
{
676
    /** @var string */
677
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/cancel-task';
678
679
    /**
680
     * @param string $value
681
     *
682
     * @return $this
683
     */
684
    public function withTaskType($value)
685
    {
686
        $this->data['TaskType'] = $value;
687
        $this->options['query']['taskType'] = $value;
688
689
        return $this;
690
    }
691
692
    /**
693
     * @param string $value
694
     *
695
     * @return $this
696
     */
697
    public function withClientToken($value)
698
    {
699
        $this->data['ClientToken'] = $value;
700
        $this->options['query']['clientToken'] = $value;
701
702
        return $this;
703
    }
704
}
705
706
/**
707
 * @method string getClientToken()
708
 * @method string getId()
709
 * @method $this withId($value)
710
 */
711
class DeleteProject extends Roa
712
{
713
    /** @var string */
714
    public $pathPattern = '/openapi/projects/[Id]';
715
716
    /** @var string */
717
    public $method = 'DELETE';
718
719
    /**
720
     * @param string $value
721
     *
722
     * @return $this
723
     */
724
    public function withClientToken($value)
725
    {
726
        $this->data['ClientToken'] = $value;
727
        $this->options['query']['clientToken'] = $value;
728
729
        return $this;
730
    }
731
}
732
733
/**
734
 * @method string getClientToken()
735
 */
736
class CreateProject extends Roa
737
{
738
    /** @var string */
739
    public $pathPattern = '/openapi/projects';
740
741
    /**
742
     * @param string $value
743
     *
744
     * @return $this
745
     */
746
    public function withClientToken($value)
747
    {
748
        $this->data['ClientToken'] = $value;
749
        $this->options['query']['clientToken'] = $value;
750
751
        return $this;
752
    }
753
}
754
755
/**
756
 * @method string getInstanceId()
757
 * @method $this withInstanceId($value)
758
 * @method string getClientToken()
759
 */
760
class UpdatePrivateNetworkWhiteIps extends Roa
761
{
762
    /** @var string */
763
    public $pathPattern = '/openapi/instances/[InstanceId]/private-network-white-ips';
764
765
    /**
766
     * @param string $value
767
     *
768
     * @return $this
769
     */
770
    public function withClientToken($value)
771
    {
772
        $this->data['ClientToken'] = $value;
773
        $this->options['query']['clientToken'] = $value;
774
775
        return $this;
776
    }
777
}
778
779
/**
780
 * @method string getInstanceId()
781
 * @method $this withInstanceId($value)
782
 * @method string getSize()
783
 * @method string getName()
784
 * @method string getPage()
785
 * @method string getSource()
786
 */
787
class ListPlugins extends Roa
788
{
789
    /** @var string */
790
    public $pathPattern = '/openapi/instances/[InstanceId]/plugins';
791
792
    /** @var string */
793
    public $method = 'GET';
794
795
    /**
796
     * @param string $value
797
     *
798
     * @return $this
799
     */
800
    public function withSize($value)
801
    {
802
        $this->data['Size'] = $value;
803
        $this->options['query']['size'] = $value;
804
805
        return $this;
806
    }
807
808
    /**
809
     * @param string $value
810
     *
811
     * @return $this
812
     */
813
    public function withName($value)
814
    {
815
        $this->data['Name'] = $value;
816
        $this->options['query']['name'] = $value;
817
818
        return $this;
819
    }
820
821
    /**
822
     * @param string $value
823
     *
824
     * @return $this
825
     */
826
    public function withPage($value)
827
    {
828
        $this->data['Page'] = $value;
829
        $this->options['query']['page'] = $value;
830
831
        return $this;
832
    }
833
834
    /**
835
     * @param string $value
836
     *
837
     * @return $this
838
     */
839
    public function withSource($value)
840
    {
841
        $this->data['Source'] = $value;
842
        $this->options['query']['source'] = $value;
843
844
        return $this;
845
    }
846
}
847
848
/**
849
 * @method string getInstanceId()
850
 * @method $this withInstanceId($value)
851
 * @method string getClientToken()
852
 */
853
class InstallSystemPlugin extends Roa
854
{
855
    /** @var string */
856
    public $pathPattern = '/openapi/instances/[InstanceId]/plugins/system/actions/install';
857
858
    /**
859
     * @param string $value
860
     *
861
     * @return $this
862
     */
863
    public function withClientToken($value)
864
    {
865
        $this->data['ClientToken'] = $value;
866
        $this->options['query']['clientToken'] = $value;
867
868
        return $this;
869
    }
870
}
871
872
/**
873
 * @method string getInstanceId()
874
 * @method $this withInstanceId($value)
875
 * @method string getClientToken()
876
 */
877
class UninstallPlugin extends Roa
878
{
879
    /** @var string */
880
    public $pathPattern = '/openapi/instances/[InstanceId]/plugins/actions/uninstall';
881
882
    /**
883
     * @param string $value
884
     *
885
     * @return $this
886
     */
887
    public function withClientToken($value)
888
    {
889
        $this->data['ClientToken'] = $value;
890
        $this->options['query']['clientToken'] = $value;
891
892
        return $this;
893
    }
894
}
895
896
/**
897
 * @method string getInstanceId()
898
 * @method $this withInstanceId($value)
899
 * @method string getClientToken()
900
 */
901
class UpdateHotIkDicts extends Roa
902
{
903
    /** @var string */
904
    public $pathPattern = '/openapi/instances/[InstanceId]/ik-hot-dict';
905
906
    /** @var string */
907
    public $method = 'PUT';
908
909
    /**
910
     * @param string $value
911
     *
912
     * @return $this
913
     */
914
    public function withClientToken($value)
915
    {
916
        $this->data['ClientToken'] = $value;
917
        $this->options['query']['clientToken'] = $value;
918
919
        return $this;
920
    }
921
}
922
923
/**
924
 * @method string getInstanceId()
925
 * @method $this withInstanceId($value)
926
 * @method string getClientToken()
927
 */
928
class UpdateSynonymsDicts extends Roa
929
{
930
    /** @var string */
931
    public $pathPattern = '/openapi/instances/[InstanceId]/synonymsDict';
932
933
    /** @var string */
934
    public $method = 'PUT';
935
936
    /**
937
     * @param string $value
938
     *
939
     * @return $this
940
     */
941
    public function withClientToken($value)
942
    {
943
        $this->data['ClientToken'] = $value;
944
        $this->options['query']['clientToken'] = $value;
945
946
        return $this;
947
    }
948
}
949
950
/**
951
 * @method string getInstanceId()
952
 * @method $this withInstanceId($value)
953
 */
954
class UpdateSnapshotSetting extends Roa
955
{
956
    /** @var string */
957
    public $pathPattern = '/openapi/instances/[InstanceId]/snapshot-setting';
958
}
959
960
/**
961
 * @method string getInstanceId()
962
 * @method $this withInstanceId($value)
963
 * @method string getClientToken()
964
 */
965
class UpdateWhiteIps extends Roa
966
{
967
    /** @var string */
968
    public $pathPattern = '/openapi/instances/[InstanceId]/white-ips';
969
970
    /**
971
     * @param string $value
972
     *
973
     * @return $this
974
     */
975
    public function withClientToken($value)
976
    {
977
        $this->data['ClientToken'] = $value;
978
        $this->options['query']['clientToken'] = $value;
979
980
        return $this;
981
    }
982
}
983
984
/**
985
 * @method string getInstanceId()
986
 * @method $this withInstanceId($value)
987
 * @method string getClientToken()
988
 */
989
class UpdateDescription extends Roa
990
{
991
    /** @var string */
992
    public $pathPattern = '/openapi/instances/[InstanceId]/description';
993
994
    /**
995
     * @param string $value
996
     *
997
     * @return $this
998
     */
999
    public function withClientToken($value)
1000
    {
1001
        $this->data['ClientToken'] = $value;
1002
        $this->options['query']['clientToken'] = $value;
1003
1004
        return $this;
1005
    }
1006
}
1007
1008
/**
1009
 * @method string getInstanceId()
1010
 * @method $this withInstanceId($value)
1011
 * @method string getClientToken()
1012
 */
1013
class UpdateBlackIps extends Roa
1014
{
1015
    /** @var string */
1016
    public $pathPattern = '/openapi/instances/[InstanceId]/black-ips';
1017
1018
    /**
1019
     * @param string $value
1020
     *
1021
     * @return $this
1022
     */
1023
    public function withClientToken($value)
1024
    {
1025
        $this->data['ClientToken'] = $value;
1026
        $this->options['query']['clientToken'] = $value;
1027
1028
        return $this;
1029
    }
1030
}
1031
1032
/**
1033
 * @method string getInstanceId()
1034
 * @method $this withInstanceId($value)
1035
 * @method string getClientToken()
1036
 */
1037
class UpdateKibanaWhiteIps extends Roa
1038
{
1039
    /** @var string */
1040
    public $pathPattern = '/openapi/instances/[InstanceId]/kibana-white-ips';
1041
1042
    /**
1043
     * @param string $value
1044
     *
1045
     * @return $this
1046
     */
1047
    public function withClientToken($value)
1048
    {
1049
        $this->data['ClientToken'] = $value;
1050
        $this->options['query']['clientToken'] = $value;
1051
1052
        return $this;
1053
    }
1054
}
1055
1056
/**
1057
 * @method string getInstanceId()
1058
 * @method $this withInstanceId($value)
1059
 * @method string getClientToken()
1060
 */
1061
class UpdatePublicNetwork extends Roa
1062
{
1063
    /** @var string */
1064
    public $pathPattern = '/openapi/instances/[InstanceId]/public-network';
1065
1066
    /**
1067
     * @param string $value
1068
     *
1069
     * @return $this
1070
     */
1071
    public function withClientToken($value)
1072
    {
1073
        $this->data['ClientToken'] = $value;
1074
        $this->options['query']['clientToken'] = $value;
1075
1076
        return $this;
1077
    }
1078
}
1079
1080
/**
1081
 * @method string getInstanceId()
1082
 * @method $this withInstanceId($value)
1083
 * @method string getClientToken()
1084
 */
1085
class UpdatePublicWhiteIps extends Roa
1086
{
1087
    /** @var string */
1088
    public $pathPattern = '/openapi/instances/[InstanceId]/public-white-ips';
1089
1090
    /**
1091
     * @param string $value
1092
     *
1093
     * @return $this
1094
     */
1095
    public function withClientToken($value)
1096
    {
1097
        $this->data['ClientToken'] = $value;
1098
        $this->options['query']['clientToken'] = $value;
1099
1100
        return $this;
1101
    }
1102
}
1103
1104
/**
1105
 * @method string getInstanceId()
1106
 * @method $this withInstanceId($value)
1107
 * @method string getSize()
1108
 * @method string getQuery()
1109
 * @method string getEndTime()
1110
 * @method string getBeginTime()
1111
 * @method string getPage()
1112
 * @method string getType()
1113
 */
1114
class ListSearchLog extends Roa
1115
{
1116
    /** @var string */
1117
    public $pathPattern = '/openapi/instances/[InstanceId]/search-log';
1118
1119
    /** @var string */
1120
    public $method = 'GET';
1121
1122
    /**
1123
     * @param string $value
1124
     *
1125
     * @return $this
1126
     */
1127
    public function withSize($value)
1128
    {
1129
        $this->data['Size'] = $value;
1130
        $this->options['query']['size'] = $value;
1131
1132
        return $this;
1133
    }
1134
1135
    /**
1136
     * @param string $value
1137
     *
1138
     * @return $this
1139
     */
1140
    public function withQuery($value)
1141
    {
1142
        $this->data['Query'] = $value;
1143
        $this->options['query']['query'] = $value;
1144
1145
        return $this;
1146
    }
1147
1148
    /**
1149
     * @param string $value
1150
     *
1151
     * @return $this
1152
     */
1153
    public function withEndTime($value)
1154
    {
1155
        $this->data['EndTime'] = $value;
1156
        $this->options['query']['endTime'] = $value;
1157
1158
        return $this;
1159
    }
1160
1161
    /**
1162
     * @param string $value
1163
     *
1164
     * @return $this
1165
     */
1166
    public function withBeginTime($value)
1167
    {
1168
        $this->data['BeginTime'] = $value;
1169
        $this->options['query']['beginTime'] = $value;
1170
1171
        return $this;
1172
    }
1173
1174
    /**
1175
     * @param string $value
1176
     *
1177
     * @return $this
1178
     */
1179
    public function withPage($value)
1180
    {
1181
        $this->data['Page'] = $value;
1182
        $this->options['query']['page'] = $value;
1183
1184
        return $this;
1185
    }
1186
1187
    /**
1188
     * @param string $value
1189
     *
1190
     * @return $this
1191
     */
1192
    public function withType($value)
1193
    {
1194
        $this->data['Type'] = $value;
1195
        $this->options['query']['type'] = $value;
1196
1197
        return $this;
1198
    }
1199
}
1200
1201
/**
1202
 * @method string getInstanceId()
1203
 * @method $this withInstanceId($value)
1204
 * @method string getClientToken()
1205
 */
1206
class UpdateInstanceSettings extends Roa
1207
{
1208
    /** @var string */
1209
    public $pathPattern = '/openapi/instances/[InstanceId]/instance-settings';
1210
1211
    /**
1212
     * @param string $value
1213
     *
1214
     * @return $this
1215
     */
1216
    public function withClientToken($value)
1217
    {
1218
        $this->data['ClientToken'] = $value;
1219
        $this->options['query']['clientToken'] = $value;
1220
1221
        return $this;
1222
    }
1223
}
1224
1225
/**
1226
 * @method string getInstanceId()
1227
 * @method $this withInstanceId($value)
1228
 * @method string getClientToken()
1229
 */
1230
class UpdateAdminPassword extends Roa
1231
{
1232
    /** @var string */
1233
    public $pathPattern = '/openapi/instances/[InstanceId]/admin-pwd';
1234
1235
    /**
1236
     * @param string $value
1237
     *
1238
     * @return $this
1239
     */
1240
    public function withClientToken($value)
1241
    {
1242
        $this->data['ClientToken'] = $value;
1243
        $this->options['query']['clientToken'] = $value;
1244
1245
        return $this;
1246
    }
1247
}
1248
1249
class GetRegionConfiguration extends Roa
1250
{
1251
    /** @var string */
1252
    public $pathPattern = '/openapi/region';
1253
1254
    /** @var string */
1255
    public $method = 'GET';
1256
}
1257
1258
/**
1259
 * @method string getInstanceId()
1260
 * @method $this withInstanceId($value)
1261
 * @method string getClientToken()
1262
 */
1263
class UpdateDict extends Roa
1264
{
1265
    /** @var string */
1266
    public $pathPattern = '/openapi/instances/[InstanceId]/dict';
1267
1268
    /** @var string */
1269
    public $method = 'PUT';
1270
1271
    /**
1272
     * @param string $value
1273
     *
1274
     * @return $this
1275
     */
1276
    public function withClientToken($value)
1277
    {
1278
        $this->data['ClientToken'] = $value;
1279
        $this->options['query']['clientToken'] = $value;
1280
1281
        return $this;
1282
    }
1283
}
1284
1285
/**
1286
 * @method string getInstanceId()
1287
 * @method $this withInstanceId($value)
1288
 * @method string getClientToken()
1289
 */
1290
class UpdateInstance extends Roa
1291
{
1292
    /** @var string */
1293
    public $pathPattern = '/openapi/instances/[InstanceId]';
1294
1295
    /** @var string */
1296
    public $method = 'PUT';
1297
1298
    /**
1299
     * @param string $value
1300
     *
1301
     * @return $this
1302
     */
1303
    public function withClientToken($value)
1304
    {
1305
        $this->data['ClientToken'] = $value;
1306
        $this->options['query']['clientToken'] = $value;
1307
1308
        return $this;
1309
    }
1310
}
1311
1312
/**
1313
 * @method string getInstanceId()
1314
 * @method $this withInstanceId($value)
1315
 * @method string getClientToken()
1316
 * @method string getForce()
1317
 */
1318
class RestartInstance extends Roa
1319
{
1320
    /** @var string */
1321
    public $pathPattern = '/openapi/instances/[InstanceId]/actions/restart';
1322
1323
    /**
1324
     * @param string $value
1325
     *
1326
     * @return $this
1327
     */
1328
    public function withClientToken($value)
1329
    {
1330
        $this->data['ClientToken'] = $value;
1331
        $this->options['query']['clientToken'] = $value;
1332
1333
        return $this;
1334
    }
1335
1336
    /**
1337
     * @param string $value
1338
     *
1339
     * @return $this
1340
     */
1341
    public function withForce($value)
1342
    {
1343
        $this->data['Force'] = $value;
1344
        $this->options['query']['force'] = $value;
1345
1346
        return $this;
1347
    }
1348
}
1349
1350
/**
1351
 * @method string getResourceGroupId()
1352
 * @method string getInstanceId()
1353
 * @method string getSize()
1354
 * @method string getEsVersion()
1355
 * @method string getDescription()
1356
 * @method string getPage()
1357
 * @method string getOwnerId()
1358
 */
1359
class ListInstance extends Roa
1360
{
1361
    /** @var string */
1362
    public $pathPattern = '/openapi/instances';
1363
1364
    /** @var string */
1365
    public $method = 'GET';
1366
1367
    /**
1368
     * @param string $value
1369
     *
1370
     * @return $this
1371
     */
1372
    public function withResourceGroupId($value)
1373
    {
1374
        $this->data['ResourceGroupId'] = $value;
1375
        $this->options['query']['resourceGroupId'] = $value;
1376
1377
        return $this;
1378
    }
1379
1380
    /**
1381
     * @param string $value
1382
     *
1383
     * @return $this
1384
     */
1385
    public function withInstanceId($value)
1386
    {
1387
        $this->data['InstanceId'] = $value;
1388
        $this->options['query']['instanceId'] = $value;
1389
1390
        return $this;
1391
    }
1392
1393
    /**
1394
     * @param string $value
1395
     *
1396
     * @return $this
1397
     */
1398
    public function withSize($value)
1399
    {
1400
        $this->data['Size'] = $value;
1401
        $this->options['query']['size'] = $value;
1402
1403
        return $this;
1404
    }
1405
1406
    /**
1407
     * @param string $value
1408
     *
1409
     * @return $this
1410
     */
1411
    public function withEsVersion($value)
1412
    {
1413
        $this->data['EsVersion'] = $value;
1414
        $this->options['query']['esVersion'] = $value;
1415
1416
        return $this;
1417
    }
1418
1419
    /**
1420
     * @param string $value
1421
     *
1422
     * @return $this
1423
     */
1424
    public function withDescription($value)
1425
    {
1426
        $this->data['Description'] = $value;
1427
        $this->options['query']['description'] = $value;
1428
1429
        return $this;
1430
    }
1431
1432
    /**
1433
     * @param string $value
1434
     *
1435
     * @return $this
1436
     */
1437
    public function withPage($value)
1438
    {
1439
        $this->data['Page'] = $value;
1440
        $this->options['query']['page'] = $value;
1441
1442
        return $this;
1443
    }
1444
1445
    /**
1446
     * @param string $value
1447
     *
1448
     * @return $this
1449
     */
1450
    public function withOwnerId($value)
1451
    {
1452
        $this->data['OwnerId'] = $value;
1453
        $this->options['query']['ownerId'] = $value;
1454
1455
        return $this;
1456
    }
1457
}
1458
1459
/**
1460
 * @method string getInstanceId()
1461
 * @method $this withInstanceId($value)
1462
 */
1463
class DescribeInstance extends Roa
1464
{
1465
    /** @var string */
1466
    public $pathPattern = '/openapi/instances/[InstanceId]';
1467
1468
    /** @var string */
1469
    public $method = 'GET';
1470
}
1471
1472
/**
1473
 * @method string getInstanceId()
1474
 * @method $this withInstanceId($value)
1475
 * @method string getClientToken()
1476
 */
1477
class DeleteInstance extends Roa
1478
{
1479
    /** @var string */
1480
    public $pathPattern = '/openapi/instances/[InstanceId]';
1481
1482
    /** @var string */
1483
    public $method = 'DELETE';
1484
1485
    /**
1486
     * @param string $value
1487
     *
1488
     * @return $this
1489
     */
1490
    public function withClientToken($value)
1491
    {
1492
        $this->data['ClientToken'] = $value;
1493
        $this->options['query']['clientToken'] = $value;
1494
1495
        return $this;
1496
    }
1497
}
1498
1499
/**
1500
 * @method string getClientToken()
1501
 */
1502
class CreateInstance extends Roa
1503
{
1504
    /** @var string */
1505
    public $pathPattern = '/openapi/instances';
1506
1507
    /**
1508
     * @param string $value
1509
     *
1510
     * @return $this
1511
     */
1512
    public function withClientToken($value)
1513
    {
1514
        $this->data['ClientToken'] = $value;
1515
        $this->options['query']['clientToken'] = $value;
1516
1517
        return $this;
1518
    }
1519
}
1520