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 ( afdee4...94a50e )
by
unknown
06:20
created

UpgradeInstance::withInstanceId()   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
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\OpenanalyticsOpen\V20180619;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddAccount addAccount(array $options = [])
9
 * @method AddEndPoint addEndPoint(array $options = [])
10
 * @method CreateInstance createInstance(array $options = [])
11
 * @method DeleteAccount deleteAccount(array $options = [])
12
 * @method GetAllowIP getAllowIP(array $options = [])
13
 * @method GetEndPoint getEndPoint(array $options = [])
14
 * @method GetEndPointByDomain getEndPointByDomain(array $options = [])
15
 * @method GetJobDetail getJobDetail(array $options = [])
16
 * @method GetJobLog getJobLog(array $options = [])
17
 * @method GetJobStatus getJobStatus(array $options = [])
18
 * @method KillSparkJob killSparkJob(array $options = [])
19
 * @method ListSparkJob listSparkJob(array $options = [])
20
 * @method QueryAccountList queryAccountList(array $options = [])
21
 * @method QueryEndPointList queryEndPointList(array $options = [])
22
 * @method ReleaseInstance releaseInstance(array $options = [])
23
 * @method RemoveEndPoint removeEndPoint(array $options = [])
24
 * @method ResetMainPassword resetMainPassword(array $options = [])
25
 * @method SetAllowIP setAllowIP(array $options = [])
26
 * @method SubmitSparkJob submitSparkJob(array $options = [])
27
 * @method UnSubscribeRegion unSubscribeRegion(array $options = [])
28
 * @method UpdateAccountPassword updateAccountPassword(array $options = [])
29
 * @method UpgradeInstance upgradeInstance(array $options = [])
30
 */
31
class OpenanalyticsOpenApiResolver extends ApiResolver
32
{
33
}
34
35
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
36
{
37
    /** @var string */
38
    public $product = 'openanalytics-open';
39
40
    /** @var string */
41
    public $version = '2018-06-19';
42
43
    /** @var string */
44
    public $method = 'POST';
45
46
    /** @var string */
47
    public $serviceCode = 'openanalytics';
48
}
49
50
/**
51
 * @method string getRamUid()
52
 * @method string getIsShort()
53
 * @method string getRemark()
54
 * @method string getPassword()
55
 * @method string getAccountName()
56
 * @method string getEnableKMS()
57
 * @method string getUseRandomPassword()
58
 */
59
class AddAccount extends Rpc
60
{
61
62
    /**
63
     * @param string $value
64
     *
65
     * @return $this
66
     */
67
    public function withRamUid($value)
68
    {
69
        $this->data['RamUid'] = $value;
70
        $this->options['form_params']['RamUid'] = $value;
71
72
        return $this;
73
    }
74
75
    /**
76
     * @param string $value
77
     *
78
     * @return $this
79
     */
80
    public function withIsShort($value)
81
    {
82
        $this->data['IsShort'] = $value;
83
        $this->options['form_params']['IsShort'] = $value;
84
85
        return $this;
86
    }
87
88
    /**
89
     * @param string $value
90
     *
91
     * @return $this
92
     */
93
    public function withRemark($value)
94
    {
95
        $this->data['Remark'] = $value;
96
        $this->options['form_params']['Remark'] = $value;
97
98
        return $this;
99
    }
100
101
    /**
102
     * @param string $value
103
     *
104
     * @return $this
105
     */
106
    public function withPassword($value)
107
    {
108
        $this->data['Password'] = $value;
109
        $this->options['form_params']['Password'] = $value;
110
111
        return $this;
112
    }
113
114
    /**
115
     * @param string $value
116
     *
117
     * @return $this
118
     */
119
    public function withAccountName($value)
120
    {
121
        $this->data['AccountName'] = $value;
122
        $this->options['form_params']['AccountName'] = $value;
123
124
        return $this;
125
    }
126
127
    /**
128
     * @param string $value
129
     *
130
     * @return $this
131
     */
132
    public function withEnableKMS($value)
133
    {
134
        $this->data['EnableKMS'] = $value;
135
        $this->options['form_params']['EnableKMS'] = $value;
136
137
        return $this;
138
    }
139
140
    /**
141
     * @param string $value
142
     *
143
     * @return $this
144
     */
145
    public function withUseRandomPassword($value)
146
    {
147
        $this->data['UseRandomPassword'] = $value;
148
        $this->options['form_params']['UseRandomPassword'] = $value;
149
150
        return $this;
151
    }
152
}
153
154
/**
155
 * @method string getProduct()
156
 * @method string getNetworkType()
157
 * @method string getVswitch()
158
 * @method string getZone()
159
 * @method string getVpcID()
160
 */
161
class AddEndPoint extends Rpc
162
{
163
164
    /**
165
     * @param string $value
166
     *
167
     * @return $this
168
     */
169
    public function withProduct($value)
170
    {
171
        $this->data['Product'] = $value;
172
        $this->options['form_params']['Product'] = $value;
173
174
        return $this;
175
    }
176
177
    /**
178
     * @param string $value
179
     *
180
     * @return $this
181
     */
182
    public function withNetworkType($value)
183
    {
184
        $this->data['NetworkType'] = $value;
185
        $this->options['form_params']['NetworkType'] = $value;
186
187
        return $this;
188
    }
189
190
    /**
191
     * @param string $value
192
     *
193
     * @return $this
194
     */
195
    public function withVswitch($value)
196
    {
197
        $this->data['Vswitch'] = $value;
198
        $this->options['form_params']['Vswitch'] = $value;
199
200
        return $this;
201
    }
202
203
    /**
204
     * @param string $value
205
     *
206
     * @return $this
207
     */
208
    public function withZone($value)
209
    {
210
        $this->data['Zone'] = $value;
211
        $this->options['form_params']['Zone'] = $value;
212
213
        return $this;
214
    }
215
216
    /**
217
     * @param string $value
218
     *
219
     * @return $this
220
     */
221
    public function withVpcID($value)
222
    {
223
        $this->data['VpcID'] = $value;
224
        $this->options['form_params']['VpcID'] = $value;
225
226
        return $this;
227
    }
228
}
229
230
/**
231
 * @method string getChargeType()
232
 * @method string getInstanceType()
233
 * @method string getComponent()
234
 */
235
class CreateInstance extends Rpc
236
{
237
238
    /**
239
     * @param string $value
240
     *
241
     * @return $this
242
     */
243
    public function withChargeType($value)
244
    {
245
        $this->data['ChargeType'] = $value;
246
        $this->options['form_params']['ChargeType'] = $value;
247
248
        return $this;
249
    }
250
251
    /**
252
     * @param string $value
253
     *
254
     * @return $this
255
     */
256
    public function withInstanceType($value)
257
    {
258
        $this->data['InstanceType'] = $value;
259
        $this->options['form_params']['InstanceType'] = $value;
260
261
        return $this;
262
    }
263
264
    /**
265
     * @param string $value
266
     *
267
     * @return $this
268
     */
269
    public function withComponent($value)
270
    {
271
        $this->data['Component'] = $value;
272
        $this->options['form_params']['Component'] = $value;
273
274
        return $this;
275
    }
276
}
277
278
/**
279
 * @method string getAccountName()
280
 * @method string getIsShort()
281
 * @method string getIsServiceUser()
282
 */
283
class DeleteAccount extends Rpc
284
{
285
286
    /**
287
     * @param string $value
288
     *
289
     * @return $this
290
     */
291
    public function withAccountName($value)
292
    {
293
        $this->data['AccountName'] = $value;
294
        $this->options['form_params']['AccountName'] = $value;
295
296
        return $this;
297
    }
298
299
    /**
300
     * @param string $value
301
     *
302
     * @return $this
303
     */
304
    public function withIsShort($value)
305
    {
306
        $this->data['IsShort'] = $value;
307
        $this->options['form_params']['IsShort'] = $value;
308
309
        return $this;
310
    }
311
312
    /**
313
     * @param string $value
314
     *
315
     * @return $this
316
     */
317
    public function withIsServiceUser($value)
318
    {
319
        $this->data['IsServiceUser'] = $value;
320
        $this->options['form_params']['IsServiceUser'] = $value;
321
322
        return $this;
323
    }
324
}
325
326
/**
327
 * @method string getNetworkType()
328
 * @method string getProduct()
329
 */
330
class GetAllowIP extends Rpc
331
{
332
333
    /**
334
     * @param string $value
335
     *
336
     * @return $this
337
     */
338
    public function withNetworkType($value)
339
    {
340
        $this->data['NetworkType'] = $value;
341
        $this->options['form_params']['NetworkType'] = $value;
342
343
        return $this;
344
    }
345
346
    /**
347
     * @param string $value
348
     *
349
     * @return $this
350
     */
351
    public function withProduct($value)
352
    {
353
        $this->data['Product'] = $value;
354
        $this->options['form_params']['Product'] = $value;
355
356
        return $this;
357
    }
358
}
359
360
/**
361
 * @method string getEndPointID()
362
 */
363
class GetEndPoint extends Rpc
364
{
365
366
    /**
367
     * @param string $value
368
     *
369
     * @return $this
370
     */
371
    public function withEndPointID($value)
372
    {
373
        $this->data['EndPointID'] = $value;
374
        $this->options['form_params']['EndPointID'] = $value;
375
376
        return $this;
377
    }
378
}
379
380
/**
381
 * @method string getDomainURL()
382
 */
383
class GetEndPointByDomain extends Rpc
384
{
385
386
    /**
387
     * @param string $value
388
     *
389
     * @return $this
390
     */
391
    public function withDomainURL($value)
392
    {
393
        $this->data['DomainURL'] = $value;
394
        $this->options['form_params']['DomainURL'] = $value;
395
396
        return $this;
397
    }
398
}
399
400
/**
401
 * @method string getJobId()
402
 * @method string getVcName()
403
 */
404
class GetJobDetail extends Rpc
405
{
406
407
    /**
408
     * @param string $value
409
     *
410
     * @return $this
411
     */
412
    public function withJobId($value)
413
    {
414
        $this->data['JobId'] = $value;
415
        $this->options['form_params']['JobId'] = $value;
416
417
        return $this;
418
    }
419
420
    /**
421
     * @param string $value
422
     *
423
     * @return $this
424
     */
425
    public function withVcName($value)
426
    {
427
        $this->data['VcName'] = $value;
428
        $this->options['form_params']['VcName'] = $value;
429
430
        return $this;
431
    }
432
}
433
434
/**
435
 * @method string getJobId()
436
 * @method string getVcName()
437
 */
438
class GetJobLog extends Rpc
439
{
440
441
    /**
442
     * @param string $value
443
     *
444
     * @return $this
445
     */
446
    public function withJobId($value)
447
    {
448
        $this->data['JobId'] = $value;
449
        $this->options['form_params']['JobId'] = $value;
450
451
        return $this;
452
    }
453
454
    /**
455
     * @param string $value
456
     *
457
     * @return $this
458
     */
459
    public function withVcName($value)
460
    {
461
        $this->data['VcName'] = $value;
462
        $this->options['form_params']['VcName'] = $value;
463
464
        return $this;
465
    }
466
}
467
468
/**
469
 * @method string getJobId()
470
 * @method string getVcName()
471
 */
472
class GetJobStatus extends Rpc
473
{
474
475
    /**
476
     * @param string $value
477
     *
478
     * @return $this
479
     */
480
    public function withJobId($value)
481
    {
482
        $this->data['JobId'] = $value;
483
        $this->options['form_params']['JobId'] = $value;
484
485
        return $this;
486
    }
487
488
    /**
489
     * @param string $value
490
     *
491
     * @return $this
492
     */
493
    public function withVcName($value)
494
    {
495
        $this->data['VcName'] = $value;
496
        $this->options['form_params']['VcName'] = $value;
497
498
        return $this;
499
    }
500
}
501
502
/**
503
 * @method string getJobId()
504
 * @method string getVcName()
505
 */
506
class KillSparkJob extends Rpc
507
{
508
509
    /**
510
     * @param string $value
511
     *
512
     * @return $this
513
     */
514
    public function withJobId($value)
515
    {
516
        $this->data['JobId'] = $value;
517
        $this->options['form_params']['JobId'] = $value;
518
519
        return $this;
520
    }
521
522
    /**
523
     * @param string $value
524
     *
525
     * @return $this
526
     */
527
    public function withVcName($value)
528
    {
529
        $this->data['VcName'] = $value;
530
        $this->options['form_params']['VcName'] = $value;
531
532
        return $this;
533
    }
534
}
535
536
/**
537
 * @method string getPageNumber()
538
 * @method $this withPageNumber($value)
539
 * @method string getPageSize()
540
 * @method $this withPageSize($value)
541
 * @method string getVcName()
542
 * @method $this withVcName($value)
543
 */
544
class ListSparkJob extends Rpc
545
{
546
}
547
548
/**
549
 * @method string getPageSize()
550
 * @method string getPageNumber()
551
 */
552
class QueryAccountList extends Rpc
553
{
554
555
    /**
556
     * @param string $value
557
     *
558
     * @return $this
559
     */
560
    public function withPageSize($value)
561
    {
562
        $this->data['PageSize'] = $value;
563
        $this->options['form_params']['PageSize'] = $value;
564
565
        return $this;
566
    }
567
568
    /**
569
     * @param string $value
570
     *
571
     * @return $this
572
     */
573
    public function withPageNumber($value)
574
    {
575
        $this->data['PageNumber'] = $value;
576
        $this->options['form_params']['PageNumber'] = $value;
577
578
        return $this;
579
    }
580
}
581
582
class QueryEndPointList extends Rpc
583
{
584
}
585
586
/**
587
 * @method string getInstanceId()
588
 */
589
class ReleaseInstance extends Rpc
590
{
591
592
    /**
593
     * @param string $value
594
     *
595
     * @return $this
596
     */
597
    public function withInstanceId($value)
598
    {
599
        $this->data['InstanceId'] = $value;
600
        $this->options['form_params']['InstanceId'] = $value;
601
602
        return $this;
603
    }
604
}
605
606
/**
607
 * @method string getEndPointID()
608
 */
609
class RemoveEndPoint extends Rpc
610
{
611
612
    /**
613
     * @param string $value
614
     *
615
     * @return $this
616
     */
617
    public function withEndPointID($value)
618
    {
619
        $this->data['EndPointID'] = $value;
620
        $this->options['form_params']['EndPointID'] = $value;
621
622
        return $this;
623
    }
624
}
625
626
/**
627
 * @method string getExternalUid()
628
 * @method string getInitPassword()
629
 * @method string getExternalAliyunUid()
630
 * @method string getUseRandomPassword()
631
 * @method string getEnableKMS()
632
 * @method string getExternalBizAliyunUid()
633
 */
634
class ResetMainPassword extends Rpc
635
{
636
637
    /**
638
     * @param string $value
639
     *
640
     * @return $this
641
     */
642
    public function withExternalUid($value)
643
    {
644
        $this->data['ExternalUid'] = $value;
645
        $this->options['form_params']['ExternalUid'] = $value;
646
647
        return $this;
648
    }
649
650
    /**
651
     * @param string $value
652
     *
653
     * @return $this
654
     */
655
    public function withInitPassword($value)
656
    {
657
        $this->data['InitPassword'] = $value;
658
        $this->options['form_params']['InitPassword'] = $value;
659
660
        return $this;
661
    }
662
663
    /**
664
     * @param string $value
665
     *
666
     * @return $this
667
     */
668
    public function withExternalAliyunUid($value)
669
    {
670
        $this->data['ExternalAliyunUid'] = $value;
671
        $this->options['form_params']['ExternalAliyunUid'] = $value;
672
673
        return $this;
674
    }
675
676
    /**
677
     * @param string $value
678
     *
679
     * @return $this
680
     */
681
    public function withUseRandomPassword($value)
682
    {
683
        $this->data['UseRandomPassword'] = $value;
684
        $this->options['form_params']['UseRandomPassword'] = $value;
685
686
        return $this;
687
    }
688
689
    /**
690
     * @param string $value
691
     *
692
     * @return $this
693
     */
694
    public function withEnableKMS($value)
695
    {
696
        $this->data['EnableKMS'] = $value;
697
        $this->options['form_params']['EnableKMS'] = $value;
698
699
        return $this;
700
    }
701
702
    /**
703
     * @param string $value
704
     *
705
     * @return $this
706
     */
707
    public function withExternalBizAliyunUid($value)
708
    {
709
        $this->data['ExternalBizAliyunUid'] = $value;
710
        $this->options['form_params']['ExternalBizAliyunUid'] = $value;
711
712
        return $this;
713
    }
714
}
715
716
/**
717
 * @method string getNetworkType()
718
 * @method string getProduct()
719
 * @method string getAllowIP()
720
 * @method string getAppend()
721
 */
722
class SetAllowIP extends Rpc
723
{
724
725
    /**
726
     * @param string $value
727
     *
728
     * @return $this
729
     */
730
    public function withNetworkType($value)
731
    {
732
        $this->data['NetworkType'] = $value;
733
        $this->options['form_params']['NetworkType'] = $value;
734
735
        return $this;
736
    }
737
738
    /**
739
     * @param string $value
740
     *
741
     * @return $this
742
     */
743
    public function withProduct($value)
744
    {
745
        $this->data['Product'] = $value;
746
        $this->options['form_params']['Product'] = $value;
747
748
        return $this;
749
    }
750
751
    /**
752
     * @param string $value
753
     *
754
     * @return $this
755
     */
756
    public function withAllowIP($value)
757
    {
758
        $this->data['AllowIP'] = $value;
759
        $this->options['form_params']['AllowIP'] = $value;
760
761
        return $this;
762
    }
763
764
    /**
765
     * @param string $value
766
     *
767
     * @return $this
768
     */
769
    public function withAppend($value)
770
    {
771
        $this->data['Append'] = $value;
772
        $this->options['form_params']['Append'] = $value;
773
774
        return $this;
775
    }
776
}
777
778
/**
779
 * @method string getConfigJson()
780
 * @method string getVcName()
781
 */
782
class SubmitSparkJob extends Rpc
783
{
784
785
    /**
786
     * @param string $value
787
     *
788
     * @return $this
789
     */
790
    public function withConfigJson($value)
791
    {
792
        $this->data['ConfigJson'] = $value;
793
        $this->options['form_params']['ConfigJson'] = $value;
794
795
        return $this;
796
    }
797
798
    /**
799
     * @param string $value
800
     *
801
     * @return $this
802
     */
803
    public function withVcName($value)
804
    {
805
        $this->data['VcName'] = $value;
806
        $this->options['form_params']['VcName'] = $value;
807
808
        return $this;
809
    }
810
}
811
812
class UnSubscribeRegion extends Rpc
813
{
814
}
815
816
/**
817
 * @method string getIsShort()
818
 * @method string getPassword()
819
 * @method string getAccountName()
820
 * @method string getEnableKMS()
821
 * @method string getUseRandomPassword()
822
 */
823
class UpdateAccountPassword extends Rpc
824
{
825
826
    /**
827
     * @param string $value
828
     *
829
     * @return $this
830
     */
831
    public function withIsShort($value)
832
    {
833
        $this->data['IsShort'] = $value;
834
        $this->options['form_params']['IsShort'] = $value;
835
836
        return $this;
837
    }
838
839
    /**
840
     * @param string $value
841
     *
842
     * @return $this
843
     */
844
    public function withPassword($value)
845
    {
846
        $this->data['Password'] = $value;
847
        $this->options['form_params']['Password'] = $value;
848
849
        return $this;
850
    }
851
852
    /**
853
     * @param string $value
854
     *
855
     * @return $this
856
     */
857
    public function withAccountName($value)
858
    {
859
        $this->data['AccountName'] = $value;
860
        $this->options['form_params']['AccountName'] = $value;
861
862
        return $this;
863
    }
864
865
    /**
866
     * @param string $value
867
     *
868
     * @return $this
869
     */
870
    public function withEnableKMS($value)
871
    {
872
        $this->data['EnableKMS'] = $value;
873
        $this->options['form_params']['EnableKMS'] = $value;
874
875
        return $this;
876
    }
877
878
    /**
879
     * @param string $value
880
     *
881
     * @return $this
882
     */
883
    public function withUseRandomPassword($value)
884
    {
885
        $this->data['UseRandomPassword'] = $value;
886
        $this->options['form_params']['UseRandomPassword'] = $value;
887
888
        return $this;
889
    }
890
}
891
892
/**
893
 * @method string getInstanceId()
894
 * @method string getChargeType()
895
 * @method string getInstanceType()
896
 * @method string getComponent()
897
 */
898
class UpgradeInstance extends Rpc
899
{
900
901
    /**
902
     * @param string $value
903
     *
904
     * @return $this
905
     */
906
    public function withInstanceId($value)
907
    {
908
        $this->data['InstanceId'] = $value;
909
        $this->options['form_params']['InstanceId'] = $value;
910
911
        return $this;
912
    }
913
914
    /**
915
     * @param string $value
916
     *
917
     * @return $this
918
     */
919
    public function withChargeType($value)
920
    {
921
        $this->data['ChargeType'] = $value;
922
        $this->options['form_params']['ChargeType'] = $value;
923
924
        return $this;
925
    }
926
927
    /**
928
     * @param string $value
929
     *
930
     * @return $this
931
     */
932
    public function withInstanceType($value)
933
    {
934
        $this->data['InstanceType'] = $value;
935
        $this->options['form_params']['InstanceType'] = $value;
936
937
        return $this;
938
    }
939
940
    /**
941
     * @param string $value
942
     *
943
     * @return $this
944
     */
945
    public function withComponent($value)
946
    {
947
        $this->data['Component'] = $value;
948
        $this->options['form_params']['Component'] = $value;
949
950
        return $this;
951
    }
952
}
953