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 ( 118b1d...9263b5 )
by
unknown
06:47
created

CreateAppInstanceGroup::withNodePool()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\AppstreamCenter\V20210901;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method ApproveOtaTask approveOtaTask(array $options = [])
9
 * @method AuthorizeInstanceGroup authorizeInstanceGroup(array $options = [])
10
 * @method CancelOtaTask cancelOtaTask(array $options = [])
11
 * @method CreateAppInstanceGroup createAppInstanceGroup(array $options = [])
12
 * @method DeleteAppInstanceGroup deleteAppInstanceGroup(array $options = [])
13
 * @method DeleteAppInstances deleteAppInstances(array $options = [])
14
 * @method GetAppInstanceGroup getAppInstanceGroup(array $options = [])
15
 * @method GetConnectionTicket getConnectionTicket(array $options = [])
16
 * @method GetOtaTaskByTaskId getOtaTaskByTaskId(array $options = [])
17
 * @method GetResourcePrice getResourcePrice(array $options = [])
18
 * @method GetResourceRenewPrice getResourceRenewPrice(array $options = [])
19
 * @method ListAppInstanceGroup listAppInstanceGroup(array $options = [])
20
 * @method ListAppInstances listAppInstances(array $options = [])
21
 * @method ListNodeInstanceType listNodeInstanceType(array $options = [])
22
 * @method ListOtaTask listOtaTask(array $options = [])
23
 * @method ListRegions listRegions(array $options = [])
24
 * @method ListTenantConfig listTenantConfig(array $options = [])
25
 * @method LogOffAllSessionsInAppInstanceGroup logOffAllSessionsInAppInstanceGroup(array $options = [])
26
 * @method ModifyAppInstanceGroupAttribute modifyAppInstanceGroupAttribute(array $options = [])
27
 * @method ModifyNodePoolAttribute modifyNodePoolAttribute(array $options = [])
28
 * @method ModifyTenantConfig modifyTenantConfig(array $options = [])
29
 * @method PageListAppInstanceGroupUser pageListAppInstanceGroupUser(array $options = [])
30
 * @method RenewAppInstanceGroup renewAppInstanceGroup(array $options = [])
31
 * @method Unbind unbind(array $options = [])
32
 * @method UpdateAppInstanceGroupImage updateAppInstanceGroupImage(array $options = [])
33
 */
34
class AppstreamCenterApiResolver extends ApiResolver
35
{
36
}
37
38
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
39
{
40
    /** @var string */
41
    public $product = 'appstream-center';
42
43
    /** @var string */
44
    public $version = '2021-09-01';
45
46
    /** @var string */
47
    public $method = 'POST';
48
}
49
50
/**
51
 * @method string getBizRegionId()
52
 * @method string getOtaType()
53
 * @method string getStartTime()
54
 * @method string getStopTime()
55
 * @method string getAppInstanceGroupId()
56
 * @method string getTaskId()
57
 */
58
class ApproveOtaTask extends Rpc
59
{
60
61
    /**
62
     * @param string $value
63
     *
64
     * @return $this
65
     */
66
    public function withBizRegionId($value)
67
    {
68
        $this->data['BizRegionId'] = $value;
69
        $this->options['form_params']['BizRegionId'] = $value;
70
71
        return $this;
72
    }
73
74
    /**
75
     * @param string $value
76
     *
77
     * @return $this
78
     */
79
    public function withOtaType($value)
80
    {
81
        $this->data['OtaType'] = $value;
82
        $this->options['form_params']['OtaType'] = $value;
83
84
        return $this;
85
    }
86
87
    /**
88
     * @param string $value
89
     *
90
     * @return $this
91
     */
92
    public function withStartTime($value)
93
    {
94
        $this->data['StartTime'] = $value;
95
        $this->options['form_params']['StartTime'] = $value;
96
97
        return $this;
98
    }
99
100
    /**
101
     * @param string $value
102
     *
103
     * @return $this
104
     */
105
    public function withStopTime($value)
106
    {
107
        $this->data['StopTime'] = $value;
108
        $this->options['form_params']['StopTime'] = $value;
109
110
        return $this;
111
    }
112
113
    /**
114
     * @param string $value
115
     *
116
     * @return $this
117
     */
118
    public function withAppInstanceGroupId($value)
119
    {
120
        $this->data['AppInstanceGroupId'] = $value;
121
        $this->options['form_params']['AppInstanceGroupId'] = $value;
122
123
        return $this;
124
    }
125
126
    /**
127
     * @param string $value
128
     *
129
     * @return $this
130
     */
131
    public function withTaskId($value)
132
    {
133
        $this->data['TaskId'] = $value;
134
        $this->options['form_params']['TaskId'] = $value;
135
136
        return $this;
137
    }
138
}
139
140
/**
141
 * @method string getSpecId()
142
 * @method array getUnAuthorizeUserIds()
143
 * @method string getProductType()
144
 * @method string getAppInstanceGroupId()
145
 * @method array getAuthorizeUserIds()
146
 */
147
class AuthorizeInstanceGroup extends Rpc
148
{
149
150
    /**
151
     * @param string $value
152
     *
153
     * @return $this
154
     */
155
    public function withSpecId($value)
156
    {
157
        $this->data['SpecId'] = $value;
158
        $this->options['form_params']['SpecId'] = $value;
159
160
        return $this;
161
    }
162
163
    /**
164
     * @param array $unAuthorizeUserIds
165
     *
166
     * @return $this
167
     */
168
	public function withUnAuthorizeUserIds(array $unAuthorizeUserIds)
169
	{
170
	    $this->data['UnAuthorizeUserIds'] = $unAuthorizeUserIds;
171
		foreach ($unAuthorizeUserIds as $i => $iValue) {
172
			$this->options['form_params']['UnAuthorizeUserIds.' . ($i + 1)] = $iValue;
173
		}
174
175
		return $this;
176
    }
177
178
    /**
179
     * @param string $value
180
     *
181
     * @return $this
182
     */
183
    public function withProductType($value)
184
    {
185
        $this->data['ProductType'] = $value;
186
        $this->options['form_params']['ProductType'] = $value;
187
188
        return $this;
189
    }
190
191
    /**
192
     * @param string $value
193
     *
194
     * @return $this
195
     */
196
    public function withAppInstanceGroupId($value)
197
    {
198
        $this->data['AppInstanceGroupId'] = $value;
199
        $this->options['form_params']['AppInstanceGroupId'] = $value;
200
201
        return $this;
202
    }
203
204
    /**
205
     * @param array $authorizeUserIds
206
     *
207
     * @return $this
208
     */
209
	public function withAuthorizeUserIds(array $authorizeUserIds)
210
	{
211
	    $this->data['AuthorizeUserIds'] = $authorizeUserIds;
212
		foreach ($authorizeUserIds as $i => $iValue) {
213
			$this->options['form_params']['AuthorizeUserIds.' . ($i + 1)] = $iValue;
214
		}
215
216
		return $this;
217
    }
218
}
219
220
/**
221
 * @method string getAppInstanceGroupId()
222
 * @method string getTaskId()
223
 */
224
class CancelOtaTask extends Rpc
225
{
226
227
    /**
228
     * @param string $value
229
     *
230
     * @return $this
231
     */
232
    public function withAppInstanceGroupId($value)
233
    {
234
        $this->data['AppInstanceGroupId'] = $value;
235
        $this->options['form_params']['AppInstanceGroupId'] = $value;
236
237
        return $this;
238
    }
239
240
    /**
241
     * @param string $value
242
     *
243
     * @return $this
244
     */
245
    public function withTaskId($value)
246
    {
247
        $this->data['TaskId'] = $value;
248
        $this->options['form_params']['TaskId'] = $value;
249
250
        return $this;
251
    }
252
}
253
254
/**
255
 * @method string getRuntimePolicy()
256
 * @method string getBizRegionId()
257
 * @method string getScalingStep()
258
 * @method string getScalingDownAfterIdleMinutes()
259
 * @method string getMinAmount()
260
 * @method string getProductType()
261
 * @method string getNetwork()
262
 * @method string getReserveMinAmount()
263
 * @method string getSessionTimeout()
264
 * @method string getChargeResourceMode()
265
 * @method string getAppCenterImageId()
266
 * @method string getScalingUsageThreshold()
267
 * @method string getUserInfo()
268
 * @method string getReserveAmountRatio()
269
 * @method string getPreOpenAppId()
270
 * @method string getAmount()
271
 * @method string getPeriod()
272
 * @method string getAutoPay()
273
 * @method string getNodePool()
274
 * @method string getAppInstanceType()
275
 * @method string getMaxAmount()
276
 * @method string getSecurityPolicy()
277
 * @method string getPromotionId()
278
 * @method array getUsers()
279
 * @method string getVideoPolicy()
280
 * @method string getAppInstanceGroupName()
281
 * @method string getPeriodUnit()
282
 * @method string getReserveMaxAmount()
283
 * @method string getAutoRenew()
284
 * @method string getChargeType()
285
 * @method string getStrategyType()
286
 */
287
class CreateAppInstanceGroup extends Rpc
288
{
289
290
    /**
291
     * @param string $value
292
     *
293
     * @return $this
294
     */
295
    public function withRuntimePolicy($value)
296
    {
297
        $this->data['RuntimePolicy'] = $value;
298
        $this->options['form_params']['RuntimePolicy'] = $value;
299
300
        return $this;
301
    }
302
303
    /**
304
     * @param string $value
305
     *
306
     * @return $this
307
     */
308
    public function withBizRegionId($value)
309
    {
310
        $this->data['BizRegionId'] = $value;
311
        $this->options['form_params']['BizRegionId'] = $value;
312
313
        return $this;
314
    }
315
316
    /**
317
     * @param string $value
318
     *
319
     * @return $this
320
     */
321
    public function withScalingStep($value)
322
    {
323
        $this->data['ScalingStep'] = $value;
324
        $this->options['form_params']['ScalingStep'] = $value;
325
326
        return $this;
327
    }
328
329
    /**
330
     * @param string $value
331
     *
332
     * @return $this
333
     */
334
    public function withScalingDownAfterIdleMinutes($value)
335
    {
336
        $this->data['ScalingDownAfterIdleMinutes'] = $value;
337
        $this->options['form_params']['ScalingDownAfterIdleMinutes'] = $value;
338
339
        return $this;
340
    }
341
342
    /**
343
     * @param string $value
344
     *
345
     * @return $this
346
     */
347
    public function withMinAmount($value)
348
    {
349
        $this->data['MinAmount'] = $value;
350
        $this->options['form_params']['MinAmount'] = $value;
351
352
        return $this;
353
    }
354
355
    /**
356
     * @param string $value
357
     *
358
     * @return $this
359
     */
360
    public function withProductType($value)
361
    {
362
        $this->data['ProductType'] = $value;
363
        $this->options['form_params']['ProductType'] = $value;
364
365
        return $this;
366
    }
367
368
    /**
369
     * @param string $value
370
     *
371
     * @return $this
372
     */
373
    public function withNetwork($value)
374
    {
375
        $this->data['Network'] = $value;
376
        $this->options['form_params']['Network'] = $value;
377
378
        return $this;
379
    }
380
381
    /**
382
     * @param string $value
383
     *
384
     * @return $this
385
     */
386
    public function withReserveMinAmount($value)
387
    {
388
        $this->data['ReserveMinAmount'] = $value;
389
        $this->options['form_params']['ReserveMinAmount'] = $value;
390
391
        return $this;
392
    }
393
394
    /**
395
     * @param string $value
396
     *
397
     * @return $this
398
     */
399
    public function withSessionTimeout($value)
400
    {
401
        $this->data['SessionTimeout'] = $value;
402
        $this->options['form_params']['SessionTimeout'] = $value;
403
404
        return $this;
405
    }
406
407
    /**
408
     * @param string $value
409
     *
410
     * @return $this
411
     */
412
    public function withChargeResourceMode($value)
413
    {
414
        $this->data['ChargeResourceMode'] = $value;
415
        $this->options['form_params']['ChargeResourceMode'] = $value;
416
417
        return $this;
418
    }
419
420
    /**
421
     * @param string $value
422
     *
423
     * @return $this
424
     */
425
    public function withAppCenterImageId($value)
426
    {
427
        $this->data['AppCenterImageId'] = $value;
428
        $this->options['form_params']['AppCenterImageId'] = $value;
429
430
        return $this;
431
    }
432
433
    /**
434
     * @param string $value
435
     *
436
     * @return $this
437
     */
438
    public function withScalingUsageThreshold($value)
439
    {
440
        $this->data['ScalingUsageThreshold'] = $value;
441
        $this->options['form_params']['ScalingUsageThreshold'] = $value;
442
443
        return $this;
444
    }
445
446
    /**
447
     * @param string $value
448
     *
449
     * @return $this
450
     */
451
    public function withUserInfo($value)
452
    {
453
        $this->data['UserInfo'] = $value;
454
        $this->options['form_params']['UserInfo'] = $value;
455
456
        return $this;
457
    }
458
459
    /**
460
     * @param string $value
461
     *
462
     * @return $this
463
     */
464
    public function withReserveAmountRatio($value)
465
    {
466
        $this->data['ReserveAmountRatio'] = $value;
467
        $this->options['form_params']['ReserveAmountRatio'] = $value;
468
469
        return $this;
470
    }
471
472
    /**
473
     * @param string $value
474
     *
475
     * @return $this
476
     */
477
    public function withPreOpenAppId($value)
478
    {
479
        $this->data['PreOpenAppId'] = $value;
480
        $this->options['form_params']['PreOpenAppId'] = $value;
481
482
        return $this;
483
    }
484
485
    /**
486
     * @param string $value
487
     *
488
     * @return $this
489
     */
490
    public function withAmount($value)
491
    {
492
        $this->data['Amount'] = $value;
493
        $this->options['form_params']['Amount'] = $value;
494
495
        return $this;
496
    }
497
498
    /**
499
     * @param string $value
500
     *
501
     * @return $this
502
     */
503
    public function withPeriod($value)
504
    {
505
        $this->data['Period'] = $value;
506
        $this->options['form_params']['Period'] = $value;
507
508
        return $this;
509
    }
510
511
    /**
512
     * @param string $value
513
     *
514
     * @return $this
515
     */
516
    public function withAutoPay($value)
517
    {
518
        $this->data['AutoPay'] = $value;
519
        $this->options['form_params']['AutoPay'] = $value;
520
521
        return $this;
522
    }
523
524
    /**
525
     * @param string $value
526
     *
527
     * @return $this
528
     */
529
    public function withNodePool($value)
530
    {
531
        $this->data['NodePool'] = $value;
532
        $this->options['form_params']['NodePool'] = $value;
533
534
        return $this;
535
    }
536
537
    /**
538
     * @param string $value
539
     *
540
     * @return $this
541
     */
542
    public function withAppInstanceType($value)
543
    {
544
        $this->data['AppInstanceType'] = $value;
545
        $this->options['form_params']['AppInstanceType'] = $value;
546
547
        return $this;
548
    }
549
550
    /**
551
     * @param string $value
552
     *
553
     * @return $this
554
     */
555
    public function withMaxAmount($value)
556
    {
557
        $this->data['MaxAmount'] = $value;
558
        $this->options['form_params']['MaxAmount'] = $value;
559
560
        return $this;
561
    }
562
563
    /**
564
     * @param string $value
565
     *
566
     * @return $this
567
     */
568
    public function withSecurityPolicy($value)
569
    {
570
        $this->data['SecurityPolicy'] = $value;
571
        $this->options['form_params']['SecurityPolicy'] = $value;
572
573
        return $this;
574
    }
575
576
    /**
577
     * @param string $value
578
     *
579
     * @return $this
580
     */
581
    public function withPromotionId($value)
582
    {
583
        $this->data['PromotionId'] = $value;
584
        $this->options['form_params']['PromotionId'] = $value;
585
586
        return $this;
587
    }
588
589
    /**
590
     * @param array $users
591
     *
592
     * @return $this
593
     */
594
	public function withUsers(array $users)
595
	{
596
	    $this->data['Users'] = $users;
597
		foreach ($users as $i => $iValue) {
598
			$this->options['form_params']['Users.' . ($i + 1)] = $iValue;
599
		}
600
601
		return $this;
602
    }
603
604
    /**
605
     * @param string $value
606
     *
607
     * @return $this
608
     */
609
    public function withVideoPolicy($value)
610
    {
611
        $this->data['VideoPolicy'] = $value;
612
        $this->options['form_params']['VideoPolicy'] = $value;
613
614
        return $this;
615
    }
616
617
    /**
618
     * @param string $value
619
     *
620
     * @return $this
621
     */
622
    public function withAppInstanceGroupName($value)
623
    {
624
        $this->data['AppInstanceGroupName'] = $value;
625
        $this->options['form_params']['AppInstanceGroupName'] = $value;
626
627
        return $this;
628
    }
629
630
    /**
631
     * @param string $value
632
     *
633
     * @return $this
634
     */
635
    public function withPeriodUnit($value)
636
    {
637
        $this->data['PeriodUnit'] = $value;
638
        $this->options['form_params']['PeriodUnit'] = $value;
639
640
        return $this;
641
    }
642
643
    /**
644
     * @param string $value
645
     *
646
     * @return $this
647
     */
648
    public function withReserveMaxAmount($value)
649
    {
650
        $this->data['ReserveMaxAmount'] = $value;
651
        $this->options['form_params']['ReserveMaxAmount'] = $value;
652
653
        return $this;
654
    }
655
656
    /**
657
     * @param string $value
658
     *
659
     * @return $this
660
     */
661
    public function withAutoRenew($value)
662
    {
663
        $this->data['AutoRenew'] = $value;
664
        $this->options['form_params']['AutoRenew'] = $value;
665
666
        return $this;
667
    }
668
669
    /**
670
     * @param string $value
671
     *
672
     * @return $this
673
     */
674
    public function withChargeType($value)
675
    {
676
        $this->data['ChargeType'] = $value;
677
        $this->options['form_params']['ChargeType'] = $value;
678
679
        return $this;
680
    }
681
682
    /**
683
     * @param string $value
684
     *
685
     * @return $this
686
     */
687
    public function withStrategyType($value)
688
    {
689
        $this->data['StrategyType'] = $value;
690
        $this->options['form_params']['StrategyType'] = $value;
691
692
        return $this;
693
    }
694
}
695
696
/**
697
 * @method string getProductType()
698
 * @method string getAppInstanceGroupId()
699
 */
700
class DeleteAppInstanceGroup extends Rpc
701
{
702
703
    /**
704
     * @param string $value
705
     *
706
     * @return $this
707
     */
708
    public function withProductType($value)
709
    {
710
        $this->data['ProductType'] = $value;
711
        $this->options['form_params']['ProductType'] = $value;
712
713
        return $this;
714
    }
715
716
    /**
717
     * @param string $value
718
     *
719
     * @return $this
720
     */
721
    public function withAppInstanceGroupId($value)
722
    {
723
        $this->data['AppInstanceGroupId'] = $value;
724
        $this->options['form_params']['AppInstanceGroupId'] = $value;
725
726
        return $this;
727
    }
728
}
729
730
/**
731
 * @method array getAppInstanceIds()
732
 * @method string getProductType()
733
 * @method string getAppInstanceGroupId()
734
 */
735
class DeleteAppInstances extends Rpc
736
{
737
738
    /**
739
     * @param array $appInstanceIds
740
     *
741
     * @return $this
742
     */
743
	public function withAppInstanceIds(array $appInstanceIds)
744
	{
745
	    $this->data['AppInstanceIds'] = $appInstanceIds;
746
		foreach ($appInstanceIds as $i => $iValue) {
747
			$this->options['form_params']['AppInstanceIds.' . ($i + 1)] = $iValue;
748
		}
749
750
		return $this;
751
    }
752
753
    /**
754
     * @param string $value
755
     *
756
     * @return $this
757
     */
758
    public function withProductType($value)
759
    {
760
        $this->data['ProductType'] = $value;
761
        $this->options['form_params']['ProductType'] = $value;
762
763
        return $this;
764
    }
765
766
    /**
767
     * @param string $value
768
     *
769
     * @return $this
770
     */
771
    public function withAppInstanceGroupId($value)
772
    {
773
        $this->data['AppInstanceGroupId'] = $value;
774
        $this->options['form_params']['AppInstanceGroupId'] = $value;
775
776
        return $this;
777
    }
778
}
779
780
/**
781
 * @method string getProductType()
782
 * @method $this withProductType($value)
783
 * @method string getAppInstanceGroupId()
784
 * @method $this withAppInstanceGroupId($value)
785
 */
786
class GetAppInstanceGroup extends Rpc
787
{
788
}
789
790
/**
791
 * @method string getBizRegionId()
792
 * @method string getAppStartParam()
793
 * @method string getProductType()
794
 * @method string getEndUserId()
795
 * @method array getFileInfos()
796
 * @method string getTaskId()
797
 * @method string getAppVersion()
798
 * @method array getAppInstanceGroupIdList()
799
 * @method string getAppId()
800
 * @method string getAppInstanceId()
801
 */
802
class GetConnectionTicket extends Rpc
803
{
804
805
    /**
806
     * @param string $value
807
     *
808
     * @return $this
809
     */
810
    public function withBizRegionId($value)
811
    {
812
        $this->data['BizRegionId'] = $value;
813
        $this->options['form_params']['BizRegionId'] = $value;
814
815
        return $this;
816
    }
817
818
    /**
819
     * @param string $value
820
     *
821
     * @return $this
822
     */
823
    public function withAppStartParam($value)
824
    {
825
        $this->data['AppStartParam'] = $value;
826
        $this->options['form_params']['AppStartParam'] = $value;
827
828
        return $this;
829
    }
830
831
    /**
832
     * @param string $value
833
     *
834
     * @return $this
835
     */
836
    public function withProductType($value)
837
    {
838
        $this->data['ProductType'] = $value;
839
        $this->options['form_params']['ProductType'] = $value;
840
841
        return $this;
842
    }
843
844
    /**
845
     * @param string $value
846
     *
847
     * @return $this
848
     */
849
    public function withEndUserId($value)
850
    {
851
        $this->data['EndUserId'] = $value;
852
        $this->options['form_params']['EndUserId'] = $value;
853
854
        return $this;
855
    }
856
857
    /**
858
     * @param array $fileInfos
859
     *
860
     * @return $this
861
     */
862
	public function withFileInfos(array $fileInfos)
863
	{
864
	    $this->data['FileInfos'] = $fileInfos;
865
		foreach ($fileInfos as $depth1 => $depth1Value) {
866
			if(isset($depth1Value['FileRegion'])){
867
				$this->options['form_params']['FileInfos.' . ($depth1 + 1) . '.FileRegion'] = $depth1Value['FileRegion'];
868
			}
869
			if(isset($depth1Value['DriveId'])){
870
				$this->options['form_params']['FileInfos.' . ($depth1 + 1) . '.DriveId'] = $depth1Value['DriveId'];
871
			}
872
			if(isset($depth1Value['FileName'])){
873
				$this->options['form_params']['FileInfos.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
874
			}
875
			if(isset($depth1Value['FilePath'])){
876
				$this->options['form_params']['FileInfos.' . ($depth1 + 1) . '.FilePath'] = $depth1Value['FilePath'];
877
			}
878
			if(isset($depth1Value['DriveType'])){
879
				$this->options['form_params']['FileInfos.' . ($depth1 + 1) . '.DriveType'] = $depth1Value['DriveType'];
880
			}
881
			if(isset($depth1Value['FileId'])){
882
				$this->options['form_params']['FileInfos.' . ($depth1 + 1) . '.FileId'] = $depth1Value['FileId'];
883
			}
884
		}
885
886
		return $this;
887
    }
888
889
    /**
890
     * @param string $value
891
     *
892
     * @return $this
893
     */
894
    public function withTaskId($value)
895
    {
896
        $this->data['TaskId'] = $value;
897
        $this->options['form_params']['TaskId'] = $value;
898
899
        return $this;
900
    }
901
902
    /**
903
     * @param string $value
904
     *
905
     * @return $this
906
     */
907
    public function withAppVersion($value)
908
    {
909
        $this->data['AppVersion'] = $value;
910
        $this->options['form_params']['AppVersion'] = $value;
911
912
        return $this;
913
    }
914
915
    /**
916
     * @param array $appInstanceGroupIdList
917
     *
918
     * @return $this
919
     */
920
	public function withAppInstanceGroupIdList(array $appInstanceGroupIdList)
921
	{
922
	    $this->data['AppInstanceGroupIdList'] = $appInstanceGroupIdList;
923
		foreach ($appInstanceGroupIdList as $i => $iValue) {
924
			$this->options['form_params']['AppInstanceGroupIdList.' . ($i + 1)] = $iValue;
925
		}
926
927
		return $this;
928
    }
929
930
    /**
931
     * @param string $value
932
     *
933
     * @return $this
934
     */
935
    public function withAppId($value)
936
    {
937
        $this->data['AppId'] = $value;
938
        $this->options['form_params']['AppId'] = $value;
939
940
        return $this;
941
    }
942
943
    /**
944
     * @param string $value
945
     *
946
     * @return $this
947
     */
948
    public function withAppInstanceId($value)
949
    {
950
        $this->data['AppInstanceId'] = $value;
951
        $this->options['form_params']['AppInstanceId'] = $value;
952
953
        return $this;
954
    }
955
}
956
957
/**
958
 * @method string getTaskId()
959
 */
960
class GetOtaTaskByTaskId extends Rpc
961
{
962
963
    /**
964
     * @param string $value
965
     *
966
     * @return $this
967
     */
968
    public function withTaskId($value)
969
    {
970
        $this->data['TaskId'] = $value;
971
        $this->options['form_params']['TaskId'] = $value;
972
973
        return $this;
974
    }
975
}
976
977
/**
978
 * @method string getBizRegionId()
979
 * @method $this withBizRegionId($value)
980
 * @method string getPeriod()
981
 * @method $this withPeriod($value)
982
 * @method string getAmount()
983
 * @method $this withAmount($value)
984
 * @method string getNodeInstanceType()
985
 * @method $this withNodeInstanceType($value)
986
 * @method string getProductType()
987
 * @method $this withProductType($value)
988
 * @method string getPeriodUnit()
989
 * @method $this withPeriodUnit($value)
990
 * @method string getChargeType()
991
 * @method $this withChargeType($value)
992
 */
993
class GetResourcePrice extends Rpc
994
{
995
}
996
997
/**
998
 * @method string getPeriod()
999
 * @method $this withPeriod($value)
1000
 * @method string getProductType()
1001
 * @method $this withProductType($value)
1002
 * @method string getPeriodUnit()
1003
 * @method $this withPeriodUnit($value)
1004
 * @method string getAppInstanceGroupId()
1005
 * @method $this withAppInstanceGroupId($value)
1006
 */
1007
class GetResourceRenewPrice extends Rpc
1008
{
1009
}
1010
1011
/**
1012
 * @method string getBizRegionId()
1013
 * @method $this withBizRegionId($value)
1014
 * @method string getPageNumber()
1015
 * @method $this withPageNumber($value)
1016
 * @method string getProductType()
1017
 * @method $this withProductType($value)
1018
 * @method string getAppCenterImageId()
1019
 * @method $this withAppCenterImageId($value)
1020
 * @method string getPageSize()
1021
 * @method $this withPageSize($value)
1022
 * @method string getNodeInstanceType()
1023
 * @method $this withNodeInstanceType($value)
1024
 * @method string getAppInstanceGroupName()
1025
 * @method $this withAppInstanceGroupName($value)
1026
 * @method string getAppInstanceGroupId()
1027
 * @method $this withAppInstanceGroupId($value)
1028
 * @method array getStatus()
1029
 */
1030
class ListAppInstanceGroup extends Rpc
1031
{
1032
1033
    /**
1034
     * @param array $status
1035
     *
1036
     * @return $this
1037
     */
1038
	public function withStatus(array $status)
1039
	{
1040
	    $this->data['Status'] = $status;
1041
		foreach ($status as $i => $iValue) {
1042
			$this->options['form_params']['Status.' . ($i + 1)] = $iValue;
1043
		}
1044
1045
		return $this;
1046
    }
1047
}
1048
1049
/**
1050
 * @method string getPageNumber()
1051
 * @method $this withPageNumber($value)
1052
 * @method string getAppInstanceGroupId()
1053
 * @method $this withAppInstanceGroupId($value)
1054
 * @method string getPageSize()
1055
 * @method $this withPageSize($value)
1056
 * @method string getAppInstanceId()
1057
 * @method $this withAppInstanceId($value)
1058
 * @method array getStatus()
1059
 */
1060
class ListAppInstances extends Rpc
1061
{
1062
1063
    /**
1064
     * @param array $status
1065
     *
1066
     * @return $this
1067
     */
1068
	public function withStatus(array $status)
1069
	{
1070
	    $this->data['Status'] = $status;
1071
		foreach ($status as $i => $iValue) {
1072
			$this->options['form_params']['Status.' . ($i + 1)] = $iValue;
1073
		}
1074
1075
		return $this;
1076
    }
1077
}
1078
1079
/**
1080
 * @method string getBizRegionId()
1081
 * @method $this withBizRegionId($value)
1082
 * @method string getLanguage()
1083
 * @method $this withLanguage($value)
1084
 * @method string getOsType()
1085
 * @method $this withOsType($value)
1086
 * @method string getPageNumber()
1087
 * @method $this withPageNumber($value)
1088
 * @method string getProductType()
1089
 * @method $this withProductType($value)
1090
 * @method string getPageSize()
1091
 * @method $this withPageSize($value)
1092
 */
1093
class ListNodeInstanceType extends Rpc
1094
{
1095
}
1096
1097
/**
1098
 * @method string getOtaType()
1099
 * @method string getPageNumber()
1100
 * @method string getAppInstanceGroupId()
1101
 * @method string getPageSize()
1102
 */
1103
class ListOtaTask extends Rpc
1104
{
1105
1106
    /**
1107
     * @param string $value
1108
     *
1109
     * @return $this
1110
     */
1111
    public function withOtaType($value)
1112
    {
1113
        $this->data['OtaType'] = $value;
1114
        $this->options['form_params']['OtaType'] = $value;
1115
1116
        return $this;
1117
    }
1118
1119
    /**
1120
     * @param string $value
1121
     *
1122
     * @return $this
1123
     */
1124
    public function withPageNumber($value)
1125
    {
1126
        $this->data['PageNumber'] = $value;
1127
        $this->options['form_params']['PageNumber'] = $value;
1128
1129
        return $this;
1130
    }
1131
1132
    /**
1133
     * @param string $value
1134
     *
1135
     * @return $this
1136
     */
1137
    public function withAppInstanceGroupId($value)
1138
    {
1139
        $this->data['AppInstanceGroupId'] = $value;
1140
        $this->options['form_params']['AppInstanceGroupId'] = $value;
1141
1142
        return $this;
1143
    }
1144
1145
    /**
1146
     * @param string $value
1147
     *
1148
     * @return $this
1149
     */
1150
    public function withPageSize($value)
1151
    {
1152
        $this->data['PageSize'] = $value;
1153
        $this->options['form_params']['PageSize'] = $value;
1154
1155
        return $this;
1156
    }
1157
}
1158
1159
class ListRegions extends Rpc
1160
{
1161
}
1162
1163
class ListTenantConfig extends Rpc
1164
{
1165
}
1166
1167
/**
1168
 * @method string getProductType()
1169
 * @method string getAppInstanceGroupId()
1170
 */
1171
class LogOffAllSessionsInAppInstanceGroup extends Rpc
1172
{
1173
1174
    /**
1175
     * @param string $value
1176
     *
1177
     * @return $this
1178
     */
1179
    public function withProductType($value)
1180
    {
1181
        $this->data['ProductType'] = $value;
1182
        $this->options['form_params']['ProductType'] = $value;
1183
1184
        return $this;
1185
    }
1186
1187
    /**
1188
     * @param string $value
1189
     *
1190
     * @return $this
1191
     */
1192
    public function withAppInstanceGroupId($value)
1193
    {
1194
        $this->data['AppInstanceGroupId'] = $value;
1195
        $this->options['form_params']['AppInstanceGroupId'] = $value;
1196
1197
        return $this;
1198
    }
1199
}
1200
1201
/**
1202
 * @method string getNodePool()
1203
 * @method $this withNodePool($value)
1204
 * @method string getProductType()
1205
 * @method $this withProductType($value)
1206
 * @method string getAppInstanceGroupName()
1207
 * @method $this withAppInstanceGroupName($value)
1208
 * @method string getSessionTimeout()
1209
 * @method $this withSessionTimeout($value)
1210
 * @method string getAppInstanceGroupId()
1211
 * @method $this withAppInstanceGroupId($value)
1212
 */
1213
class ModifyAppInstanceGroupAttribute extends Rpc
1214
{
1215
}
1216
1217
/**
1218
 * @method string getBizRegionId()
1219
 * @method string getProductType()
1220
 * @method string getPoolId()
1221
 * @method string getNodePoolStrategy()
1222
 * @method string getNodeCapacity()
1223
 */
1224
class ModifyNodePoolAttribute extends Rpc
1225
{
1226
1227
    /**
1228
     * @param string $value
1229
     *
1230
     * @return $this
1231
     */
1232
    public function withBizRegionId($value)
1233
    {
1234
        $this->data['BizRegionId'] = $value;
1235
        $this->options['form_params']['BizRegionId'] = $value;
1236
1237
        return $this;
1238
    }
1239
1240
    /**
1241
     * @param string $value
1242
     *
1243
     * @return $this
1244
     */
1245
    public function withProductType($value)
1246
    {
1247
        $this->data['ProductType'] = $value;
1248
        $this->options['form_params']['ProductType'] = $value;
1249
1250
        return $this;
1251
    }
1252
1253
    /**
1254
     * @param string $value
1255
     *
1256
     * @return $this
1257
     */
1258
    public function withPoolId($value)
1259
    {
1260
        $this->data['PoolId'] = $value;
1261
        $this->options['form_params']['PoolId'] = $value;
1262
1263
        return $this;
1264
    }
1265
1266
    /**
1267
     * @param string $value
1268
     *
1269
     * @return $this
1270
     */
1271
    public function withNodePoolStrategy($value)
1272
    {
1273
        $this->data['NodePoolStrategy'] = $value;
1274
        $this->options['form_params']['NodePoolStrategy'] = $value;
1275
1276
        return $this;
1277
    }
1278
1279
    /**
1280
     * @param string $value
1281
     *
1282
     * @return $this
1283
     */
1284
    public function withNodeCapacity($value)
1285
    {
1286
        $this->data['NodeCapacity'] = $value;
1287
        $this->options['form_params']['NodeCapacity'] = $value;
1288
1289
        return $this;
1290
    }
1291
}
1292
1293
/**
1294
 * @method string getAppInstanceGroupExpireRemind()
1295
 */
1296
class ModifyTenantConfig extends Rpc
1297
{
1298
1299
    /**
1300
     * @param string $value
1301
     *
1302
     * @return $this
1303
     */
1304
    public function withAppInstanceGroupExpireRemind($value)
1305
    {
1306
        $this->data['AppInstanceGroupExpireRemind'] = $value;
1307
        $this->options['form_params']['AppInstanceGroupExpireRemind'] = $value;
1308
1309
        return $this;
1310
    }
1311
}
1312
1313
/**
1314
 * @method string getPageNumber()
1315
 * @method string getProductType()
1316
 * @method string getAppInstanceGroupId()
1317
 * @method string getPageSize()
1318
 */
1319
class PageListAppInstanceGroupUser extends Rpc
1320
{
1321
1322
    /**
1323
     * @param string $value
1324
     *
1325
     * @return $this
1326
     */
1327
    public function withPageNumber($value)
1328
    {
1329
        $this->data['PageNumber'] = $value;
1330
        $this->options['form_params']['PageNumber'] = $value;
1331
1332
        return $this;
1333
    }
1334
1335
    /**
1336
     * @param string $value
1337
     *
1338
     * @return $this
1339
     */
1340
    public function withProductType($value)
1341
    {
1342
        $this->data['ProductType'] = $value;
1343
        $this->options['form_params']['ProductType'] = $value;
1344
1345
        return $this;
1346
    }
1347
1348
    /**
1349
     * @param string $value
1350
     *
1351
     * @return $this
1352
     */
1353
    public function withAppInstanceGroupId($value)
1354
    {
1355
        $this->data['AppInstanceGroupId'] = $value;
1356
        $this->options['form_params']['AppInstanceGroupId'] = $value;
1357
1358
        return $this;
1359
    }
1360
1361
    /**
1362
     * @param string $value
1363
     *
1364
     * @return $this
1365
     */
1366
    public function withPageSize($value)
1367
    {
1368
        $this->data['PageSize'] = $value;
1369
        $this->options['form_params']['PageSize'] = $value;
1370
1371
        return $this;
1372
    }
1373
}
1374
1375
/**
1376
 * @method string getPeriod()
1377
 * @method $this withPeriod($value)
1378
 * @method string getAutoPay()
1379
 * @method $this withAutoPay($value)
1380
 * @method string getPromotionId()
1381
 * @method $this withPromotionId($value)
1382
 * @method string getProductType()
1383
 * @method $this withProductType($value)
1384
 * @method string getPeriodUnit()
1385
 * @method $this withPeriodUnit($value)
1386
 * @method string getAppInstanceGroupId()
1387
 * @method $this withAppInstanceGroupId($value)
1388
 */
1389
class RenewAppInstanceGroup extends Rpc
1390
{
1391
}
1392
1393
/**
1394
 * @method string getProductType()
1395
 * @method string getAppInstanceGroupId()
1396
 * @method string getEndUserId()
1397
 * @method string getAppInstanceId()
1398
 */
1399
class Unbind extends Rpc
1400
{
1401
1402
    /**
1403
     * @param string $value
1404
     *
1405
     * @return $this
1406
     */
1407
    public function withProductType($value)
1408
    {
1409
        $this->data['ProductType'] = $value;
1410
        $this->options['form_params']['ProductType'] = $value;
1411
1412
        return $this;
1413
    }
1414
1415
    /**
1416
     * @param string $value
1417
     *
1418
     * @return $this
1419
     */
1420
    public function withAppInstanceGroupId($value)
1421
    {
1422
        $this->data['AppInstanceGroupId'] = $value;
1423
        $this->options['form_params']['AppInstanceGroupId'] = $value;
1424
1425
        return $this;
1426
    }
1427
1428
    /**
1429
     * @param string $value
1430
     *
1431
     * @return $this
1432
     */
1433
    public function withEndUserId($value)
1434
    {
1435
        $this->data['EndUserId'] = $value;
1436
        $this->options['form_params']['EndUserId'] = $value;
1437
1438
        return $this;
1439
    }
1440
1441
    /**
1442
     * @param string $value
1443
     *
1444
     * @return $this
1445
     */
1446
    public function withAppInstanceId($value)
1447
    {
1448
        $this->data['AppInstanceId'] = $value;
1449
        $this->options['form_params']['AppInstanceId'] = $value;
1450
1451
        return $this;
1452
    }
1453
}
1454
1455
/**
1456
 * @method string getBizRegionId()
1457
 * @method $this withBizRegionId($value)
1458
 * @method string getUpdateMode()
1459
 * @method $this withUpdateMode($value)
1460
 * @method string getProductType()
1461
 * @method $this withProductType($value)
1462
 * @method string getAppInstanceGroupId()
1463
 * @method $this withAppInstanceGroupId($value)
1464
 * @method string getAppCenterImageId()
1465
 * @method $this withAppCenterImageId($value)
1466
 */
1467
class UpdateAppInstanceGroupImage extends Rpc
1468
{
1469
}
1470