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

ConfirmRelation   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 5
dl 0
loc 16
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A withPermissionCodes() 0 8 2
1
<?php
2
3
namespace AlibabaCloud\BssOpenApi\V20171214;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddAccountRelation addAccountRelation(array $options = [])
9
 * @method AllocateCostUnitResource allocateCostUnitResource(array $options = [])
10
 * @method ApplyInvoice applyInvoice(array $options = [])
11
 * @method CancelOrder cancelOrder(array $options = [])
12
 * @method ChangeResellerConsumeAmount changeResellerConsumeAmount(array $options = [])
13
 * @method ConfirmRelation confirmRelation(array $options = [])
14
 * @method ConvertChargeType convertChargeType(array $options = [])
15
 * @method CreateAgAccount createAgAccount(array $options = [])
16
 * @method CreateCostUnit createCostUnit(array $options = [])
17
 * @method CreateInstance createInstance(array $options = [])
18
 * @method CreateResellerUserQuota createResellerUserQuota(array $options = [])
19
 * @method CreateResourcePackage createResourcePackage(array $options = [])
20
 * @method DeleteCostUnit deleteCostUnit(array $options = [])
21
 * @method DescribeInstanceBill describeInstanceBill(array $options = [])
22
 * @method DescribePricingModule describePricingModule(array $options = [])
23
 * @method DescribeResourceCoverageDetail describeResourceCoverageDetail(array $options = [])
24
 * @method DescribeResourceCoverageTotal describeResourceCoverageTotal(array $options = [])
25
 * @method DescribeResourcePackageProduct describeResourcePackageProduct(array $options = [])
26
 * @method DescribeResourceUsageDetail describeResourceUsageDetail(array $options = [])
27
 * @method DescribeResourceUsageTotal describeResourceUsageTotal(array $options = [])
28
 * @method DescribeSplitItemBill describeSplitItemBill(array $options = [])
29
 * @method EnableBillGeneration enableBillGeneration(array $options = [])
30
 * @method GetCustomerAccountInfo getCustomerAccountInfo(array $options = [])
31
 * @method GetCustomerList getCustomerList(array $options = [])
32
 * @method GetOrderDetail getOrderDetail(array $options = [])
33
 * @method GetPayAsYouGoPrice getPayAsYouGoPrice(array $options = [])
34
 * @method GetResourcePackagePrice getResourcePackagePrice(array $options = [])
35
 * @method GetSubscriptionPrice getSubscriptionPrice(array $options = [])
36
 * @method ModifyAccountRelation modifyAccountRelation(array $options = [])
37
 * @method ModifyCostUnit modifyCostUnit(array $options = [])
38
 * @method ModifyInstance modifyInstance(array $options = [])
39
 * @method QueryAccountBalance queryAccountBalance(array $options = [])
40
 * @method QueryAccountBill queryAccountBill(array $options = [])
41
 * @method QueryAccountTransactionDetails queryAccountTransactionDetails(array $options = [])
42
 * @method QueryAccountTransactions queryAccountTransactions(array $options = [])
43
 * @method QueryAvailableInstances queryAvailableInstances(array $options = [])
44
 * @method QueryBill queryBill(array $options = [])
45
 * @method QueryBillOverview queryBillOverview(array $options = [])
46
 * @method QueryBillToOSSSubscription queryBillToOSSSubscription(array $options = [])
47
 * @method QueryCashCoupons queryCashCoupons(array $options = [])
48
 * @method QueryCostUnit queryCostUnit(array $options = [])
49
 * @method QueryCostUnitResource queryCostUnitResource(array $options = [])
50
 * @method QueryCustomerAddressList queryCustomerAddressList(array $options = [])
51
 * @method QueryDPUtilizationDetail queryDPUtilizationDetail(array $options = [])
52
 * @method QueryEvaluateList queryEvaluateList(array $options = [])
53
 * @method QueryFinancialAccountInfo queryFinancialAccountInfo(array $options = [])
54
 * @method QueryInstanceBill queryInstanceBill(array $options = [])
55
 * @method QueryInstanceByTag queryInstanceByTag(array $options = [])
56
 * @method QueryInstanceGaapCost queryInstanceGaapCost(array $options = [])
57
 * @method QueryInvoicingCustomerList queryInvoicingCustomerList(array $options = [])
58
 * @method QueryMonthlyBill queryMonthlyBill(array $options = [])
59
 * @method QueryMonthlyInstanceConsumption queryMonthlyInstanceConsumption(array $options = [])
60
 * @method QueryOrders queryOrders(array $options = [])
61
 * @method QueryPermissionList queryPermissionList(array $options = [])
62
 * @method QueryPrepaidCards queryPrepaidCards(array $options = [])
63
 * @method QueryProductList queryProductList(array $options = [])
64
 * @method QueryRedeem queryRedeem(array $options = [])
65
 * @method QueryRelationList queryRelationList(array $options = [])
66
 * @method QueryResellerAvailableQuota queryResellerAvailableQuota(array $options = [])
67
 * @method QueryResourcePackageInstances queryResourcePackageInstances(array $options = [])
68
 * @method QueryRIUtilizationDetail queryRIUtilizationDetail(array $options = [])
69
 * @method QuerySavingsPlansDeductLog querySavingsPlansDeductLog(array $options = [])
70
 * @method QuerySavingsPlansInstance querySavingsPlansInstance(array $options = [])
71
 * @method QuerySettleBill querySettleBill(array $options = [])
72
 * @method QuerySettlementBill querySettlementBill(array $options = [])
73
 * @method QuerySplitItemBill querySplitItemBill(array $options = [])
74
 * @method QueryUserOmsData queryUserOmsData(array $options = [])
75
 * @method RelieveAccountRelation relieveAccountRelation(array $options = [])
76
 * @method RenewInstance renewInstance(array $options = [])
77
 * @method RenewResourcePackage renewResourcePackage(array $options = [])
78
 * @method SaveUserCredit saveUserCredit(array $options = [])
79
 * @method SetAllExpirationDay setAllExpirationDay(array $options = [])
80
 * @method SetCreditLabelAction setCreditLabelAction(array $options = [])
81
 * @method SetRenewal setRenewal(array $options = [])
82
 * @method SetResellerUserAlarmThreshold setResellerUserAlarmThreshold(array $options = [])
83
 * @method SetResellerUserQuota setResellerUserQuota(array $options = [])
84
 * @method SetResellerUserStatus setResellerUserStatus(array $options = [])
85
 * @method SubscribeBillToOSS subscribeBillToOSS(array $options = [])
86
 * @method TagResources tagResources(array $options = [])
87
 * @method UnsubscribeBillToOSS unsubscribeBillToOSS(array $options = [])
88
 * @method UntagResources untagResources(array $options = [])
89
 * @method UpgradeResourcePackage upgradeResourcePackage(array $options = [])
90
 */
91
class BssOpenApiApiResolver extends ApiResolver
92
{
93
}
94
95
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
96
{
97
    /** @var string */
98
    public $product = 'BssOpenApi';
99
100
    /** @var string */
101
    public $version = '2017-12-14';
102
103
    /** @var string */
104
    public $method = 'POST';
105
}
106
107
/**
108
 * @method string getChildNick()
109
 * @method $this withChildNick($value)
110
 * @method string getRelationType()
111
 * @method $this withRelationType($value)
112
 * @method string getParentUserId()
113
 * @method $this withParentUserId($value)
114
 * @method string getChildUserId()
115
 * @method $this withChildUserId($value)
116
 * @method string getRequestId()
117
 * @method $this withRequestId($value)
118
 * @method array getPermissionCodes()
119
 * @method array getRoleCodes()
120
 */
121
class AddAccountRelation extends Rpc
122
{
123
124
    /**
125
     * @param array $permissionCodes
126
     *
127
     * @return $this
128
     */
129
	public function withPermissionCodes(array $permissionCodes)
130
	{
131
	    $this->data['PermissionCodes'] = $permissionCodes;
132
		foreach ($permissionCodes as $i => $iValue) {
133
			$this->options['query']['PermissionCodes.' . ($i + 1)] = $iValue;
134
		}
135
136
		return $this;
137
    }
138
139
    /**
140
     * @param array $roleCodes
141
     *
142
     * @return $this
143
     */
144
	public function withRoleCodes(array $roleCodes)
145
	{
146
	    $this->data['RoleCodes'] = $roleCodes;
147
		foreach ($roleCodes as $i => $iValue) {
148
			$this->options['query']['RoleCodes.' . ($i + 1)] = $iValue;
149
		}
150
151
		return $this;
152
    }
153
}
154
155
/**
156
 * @method array getResourceInstanceList()
157
 * @method string getFromUnitId()
158
 * @method $this withFromUnitId($value)
159
 * @method string getToUnitId()
160
 * @method $this withToUnitId($value)
161
 * @method string getFromUnitUserId()
162
 * @method $this withFromUnitUserId($value)
163
 * @method string getToUnitUserId()
164
 * @method $this withToUnitUserId($value)
165
 */
166
class AllocateCostUnitResource extends Rpc
167
{
168
169
    /**
170
     * @param array $resourceInstanceList
171
     *
172
     * @return $this
173
     */
174
	public function withResourceInstanceList(array $resourceInstanceList)
175
	{
176
	    $this->data['ResourceInstanceList'] = $resourceInstanceList;
177
		foreach ($resourceInstanceList as $depth1 => $depth1Value) {
178
			if(isset($depth1Value['ResourceId'])){
179
				$this->options['query']['ResourceInstanceList.' . ($depth1 + 1) . '.ResourceId'] = $depth1Value['ResourceId'];
180
			}
181
			if(isset($depth1Value['CommodityCode'])){
182
				$this->options['query']['ResourceInstanceList.' . ($depth1 + 1) . '.CommodityCode'] = $depth1Value['CommodityCode'];
183
			}
184
			if(isset($depth1Value['ApportionCode'])){
185
				$this->options['query']['ResourceInstanceList.' . ($depth1 + 1) . '.ApportionCode'] = $depth1Value['ApportionCode'];
186
			}
187
			if(isset($depth1Value['ResourceUserId'])){
188
				$this->options['query']['ResourceInstanceList.' . ($depth1 + 1) . '.ResourceUserId'] = $depth1Value['ResourceUserId'];
189
			}
190
		}
191
192
		return $this;
193
    }
194
}
195
196
/**
197
 * @method string getInvoicingType()
198
 * @method $this withInvoicingType($value)
199
 * @method string getProcessWay()
200
 * @method $this withProcessWay($value)
201
 * @method string getOwnerId()
202
 * @method $this withOwnerId($value)
203
 * @method string getInvoiceAmount()
204
 * @method $this withInvoiceAmount($value)
205
 * @method string getAddressId()
206
 * @method $this withAddressId($value)
207
 * @method string getApplyUserNick()
208
 * @method $this withApplyUserNick($value)
209
 * @method string getInvoiceByAmount()
210
 * @method $this withInvoiceByAmount($value)
211
 * @method string getCustomerId()
212
 * @method $this withCustomerId($value)
213
 * @method array getSelectedIds()
214
 * @method string getUserRemark()
215
 * @method $this withUserRemark($value)
216
 */
217
class ApplyInvoice extends Rpc
218
{
219
220
    /**
221
     * @param array $selectedIds
222
     *
223
     * @return $this
224
     */
225
	public function withSelectedIds(array $selectedIds)
226
	{
227
	    $this->data['SelectedIds'] = $selectedIds;
228
		foreach ($selectedIds as $i => $iValue) {
229
			$this->options['query']['SelectedIds.' . ($i + 1)] = $iValue;
230
		}
231
232
		return $this;
233
    }
234
}
235
236
/**
237
 * @method string getOrderId()
238
 * @method $this withOrderId($value)
239
 * @method string getOwnerId()
240
 * @method $this withOwnerId($value)
241
 */
242
class CancelOrder extends Rpc
243
{
244
}
245
246
/**
247
 * @method string getAmount()
248
 * @method $this withAmount($value)
249
 * @method string getOutBizId()
250
 * @method $this withOutBizId($value)
251
 * @method string getSource()
252
 * @method $this withSource($value)
253
 * @method string getOwnerId()
254
 * @method $this withOwnerId($value)
255
 * @method string getBusinessType()
256
 * @method $this withBusinessType($value)
257
 * @method string getAdjustType()
258
 * @method $this withAdjustType($value)
259
 * @method string getExtendMap()
260
 * @method $this withExtendMap($value)
261
 * @method string getCurrency()
262
 * @method $this withCurrency($value)
263
 */
264
class ChangeResellerConsumeAmount extends Rpc
265
{
266
}
267
268
/**
269
 * @method string getRelationType()
270
 * @method $this withRelationType($value)
271
 * @method string getParentUserId()
272
 * @method $this withParentUserId($value)
273
 * @method string getConfirmCode()
274
 * @method $this withConfirmCode($value)
275
 * @method string getChildUserId()
276
 * @method $this withChildUserId($value)
277
 * @method string getRequestId()
278
 * @method $this withRequestId($value)
279
 * @method array getPermissionCodes()
280
 */
281
class ConfirmRelation extends Rpc
282
{
283
284
    /**
285
     * @param array $permissionCodes
286
     *
287
     * @return $this
288
     */
289
	public function withPermissionCodes(array $permissionCodes)
290
	{
291
	    $this->data['PermissionCodes'] = $permissionCodes;
292
		foreach ($permissionCodes as $i => $iValue) {
293
			$this->options['query']['PermissionCodes.' . ($i + 1)] = $iValue;
294
		}
295
296
		return $this;
297
    }
298
}
299
300
/**
301
 * @method string getPeriod()
302
 * @method $this withPeriod($value)
303
 * @method string getProductCode()
304
 * @method $this withProductCode($value)
305
 * @method string getSubscriptionType()
306
 * @method $this withSubscriptionType($value)
307
 * @method string getOwnerId()
308
 * @method $this withOwnerId($value)
309
 * @method string getProductType()
310
 * @method $this withProductType($value)
311
 * @method string getInstanceId()
312
 * @method $this withInstanceId($value)
313
 */
314
class ConvertChargeType extends Rpc
315
{
316
}
317
318
/**
319
 * @method string getFirstName()
320
 * @method $this withFirstName($value)
321
 * @method string getCityName()
322
 * @method $this withCityName($value)
323
 * @method string getPostcode()
324
 * @method $this withPostcode($value)
325
 * @method string getEnterpriseName()
326
 * @method $this withEnterpriseName($value)
327
 * @method string getNationCode()
328
 * @method $this withNationCode($value)
329
 * @method string getLastName()
330
 * @method $this withLastName($value)
331
 * @method string getLoginEmail()
332
 * @method $this withLoginEmail($value)
333
 * @method string getProvinceName()
334
 * @method $this withProvinceName($value)
335
 * @method string getAccountAttr()
336
 * @method $this withAccountAttr($value)
337
 */
338
class CreateAgAccount extends Rpc
339
{
340
341
    /** @var string */
342
    public $scheme = 'https';
343
}
344
345
/**
346
 * @method array getUnitEntityList()
347
 */
348
class CreateCostUnit extends Rpc
349
{
350
351
    /**
352
     * @param array $unitEntityList
353
     *
354
     * @return $this
355
     */
356
	public function withUnitEntityList(array $unitEntityList)
357
	{
358
	    $this->data['UnitEntityList'] = $unitEntityList;
359
		foreach ($unitEntityList as $depth1 => $depth1Value) {
360
			if(isset($depth1Value['UnitName'])){
361
				$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.UnitName'] = $depth1Value['UnitName'];
362
			}
363
			if(isset($depth1Value['ParentUnitId'])){
364
				$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.ParentUnitId'] = $depth1Value['ParentUnitId'];
365
			}
366
			if(isset($depth1Value['OwnerUid'])){
367
				$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.OwnerUid'] = $depth1Value['OwnerUid'];
368
			}
369
		}
370
371
		return $this;
372
    }
373
}
374
375
/**
376
 * @method string getProductCode()
377
 * @method $this withProductCode($value)
378
 * @method string getPeriod()
379
 * @method $this withPeriod($value)
380
 * @method string getClientToken()
381
 * @method $this withClientToken($value)
382
 * @method string getSubscriptionType()
383
 * @method $this withSubscriptionType($value)
384
 * @method string getLogistics()
385
 * @method $this withLogistics($value)
386
 * @method string getOwnerId()
387
 * @method $this withOwnerId($value)
388
 * @method string getProductType()
389
 * @method $this withProductType($value)
390
 * @method string getRenewPeriod()
391
 * @method $this withRenewPeriod($value)
392
 * @method array getParameter()
393
 * @method string getRenewalStatus()
394
 * @method $this withRenewalStatus($value)
395
 */
396
class CreateInstance extends Rpc
397
{
398
399
    /**
400
     * @param array $parameter
401
     *
402
     * @return $this
403
     */
404
	public function withParameter(array $parameter)
405
	{
406
	    $this->data['Parameter'] = $parameter;
407
		foreach ($parameter as $depth1 => $depth1Value) {
408
			if(isset($depth1Value['Code'])){
409
				$this->options['query']['Parameter.' . ($depth1 + 1) . '.Code'] = $depth1Value['Code'];
410
			}
411
			if(isset($depth1Value['Value'])){
412
				$this->options['query']['Parameter.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
413
			}
414
		}
415
416
		return $this;
417
    }
418
}
419
420
/**
421
 * @method string getAmount()
422
 * @method $this withAmount($value)
423
 * @method string getOutBizId()
424
 * @method $this withOutBizId($value)
425
 * @method string getOwnerId()
426
 * @method $this withOwnerId($value)
427
 * @method string getCurrency()
428
 * @method $this withCurrency($value)
429
 */
430
class CreateResellerUserQuota extends Rpc
431
{
432
}
433
434
/**
435
 * @method string getProductCode()
436
 * @method $this withProductCode($value)
437
 * @method string getSpecification()
438
 * @method $this withSpecification($value)
439
 * @method string getOwnerId()
440
 * @method $this withOwnerId($value)
441
 * @method string getEffectiveDate()
442
 * @method $this withEffectiveDate($value)
443
 * @method string getDuration()
444
 * @method $this withDuration($value)
445
 * @method string getPackageType()
446
 * @method $this withPackageType($value)
447
 * @method string getPricingCycle()
448
 * @method $this withPricingCycle($value)
449
 */
450
class CreateResourcePackage extends Rpc
451
{
452
}
453
454
/**
455
 * @method string getUnitId()
456
 * @method $this withUnitId($value)
457
 * @method string getOwnerUid()
458
 * @method $this withOwnerUid($value)
459
 */
460
class DeleteCostUnit extends Rpc
461
{
462
}
463
464
/**
465
 * @method string getProductCode()
466
 * @method $this withProductCode($value)
467
 * @method string getIsHideZeroCharge()
468
 * @method $this withIsHideZeroCharge($value)
469
 * @method string getSubscriptionType()
470
 * @method $this withSubscriptionType($value)
471
 * @method string getBillOwnerId()
472
 * @method $this withBillOwnerId($value)
473
 * @method string getProductType()
474
 * @method $this withProductType($value)
475
 * @method string getNextToken()
476
 * @method $this withNextToken($value)
477
 * @method string getBillingCycle()
478
 * @method $this withBillingCycle($value)
479
 * @method string getOwnerId()
480
 * @method $this withOwnerId($value)
481
 * @method string getBillingDate()
482
 * @method $this withBillingDate($value)
483
 * @method string getIsBillingItem()
484
 * @method $this withIsBillingItem($value)
485
 * @method string getInstanceID()
486
 * @method $this withInstanceID($value)
487
 * @method string getGranularity()
488
 * @method $this withGranularity($value)
489
 * @method string getMaxResults()
490
 * @method $this withMaxResults($value)
491
 */
492
class DescribeInstanceBill extends Rpc
493
{
494
}
495
496
/**
497
 * @method string getProductCode()
498
 * @method $this withProductCode($value)
499
 * @method string getSubscriptionType()
500
 * @method $this withSubscriptionType($value)
501
 * @method string getOwnerId()
502
 * @method $this withOwnerId($value)
503
 * @method string getProductType()
504
 * @method $this withProductType($value)
505
 */
506
class DescribePricingModule extends Rpc
507
{
508
}
509
510
/**
511
 * @method string getPeriodType()
512
 * @method $this withPeriodType($value)
513
 * @method string getBillOwnerId()
514
 * @method $this withBillOwnerId($value)
515
 * @method string getResourceType()
516
 * @method $this withResourceType($value)
517
 * @method string getStartPeriod()
518
 * @method $this withStartPeriod($value)
519
 * @method string getEndPeriod()
520
 * @method $this withEndPeriod($value)
521
 * @method string getNextToken()
522
 * @method $this withNextToken($value)
523
 * @method string getMaxResults()
524
 * @method $this withMaxResults($value)
525
 */
526
class DescribeResourceCoverageDetail extends Rpc
527
{
528
}
529
530
/**
531
 * @method string getPeriodType()
532
 * @method $this withPeriodType($value)
533
 * @method string getBillOwnerId()
534
 * @method $this withBillOwnerId($value)
535
 * @method string getResourceType()
536
 * @method $this withResourceType($value)
537
 * @method string getStartPeriod()
538
 * @method $this withStartPeriod($value)
539
 * @method string getEndPeriod()
540
 * @method $this withEndPeriod($value)
541
 */
542
class DescribeResourceCoverageTotal extends Rpc
543
{
544
}
545
546
/**
547
 * @method string getProductCode()
548
 * @method $this withProductCode($value)
549
 */
550
class DescribeResourcePackageProduct extends Rpc
551
{
552
}
553
554
/**
555
 * @method string getPeriodType()
556
 * @method $this withPeriodType($value)
557
 * @method string getBillOwnerId()
558
 * @method $this withBillOwnerId($value)
559
 * @method string getResourceType()
560
 * @method $this withResourceType($value)
561
 * @method string getStartPeriod()
562
 * @method $this withStartPeriod($value)
563
 * @method string getEndPeriod()
564
 * @method $this withEndPeriod($value)
565
 * @method string getNextToken()
566
 * @method $this withNextToken($value)
567
 * @method string getMaxResults()
568
 * @method $this withMaxResults($value)
569
 */
570
class DescribeResourceUsageDetail extends Rpc
571
{
572
}
573
574
/**
575
 * @method string getPeriodType()
576
 * @method $this withPeriodType($value)
577
 * @method string getBillOwnerId()
578
 * @method $this withBillOwnerId($value)
579
 * @method string getResourceType()
580
 * @method $this withResourceType($value)
581
 * @method string getStartPeriod()
582
 * @method $this withStartPeriod($value)
583
 * @method string getEndPeriod()
584
 * @method $this withEndPeriod($value)
585
 */
586
class DescribeResourceUsageTotal extends Rpc
587
{
588
}
589
590
/**
591
 * @method string getSplitItemID()
592
 * @method $this withSplitItemID($value)
593
 * @method string getProductCode()
594
 * @method $this withProductCode($value)
595
 * @method string getSubscriptionType()
596
 * @method $this withSubscriptionType($value)
597
 * @method string getBillingCycle()
598
 * @method $this withBillingCycle($value)
599
 * @method string getOwnerId()
600
 * @method $this withOwnerId($value)
601
 * @method string getBillOwnerId()
602
 * @method $this withBillOwnerId($value)
603
 * @method array getTagFilter()
604
 * @method string getProductType()
605
 * @method $this withProductType($value)
606
 * @method string getInstanceID()
607
 * @method $this withInstanceID($value)
608
 * @method string getNextToken()
609
 * @method $this withNextToken($value)
610
 * @method string getMaxResults()
611
 * @method $this withMaxResults($value)
612
 */
613
class DescribeSplitItemBill extends Rpc
614
{
615
616
    /**
617
     * @param array $tagFilter
618
     *
619
     * @return $this
620
     */
621
	public function withTagFilter(array $tagFilter)
622
	{
623
	    $this->data['TagFilter'] = $tagFilter;
624
		foreach ($tagFilter as $depth1 => $depth1Value) {
625
			foreach ($depth1Value['TagValues'] as $i => $iValue) {
626
				$this->options['query']['TagFilter.' . ($depth1 + 1) . '.TagValues.' . ($i + 1)] = $iValue;
627
			}
628
			if(isset($depth1Value['TagKey'])){
629
				$this->options['query']['TagFilter.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey'];
630
			}
631
		}
632
633
		return $this;
634
    }
635
}
636
637
/**
638
 * @method string getProductCode()
639
 * @method $this withProductCode($value)
640
 * @method string getOwnerId()
641
 * @method $this withOwnerId($value)
642
 */
643
class EnableBillGeneration extends Rpc
644
{
645
}
646
647
/**
648
 * @method string getOwnerId()
649
 * @method $this withOwnerId($value)
650
 */
651
class GetCustomerAccountInfo extends Rpc
652
{
653
}
654
655
class GetCustomerList extends Rpc
656
{
657
}
658
659
/**
660
 * @method string getOrderId()
661
 * @method $this withOrderId($value)
662
 * @method string getOwnerId()
663
 * @method $this withOwnerId($value)
664
 */
665
class GetOrderDetail extends Rpc
666
{
667
}
668
669
/**
670
 * @method string getProductCode()
671
 * @method $this withProductCode($value)
672
 * @method string getSubscriptionType()
673
 * @method $this withSubscriptionType($value)
674
 * @method array getModuleList()
675
 * @method string getOwnerId()
676
 * @method $this withOwnerId($value)
677
 * @method string getProductType()
678
 * @method $this withProductType($value)
679
 * @method string getRegion()
680
 * @method $this withRegion($value)
681
 */
682
class GetPayAsYouGoPrice extends Rpc
683
{
684
685
    /**
686
     * @param array $moduleList
687
     *
688
     * @return $this
689
     */
690
	public function withModuleList(array $moduleList)
691
	{
692
	    $this->data['ModuleList'] = $moduleList;
693
		foreach ($moduleList as $depth1 => $depth1Value) {
694
			if(isset($depth1Value['ModuleCode'])){
695
				$this->options['query']['ModuleList.' . ($depth1 + 1) . '.ModuleCode'] = $depth1Value['ModuleCode'];
696
			}
697
			if(isset($depth1Value['PriceType'])){
698
				$this->options['query']['ModuleList.' . ($depth1 + 1) . '.PriceType'] = $depth1Value['PriceType'];
699
			}
700
			if(isset($depth1Value['Config'])){
701
				$this->options['query']['ModuleList.' . ($depth1 + 1) . '.Config'] = $depth1Value['Config'];
702
			}
703
		}
704
705
		return $this;
706
    }
707
}
708
709
/**
710
 * @method string getProductCode()
711
 * @method $this withProductCode($value)
712
 * @method string getSpecification()
713
 * @method $this withSpecification($value)
714
 * @method string getOwnerId()
715
 * @method $this withOwnerId($value)
716
 * @method string getEffectiveDate()
717
 * @method $this withEffectiveDate($value)
718
 * @method string getDuration()
719
 * @method $this withDuration($value)
720
 * @method string getInstanceId()
721
 * @method $this withInstanceId($value)
722
 * @method string getPackageType()
723
 * @method $this withPackageType($value)
724
 * @method string getPricingCycle()
725
 * @method $this withPricingCycle($value)
726
 * @method string getOrderType()
727
 * @method $this withOrderType($value)
728
 */
729
class GetResourcePackagePrice extends Rpc
730
{
731
}
732
733
/**
734
 * @method string getProductCode()
735
 * @method $this withProductCode($value)
736
 * @method string getQuantity()
737
 * @method $this withQuantity($value)
738
 * @method string getSubscriptionType()
739
 * @method $this withSubscriptionType($value)
740
 * @method array getModuleList()
741
 * @method string getOwnerId()
742
 * @method $this withOwnerId($value)
743
 * @method string getProductType()
744
 * @method $this withProductType($value)
745
 * @method string getServicePeriodQuantity()
746
 * @method $this withServicePeriodQuantity($value)
747
 * @method string getInstanceId()
748
 * @method $this withInstanceId($value)
749
 * @method string getServicePeriodUnit()
750
 * @method $this withServicePeriodUnit($value)
751
 * @method string getRegion()
752
 * @method $this withRegion($value)
753
 * @method string getOrderType()
754
 * @method $this withOrderType($value)
755
 */
756
class GetSubscriptionPrice extends Rpc
757
{
758
759
    /**
760
     * @param array $moduleList
761
     *
762
     * @return $this
763
     */
764
	public function withModuleList(array $moduleList)
765
	{
766
	    $this->data['ModuleList'] = $moduleList;
767
		foreach ($moduleList as $depth1 => $depth1Value) {
768
			if(isset($depth1Value['ModuleCode'])){
769
				$this->options['query']['ModuleList.' . ($depth1 + 1) . '.ModuleCode'] = $depth1Value['ModuleCode'];
770
			}
771
			if(isset($depth1Value['ModuleStatus'])){
772
				$this->options['query']['ModuleList.' . ($depth1 + 1) . '.ModuleStatus'] = $depth1Value['ModuleStatus'];
773
			}
774
			if(isset($depth1Value['Tag'])){
775
				$this->options['query']['ModuleList.' . ($depth1 + 1) . '.Tag'] = $depth1Value['Tag'];
776
			}
777
			if(isset($depth1Value['Config'])){
778
				$this->options['query']['ModuleList.' . ($depth1 + 1) . '.Config'] = $depth1Value['Config'];
779
			}
780
		}
781
782
		return $this;
783
    }
784
}
785
786
/**
787
 * @method string getChildNick()
788
 * @method $this withChildNick($value)
789
 * @method string getRelationOperation()
790
 * @method $this withRelationOperation($value)
791
 * @method string getRelationType()
792
 * @method $this withRelationType($value)
793
 * @method string getParentUserId()
794
 * @method $this withParentUserId($value)
795
 * @method string getChildUserId()
796
 * @method $this withChildUserId($value)
797
 * @method string getRequestId()
798
 * @method $this withRequestId($value)
799
 * @method array getPermissionCodes()
800
 * @method array getRoleCodes()
801
 */
802
class ModifyAccountRelation extends Rpc
803
{
804
805
    /**
806
     * @param array $permissionCodes
807
     *
808
     * @return $this
809
     */
810
	public function withPermissionCodes(array $permissionCodes)
811
	{
812
	    $this->data['PermissionCodes'] = $permissionCodes;
813
		foreach ($permissionCodes as $i => $iValue) {
814
			$this->options['query']['PermissionCodes.' . ($i + 1)] = $iValue;
815
		}
816
817
		return $this;
818
    }
819
820
    /**
821
     * @param array $roleCodes
822
     *
823
     * @return $this
824
     */
825
	public function withRoleCodes(array $roleCodes)
826
	{
827
	    $this->data['RoleCodes'] = $roleCodes;
828
		foreach ($roleCodes as $i => $iValue) {
829
			$this->options['query']['RoleCodes.' . ($i + 1)] = $iValue;
830
		}
831
832
		return $this;
833
    }
834
}
835
836
/**
837
 * @method array getUnitEntityList()
838
 */
839
class ModifyCostUnit extends Rpc
840
{
841
842
    /**
843
     * @param array $unitEntityList
844
     *
845
     * @return $this
846
     */
847
	public function withUnitEntityList(array $unitEntityList)
848
	{
849
	    $this->data['UnitEntityList'] = $unitEntityList;
850
		foreach ($unitEntityList as $depth1 => $depth1Value) {
851
			if(isset($depth1Value['NewUnitName'])){
852
				$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.NewUnitName'] = $depth1Value['NewUnitName'];
853
			}
854
			if(isset($depth1Value['UnitId'])){
855
				$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.UnitId'] = $depth1Value['UnitId'];
856
			}
857
			if(isset($depth1Value['OwnerUid'])){
858
				$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.OwnerUid'] = $depth1Value['OwnerUid'];
859
			}
860
		}
861
862
		return $this;
863
    }
864
}
865
866
/**
867
 * @method string getProductCode()
868
 * @method $this withProductCode($value)
869
 * @method string getClientToken()
870
 * @method $this withClientToken($value)
871
 * @method string getSubscriptionType()
872
 * @method $this withSubscriptionType($value)
873
 * @method string getOwnerId()
874
 * @method $this withOwnerId($value)
875
 * @method string getProductType()
876
 * @method $this withProductType($value)
877
 * @method string getInstanceId()
878
 * @method $this withInstanceId($value)
879
 * @method string getModifyType()
880
 * @method $this withModifyType($value)
881
 * @method array getParameter()
882
 */
883
class ModifyInstance extends Rpc
884
{
885
886
    /**
887
     * @param array $parameter
888
     *
889
     * @return $this
890
     */
891
	public function withParameter(array $parameter)
892
	{
893
	    $this->data['Parameter'] = $parameter;
894
		foreach ($parameter as $depth1 => $depth1Value) {
895
			if(isset($depth1Value['Code'])){
896
				$this->options['query']['Parameter.' . ($depth1 + 1) . '.Code'] = $depth1Value['Code'];
897
			}
898
			if(isset($depth1Value['Value'])){
899
				$this->options['query']['Parameter.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
900
			}
901
		}
902
903
		return $this;
904
    }
905
}
906
907
class QueryAccountBalance extends Rpc
908
{
909
}
910
911
/**
912
 * @method string getProductCode()
913
 * @method $this withProductCode($value)
914
 * @method string getBillingCycle()
915
 * @method $this withBillingCycle($value)
916
 * @method string getPageNum()
917
 * @method $this withPageNum($value)
918
 * @method string getOwnerID()
919
 * @method $this withOwnerID($value)
920
 * @method string getBillOwnerId()
921
 * @method $this withBillOwnerId($value)
922
 * @method string getBillingDate()
923
 * @method $this withBillingDate($value)
924
 * @method string getIsGroupByProduct()
925
 * @method $this withIsGroupByProduct($value)
926
 * @method string getGranularity()
927
 * @method $this withGranularity($value)
928
 * @method string getPageSize()
929
 * @method $this withPageSize($value)
930
 */
931
class QueryAccountBill extends Rpc
932
{
933
}
934
935
/**
936
 * @method string getTransactionType()
937
 * @method $this withTransactionType($value)
938
 * @method string getCreateTimeEnd()
939
 * @method $this withCreateTimeEnd($value)
940
 * @method string getRecordID()
941
 * @method $this withRecordID($value)
942
 * @method string getNextToken()
943
 * @method $this withNextToken($value)
944
 * @method string getMaxResults()
945
 * @method $this withMaxResults($value)
946
 * @method string getTransactionChannel()
947
 * @method $this withTransactionChannel($value)
948
 * @method string getTransactionChannelSN()
949
 * @method $this withTransactionChannelSN($value)
950
 * @method string getCreateTimeStart()
951
 * @method $this withCreateTimeStart($value)
952
 * @method string getTransactionNumber()
953
 * @method $this withTransactionNumber($value)
954
 */
955
class QueryAccountTransactionDetails extends Rpc
956
{
957
}
958
959
/**
960
 * @method string getPageNum()
961
 * @method $this withPageNum($value)
962
 * @method string getCreateTimeEnd()
963
 * @method $this withCreateTimeEnd($value)
964
 * @method string getRecordID()
965
 * @method $this withRecordID($value)
966
 * @method string getPageSize()
967
 * @method $this withPageSize($value)
968
 * @method string getTransactionChannelSN()
969
 * @method $this withTransactionChannelSN($value)
970
 * @method string getCreateTimeStart()
971
 * @method $this withCreateTimeStart($value)
972
 * @method string getTransactionNumber()
973
 * @method $this withTransactionNumber($value)
974
 */
975
class QueryAccountTransactions extends Rpc
976
{
977
}
978
979
/**
980
 * @method string getProductCode()
981
 * @method $this withProductCode($value)
982
 * @method string getSubscriptionType()
983
 * @method $this withSubscriptionType($value)
984
 * @method string getPageNum()
985
 * @method $this withPageNum($value)
986
 * @method string getProductType()
987
 * @method $this withProductType($value)
988
 * @method string getPageSize()
989
 * @method $this withPageSize($value)
990
 * @method string getRenewStatus()
991
 * @method $this withRenewStatus($value)
992
 * @method string getOwnerId()
993
 * @method $this withOwnerId($value)
994
 * @method string getEndTimeStart()
995
 * @method $this withEndTimeStart($value)
996
 * @method string getCreateTimeEnd()
997
 * @method $this withCreateTimeEnd($value)
998
 * @method string getInstanceIDs()
999
 * @method $this withInstanceIDs($value)
1000
 * @method string getEndTimeEnd()
1001
 * @method $this withEndTimeEnd($value)
1002
 * @method string getCreateTimeStart()
1003
 * @method $this withCreateTimeStart($value)
1004
 * @method string getRegion()
1005
 * @method $this withRegion($value)
1006
 */
1007
class QueryAvailableInstances extends Rpc
1008
{
1009
}
1010
1011
/**
1012
 * @method string getProductCode()
1013
 * @method $this withProductCode($value)
1014
 * @method string getIsHideZeroCharge()
1015
 * @method $this withIsHideZeroCharge($value)
1016
 * @method string getIsDisplayLocalCurrency()
1017
 * @method $this withIsDisplayLocalCurrency($value)
1018
 * @method string getSubscriptionType()
1019
 * @method $this withSubscriptionType($value)
1020
 * @method string getBillingCycle()
1021
 * @method $this withBillingCycle($value)
1022
 * @method string getType()
1023
 * @method $this withType($value)
1024
 * @method string getOwnerId()
1025
 * @method $this withOwnerId($value)
1026
 * @method string getPageNum()
1027
 * @method $this withPageNum($value)
1028
 * @method string getBillOwnerId()
1029
 * @method $this withBillOwnerId($value)
1030
 * @method string getProductType()
1031
 * @method $this withProductType($value)
1032
 * @method string getPageSize()
1033
 * @method $this withPageSize($value)
1034
 */
1035
class QueryBill extends Rpc
1036
{
1037
}
1038
1039
/**
1040
 * @method string getProductCode()
1041
 * @method $this withProductCode($value)
1042
 * @method string getSubscriptionType()
1043
 * @method $this withSubscriptionType($value)
1044
 * @method string getBillingCycle()
1045
 * @method $this withBillingCycle($value)
1046
 * @method string getBillOwnerId()
1047
 * @method $this withBillOwnerId($value)
1048
 * @method string getProductType()
1049
 * @method $this withProductType($value)
1050
 */
1051
class QueryBillOverview extends Rpc
1052
{
1053
}
1054
1055
class QueryBillToOSSSubscription extends Rpc
1056
{
1057
}
1058
1059
/**
1060
 * @method string getExpiryTimeEnd()
1061
 * @method $this withExpiryTimeEnd($value)
1062
 * @method string getExpiryTimeStart()
1063
 * @method $this withExpiryTimeStart($value)
1064
 * @method string getEffectiveOrNot()
1065
 * @method $this withEffectiveOrNot($value)
1066
 */
1067
class QueryCashCoupons extends Rpc
1068
{
1069
}
1070
1071
/**
1072
 * @method string getParentUnitId()
1073
 * @method $this withParentUnitId($value)
1074
 * @method string getPageNum()
1075
 * @method $this withPageNum($value)
1076
 * @method string getPageSize()
1077
 * @method $this withPageSize($value)
1078
 * @method string getOwnerUid()
1079
 * @method $this withOwnerUid($value)
1080
 */
1081
class QueryCostUnit extends Rpc
1082
{
1083
}
1084
1085
/**
1086
 * @method string getPageNum()
1087
 * @method $this withPageNum($value)
1088
 * @method string getPageSize()
1089
 * @method $this withPageSize($value)
1090
 * @method string getUnitId()
1091
 * @method $this withUnitId($value)
1092
 * @method string getOwnerUid()
1093
 * @method $this withOwnerUid($value)
1094
 */
1095
class QueryCostUnitResource extends Rpc
1096
{
1097
}
1098
1099
/**
1100
 * @method string getOwnerId()
1101
 * @method $this withOwnerId($value)
1102
 */
1103
class QueryCustomerAddressList extends Rpc
1104
{
1105
}
1106
1107
/**
1108
 * @method string getDeductedInstanceId()
1109
 * @method $this withDeductedInstanceId($value)
1110
 * @method string getLastToken()
1111
 * @method $this withLastToken($value)
1112
 * @method string getInstanceSpec()
1113
 * @method $this withInstanceSpec($value)
1114
 * @method string getEndTime()
1115
 * @method $this withEndTime($value)
1116
 * @method string getIncludeShare()
1117
 * @method $this withIncludeShare($value)
1118
 * @method string getCommodityCode()
1119
 * @method $this withCommodityCode($value)
1120
 * @method string getStartTime()
1121
 * @method $this withStartTime($value)
1122
 * @method string getInstanceId()
1123
 * @method $this withInstanceId($value)
1124
 * @method string getLimit()
1125
 * @method $this withLimit($value)
1126
 */
1127
class QueryDPUtilizationDetail extends Rpc
1128
{
1129
}
1130
1131
/**
1132
 * @method string getEndSearchTime()
1133
 * @method $this withEndSearchTime($value)
1134
 * @method string getOutBizId()
1135
 * @method $this withOutBizId($value)
1136
 * @method string getSortType()
1137
 * @method $this withSortType($value)
1138
 * @method string getType()
1139
 * @method $this withType($value)
1140
 * @method string getPageNum()
1141
 * @method $this withPageNum($value)
1142
 * @method string getPageSize()
1143
 * @method $this withPageSize($value)
1144
 * @method string getEndAmount()
1145
 * @method $this withEndAmount($value)
1146
 * @method string getBillCycle()
1147
 * @method $this withBillCycle($value)
1148
 * @method array getBizTypeList()
1149
 * @method string getOwnerId()
1150
 * @method $this withOwnerId($value)
1151
 * @method string getStartSearchTime()
1152
 * @method $this withStartSearchTime($value)
1153
 * @method string getEndBizTime()
1154
 * @method $this withEndBizTime($value)
1155
 * @method string getStartAmount()
1156
 * @method $this withStartAmount($value)
1157
 * @method string getStartBizTime()
1158
 * @method $this withStartBizTime($value)
1159
 */
1160
class QueryEvaluateList extends Rpc
1161
{
1162
1163
    /**
1164
     * @param array $bizTypeList
1165
     *
1166
     * @return $this
1167
     */
1168
	public function withBizTypeList(array $bizTypeList)
1169
	{
1170
	    $this->data['BizTypeList'] = $bizTypeList;
1171
		foreach ($bizTypeList as $i => $iValue) {
1172
			$this->options['query']['BizTypeList.' . ($i + 1)] = $iValue;
1173
		}
1174
1175
		return $this;
1176
    }
1177
}
1178
1179
/**
1180
 * @method string getUserId()
1181
 * @method $this withUserId($value)
1182
 */
1183
class QueryFinancialAccountInfo extends Rpc
1184
{
1185
}
1186
1187
/**
1188
 * @method string getProductCode()
1189
 * @method $this withProductCode($value)
1190
 * @method string getIsHideZeroCharge()
1191
 * @method $this withIsHideZeroCharge($value)
1192
 * @method string getSubscriptionType()
1193
 * @method $this withSubscriptionType($value)
1194
 * @method string getBillingCycle()
1195
 * @method $this withBillingCycle($value)
1196
 * @method string getOwnerId()
1197
 * @method $this withOwnerId($value)
1198
 * @method string getPageNum()
1199
 * @method $this withPageNum($value)
1200
 * @method string getBillOwnerId()
1201
 * @method $this withBillOwnerId($value)
1202
 * @method string getBillingDate()
1203
 * @method $this withBillingDate($value)
1204
 * @method string getProductType()
1205
 * @method $this withProductType($value)
1206
 * @method string getIsBillingItem()
1207
 * @method $this withIsBillingItem($value)
1208
 * @method string getGranularity()
1209
 * @method $this withGranularity($value)
1210
 * @method string getPageSize()
1211
 * @method $this withPageSize($value)
1212
 */
1213
class QueryInstanceBill extends Rpc
1214
{
1215
}
1216
1217
/**
1218
 * @method array getResourceId()
1219
 * @method array getTag()
1220
 * @method string getResourceType()
1221
 * @method $this withResourceType($value)
1222
 */
1223
class QueryInstanceByTag extends Rpc
1224
{
1225
1226
    /**
1227
     * @param array $resourceId
1228
     *
1229
     * @return $this
1230
     */
1231
	public function withResourceId(array $resourceId)
1232
	{
1233
	    $this->data['ResourceId'] = $resourceId;
1234
		foreach ($resourceId as $i => $iValue) {
1235
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
1236
		}
1237
1238
		return $this;
1239
    }
1240
1241
    /**
1242
     * @param array $tag
1243
     *
1244
     * @return $this
1245
     */
1246
	public function withTag(array $tag)
1247
	{
1248
	    $this->data['Tag'] = $tag;
1249
		foreach ($tag as $depth1 => $depth1Value) {
1250
			if(isset($depth1Value['Value'])){
1251
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
1252
			}
1253
			if(isset($depth1Value['Key'])){
1254
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
1255
			}
1256
		}
1257
1258
		return $this;
1259
    }
1260
}
1261
1262
/**
1263
 * @method string getProductCode()
1264
 * @method $this withProductCode($value)
1265
 * @method string getSubscriptionType()
1266
 * @method $this withSubscriptionType($value)
1267
 * @method string getBillingCycle()
1268
 * @method $this withBillingCycle($value)
1269
 * @method string getPageNum()
1270
 * @method $this withPageNum($value)
1271
 * @method string getProductType()
1272
 * @method $this withProductType($value)
1273
 * @method string getPageSize()
1274
 * @method $this withPageSize($value)
1275
 */
1276
class QueryInstanceGaapCost extends Rpc
1277
{
1278
}
1279
1280
/**
1281
 * @method string getOwnerId()
1282
 * @method $this withOwnerId($value)
1283
 */
1284
class QueryInvoicingCustomerList extends Rpc
1285
{
1286
}
1287
1288
/**
1289
 * @method string getBillingCycle()
1290
 * @method $this withBillingCycle($value)
1291
 */
1292
class QueryMonthlyBill extends Rpc
1293
{
1294
}
1295
1296
/**
1297
 * @method string getProductCode()
1298
 * @method $this withProductCode($value)
1299
 * @method string getSubscriptionType()
1300
 * @method $this withSubscriptionType($value)
1301
 * @method string getBillingCycle()
1302
 * @method $this withBillingCycle($value)
1303
 * @method string getOwnerId()
1304
 * @method $this withOwnerId($value)
1305
 * @method string getPageNum()
1306
 * @method $this withPageNum($value)
1307
 * @method string getProductType()
1308
 * @method $this withProductType($value)
1309
 * @method string getPageSize()
1310
 * @method $this withPageSize($value)
1311
 */
1312
class QueryMonthlyInstanceConsumption extends Rpc
1313
{
1314
}
1315
1316
/**
1317
 * @method string getProductCode()
1318
 * @method $this withProductCode($value)
1319
 * @method string getSubscriptionType()
1320
 * @method $this withSubscriptionType($value)
1321
 * @method string getPageNum()
1322
 * @method $this withPageNum($value)
1323
 * @method string getOwnerId()
1324
 * @method $this withOwnerId($value)
1325
 * @method string getCreateTimeEnd()
1326
 * @method $this withCreateTimeEnd($value)
1327
 * @method string getProductType()
1328
 * @method $this withProductType($value)
1329
 * @method string getPageSize()
1330
 * @method $this withPageSize($value)
1331
 * @method string getPaymentStatus()
1332
 * @method $this withPaymentStatus($value)
1333
 * @method string getCreateTimeStart()
1334
 * @method $this withCreateTimeStart($value)
1335
 * @method string getOrderType()
1336
 * @method $this withOrderType($value)
1337
 */
1338
class QueryOrders extends Rpc
1339
{
1340
}
1341
1342
/**
1343
 * @method string getRelationId()
1344
 * @method $this withRelationId($value)
1345
 */
1346
class QueryPermissionList extends Rpc
1347
{
1348
}
1349
1350
/**
1351
 * @method string getExpiryTimeEnd()
1352
 * @method $this withExpiryTimeEnd($value)
1353
 * @method string getExpiryTimeStart()
1354
 * @method $this withExpiryTimeStart($value)
1355
 * @method string getEffectiveOrNot()
1356
 * @method $this withEffectiveOrNot($value)
1357
 */
1358
class QueryPrepaidCards extends Rpc
1359
{
1360
}
1361
1362
/**
1363
 * @method string getPageNum()
1364
 * @method $this withPageNum($value)
1365
 * @method string getQueryTotalCount()
1366
 * @method $this withQueryTotalCount($value)
1367
 * @method string getPageSize()
1368
 * @method $this withPageSize($value)
1369
 */
1370
class QueryProductList extends Rpc
1371
{
1372
}
1373
1374
/**
1375
 * @method string getExpiryTimeEnd()
1376
 * @method $this withExpiryTimeEnd($value)
1377
 * @method string getExpiryTimeStart()
1378
 * @method $this withExpiryTimeStart($value)
1379
 * @method string getPageNum()
1380
 * @method $this withPageNum($value)
1381
 * @method string getEffectiveOrNot()
1382
 * @method $this withEffectiveOrNot($value)
1383
 * @method string getPageSize()
1384
 * @method $this withPageSize($value)
1385
 */
1386
class QueryRedeem extends Rpc
1387
{
1388
1389
    /** @var string */
1390
    public $method = 'GET';
1391
}
1392
1393
/**
1394
 * @method array getStatusList()
1395
 * @method string getPageNum()
1396
 * @method $this withPageNum($value)
1397
 * @method string getUserId()
1398
 * @method $this withUserId($value)
1399
 * @method string getPageSize()
1400
 * @method $this withPageSize($value)
1401
 */
1402
class QueryRelationList extends Rpc
1403
{
1404
1405
    /**
1406
     * @param array $statusList
1407
     *
1408
     * @return $this
1409
     */
1410
	public function withStatusList(array $statusList)
1411
	{
1412
	    $this->data['StatusList'] = $statusList;
1413
		foreach ($statusList as $i => $iValue) {
1414
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
1415
		}
1416
1417
		return $this;
1418
    }
1419
}
1420
1421
/**
1422
 * @method string getItemCodes()
1423
 * @method $this withItemCodes($value)
1424
 * @method string getOwnerId()
1425
 * @method $this withOwnerId($value)
1426
 */
1427
class QueryResellerAvailableQuota extends Rpc
1428
{
1429
}
1430
1431
/**
1432
 * @method string getExpiryTimeEnd()
1433
 * @method $this withExpiryTimeEnd($value)
1434
 * @method string getProductCode()
1435
 * @method $this withProductCode($value)
1436
 * @method string getOwnerId()
1437
 * @method $this withOwnerId($value)
1438
 * @method string getExpiryTimeStart()
1439
 * @method $this withExpiryTimeStart($value)
1440
 * @method string getPageNum()
1441
 * @method $this withPageNum($value)
1442
 * @method string getPageSize()
1443
 * @method $this withPageSize($value)
1444
 */
1445
class QueryResourcePackageInstances extends Rpc
1446
{
1447
}
1448
1449
/**
1450
 * @method string getDeductedInstanceId()
1451
 * @method $this withDeductedInstanceId($value)
1452
 * @method string getInstanceSpec()
1453
 * @method $this withInstanceSpec($value)
1454
 * @method string getEndTime()
1455
 * @method $this withEndTime($value)
1456
 * @method string getRIInstanceId()
1457
 * @method $this withRIInstanceId($value)
1458
 * @method string getStartTime()
1459
 * @method $this withStartTime($value)
1460
 * @method string getPageNum()
1461
 * @method $this withPageNum($value)
1462
 * @method string getPageSize()
1463
 * @method $this withPageSize($value)
1464
 * @method string getRICommodityCode()
1465
 * @method $this withRICommodityCode($value)
1466
 */
1467
class QueryRIUtilizationDetail extends Rpc
1468
{
1469
}
1470
1471
/**
1472
 * @method string getEndTime()
1473
 * @method $this withEndTime($value)
1474
 * @method string getStartTime()
1475
 * @method $this withStartTime($value)
1476
 * @method string getLocale()
1477
 * @method $this withLocale($value)
1478
 * @method string getPageNum()
1479
 * @method $this withPageNum($value)
1480
 * @method string getInstanceId()
1481
 * @method $this withInstanceId($value)
1482
 * @method string getPageSize()
1483
 * @method $this withPageSize($value)
1484
 * @method string getInstanceType()
1485
 * @method $this withInstanceType($value)
1486
 */
1487
class QuerySavingsPlansDeductLog extends Rpc
1488
{
1489
}
1490
1491
/**
1492
 * @method string getEndTime()
1493
 * @method $this withEndTime($value)
1494
 * @method string getStartTime()
1495
 * @method $this withStartTime($value)
1496
 * @method string getLocale()
1497
 * @method $this withLocale($value)
1498
 * @method string getPageNum()
1499
 * @method $this withPageNum($value)
1500
 * @method string getInstanceId()
1501
 * @method $this withInstanceId($value)
1502
 * @method string getPageSize()
1503
 * @method $this withPageSize($value)
1504
 * @method array getTag()
1505
 */
1506
class QuerySavingsPlansInstance extends Rpc
1507
{
1508
1509
    /**
1510
     * @param array $tag
1511
     *
1512
     * @return $this
1513
     */
1514
	public function withTag(array $tag)
1515
	{
1516
	    $this->data['Tag'] = $tag;
1517
		foreach ($tag as $depth1 => $depth1Value) {
1518
			if(isset($depth1Value['Value'])){
1519
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
1520
			}
1521
			if(isset($depth1Value['Key'])){
1522
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
1523
			}
1524
		}
1525
1526
		return $this;
1527
    }
1528
}
1529
1530
/**
1531
 * @method string getProductCode()
1532
 * @method $this withProductCode($value)
1533
 * @method string getIsHideZeroCharge()
1534
 * @method $this withIsHideZeroCharge($value)
1535
 * @method string getIsDisplayLocalCurrency()
1536
 * @method $this withIsDisplayLocalCurrency($value)
1537
 * @method string getSubscriptionType()
1538
 * @method $this withSubscriptionType($value)
1539
 * @method string getBillingCycle()
1540
 * @method $this withBillingCycle($value)
1541
 * @method string getType()
1542
 * @method $this withType($value)
1543
 * @method string getOwnerId()
1544
 * @method $this withOwnerId($value)
1545
 * @method string getBillOwnerId()
1546
 * @method $this withBillOwnerId($value)
1547
 * @method string getProductType()
1548
 * @method $this withProductType($value)
1549
 * @method string getRecordID()
1550
 * @method $this withRecordID($value)
1551
 * @method string getNextToken()
1552
 * @method $this withNextToken($value)
1553
 * @method string getMaxResults()
1554
 * @method $this withMaxResults($value)
1555
 */
1556
class QuerySettleBill extends Rpc
1557
{
1558
}
1559
1560
/**
1561
 * @method string getProductCode()
1562
 * @method $this withProductCode($value)
1563
 * @method string getIsHideZeroCharge()
1564
 * @method $this withIsHideZeroCharge($value)
1565
 * @method string getSubscriptionType()
1566
 * @method $this withSubscriptionType($value)
1567
 * @method string getEndTime()
1568
 * @method $this withEndTime($value)
1569
 * @method string getBillingCycle()
1570
 * @method $this withBillingCycle($value)
1571
 * @method string getStartTime()
1572
 * @method $this withStartTime($value)
1573
 * @method string getOwnerId()
1574
 * @method $this withOwnerId($value)
1575
 * @method string getPageNum()
1576
 * @method $this withPageNum($value)
1577
 * @method string getType()
1578
 * @method $this withType($value)
1579
 * @method string getProductType()
1580
 * @method $this withProductType($value)
1581
 * @method string getPageSize()
1582
 * @method $this withPageSize($value)
1583
 */
1584
class QuerySettlementBill extends Rpc
1585
{
1586
}
1587
1588
/**
1589
 * @method string getProductCode()
1590
 * @method $this withProductCode($value)
1591
 * @method string getSubscriptionType()
1592
 * @method $this withSubscriptionType($value)
1593
 * @method string getBillingCycle()
1594
 * @method $this withBillingCycle($value)
1595
 * @method string getOwnerId()
1596
 * @method $this withOwnerId($value)
1597
 * @method string getPageNum()
1598
 * @method $this withPageNum($value)
1599
 * @method string getBillOwnerId()
1600
 * @method $this withBillOwnerId($value)
1601
 * @method string getProductType()
1602
 * @method $this withProductType($value)
1603
 * @method string getPageSize()
1604
 * @method $this withPageSize($value)
1605
 */
1606
class QuerySplitItemBill extends Rpc
1607
{
1608
}
1609
1610
/**
1611
 * @method string getEndTime()
1612
 * @method $this withEndTime($value)
1613
 * @method string getStartTime()
1614
 * @method $this withStartTime($value)
1615
 * @method string getOwnerId()
1616
 * @method $this withOwnerId($value)
1617
 * @method string getDataType()
1618
 * @method $this withDataType($value)
1619
 * @method string getMarker()
1620
 * @method $this withMarker($value)
1621
 * @method string getPageSize()
1622
 * @method $this withPageSize($value)
1623
 * @method string getTable()
1624
 * @method $this withTable($value)
1625
 */
1626
class QueryUserOmsData extends Rpc
1627
{
1628
}
1629
1630
/**
1631
 * @method string getRelationType()
1632
 * @method $this withRelationType($value)
1633
 * @method string getParentUserId()
1634
 * @method $this withParentUserId($value)
1635
 * @method string getChildUserId()
1636
 * @method $this withChildUserId($value)
1637
 * @method string getRequestId()
1638
 * @method $this withRequestId($value)
1639
 */
1640
class RelieveAccountRelation extends Rpc
1641
{
1642
}
1643
1644
/**
1645
 * @method string getProductCode()
1646
 * @method $this withProductCode($value)
1647
 * @method string getClientToken()
1648
 * @method $this withClientToken($value)
1649
 * @method string getOwnerId()
1650
 * @method $this withOwnerId($value)
1651
 * @method string getProductType()
1652
 * @method $this withProductType($value)
1653
 * @method string getInstanceId()
1654
 * @method $this withInstanceId($value)
1655
 * @method string getRenewPeriod()
1656
 * @method $this withRenewPeriod($value)
1657
 */
1658
class RenewInstance extends Rpc
1659
{
1660
}
1661
1662
/**
1663
 * @method string getOwnerId()
1664
 * @method $this withOwnerId($value)
1665
 * @method string getEffectiveDate()
1666
 * @method $this withEffectiveDate($value)
1667
 * @method string getDuration()
1668
 * @method $this withDuration($value)
1669
 * @method string getInstanceId()
1670
 * @method $this withInstanceId($value)
1671
 * @method string getPricingCycle()
1672
 * @method $this withPricingCycle($value)
1673
 */
1674
class RenewResourcePackage extends Rpc
1675
{
1676
}
1677
1678
/**
1679
 * @method string getAvoidExpiration()
1680
 * @method $this withAvoidExpiration($value)
1681
 * @method string getDescription()
1682
 * @method $this withDescription($value)
1683
 * @method string getAvoidPrepaidNotification()
1684
 * @method $this withAvoidPrepaidNotification($value)
1685
 * @method string getAvoidPrepaidExpiration()
1686
 * @method $this withAvoidPrepaidExpiration($value)
1687
 * @method string getAvoidNotification()
1688
 * @method $this withAvoidNotification($value)
1689
 * @method string getOperator()
1690
 * @method $this withOperator($value)
1691
 * @method string getCreditValue()
1692
 * @method $this withCreditValue($value)
1693
 * @method string getCreditType()
1694
 * @method $this withCreditType($value)
1695
 */
1696
class SaveUserCredit extends Rpc
1697
{
1698
1699
    /** @var string */
1700
    public $scheme = 'https';
1701
}
1702
1703
/**
1704
 * @method string getOwnerId()
1705
 * @method $this withOwnerId($value)
1706
 * @method string getUnifyExpireDay()
1707
 * @method $this withUnifyExpireDay($value)
1708
 */
1709
class SetAllExpirationDay extends Rpc
1710
{
1711
}
1712
1713
/**
1714
 * @method string getActionType()
1715
 * @method $this withActionType($value)
1716
 * @method string getIsNeedSaveNotifyRule()
1717
 * @method $this withIsNeedSaveNotifyRule($value)
1718
 * @method string getIsNeedAdjustCreditAccount()
1719
 * @method $this withIsNeedAdjustCreditAccount($value)
1720
 * @method string getNewCreateMode()
1721
 * @method $this withNewCreateMode($value)
1722
 * @method string getDescription()
1723
 * @method $this withDescription($value)
1724
 * @method string getSource()
1725
 * @method $this withSource($value)
1726
 * @method string getCurrencyCode()
1727
 * @method $this withCurrencyCode($value)
1728
 * @method string getDailyCycle()
1729
 * @method $this withDailyCycle($value)
1730
 * @method string getOperator()
1731
 * @method $this withOperator($value)
1732
 * @method string getUid()
1733
 * @method $this withUid($value)
1734
 * @method string getSiteCode()
1735
 * @method $this withSiteCode($value)
1736
 * @method string getClearCycle()
1737
 * @method $this withClearCycle($value)
1738
 * @method string getNeedNotice()
1739
 * @method $this withNeedNotice($value)
1740
 * @method string getRequestId()
1741
 * @method $this withRequestId($value)
1742
 * @method string getIsNeedSetCreditAmount()
1743
 * @method $this withIsNeedSetCreditAmount($value)
1744
 * @method string getCreditAmount()
1745
 * @method $this withCreditAmount($value)
1746
 * @method string getIsNeedAddSettleLabel()
1747
 * @method $this withIsNeedAddSettleLabel($value)
1748
 */
1749
class SetCreditLabelAction extends Rpc
1750
{
1751
1752
    /** @var string */
1753
    public $scheme = 'https';
1754
}
1755
1756
/**
1757
 * @method string getProductCode()
1758
 * @method $this withProductCode($value)
1759
 * @method string getSubscriptionType()
1760
 * @method $this withSubscriptionType($value)
1761
 * @method string getRenewalPeriod()
1762
 * @method $this withRenewalPeriod($value)
1763
 * @method string getOwnerId()
1764
 * @method $this withOwnerId($value)
1765
 * @method string getProductType()
1766
 * @method $this withProductType($value)
1767
 * @method string getInstanceIDs()
1768
 * @method $this withInstanceIDs($value)
1769
 * @method string getRenewalStatus()
1770
 * @method $this withRenewalStatus($value)
1771
 * @method string getRenewalPeriodUnit()
1772
 * @method $this withRenewalPeriodUnit($value)
1773
 */
1774
class SetRenewal extends Rpc
1775
{
1776
}
1777
1778
/**
1779
 * @method string getAlarmType()
1780
 * @method $this withAlarmType($value)
1781
 * @method string getAlarmThresholds()
1782
 * @method $this withAlarmThresholds($value)
1783
 * @method string getOwnerId()
1784
 * @method $this withOwnerId($value)
1785
 */
1786
class SetResellerUserAlarmThreshold extends Rpc
1787
{
1788
}
1789
1790
/**
1791
 * @method string getAmount()
1792
 * @method $this withAmount($value)
1793
 * @method string getOutBizId()
1794
 * @method $this withOutBizId($value)
1795
 * @method string getOwnerId()
1796
 * @method $this withOwnerId($value)
1797
 * @method string getCurrency()
1798
 * @method $this withCurrency($value)
1799
 */
1800
class SetResellerUserQuota extends Rpc
1801
{
1802
}
1803
1804
/**
1805
 * @method string getOwnerId()
1806
 * @method $this withOwnerId($value)
1807
 * @method string getBusinessType()
1808
 * @method $this withBusinessType($value)
1809
 * @method string getStatus()
1810
 * @method $this withStatus($value)
1811
 */
1812
class SetResellerUserStatus extends Rpc
1813
{
1814
}
1815
1816
/**
1817
 * @method string getBucketOwnerId()
1818
 * @method $this withBucketOwnerId($value)
1819
 * @method string getSubscribeType()
1820
 * @method $this withSubscribeType($value)
1821
 * @method string getSubscribeBucket()
1822
 * @method $this withSubscribeBucket($value)
1823
 * @method string getBeginBillingCycle()
1824
 * @method $this withBeginBillingCycle($value)
1825
 * @method string getMultAccountRelSubscribe()
1826
 * @method $this withMultAccountRelSubscribe($value)
1827
 */
1828
class SubscribeBillToOSS extends Rpc
1829
{
1830
}
1831
1832
/**
1833
 * @method array getResourceId()
1834
 * @method array getTag()
1835
 * @method string getResourceType()
1836
 * @method $this withResourceType($value)
1837
 */
1838
class TagResources extends Rpc
1839
{
1840
1841
    /**
1842
     * @param array $resourceId
1843
     *
1844
     * @return $this
1845
     */
1846
	public function withResourceId(array $resourceId)
1847
	{
1848
	    $this->data['ResourceId'] = $resourceId;
1849
		foreach ($resourceId as $i => $iValue) {
1850
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
1851
		}
1852
1853
		return $this;
1854
    }
1855
1856
    /**
1857
     * @param array $tag
1858
     *
1859
     * @return $this
1860
     */
1861
	public function withTag(array $tag)
1862
	{
1863
	    $this->data['Tag'] = $tag;
1864
		foreach ($tag as $depth1 => $depth1Value) {
1865
			if(isset($depth1Value['Value'])){
1866
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
1867
			}
1868
			if(isset($depth1Value['Key'])){
1869
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
1870
			}
1871
		}
1872
1873
		return $this;
1874
    }
1875
}
1876
1877
/**
1878
 * @method string getSubscribeType()
1879
 * @method $this withSubscribeType($value)
1880
 * @method string getMultAccountRelSubscribe()
1881
 * @method $this withMultAccountRelSubscribe($value)
1882
 */
1883
class UnsubscribeBillToOSS extends Rpc
1884
{
1885
}
1886
1887
/**
1888
 * @method string getAll()
1889
 * @method $this withAll($value)
1890
 * @method array getResourceId()
1891
 * @method array getTagKey()
1892
 * @method string getResourceType()
1893
 * @method $this withResourceType($value)
1894
 */
1895
class UntagResources extends Rpc
1896
{
1897
1898
    /**
1899
     * @param array $resourceId
1900
     *
1901
     * @return $this
1902
     */
1903
	public function withResourceId(array $resourceId)
1904
	{
1905
	    $this->data['ResourceId'] = $resourceId;
1906
		foreach ($resourceId as $i => $iValue) {
1907
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
1908
		}
1909
1910
		return $this;
1911
    }
1912
1913
    /**
1914
     * @param array $tagKey
1915
     *
1916
     * @return $this
1917
     */
1918
	public function withTagKey(array $tagKey)
1919
	{
1920
	    $this->data['TagKey'] = $tagKey;
1921
		foreach ($tagKey as $i => $iValue) {
1922
			$this->options['query']['TagKey.' . ($i + 1)] = $iValue;
1923
		}
1924
1925
		return $this;
1926
    }
1927
}
1928
1929
/**
1930
 * @method string getSpecification()
1931
 * @method $this withSpecification($value)
1932
 * @method string getOwnerId()
1933
 * @method $this withOwnerId($value)
1934
 * @method string getEffectiveDate()
1935
 * @method $this withEffectiveDate($value)
1936
 * @method string getInstanceId()
1937
 * @method $this withInstanceId($value)
1938
 */
1939
class UpgradeResourcePackage extends Rpc
1940
{
1941
}
1942