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 ( c9d54b...21867b )
by
unknown
10:16
created

withBillOwnerIdList()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 4
dl 0
loc 8
c 0
b 0
f 0
rs 10
cc 2
nc 2
nop 1
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 CreateSavingsPlansInstance createSavingsPlansInstance(array $options = [])
21
 * @method DeleteCostUnit deleteCostUnit(array $options = [])
22
 * @method DescribeCostBudgetsSummary describeCostBudgetsSummary(array $options = [])
23
 * @method DescribeInstanceAmortizedCostByAmortizationPeriod describeInstanceAmortizedCostByAmortizationPeriod(array $options = [])
24
 * @method DescribeInstanceAmortizedCostByConsumePeriod describeInstanceAmortizedCostByConsumePeriod(array $options = [])
25
 * @method DescribeInstanceBill describeInstanceBill(array $options = [])
26
 * @method DescribePricingModule describePricingModule(array $options = [])
27
 * @method DescribeProductAmortizedCostByAmortizationPeriod describeProductAmortizedCostByAmortizationPeriod(array $options = [])
28
 * @method DescribeProductAmortizedCostByConsumePeriod describeProductAmortizedCostByConsumePeriod(array $options = [])
29
 * @method DescribeResourceCoverageDetail describeResourceCoverageDetail(array $options = [])
30
 * @method DescribeResourceCoverageTotal describeResourceCoverageTotal(array $options = [])
31
 * @method DescribeResourcePackageProduct describeResourcePackageProduct(array $options = [])
32
 * @method DescribeResourceUsageDetail describeResourceUsageDetail(array $options = [])
33
 * @method DescribeResourceUsageTotal describeResourceUsageTotal(array $options = [])
34
 * @method DescribeSavingsPlansCoverageDetail describeSavingsPlansCoverageDetail(array $options = [])
35
 * @method DescribeSavingsPlansCoverageTotal describeSavingsPlansCoverageTotal(array $options = [])
36
 * @method DescribeSavingsPlansUsageDetail describeSavingsPlansUsageDetail(array $options = [])
37
 * @method DescribeSavingsPlansUsageTotal describeSavingsPlansUsageTotal(array $options = [])
38
 * @method DescribeSplitItemBill describeSplitItemBill(array $options = [])
39
 * @method EnableBillGeneration enableBillGeneration(array $options = [])
40
 * @method GetAccountRelation getAccountRelation(array $options = [])
41
 * @method GetCustomerAccountInfo getCustomerAccountInfo(array $options = [])
42
 * @method GetCustomerList getCustomerList(array $options = [])
43
 * @method GetOrderDetail getOrderDetail(array $options = [])
44
 * @method GetPayAsYouGoPrice getPayAsYouGoPrice(array $options = [])
45
 * @method GetResourcePackagePrice getResourcePackagePrice(array $options = [])
46
 * @method GetSubscriptionPrice getSubscriptionPrice(array $options = [])
47
 * @method InquiryPriceRefundInstance inquiryPriceRefundInstance(array $options = [])
48
 * @method ModifyAccountRelation modifyAccountRelation(array $options = [])
49
 * @method ModifyCostUnit modifyCostUnit(array $options = [])
50
 * @method ModifyInstance modifyInstance(array $options = [])
51
 * @method QueryAccountBalance queryAccountBalance(array $options = [])
52
 * @method QueryAccountBill queryAccountBill(array $options = [])
53
 * @method QueryAccountTransactionDetails queryAccountTransactionDetails(array $options = [])
54
 * @method QueryAccountTransactions queryAccountTransactions(array $options = [])
55
 * @method QueryAvailableInstances queryAvailableInstances(array $options = [])
56
 * @method QueryBill queryBill(array $options = [])
57
 * @method QueryBillOverview queryBillOverview(array $options = [])
58
 * @method QueryBillToOSSSubscription queryBillToOSSSubscription(array $options = [])
59
 * @method QueryCashCoupons queryCashCoupons(array $options = [])
60
 * @method QueryCommodityList queryCommodityList(array $options = [])
61
 * @method QueryCostUnit queryCostUnit(array $options = [])
62
 * @method QueryCostUnitResource queryCostUnitResource(array $options = [])
63
 * @method QueryCustomerAddressList queryCustomerAddressList(array $options = [])
64
 * @method QueryDPUtilizationDetail queryDPUtilizationDetail(array $options = [])
65
 * @method QueryEvaluateList queryEvaluateList(array $options = [])
66
 * @method QueryFinancialAccountInfo queryFinancialAccountInfo(array $options = [])
67
 * @method QueryInstanceBill queryInstanceBill(array $options = [])
68
 * @method QueryInstanceByTag queryInstanceByTag(array $options = [])
69
 * @method QueryInstanceGaapCost queryInstanceGaapCost(array $options = [])
70
 * @method QueryInvoicingCustomerList queryInvoicingCustomerList(array $options = [])
71
 * @method QueryOrders queryOrders(array $options = [])
72
 * @method QueryPermissionList queryPermissionList(array $options = [])
73
 * @method QueryPrepaidCards queryPrepaidCards(array $options = [])
74
 * @method QueryPriceEntityList queryPriceEntityList(array $options = [])
75
 * @method QueryProductList queryProductList(array $options = [])
76
 * @method QueryRedeem queryRedeem(array $options = [])
77
 * @method QueryRelationList queryRelationList(array $options = [])
78
 * @method QueryResellerAvailableQuota queryResellerAvailableQuota(array $options = [])
79
 * @method QueryResourcePackageInstances queryResourcePackageInstances(array $options = [])
80
 * @method QueryRIUtilizationDetail queryRIUtilizationDetail(array $options = [])
81
 * @method QuerySavingsPlansDeductLog querySavingsPlansDeductLog(array $options = [])
82
 * @method QuerySavingsPlansDiscount querySavingsPlansDiscount(array $options = [])
83
 * @method QuerySavingsPlansInstance querySavingsPlansInstance(array $options = [])
84
 * @method QuerySettleBill querySettleBill(array $options = [])
85
 * @method QuerySkuPriceList querySkuPriceList(array $options = [])
86
 * @method QuerySplitItemBill querySplitItemBill(array $options = [])
87
 * @method QueryUserOmsData queryUserOmsData(array $options = [])
88
 * @method RefundInstance refundInstance(array $options = [])
89
 * @method ReleaseInstance releaseInstance(array $options = [])
90
 * @method RelieveAccountRelation relieveAccountRelation(array $options = [])
91
 * @method RenewInstance renewInstance(array $options = [])
92
 * @method RenewResourcePackage renewResourcePackage(array $options = [])
93
 * @method SaveUserCredit saveUserCredit(array $options = [])
94
 * @method SetAllExpirationDay setAllExpirationDay(array $options = [])
95
 * @method SetCreditLabelAction setCreditLabelAction(array $options = [])
96
 * @method SetRenewal setRenewal(array $options = [])
97
 * @method SetResellerUserAlarmThreshold setResellerUserAlarmThreshold(array $options = [])
98
 * @method SetResellerUserQuota setResellerUserQuota(array $options = [])
99
 * @method SetResellerUserStatus setResellerUserStatus(array $options = [])
100
 * @method SubscribeBillToOSS subscribeBillToOSS(array $options = [])
101
 * @method TagResources tagResources(array $options = [])
102
 * @method UnsubscribeBillToOSS unsubscribeBillToOSS(array $options = [])
103
 * @method UntagResources untagResources(array $options = [])
104
 * @method UpgradeResourcePackage upgradeResourcePackage(array $options = [])
105
 */
106
class BssOpenApiApiResolver extends ApiResolver
107
{
108
}
109
110
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
111
{
112
    /** @var string */
113
    public $product = 'BssOpenApi';
114
115
    /** @var string */
116
    public $version = '2017-12-14';
117
118
    /** @var string */
119
    public $method = 'POST';
120
121
    /** @var string */
122
    public $serviceCode = 'bssopenapi';
123
}
124
125
/**
126
 * @method string getChildNick()
127
 * @method $this withChildNick($value)
128
 * @method string getRelationType()
129
 * @method $this withRelationType($value)
130
 * @method string getParentUserId()
131
 * @method $this withParentUserId($value)
132
 * @method string getChildUserId()
133
 * @method $this withChildUserId($value)
134
 * @method string getRequestId()
135
 * @method $this withRequestId($value)
136
 * @method array getPermissionCodes()
137
 * @method array getRoleCodes()
138
 */
139
class AddAccountRelation extends Rpc
140
{
141
142
    /**
143
     * @param array $permissionCodes
144
     *
145
     * @return $this
146
     */
147
	public function withPermissionCodes(array $permissionCodes)
148
	{
149
	    $this->data['PermissionCodes'] = $permissionCodes;
150
		foreach ($permissionCodes as $i => $iValue) {
151
			$this->options['query']['PermissionCodes.' . ($i + 1)] = $iValue;
152
		}
153
154
		return $this;
155
    }
156
157
    /**
158
     * @param array $roleCodes
159
     *
160
     * @return $this
161
     */
162
	public function withRoleCodes(array $roleCodes)
163
	{
164
	    $this->data['RoleCodes'] = $roleCodes;
165
		foreach ($roleCodes as $i => $iValue) {
166
			$this->options['query']['RoleCodes.' . ($i + 1)] = $iValue;
167
		}
168
169
		return $this;
170
    }
171
}
172
173
/**
174
 * @method array getResourceInstanceList()
175
 * @method string getFromUnitId()
176
 * @method $this withFromUnitId($value)
177
 * @method string getToUnitId()
178
 * @method $this withToUnitId($value)
179
 * @method string getFromUnitUserId()
180
 * @method $this withFromUnitUserId($value)
181
 * @method string getToUnitUserId()
182
 * @method $this withToUnitUserId($value)
183
 */
184
class AllocateCostUnitResource extends Rpc
185
{
186
187
    /**
188
     * @param array $resourceInstanceList
189
     *
190
     * @return $this
191
     */
192
	public function withResourceInstanceList(array $resourceInstanceList)
193
	{
194
	    $this->data['ResourceInstanceList'] = $resourceInstanceList;
195
		foreach ($resourceInstanceList as $depth1 => $depth1Value) {
196
			if(isset($depth1Value['ResourceId'])){
197
				$this->options['query']['ResourceInstanceList.' . ($depth1 + 1) . '.ResourceId'] = $depth1Value['ResourceId'];
198
			}
199
			if(isset($depth1Value['CommodityCode'])){
200
				$this->options['query']['ResourceInstanceList.' . ($depth1 + 1) . '.CommodityCode'] = $depth1Value['CommodityCode'];
201
			}
202
			if(isset($depth1Value['ApportionCode'])){
203
				$this->options['query']['ResourceInstanceList.' . ($depth1 + 1) . '.ApportionCode'] = $depth1Value['ApportionCode'];
204
			}
205
			if(isset($depth1Value['ResourceUserId'])){
206
				$this->options['query']['ResourceInstanceList.' . ($depth1 + 1) . '.ResourceUserId'] = $depth1Value['ResourceUserId'];
207
			}
208
		}
209
210
		return $this;
211
    }
212
}
213
214
/**
215
 * @method string getInvoicingType()
216
 * @method $this withInvoicingType($value)
217
 * @method string getProcessWay()
218
 * @method $this withProcessWay($value)
219
 * @method string getOwnerId()
220
 * @method $this withOwnerId($value)
221
 * @method string getInvoiceAmount()
222
 * @method $this withInvoiceAmount($value)
223
 * @method string getAddressId()
224
 * @method $this withAddressId($value)
225
 * @method string getApplyUserNick()
226
 * @method $this withApplyUserNick($value)
227
 * @method string getInvoiceByAmount()
228
 * @method $this withInvoiceByAmount($value)
229
 * @method string getCustomerId()
230
 * @method $this withCustomerId($value)
231
 * @method array getSelectedIds()
232
 * @method string getUserRemark()
233
 * @method $this withUserRemark($value)
234
 */
235
class ApplyInvoice extends Rpc
236
{
237
238
    /**
239
     * @param array $selectedIds
240
     *
241
     * @return $this
242
     */
243
	public function withSelectedIds(array $selectedIds)
244
	{
245
	    $this->data['SelectedIds'] = $selectedIds;
246
		foreach ($selectedIds as $i => $iValue) {
247
			$this->options['query']['SelectedIds.' . ($i + 1)] = $iValue;
248
		}
249
250
		return $this;
251
    }
252
}
253
254
/**
255
 * @method string getOrderId()
256
 * @method $this withOrderId($value)
257
 * @method string getOwnerId()
258
 * @method $this withOwnerId($value)
259
 */
260
class CancelOrder extends Rpc
261
{
262
}
263
264
/**
265
 * @method string getAmount()
266
 * @method $this withAmount($value)
267
 * @method string getOutBizId()
268
 * @method $this withOutBizId($value)
269
 * @method string getSource()
270
 * @method $this withSource($value)
271
 * @method string getOwnerId()
272
 * @method $this withOwnerId($value)
273
 * @method string getBusinessType()
274
 * @method $this withBusinessType($value)
275
 * @method string getAdjustType()
276
 * @method $this withAdjustType($value)
277
 * @method string getExtendMap()
278
 * @method $this withExtendMap($value)
279
 * @method string getCurrency()
280
 * @method $this withCurrency($value)
281
 */
282
class ChangeResellerConsumeAmount extends Rpc
283
{
284
}
285
286
/**
287
 * @method string getRelationType()
288
 * @method $this withRelationType($value)
289
 * @method string getParentUserId()
290
 * @method $this withParentUserId($value)
291
 * @method string getConfirmCode()
292
 * @method $this withConfirmCode($value)
293
 * @method string getChildUserId()
294
 * @method $this withChildUserId($value)
295
 * @method string getRequestId()
296
 * @method $this withRequestId($value)
297
 * @method array getPermissionCodes()
298
 * @method string getRelationId()
299
 * @method $this withRelationId($value)
300
 */
301
class ConfirmRelation extends Rpc
302
{
303
304
    /**
305
     * @param array $permissionCodes
306
     *
307
     * @return $this
308
     */
309
	public function withPermissionCodes(array $permissionCodes)
310
	{
311
	    $this->data['PermissionCodes'] = $permissionCodes;
312
		foreach ($permissionCodes as $i => $iValue) {
313
			$this->options['query']['PermissionCodes.' . ($i + 1)] = $iValue;
314
		}
315
316
		return $this;
317
    }
318
}
319
320
/**
321
 * @method string getPeriod()
322
 * @method $this withPeriod($value)
323
 * @method string getProductCode()
324
 * @method $this withProductCode($value)
325
 * @method string getSubscriptionType()
326
 * @method $this withSubscriptionType($value)
327
 * @method string getOwnerId()
328
 * @method $this withOwnerId($value)
329
 * @method string getProductType()
330
 * @method $this withProductType($value)
331
 * @method string getInstanceId()
332
 * @method $this withInstanceId($value)
333
 */
334
class ConvertChargeType extends Rpc
335
{
336
}
337
338
/**
339
 * @method string getFirstName()
340
 * @method $this withFirstName($value)
341
 * @method string getCityName()
342
 * @method $this withCityName($value)
343
 * @method string getPostcode()
344
 * @method $this withPostcode($value)
345
 * @method string getEnterpriseName()
346
 * @method $this withEnterpriseName($value)
347
 * @method string getNationCode()
348
 * @method $this withNationCode($value)
349
 * @method string getLastName()
350
 * @method $this withLastName($value)
351
 * @method string getLoginEmail()
352
 * @method $this withLoginEmail($value)
353
 * @method string getProvinceName()
354
 * @method $this withProvinceName($value)
355
 * @method string getAccountAttr()
356
 * @method $this withAccountAttr($value)
357
 */
358
class CreateAgAccount extends Rpc
359
{
360
361
    /** @var string */
362
    public $scheme = 'https';
363
}
364
365
/**
366
 * @method array getUnitEntityList()
367
 */
368
class CreateCostUnit extends Rpc
369
{
370
371
    /**
372
     * @param array $unitEntityList
373
     *
374
     * @return $this
375
     */
376
	public function withUnitEntityList(array $unitEntityList)
377
	{
378
	    $this->data['UnitEntityList'] = $unitEntityList;
379
		foreach ($unitEntityList as $depth1 => $depth1Value) {
380
			if(isset($depth1Value['UnitName'])){
381
				$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.UnitName'] = $depth1Value['UnitName'];
382
			}
383
			if(isset($depth1Value['ParentUnitId'])){
384
				$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.ParentUnitId'] = $depth1Value['ParentUnitId'];
385
			}
386
			if(isset($depth1Value['OwnerUid'])){
387
				$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.OwnerUid'] = $depth1Value['OwnerUid'];
388
			}
389
		}
390
391
		return $this;
392
    }
393
}
394
395
/**
396
 * @method string getProductCode()
397
 * @method $this withProductCode($value)
398
 * @method string getPeriod()
399
 * @method $this withPeriod($value)
400
 * @method string getClientToken()
401
 * @method $this withClientToken($value)
402
 * @method string getSubscriptionType()
403
 * @method $this withSubscriptionType($value)
404
 * @method string getLogistics()
405
 * @method $this withLogistics($value)
406
 * @method string getOwnerId()
407
 * @method $this withOwnerId($value)
408
 * @method string getProductType()
409
 * @method $this withProductType($value)
410
 * @method string getRenewPeriod()
411
 * @method $this withRenewPeriod($value)
412
 * @method string getRenewalStatus()
413
 * @method $this withRenewalStatus($value)
414
 * @method array getParameter()
415
 */
416
class CreateInstance extends Rpc
417
{
418
419
    /**
420
     * @param array $parameter
421
     *
422
     * @return $this
423
     */
424
	public function withParameter(array $parameter)
425
	{
426
	    $this->data['Parameter'] = $parameter;
427
		foreach ($parameter as $depth1 => $depth1Value) {
428
			if(isset($depth1Value['Code'])){
429
				$this->options['query']['Parameter.' . ($depth1 + 1) . '.Code'] = $depth1Value['Code'];
430
			}
431
			if(isset($depth1Value['Value'])){
432
				$this->options['query']['Parameter.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
433
			}
434
		}
435
436
		return $this;
437
    }
438
}
439
440
/**
441
 * @method string getAmount()
442
 * @method $this withAmount($value)
443
 * @method string getOutBizId()
444
 * @method $this withOutBizId($value)
445
 * @method string getOwnerId()
446
 * @method $this withOwnerId($value)
447
 * @method string getCurrency()
448
 * @method $this withCurrency($value)
449
 */
450
class CreateResellerUserQuota extends Rpc
451
{
452
}
453
454
/**
455
 * @method string getProductCode()
456
 * @method $this withProductCode($value)
457
 * @method string getSpecification()
458
 * @method $this withSpecification($value)
459
 * @method string getOwnerId()
460
 * @method $this withOwnerId($value)
461
 * @method string getEffectiveDate()
462
 * @method $this withEffectiveDate($value)
463
 * @method string getDuration()
464
 * @method $this withDuration($value)
465
 * @method string getPackageType()
466
 * @method $this withPackageType($value)
467
 * @method string getPricingCycle()
468
 * @method $this withPricingCycle($value)
469
 */
470
class CreateResourcePackage extends Rpc
471
{
472
}
473
474
/**
475
 * @method string getSpecification()
476
 * @method $this withSpecification($value)
477
 * @method string getPoolValue()
478
 * @method $this withPoolValue($value)
479
 * @method string getCommodityCode()
480
 * @method $this withCommodityCode($value)
481
 * @method string getType()
482
 * @method $this withType($value)
483
 * @method string getEffectiveDate()
484
 * @method $this withEffectiveDate($value)
485
 * @method string getDuration()
486
 * @method $this withDuration($value)
487
 * @method string getSpecType()
488
 * @method $this withSpecType($value)
489
 * @method string getPayMode()
490
 * @method $this withPayMode($value)
491
 * @method string getRegion()
492
 * @method $this withRegion($value)
493
 * @method string getPricingCycle()
494
 * @method $this withPricingCycle($value)
495
 */
496
class CreateSavingsPlansInstance extends Rpc
497
{
498
}
499
500
/**
501
 * @method string getUnitId()
502
 * @method $this withUnitId($value)
503
 * @method string getOwnerUid()
504
 * @method $this withOwnerUid($value)
505
 */
506
class DeleteCostUnit extends Rpc
507
{
508
}
509
510
/**
511
 * @method string getBudgetStatus()
512
 * @method $this withBudgetStatus($value)
513
 * @method string getBudgetType()
514
 * @method $this withBudgetType($value)
515
 * @method string getNextToken()
516
 * @method $this withNextToken($value)
517
 * @method string getMaxResults()
518
 * @method $this withMaxResults($value)
519
 * @method string getBudgetName()
520
 * @method $this withBudgetName($value)
521
 */
522
class DescribeCostBudgetsSummary extends Rpc
523
{
524
}
525
526
/**
527
 * @method string getProductDetail()
528
 * @method string getProductCode()
529
 * @method array getBillOwnerIdList()
530
 * @method string getSubscriptionType()
531
 * @method string getBillingCycle()
532
 * @method string getCostUnitCode()
533
 * @method array getConsumePeriodFilter()
534
 * @method string getNextToken()
535
 * @method array getBillUserIdList()
536
 * @method array getInstanceIdList()
537
 * @method string getMaxResults()
538
 */
539
class DescribeInstanceAmortizedCostByAmortizationPeriod extends Rpc
540
{
541
542
    /**
543
     * @param string $value
544
     *
545
     * @return $this
546
     */
547
    public function withProductDetail($value)
548
    {
549
        $this->data['ProductDetail'] = $value;
550
        $this->options['form_params']['ProductDetail'] = $value;
551
552
        return $this;
553
    }
554
555
    /**
556
     * @param string $value
557
     *
558
     * @return $this
559
     */
560
    public function withProductCode($value)
561
    {
562
        $this->data['ProductCode'] = $value;
563
        $this->options['form_params']['ProductCode'] = $value;
564
565
        return $this;
566
    }
567
568
    /**
569
     * @param array $billOwnerIdList
570
     *
571
     * @return $this
572
     */
573
	public function withBillOwnerIdList(array $billOwnerIdList)
574
	{
575
	    $this->data['BillOwnerIdList'] = $billOwnerIdList;
576
		foreach ($billOwnerIdList as $i => $iValue) {
577
			$this->options['form_params']['BillOwnerIdList.' . ($i + 1)] = $iValue;
578
		}
579
580
		return $this;
581
    }
582
583
    /**
584
     * @param string $value
585
     *
586
     * @return $this
587
     */
588
    public function withSubscriptionType($value)
589
    {
590
        $this->data['SubscriptionType'] = $value;
591
        $this->options['form_params']['SubscriptionType'] = $value;
592
593
        return $this;
594
    }
595
596
    /**
597
     * @param string $value
598
     *
599
     * @return $this
600
     */
601
    public function withBillingCycle($value)
602
    {
603
        $this->data['BillingCycle'] = $value;
604
        $this->options['form_params']['BillingCycle'] = $value;
605
606
        return $this;
607
    }
608
609
    /**
610
     * @param string $value
611
     *
612
     * @return $this
613
     */
614
    public function withCostUnitCode($value)
615
    {
616
        $this->data['CostUnitCode'] = $value;
617
        $this->options['form_params']['CostUnitCode'] = $value;
618
619
        return $this;
620
    }
621
622
    /**
623
     * @param array $consumePeriodFilter
624
     *
625
     * @return $this
626
     */
627
	public function withConsumePeriodFilter(array $consumePeriodFilter)
628
	{
629
	    $this->data['ConsumePeriodFilter'] = $consumePeriodFilter;
630
		foreach ($consumePeriodFilter as $i => $iValue) {
631
			$this->options['form_params']['ConsumePeriodFilter.' . ($i + 1)] = $iValue;
632
		}
633
634
		return $this;
635
    }
636
637
    /**
638
     * @param string $value
639
     *
640
     * @return $this
641
     */
642
    public function withNextToken($value)
643
    {
644
        $this->data['NextToken'] = $value;
645
        $this->options['form_params']['NextToken'] = $value;
646
647
        return $this;
648
    }
649
650
    /**
651
     * @param array $billUserIdList
652
     *
653
     * @return $this
654
     */
655
	public function withBillUserIdList(array $billUserIdList)
656
	{
657
	    $this->data['BillUserIdList'] = $billUserIdList;
658
		foreach ($billUserIdList as $i => $iValue) {
659
			$this->options['form_params']['BillUserIdList.' . ($i + 1)] = $iValue;
660
		}
661
662
		return $this;
663
    }
664
665
    /**
666
     * @param array $instanceIdList
667
     *
668
     * @return $this
669
     */
670
	public function withInstanceIdList(array $instanceIdList)
671
	{
672
	    $this->data['InstanceIdList'] = $instanceIdList;
673
		foreach ($instanceIdList as $i => $iValue) {
674
			$this->options['form_params']['InstanceIdList.' . ($i + 1)] = $iValue;
675
		}
676
677
		return $this;
678
    }
679
680
    /**
681
     * @param string $value
682
     *
683
     * @return $this
684
     */
685
    public function withMaxResults($value)
686
    {
687
        $this->data['MaxResults'] = $value;
688
        $this->options['form_params']['MaxResults'] = $value;
689
690
        return $this;
691
    }
692
}
693
694
/**
695
 * @method string getProductDetail()
696
 * @method string getProductCode()
697
 * @method array getBillOwnerIdList()
698
 * @method string getSubscriptionType()
699
 * @method string getBillingCycle()
700
 * @method string getCostUnitCode()
701
 * @method array getAmortizationPeriodFilter()
702
 * @method string getNextToken()
703
 * @method array getBillUserIdList()
704
 * @method array getInstanceIdList()
705
 * @method string getMaxResults()
706
 */
707
class DescribeInstanceAmortizedCostByConsumePeriod extends Rpc
708
{
709
710
    /**
711
     * @param string $value
712
     *
713
     * @return $this
714
     */
715
    public function withProductDetail($value)
716
    {
717
        $this->data['ProductDetail'] = $value;
718
        $this->options['form_params']['ProductDetail'] = $value;
719
720
        return $this;
721
    }
722
723
    /**
724
     * @param string $value
725
     *
726
     * @return $this
727
     */
728
    public function withProductCode($value)
729
    {
730
        $this->data['ProductCode'] = $value;
731
        $this->options['form_params']['ProductCode'] = $value;
732
733
        return $this;
734
    }
735
736
    /**
737
     * @param array $billOwnerIdList
738
     *
739
     * @return $this
740
     */
741
	public function withBillOwnerIdList(array $billOwnerIdList)
742
	{
743
	    $this->data['BillOwnerIdList'] = $billOwnerIdList;
744
		foreach ($billOwnerIdList as $i => $iValue) {
745
			$this->options['form_params']['BillOwnerIdList.' . ($i + 1)] = $iValue;
746
		}
747
748
		return $this;
749
    }
750
751
    /**
752
     * @param string $value
753
     *
754
     * @return $this
755
     */
756
    public function withSubscriptionType($value)
757
    {
758
        $this->data['SubscriptionType'] = $value;
759
        $this->options['form_params']['SubscriptionType'] = $value;
760
761
        return $this;
762
    }
763
764
    /**
765
     * @param string $value
766
     *
767
     * @return $this
768
     */
769
    public function withBillingCycle($value)
770
    {
771
        $this->data['BillingCycle'] = $value;
772
        $this->options['form_params']['BillingCycle'] = $value;
773
774
        return $this;
775
    }
776
777
    /**
778
     * @param string $value
779
     *
780
     * @return $this
781
     */
782
    public function withCostUnitCode($value)
783
    {
784
        $this->data['CostUnitCode'] = $value;
785
        $this->options['form_params']['CostUnitCode'] = $value;
786
787
        return $this;
788
    }
789
790
    /**
791
     * @param array $amortizationPeriodFilter
792
     *
793
     * @return $this
794
     */
795
	public function withAmortizationPeriodFilter(array $amortizationPeriodFilter)
796
	{
797
	    $this->data['AmortizationPeriodFilter'] = $amortizationPeriodFilter;
798
		foreach ($amortizationPeriodFilter as $i => $iValue) {
799
			$this->options['form_params']['AmortizationPeriodFilter.' . ($i + 1)] = $iValue;
800
		}
801
802
		return $this;
803
    }
804
805
    /**
806
     * @param string $value
807
     *
808
     * @return $this
809
     */
810
    public function withNextToken($value)
811
    {
812
        $this->data['NextToken'] = $value;
813
        $this->options['form_params']['NextToken'] = $value;
814
815
        return $this;
816
    }
817
818
    /**
819
     * @param array $billUserIdList
820
     *
821
     * @return $this
822
     */
823
	public function withBillUserIdList(array $billUserIdList)
824
	{
825
	    $this->data['BillUserIdList'] = $billUserIdList;
826
		foreach ($billUserIdList as $i => $iValue) {
827
			$this->options['form_params']['BillUserIdList.' . ($i + 1)] = $iValue;
828
		}
829
830
		return $this;
831
    }
832
833
    /**
834
     * @param array $instanceIdList
835
     *
836
     * @return $this
837
     */
838
	public function withInstanceIdList(array $instanceIdList)
839
	{
840
	    $this->data['InstanceIdList'] = $instanceIdList;
841
		foreach ($instanceIdList as $i => $iValue) {
842
			$this->options['form_params']['InstanceIdList.' . ($i + 1)] = $iValue;
843
		}
844
845
		return $this;
846
    }
847
848
    /**
849
     * @param string $value
850
     *
851
     * @return $this
852
     */
853
    public function withMaxResults($value)
854
    {
855
        $this->data['MaxResults'] = $value;
856
        $this->options['form_params']['MaxResults'] = $value;
857
858
        return $this;
859
    }
860
}
861
862
/**
863
 * @method string getProductCode()
864
 * @method $this withProductCode($value)
865
 * @method string getIsHideZeroCharge()
866
 * @method $this withIsHideZeroCharge($value)
867
 * @method string getSubscriptionType()
868
 * @method $this withSubscriptionType($value)
869
 * @method string getBillOwnerId()
870
 * @method $this withBillOwnerId($value)
871
 * @method string getProductType()
872
 * @method $this withProductType($value)
873
 * @method string getNextToken()
874
 * @method $this withNextToken($value)
875
 * @method string getBillingCycle()
876
 * @method $this withBillingCycle($value)
877
 * @method string getOwnerId()
878
 * @method $this withOwnerId($value)
879
 * @method string getBillingDate()
880
 * @method $this withBillingDate($value)
881
 * @method string getIsBillingItem()
882
 * @method $this withIsBillingItem($value)
883
 * @method string getInstanceID()
884
 * @method $this withInstanceID($value)
885
 * @method string getGranularity()
886
 * @method $this withGranularity($value)
887
 * @method string getMaxResults()
888
 * @method $this withMaxResults($value)
889
 */
890
class DescribeInstanceBill extends Rpc
891
{
892
}
893
894
/**
895
 * @method string getProductCode()
896
 * @method $this withProductCode($value)
897
 * @method string getSubscriptionType()
898
 * @method $this withSubscriptionType($value)
899
 * @method string getOwnerId()
900
 * @method $this withOwnerId($value)
901
 * @method string getProductType()
902
 * @method $this withProductType($value)
903
 */
904
class DescribePricingModule extends Rpc
905
{
906
}
907
908
/**
909
 * @method string getProductDetail()
910
 * @method string getProductCode()
911
 * @method array getBillOwnerIdList()
912
 * @method string getSubscriptionType()
913
 * @method string getBillingCycle()
914
 * @method string getCostUnitCode()
915
 * @method array getConsumePeriodFilter()
916
 * @method string getNextToken()
917
 * @method array getBillUserIdList()
918
 * @method string getMaxResults()
919
 */
920
class DescribeProductAmortizedCostByAmortizationPeriod extends Rpc
921
{
922
923
    /**
924
     * @param string $value
925
     *
926
     * @return $this
927
     */
928
    public function withProductDetail($value)
929
    {
930
        $this->data['ProductDetail'] = $value;
931
        $this->options['form_params']['ProductDetail'] = $value;
932
933
        return $this;
934
    }
935
936
    /**
937
     * @param string $value
938
     *
939
     * @return $this
940
     */
941
    public function withProductCode($value)
942
    {
943
        $this->data['ProductCode'] = $value;
944
        $this->options['form_params']['ProductCode'] = $value;
945
946
        return $this;
947
    }
948
949
    /**
950
     * @param array $billOwnerIdList
951
     *
952
     * @return $this
953
     */
954
	public function withBillOwnerIdList(array $billOwnerIdList)
955
	{
956
	    $this->data['BillOwnerIdList'] = $billOwnerIdList;
957
		foreach ($billOwnerIdList as $i => $iValue) {
958
			$this->options['form_params']['BillOwnerIdList.' . ($i + 1)] = $iValue;
959
		}
960
961
		return $this;
962
    }
963
964
    /**
965
     * @param string $value
966
     *
967
     * @return $this
968
     */
969
    public function withSubscriptionType($value)
970
    {
971
        $this->data['SubscriptionType'] = $value;
972
        $this->options['form_params']['SubscriptionType'] = $value;
973
974
        return $this;
975
    }
976
977
    /**
978
     * @param string $value
979
     *
980
     * @return $this
981
     */
982
    public function withBillingCycle($value)
983
    {
984
        $this->data['BillingCycle'] = $value;
985
        $this->options['form_params']['BillingCycle'] = $value;
986
987
        return $this;
988
    }
989
990
    /**
991
     * @param string $value
992
     *
993
     * @return $this
994
     */
995
    public function withCostUnitCode($value)
996
    {
997
        $this->data['CostUnitCode'] = $value;
998
        $this->options['form_params']['CostUnitCode'] = $value;
999
1000
        return $this;
1001
    }
1002
1003
    /**
1004
     * @param array $consumePeriodFilter
1005
     *
1006
     * @return $this
1007
     */
1008
	public function withConsumePeriodFilter(array $consumePeriodFilter)
1009
	{
1010
	    $this->data['ConsumePeriodFilter'] = $consumePeriodFilter;
1011
		foreach ($consumePeriodFilter as $i => $iValue) {
1012
			$this->options['form_params']['ConsumePeriodFilter.' . ($i + 1)] = $iValue;
1013
		}
1014
1015
		return $this;
1016
    }
1017
1018
    /**
1019
     * @param string $value
1020
     *
1021
     * @return $this
1022
     */
1023
    public function withNextToken($value)
1024
    {
1025
        $this->data['NextToken'] = $value;
1026
        $this->options['form_params']['NextToken'] = $value;
1027
1028
        return $this;
1029
    }
1030
1031
    /**
1032
     * @param array $billUserIdList
1033
     *
1034
     * @return $this
1035
     */
1036
	public function withBillUserIdList(array $billUserIdList)
1037
	{
1038
	    $this->data['BillUserIdList'] = $billUserIdList;
1039
		foreach ($billUserIdList as $i => $iValue) {
1040
			$this->options['form_params']['BillUserIdList.' . ($i + 1)] = $iValue;
1041
		}
1042
1043
		return $this;
1044
    }
1045
1046
    /**
1047
     * @param string $value
1048
     *
1049
     * @return $this
1050
     */
1051
    public function withMaxResults($value)
1052
    {
1053
        $this->data['MaxResults'] = $value;
1054
        $this->options['form_params']['MaxResults'] = $value;
1055
1056
        return $this;
1057
    }
1058
}
1059
1060
/**
1061
 * @method string getProductDetail()
1062
 * @method string getProductCode()
1063
 * @method array getBillOwnerIdList()
1064
 * @method string getSubscriptionType()
1065
 * @method string getBillingCycle()
1066
 * @method string getCostUnitCode()
1067
 * @method array getAmortizationPeriodFilter()
1068
 * @method string getNextToken()
1069
 * @method array getBillUserIdList()
1070
 * @method string getMaxResults()
1071
 */
1072
class DescribeProductAmortizedCostByConsumePeriod extends Rpc
1073
{
1074
1075
    /**
1076
     * @param string $value
1077
     *
1078
     * @return $this
1079
     */
1080
    public function withProductDetail($value)
1081
    {
1082
        $this->data['ProductDetail'] = $value;
1083
        $this->options['form_params']['ProductDetail'] = $value;
1084
1085
        return $this;
1086
    }
1087
1088
    /**
1089
     * @param string $value
1090
     *
1091
     * @return $this
1092
     */
1093
    public function withProductCode($value)
1094
    {
1095
        $this->data['ProductCode'] = $value;
1096
        $this->options['form_params']['ProductCode'] = $value;
1097
1098
        return $this;
1099
    }
1100
1101
    /**
1102
     * @param array $billOwnerIdList
1103
     *
1104
     * @return $this
1105
     */
1106
	public function withBillOwnerIdList(array $billOwnerIdList)
1107
	{
1108
	    $this->data['BillOwnerIdList'] = $billOwnerIdList;
1109
		foreach ($billOwnerIdList as $i => $iValue) {
1110
			$this->options['form_params']['BillOwnerIdList.' . ($i + 1)] = $iValue;
1111
		}
1112
1113
		return $this;
1114
    }
1115
1116
    /**
1117
     * @param string $value
1118
     *
1119
     * @return $this
1120
     */
1121
    public function withSubscriptionType($value)
1122
    {
1123
        $this->data['SubscriptionType'] = $value;
1124
        $this->options['form_params']['SubscriptionType'] = $value;
1125
1126
        return $this;
1127
    }
1128
1129
    /**
1130
     * @param string $value
1131
     *
1132
     * @return $this
1133
     */
1134
    public function withBillingCycle($value)
1135
    {
1136
        $this->data['BillingCycle'] = $value;
1137
        $this->options['form_params']['BillingCycle'] = $value;
1138
1139
        return $this;
1140
    }
1141
1142
    /**
1143
     * @param string $value
1144
     *
1145
     * @return $this
1146
     */
1147
    public function withCostUnitCode($value)
1148
    {
1149
        $this->data['CostUnitCode'] = $value;
1150
        $this->options['form_params']['CostUnitCode'] = $value;
1151
1152
        return $this;
1153
    }
1154
1155
    /**
1156
     * @param array $amortizationPeriodFilter
1157
     *
1158
     * @return $this
1159
     */
1160
	public function withAmortizationPeriodFilter(array $amortizationPeriodFilter)
1161
	{
1162
	    $this->data['AmortizationPeriodFilter'] = $amortizationPeriodFilter;
1163
		foreach ($amortizationPeriodFilter as $i => $iValue) {
1164
			$this->options['form_params']['AmortizationPeriodFilter.' . ($i + 1)] = $iValue;
1165
		}
1166
1167
		return $this;
1168
    }
1169
1170
    /**
1171
     * @param string $value
1172
     *
1173
     * @return $this
1174
     */
1175
    public function withNextToken($value)
1176
    {
1177
        $this->data['NextToken'] = $value;
1178
        $this->options['form_params']['NextToken'] = $value;
1179
1180
        return $this;
1181
    }
1182
1183
    /**
1184
     * @param array $billUserIdList
1185
     *
1186
     * @return $this
1187
     */
1188
	public function withBillUserIdList(array $billUserIdList)
1189
	{
1190
	    $this->data['BillUserIdList'] = $billUserIdList;
1191
		foreach ($billUserIdList as $i => $iValue) {
1192
			$this->options['form_params']['BillUserIdList.' . ($i + 1)] = $iValue;
1193
		}
1194
1195
		return $this;
1196
    }
1197
1198
    /**
1199
     * @param string $value
1200
     *
1201
     * @return $this
1202
     */
1203
    public function withMaxResults($value)
1204
    {
1205
        $this->data['MaxResults'] = $value;
1206
        $this->options['form_params']['MaxResults'] = $value;
1207
1208
        return $this;
1209
    }
1210
}
1211
1212
/**
1213
 * @method string getPeriodType()
1214
 * @method $this withPeriodType($value)
1215
 * @method string getBillOwnerId()
1216
 * @method $this withBillOwnerId($value)
1217
 * @method string getResourceType()
1218
 * @method $this withResourceType($value)
1219
 * @method string getStartPeriod()
1220
 * @method $this withStartPeriod($value)
1221
 * @method string getEndPeriod()
1222
 * @method $this withEndPeriod($value)
1223
 * @method string getNextToken()
1224
 * @method $this withNextToken($value)
1225
 * @method string getMaxResults()
1226
 * @method $this withMaxResults($value)
1227
 */
1228
class DescribeResourceCoverageDetail extends Rpc
1229
{
1230
}
1231
1232
/**
1233
 * @method string getPeriodType()
1234
 * @method $this withPeriodType($value)
1235
 * @method string getBillOwnerId()
1236
 * @method $this withBillOwnerId($value)
1237
 * @method string getResourceType()
1238
 * @method $this withResourceType($value)
1239
 * @method string getStartPeriod()
1240
 * @method $this withStartPeriod($value)
1241
 * @method string getEndPeriod()
1242
 * @method $this withEndPeriod($value)
1243
 */
1244
class DescribeResourceCoverageTotal extends Rpc
1245
{
1246
}
1247
1248
/**
1249
 * @method string getProductCode()
1250
 * @method $this withProductCode($value)
1251
 */
1252
class DescribeResourcePackageProduct extends Rpc
1253
{
1254
}
1255
1256
/**
1257
 * @method string getPeriodType()
1258
 * @method $this withPeriodType($value)
1259
 * @method string getBillOwnerId()
1260
 * @method $this withBillOwnerId($value)
1261
 * @method string getResourceType()
1262
 * @method $this withResourceType($value)
1263
 * @method string getStartPeriod()
1264
 * @method $this withStartPeriod($value)
1265
 * @method string getEndPeriod()
1266
 * @method $this withEndPeriod($value)
1267
 * @method string getNextToken()
1268
 * @method $this withNextToken($value)
1269
 * @method string getMaxResults()
1270
 * @method $this withMaxResults($value)
1271
 */
1272
class DescribeResourceUsageDetail extends Rpc
1273
{
1274
}
1275
1276
/**
1277
 * @method string getPeriodType()
1278
 * @method $this withPeriodType($value)
1279
 * @method string getBillOwnerId()
1280
 * @method $this withBillOwnerId($value)
1281
 * @method string getResourceType()
1282
 * @method $this withResourceType($value)
1283
 * @method string getStartPeriod()
1284
 * @method $this withStartPeriod($value)
1285
 * @method string getEndPeriod()
1286
 * @method $this withEndPeriod($value)
1287
 */
1288
class DescribeResourceUsageTotal extends Rpc
1289
{
1290
}
1291
1292
/**
1293
 * @method string getPeriodType()
1294
 * @method $this withPeriodType($value)
1295
 * @method string getBillOwnerId()
1296
 * @method $this withBillOwnerId($value)
1297
 * @method string getStartPeriod()
1298
 * @method $this withStartPeriod($value)
1299
 * @method string getEndPeriod()
1300
 * @method $this withEndPeriod($value)
1301
 * @method string getToken()
1302
 * @method $this withToken($value)
1303
 * @method string getMaxResults()
1304
 * @method $this withMaxResults($value)
1305
 */
1306
class DescribeSavingsPlansCoverageDetail extends Rpc
1307
{
1308
}
1309
1310
/**
1311
 * @method string getPeriodType()
1312
 * @method $this withPeriodType($value)
1313
 * @method string getBillOwnerId()
1314
 * @method $this withBillOwnerId($value)
1315
 * @method string getStartPeriod()
1316
 * @method $this withStartPeriod($value)
1317
 * @method string getEndPeriod()
1318
 * @method $this withEndPeriod($value)
1319
 */
1320
class DescribeSavingsPlansCoverageTotal extends Rpc
1321
{
1322
}
1323
1324
/**
1325
 * @method string getPeriodType()
1326
 * @method $this withPeriodType($value)
1327
 * @method string getBillOwnerId()
1328
 * @method $this withBillOwnerId($value)
1329
 * @method string getStartPeriod()
1330
 * @method $this withStartPeriod($value)
1331
 * @method string getEndPeriod()
1332
 * @method $this withEndPeriod($value)
1333
 * @method string getToken()
1334
 * @method $this withToken($value)
1335
 * @method string getMaxResults()
1336
 * @method $this withMaxResults($value)
1337
 */
1338
class DescribeSavingsPlansUsageDetail extends Rpc
1339
{
1340
}
1341
1342
/**
1343
 * @method string getPeriodType()
1344
 * @method $this withPeriodType($value)
1345
 * @method string getBillOwnerId()
1346
 * @method $this withBillOwnerId($value)
1347
 * @method string getStartPeriod()
1348
 * @method $this withStartPeriod($value)
1349
 * @method string getEndPeriod()
1350
 * @method $this withEndPeriod($value)
1351
 */
1352
class DescribeSavingsPlansUsageTotal extends Rpc
1353
{
1354
}
1355
1356
/**
1357
 * @method string getProductCode()
1358
 * @method $this withProductCode($value)
1359
 * @method string getSubscriptionType()
1360
 * @method $this withSubscriptionType($value)
1361
 * @method string getBillOwnerId()
1362
 * @method $this withBillOwnerId($value)
1363
 * @method string getProductType()
1364
 * @method $this withProductType($value)
1365
 * @method string getNextToken()
1366
 * @method $this withNextToken($value)
1367
 * @method string getSplitItemID()
1368
 * @method $this withSplitItemID($value)
1369
 * @method string getBillingCycle()
1370
 * @method $this withBillingCycle($value)
1371
 * @method string getOwnerId()
1372
 * @method $this withOwnerId($value)
1373
 * @method array getTagFilter()
1374
 * @method string getBillingDate()
1375
 * @method $this withBillingDate($value)
1376
 * @method string getInstanceID()
1377
 * @method $this withInstanceID($value)
1378
 * @method string getGranularity()
1379
 * @method $this withGranularity($value)
1380
 * @method string getMaxResults()
1381
 * @method $this withMaxResults($value)
1382
 */
1383
class DescribeSplitItemBill extends Rpc
1384
{
1385
1386
    /**
1387
     * @param array $tagFilter
1388
     *
1389
     * @return $this
1390
     */
1391
	public function withTagFilter(array $tagFilter)
1392
	{
1393
	    $this->data['TagFilter'] = $tagFilter;
1394
		foreach ($tagFilter as $depth1 => $depth1Value) {
1395
			foreach ($depth1Value['TagValues'] as $i => $iValue) {
1396
				$this->options['query']['TagFilter.' . ($depth1 + 1) . '.TagValues.' . ($i + 1)] = $iValue;
1397
			}
1398
			if(isset($depth1Value['TagKey'])){
1399
				$this->options['query']['TagFilter.' . ($depth1 + 1) . '.TagKey'] = $depth1Value['TagKey'];
1400
			}
1401
		}
1402
1403
		return $this;
1404
    }
1405
}
1406
1407
/**
1408
 * @method string getProductCode()
1409
 * @method $this withProductCode($value)
1410
 * @method string getOwnerId()
1411
 * @method $this withOwnerId($value)
1412
 */
1413
class EnableBillGeneration extends Rpc
1414
{
1415
}
1416
1417
/**
1418
 * @method string getRequestId()
1419
 * @method $this withRequestId($value)
1420
 * @method string getRelationId()
1421
 * @method $this withRelationId($value)
1422
 */
1423
class GetAccountRelation extends Rpc
1424
{
1425
1426
    /** @var string */
1427
    public $method = 'GET';
1428
}
1429
1430
/**
1431
 * @method string getOwnerId()
1432
 * @method $this withOwnerId($value)
1433
 */
1434
class GetCustomerAccountInfo extends Rpc
1435
{
1436
}
1437
1438
class GetCustomerList extends Rpc
1439
{
1440
}
1441
1442
/**
1443
 * @method string getOrderId()
1444
 * @method $this withOrderId($value)
1445
 * @method string getOwnerId()
1446
 * @method $this withOwnerId($value)
1447
 */
1448
class GetOrderDetail extends Rpc
1449
{
1450
}
1451
1452
/**
1453
 * @method string getProductCode()
1454
 * @method $this withProductCode($value)
1455
 * @method string getSubscriptionType()
1456
 * @method $this withSubscriptionType($value)
1457
 * @method array getModuleList()
1458
 * @method string getOwnerId()
1459
 * @method $this withOwnerId($value)
1460
 * @method string getProductType()
1461
 * @method $this withProductType($value)
1462
 * @method string getRegion()
1463
 * @method $this withRegion($value)
1464
 */
1465
class GetPayAsYouGoPrice extends Rpc
1466
{
1467
1468
    /**
1469
     * @param array $moduleList
1470
     *
1471
     * @return $this
1472
     */
1473
	public function withModuleList(array $moduleList)
1474
	{
1475
	    $this->data['ModuleList'] = $moduleList;
1476
		foreach ($moduleList as $depth1 => $depth1Value) {
1477
			if(isset($depth1Value['ModuleCode'])){
1478
				$this->options['query']['ModuleList.' . ($depth1 + 1) . '.ModuleCode'] = $depth1Value['ModuleCode'];
1479
			}
1480
			if(isset($depth1Value['PriceType'])){
1481
				$this->options['query']['ModuleList.' . ($depth1 + 1) . '.PriceType'] = $depth1Value['PriceType'];
1482
			}
1483
			if(isset($depth1Value['Config'])){
1484
				$this->options['query']['ModuleList.' . ($depth1 + 1) . '.Config'] = $depth1Value['Config'];
1485
			}
1486
		}
1487
1488
		return $this;
1489
    }
1490
}
1491
1492
/**
1493
 * @method string getProductCode()
1494
 * @method $this withProductCode($value)
1495
 * @method string getSpecification()
1496
 * @method $this withSpecification($value)
1497
 * @method string getOwnerId()
1498
 * @method $this withOwnerId($value)
1499
 * @method string getEffectiveDate()
1500
 * @method $this withEffectiveDate($value)
1501
 * @method string getDuration()
1502
 * @method $this withDuration($value)
1503
 * @method string getInstanceId()
1504
 * @method $this withInstanceId($value)
1505
 * @method string getPackageType()
1506
 * @method $this withPackageType($value)
1507
 * @method string getPricingCycle()
1508
 * @method $this withPricingCycle($value)
1509
 * @method string getOrderType()
1510
 * @method $this withOrderType($value)
1511
 */
1512
class GetResourcePackagePrice extends Rpc
1513
{
1514
}
1515
1516
/**
1517
 * @method string getProductCode()
1518
 * @method $this withProductCode($value)
1519
 * @method string getQuantity()
1520
 * @method $this withQuantity($value)
1521
 * @method string getSubscriptionType()
1522
 * @method $this withSubscriptionType($value)
1523
 * @method array getModuleList()
1524
 * @method string getOwnerId()
1525
 * @method $this withOwnerId($value)
1526
 * @method string getProductType()
1527
 * @method $this withProductType($value)
1528
 * @method string getServicePeriodQuantity()
1529
 * @method $this withServicePeriodQuantity($value)
1530
 * @method string getInstanceId()
1531
 * @method $this withInstanceId($value)
1532
 * @method string getServicePeriodUnit()
1533
 * @method $this withServicePeriodUnit($value)
1534
 * @method string getRegion()
1535
 * @method $this withRegion($value)
1536
 * @method string getOrderType()
1537
 * @method $this withOrderType($value)
1538
 */
1539
class GetSubscriptionPrice extends Rpc
1540
{
1541
1542
    /**
1543
     * @param array $moduleList
1544
     *
1545
     * @return $this
1546
     */
1547
	public function withModuleList(array $moduleList)
1548
	{
1549
	    $this->data['ModuleList'] = $moduleList;
1550
		foreach ($moduleList as $depth1 => $depth1Value) {
1551
			if(isset($depth1Value['ModuleCode'])){
1552
				$this->options['query']['ModuleList.' . ($depth1 + 1) . '.ModuleCode'] = $depth1Value['ModuleCode'];
1553
			}
1554
			if(isset($depth1Value['ModuleStatus'])){
1555
				$this->options['query']['ModuleList.' . ($depth1 + 1) . '.ModuleStatus'] = $depth1Value['ModuleStatus'];
1556
			}
1557
			if(isset($depth1Value['Tag'])){
1558
				$this->options['query']['ModuleList.' . ($depth1 + 1) . '.Tag'] = $depth1Value['Tag'];
1559
			}
1560
			if(isset($depth1Value['Config'])){
1561
				$this->options['query']['ModuleList.' . ($depth1 + 1) . '.Config'] = $depth1Value['Config'];
1562
			}
1563
		}
1564
1565
		return $this;
1566
    }
1567
}
1568
1569
/**
1570
 * @method string getProductCode()
1571
 * @method $this withProductCode($value)
1572
 * @method string getClientToken()
1573
 * @method $this withClientToken($value)
1574
 * @method string getProductType()
1575
 * @method $this withProductType($value)
1576
 * @method string getInstanceId()
1577
 * @method $this withInstanceId($value)
1578
 */
1579
class InquiryPriceRefundInstance extends Rpc
1580
{
1581
}
1582
1583
/**
1584
 * @method string getChildNick()
1585
 * @method $this withChildNick($value)
1586
 * @method string getParentUserId()
1587
 * @method $this withParentUserId($value)
1588
 * @method string getRelationId()
1589
 * @method $this withRelationId($value)
1590
 * @method array getRoleCodes()
1591
 * @method string getRelationOperation()
1592
 * @method $this withRelationOperation($value)
1593
 * @method string getRelationType()
1594
 * @method $this withRelationType($value)
1595
 * @method string getChildUserId()
1596
 * @method $this withChildUserId($value)
1597
 * @method string getRequestId()
1598
 * @method $this withRequestId($value)
1599
 * @method array getPermissionCodes()
1600
 */
1601
class ModifyAccountRelation extends Rpc
1602
{
1603
1604
    /**
1605
     * @param array $roleCodes
1606
     *
1607
     * @return $this
1608
     */
1609
	public function withRoleCodes(array $roleCodes)
1610
	{
1611
	    $this->data['RoleCodes'] = $roleCodes;
1612
		foreach ($roleCodes as $i => $iValue) {
1613
			$this->options['query']['RoleCodes.' . ($i + 1)] = $iValue;
1614
		}
1615
1616
		return $this;
1617
    }
1618
1619
    /**
1620
     * @param array $permissionCodes
1621
     *
1622
     * @return $this
1623
     */
1624
	public function withPermissionCodes(array $permissionCodes)
1625
	{
1626
	    $this->data['PermissionCodes'] = $permissionCodes;
1627
		foreach ($permissionCodes as $i => $iValue) {
1628
			$this->options['query']['PermissionCodes.' . ($i + 1)] = $iValue;
1629
		}
1630
1631
		return $this;
1632
    }
1633
}
1634
1635
/**
1636
 * @method array getUnitEntityList()
1637
 */
1638
class ModifyCostUnit extends Rpc
1639
{
1640
1641
    /**
1642
     * @param array $unitEntityList
1643
     *
1644
     * @return $this
1645
     */
1646
	public function withUnitEntityList(array $unitEntityList)
1647
	{
1648
	    $this->data['UnitEntityList'] = $unitEntityList;
1649
		foreach ($unitEntityList as $depth1 => $depth1Value) {
1650
			if(isset($depth1Value['NewUnitName'])){
1651
				$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.NewUnitName'] = $depth1Value['NewUnitName'];
1652
			}
1653
			if(isset($depth1Value['UnitId'])){
1654
				$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.UnitId'] = $depth1Value['UnitId'];
1655
			}
1656
			if(isset($depth1Value['OwnerUid'])){
1657
				$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.OwnerUid'] = $depth1Value['OwnerUid'];
1658
			}
1659
		}
1660
1661
		return $this;
1662
    }
1663
}
1664
1665
/**
1666
 * @method string getProductCode()
1667
 * @method $this withProductCode($value)
1668
 * @method string getClientToken()
1669
 * @method $this withClientToken($value)
1670
 * @method string getSubscriptionType()
1671
 * @method $this withSubscriptionType($value)
1672
 * @method string getOwnerId()
1673
 * @method $this withOwnerId($value)
1674
 * @method string getProductType()
1675
 * @method $this withProductType($value)
1676
 * @method string getInstanceId()
1677
 * @method $this withInstanceId($value)
1678
 * @method string getModifyType()
1679
 * @method $this withModifyType($value)
1680
 * @method array getParameter()
1681
 */
1682
class ModifyInstance extends Rpc
1683
{
1684
1685
    /**
1686
     * @param array $parameter
1687
     *
1688
     * @return $this
1689
     */
1690
	public function withParameter(array $parameter)
1691
	{
1692
	    $this->data['Parameter'] = $parameter;
1693
		foreach ($parameter as $depth1 => $depth1Value) {
1694
			if(isset($depth1Value['Code'])){
1695
				$this->options['query']['Parameter.' . ($depth1 + 1) . '.Code'] = $depth1Value['Code'];
1696
			}
1697
			if(isset($depth1Value['Value'])){
1698
				$this->options['query']['Parameter.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
1699
			}
1700
		}
1701
1702
		return $this;
1703
    }
1704
}
1705
1706
class QueryAccountBalance extends Rpc
1707
{
1708
}
1709
1710
/**
1711
 * @method string getProductCode()
1712
 * @method $this withProductCode($value)
1713
 * @method string getBillingCycle()
1714
 * @method $this withBillingCycle($value)
1715
 * @method string getPageNum()
1716
 * @method $this withPageNum($value)
1717
 * @method string getOwnerID()
1718
 * @method $this withOwnerID($value)
1719
 * @method string getBillOwnerId()
1720
 * @method $this withBillOwnerId($value)
1721
 * @method string getBillingDate()
1722
 * @method $this withBillingDate($value)
1723
 * @method string getIsGroupByProduct()
1724
 * @method $this withIsGroupByProduct($value)
1725
 * @method string getGranularity()
1726
 * @method $this withGranularity($value)
1727
 * @method string getPageSize()
1728
 * @method $this withPageSize($value)
1729
 */
1730
class QueryAccountBill extends Rpc
1731
{
1732
}
1733
1734
/**
1735
 * @method string getTransactionType()
1736
 * @method $this withTransactionType($value)
1737
 * @method string getCreateTimeEnd()
1738
 * @method $this withCreateTimeEnd($value)
1739
 * @method string getRecordID()
1740
 * @method $this withRecordID($value)
1741
 * @method string getNextToken()
1742
 * @method $this withNextToken($value)
1743
 * @method string getMaxResults()
1744
 * @method $this withMaxResults($value)
1745
 * @method string getTransactionChannel()
1746
 * @method $this withTransactionChannel($value)
1747
 * @method string getTransactionChannelSN()
1748
 * @method $this withTransactionChannelSN($value)
1749
 * @method string getCreateTimeStart()
1750
 * @method $this withCreateTimeStart($value)
1751
 * @method string getTransactionNumber()
1752
 * @method $this withTransactionNumber($value)
1753
 */
1754
class QueryAccountTransactionDetails extends Rpc
1755
{
1756
}
1757
1758
/**
1759
 * @method string getPageNum()
1760
 * @method $this withPageNum($value)
1761
 * @method string getTransactionType()
1762
 * @method $this withTransactionType($value)
1763
 * @method string getCreateTimeEnd()
1764
 * @method $this withCreateTimeEnd($value)
1765
 * @method string getRecordID()
1766
 * @method $this withRecordID($value)
1767
 * @method string getPageSize()
1768
 * @method $this withPageSize($value)
1769
 * @method string getTransactionChannel()
1770
 * @method $this withTransactionChannel($value)
1771
 * @method string getTransactionChannelSN()
1772
 * @method $this withTransactionChannelSN($value)
1773
 * @method string getCreateTimeStart()
1774
 * @method $this withCreateTimeStart($value)
1775
 * @method string getTransactionNumber()
1776
 * @method $this withTransactionNumber($value)
1777
 * @method string getTransactionFlow()
1778
 * @method $this withTransactionFlow($value)
1779
 */
1780
class QueryAccountTransactions extends Rpc
1781
{
1782
}
1783
1784
/**
1785
 * @method string getProductCode()
1786
 * @method $this withProductCode($value)
1787
 * @method string getSubscriptionType()
1788
 * @method $this withSubscriptionType($value)
1789
 * @method string getPageNum()
1790
 * @method $this withPageNum($value)
1791
 * @method string getProductType()
1792
 * @method $this withProductType($value)
1793
 * @method string getPageSize()
1794
 * @method $this withPageSize($value)
1795
 * @method string getRenewStatus()
1796
 * @method $this withRenewStatus($value)
1797
 * @method string getOwnerId()
1798
 * @method $this withOwnerId($value)
1799
 * @method string getEndTimeStart()
1800
 * @method $this withEndTimeStart($value)
1801
 * @method string getCreateTimeEnd()
1802
 * @method $this withCreateTimeEnd($value)
1803
 * @method string getInstanceIDs()
1804
 * @method $this withInstanceIDs($value)
1805
 * @method string getEndTimeEnd()
1806
 * @method $this withEndTimeEnd($value)
1807
 * @method string getCreateTimeStart()
1808
 * @method $this withCreateTimeStart($value)
1809
 * @method string getRegion()
1810
 * @method $this withRegion($value)
1811
 */
1812
class QueryAvailableInstances extends Rpc
1813
{
1814
}
1815
1816
/**
1817
 * @method string getProductCode()
1818
 * @method $this withProductCode($value)
1819
 * @method string getIsHideZeroCharge()
1820
 * @method $this withIsHideZeroCharge($value)
1821
 * @method string getIsDisplayLocalCurrency()
1822
 * @method $this withIsDisplayLocalCurrency($value)
1823
 * @method string getSubscriptionType()
1824
 * @method $this withSubscriptionType($value)
1825
 * @method string getBillingCycle()
1826
 * @method $this withBillingCycle($value)
1827
 * @method string getType()
1828
 * @method $this withType($value)
1829
 * @method string getOwnerId()
1830
 * @method $this withOwnerId($value)
1831
 * @method string getPageNum()
1832
 * @method $this withPageNum($value)
1833
 * @method string getBillOwnerId()
1834
 * @method $this withBillOwnerId($value)
1835
 * @method string getProductType()
1836
 * @method $this withProductType($value)
1837
 * @method string getPageSize()
1838
 * @method $this withPageSize($value)
1839
 */
1840
class QueryBill extends Rpc
1841
{
1842
}
1843
1844
/**
1845
 * @method string getProductCode()
1846
 * @method $this withProductCode($value)
1847
 * @method string getSubscriptionType()
1848
 * @method $this withSubscriptionType($value)
1849
 * @method string getBillingCycle()
1850
 * @method $this withBillingCycle($value)
1851
 * @method string getBillOwnerId()
1852
 * @method $this withBillOwnerId($value)
1853
 * @method string getProductType()
1854
 * @method $this withProductType($value)
1855
 */
1856
class QueryBillOverview extends Rpc
1857
{
1858
}
1859
1860
class QueryBillToOSSSubscription extends Rpc
1861
{
1862
}
1863
1864
/**
1865
 * @method string getExpiryTimeEnd()
1866
 * @method $this withExpiryTimeEnd($value)
1867
 * @method string getExpiryTimeStart()
1868
 * @method $this withExpiryTimeStart($value)
1869
 * @method string getEffectiveOrNot()
1870
 * @method $this withEffectiveOrNot($value)
1871
 */
1872
class QueryCashCoupons extends Rpc
1873
{
1874
}
1875
1876
/**
1877
 * @method string getProductCode()
1878
 * @method $this withProductCode($value)
1879
 */
1880
class QueryCommodityList extends Rpc
1881
{
1882
1883
    /** @var string */
1884
    public $method = 'GET';
1885
}
1886
1887
/**
1888
 * @method string getParentUnitId()
1889
 * @method $this withParentUnitId($value)
1890
 * @method string getPageNum()
1891
 * @method $this withPageNum($value)
1892
 * @method string getPageSize()
1893
 * @method $this withPageSize($value)
1894
 * @method string getOwnerUid()
1895
 * @method $this withOwnerUid($value)
1896
 */
1897
class QueryCostUnit extends Rpc
1898
{
1899
}
1900
1901
/**
1902
 * @method string getPageNum()
1903
 * @method $this withPageNum($value)
1904
 * @method string getPageSize()
1905
 * @method $this withPageSize($value)
1906
 * @method string getUnitId()
1907
 * @method $this withUnitId($value)
1908
 * @method string getOwnerUid()
1909
 * @method $this withOwnerUid($value)
1910
 */
1911
class QueryCostUnitResource extends Rpc
1912
{
1913
}
1914
1915
/**
1916
 * @method string getOwnerId()
1917
 * @method $this withOwnerId($value)
1918
 */
1919
class QueryCustomerAddressList extends Rpc
1920
{
1921
}
1922
1923
/**
1924
 * @method string getDeductedInstanceId()
1925
 * @method $this withDeductedInstanceId($value)
1926
 * @method string getLastToken()
1927
 * @method $this withLastToken($value)
1928
 * @method string getInstanceSpec()
1929
 * @method $this withInstanceSpec($value)
1930
 * @method string getProdCode()
1931
 * @method $this withProdCode($value)
1932
 * @method string getEndTime()
1933
 * @method $this withEndTime($value)
1934
 * @method string getIncludeShare()
1935
 * @method $this withIncludeShare($value)
1936
 * @method string getCommodityCode()
1937
 * @method $this withCommodityCode($value)
1938
 * @method string getStartTime()
1939
 * @method $this withStartTime($value)
1940
 * @method string getInstanceId()
1941
 * @method $this withInstanceId($value)
1942
 * @method string getLimit()
1943
 * @method $this withLimit($value)
1944
 */
1945
class QueryDPUtilizationDetail extends Rpc
1946
{
1947
}
1948
1949
/**
1950
 * @method string getEndSearchTime()
1951
 * @method $this withEndSearchTime($value)
1952
 * @method string getOutBizId()
1953
 * @method $this withOutBizId($value)
1954
 * @method string getSortType()
1955
 * @method $this withSortType($value)
1956
 * @method string getType()
1957
 * @method $this withType($value)
1958
 * @method string getPageNum()
1959
 * @method $this withPageNum($value)
1960
 * @method string getPageSize()
1961
 * @method $this withPageSize($value)
1962
 * @method string getEndAmount()
1963
 * @method $this withEndAmount($value)
1964
 * @method string getBillCycle()
1965
 * @method $this withBillCycle($value)
1966
 * @method array getBizTypeList()
1967
 * @method string getOwnerId()
1968
 * @method $this withOwnerId($value)
1969
 * @method string getStartSearchTime()
1970
 * @method $this withStartSearchTime($value)
1971
 * @method string getEndBizTime()
1972
 * @method $this withEndBizTime($value)
1973
 * @method string getStartAmount()
1974
 * @method $this withStartAmount($value)
1975
 * @method string getStartBizTime()
1976
 * @method $this withStartBizTime($value)
1977
 */
1978
class QueryEvaluateList extends Rpc
1979
{
1980
1981
    /**
1982
     * @param array $bizTypeList
1983
     *
1984
     * @return $this
1985
     */
1986
	public function withBizTypeList(array $bizTypeList)
1987
	{
1988
	    $this->data['BizTypeList'] = $bizTypeList;
1989
		foreach ($bizTypeList as $i => $iValue) {
1990
			$this->options['query']['BizTypeList.' . ($i + 1)] = $iValue;
1991
		}
1992
1993
		return $this;
1994
    }
1995
}
1996
1997
/**
1998
 * @method string getUserId()
1999
 * @method $this withUserId($value)
2000
 */
2001
class QueryFinancialAccountInfo extends Rpc
2002
{
2003
}
2004
2005
/**
2006
 * @method string getProductCode()
2007
 * @method $this withProductCode($value)
2008
 * @method string getIsHideZeroCharge()
2009
 * @method $this withIsHideZeroCharge($value)
2010
 * @method string getSubscriptionType()
2011
 * @method $this withSubscriptionType($value)
2012
 * @method string getBillingCycle()
2013
 * @method $this withBillingCycle($value)
2014
 * @method string getOwnerId()
2015
 * @method $this withOwnerId($value)
2016
 * @method string getPageNum()
2017
 * @method $this withPageNum($value)
2018
 * @method string getBillOwnerId()
2019
 * @method $this withBillOwnerId($value)
2020
 * @method string getBillingDate()
2021
 * @method $this withBillingDate($value)
2022
 * @method string getProductType()
2023
 * @method $this withProductType($value)
2024
 * @method string getIsBillingItem()
2025
 * @method $this withIsBillingItem($value)
2026
 * @method string getGranularity()
2027
 * @method $this withGranularity($value)
2028
 * @method string getPageSize()
2029
 * @method $this withPageSize($value)
2030
 */
2031
class QueryInstanceBill extends Rpc
2032
{
2033
}
2034
2035
/**
2036
 * @method array getResourceId()
2037
 * @method string getResourceType()
2038
 * @method $this withResourceType($value)
2039
 * @method array getTag()
2040
 */
2041
class QueryInstanceByTag extends Rpc
2042
{
2043
2044
    /**
2045
     * @param array $resourceId
2046
     *
2047
     * @return $this
2048
     */
2049
	public function withResourceId(array $resourceId)
2050
	{
2051
	    $this->data['ResourceId'] = $resourceId;
2052
		foreach ($resourceId as $i => $iValue) {
2053
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
2054
		}
2055
2056
		return $this;
2057
    }
2058
2059
    /**
2060
     * @param array $tag
2061
     *
2062
     * @return $this
2063
     */
2064
	public function withTag(array $tag)
2065
	{
2066
	    $this->data['Tag'] = $tag;
2067
		foreach ($tag as $depth1 => $depth1Value) {
2068
			if(isset($depth1Value['Value'])){
2069
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2070
			}
2071
			if(isset($depth1Value['Key'])){
2072
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2073
			}
2074
		}
2075
2076
		return $this;
2077
    }
2078
}
2079
2080
/**
2081
 * @method string getProductCode()
2082
 * @method $this withProductCode($value)
2083
 * @method string getSubscriptionType()
2084
 * @method $this withSubscriptionType($value)
2085
 * @method string getBillingCycle()
2086
 * @method $this withBillingCycle($value)
2087
 * @method string getPageNum()
2088
 * @method $this withPageNum($value)
2089
 * @method string getProductType()
2090
 * @method $this withProductType($value)
2091
 * @method string getPageSize()
2092
 * @method $this withPageSize($value)
2093
 */
2094
class QueryInstanceGaapCost extends Rpc
2095
{
2096
}
2097
2098
/**
2099
 * @method string getOwnerId()
2100
 * @method $this withOwnerId($value)
2101
 */
2102
class QueryInvoicingCustomerList extends Rpc
2103
{
2104
}
2105
2106
/**
2107
 * @method string getProductCode()
2108
 * @method $this withProductCode($value)
2109
 * @method string getSubscriptionType()
2110
 * @method $this withSubscriptionType($value)
2111
 * @method string getPageNum()
2112
 * @method $this withPageNum($value)
2113
 * @method string getOwnerId()
2114
 * @method $this withOwnerId($value)
2115
 * @method string getCreateTimeEnd()
2116
 * @method $this withCreateTimeEnd($value)
2117
 * @method string getProductType()
2118
 * @method $this withProductType($value)
2119
 * @method string getPageSize()
2120
 * @method $this withPageSize($value)
2121
 * @method string getPaymentStatus()
2122
 * @method $this withPaymentStatus($value)
2123
 * @method string getCreateTimeStart()
2124
 * @method $this withCreateTimeStart($value)
2125
 * @method string getOrderType()
2126
 * @method $this withOrderType($value)
2127
 */
2128
class QueryOrders extends Rpc
2129
{
2130
}
2131
2132
/**
2133
 * @method string getRelationId()
2134
 * @method $this withRelationId($value)
2135
 */
2136
class QueryPermissionList extends Rpc
2137
{
2138
}
2139
2140
/**
2141
 * @method string getExpiryTimeEnd()
2142
 * @method $this withExpiryTimeEnd($value)
2143
 * @method string getExpiryTimeStart()
2144
 * @method $this withExpiryTimeStart($value)
2145
 * @method string getEffectiveOrNot()
2146
 * @method $this withEffectiveOrNot($value)
2147
 */
2148
class QueryPrepaidCards extends Rpc
2149
{
2150
}
2151
2152
/**
2153
 * @method string getCommodityCode()
2154
 * @method $this withCommodityCode($value)
2155
 */
2156
class QueryPriceEntityList extends Rpc
2157
{
2158
2159
    /** @var string */
2160
    public $method = 'GET';
2161
}
2162
2163
/**
2164
 * @method string getPageNum()
2165
 * @method $this withPageNum($value)
2166
 * @method string getQueryTotalCount()
2167
 * @method $this withQueryTotalCount($value)
2168
 * @method string getPageSize()
2169
 * @method $this withPageSize($value)
2170
 */
2171
class QueryProductList extends Rpc
2172
{
2173
}
2174
2175
/**
2176
 * @method string getExpiryTimeEnd()
2177
 * @method $this withExpiryTimeEnd($value)
2178
 * @method string getExpiryTimeStart()
2179
 * @method $this withExpiryTimeStart($value)
2180
 * @method string getPageNum()
2181
 * @method $this withPageNum($value)
2182
 * @method string getEffectiveOrNot()
2183
 * @method $this withEffectiveOrNot($value)
2184
 * @method string getPageSize()
2185
 * @method $this withPageSize($value)
2186
 */
2187
class QueryRedeem extends Rpc
2188
{
2189
2190
    /** @var string */
2191
    public $method = 'GET';
2192
}
2193
2194
/**
2195
 * @method array getStatusList()
2196
 * @method string getPageNum()
2197
 * @method $this withPageNum($value)
2198
 * @method string getUserId()
2199
 * @method $this withUserId($value)
2200
 * @method string getPageSize()
2201
 * @method $this withPageSize($value)
2202
 */
2203
class QueryRelationList extends Rpc
2204
{
2205
2206
    /**
2207
     * @param array $statusList
2208
     *
2209
     * @return $this
2210
     */
2211
	public function withStatusList(array $statusList)
2212
	{
2213
	    $this->data['StatusList'] = $statusList;
2214
		foreach ($statusList as $i => $iValue) {
2215
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
2216
		}
2217
2218
		return $this;
2219
    }
2220
}
2221
2222
/**
2223
 * @method string getItemCodes()
2224
 * @method $this withItemCodes($value)
2225
 * @method string getOwnerId()
2226
 * @method $this withOwnerId($value)
2227
 */
2228
class QueryResellerAvailableQuota extends Rpc
2229
{
2230
}
2231
2232
/**
2233
 * @method string getExpiryTimeEnd()
2234
 * @method $this withExpiryTimeEnd($value)
2235
 * @method string getProductCode()
2236
 * @method $this withProductCode($value)
2237
 * @method string getOwnerId()
2238
 * @method $this withOwnerId($value)
2239
 * @method string getExpiryTimeStart()
2240
 * @method $this withExpiryTimeStart($value)
2241
 * @method string getPageNum()
2242
 * @method $this withPageNum($value)
2243
 * @method string getIncludePartner()
2244
 * @method $this withIncludePartner($value)
2245
 * @method string getPageSize()
2246
 * @method $this withPageSize($value)
2247
 */
2248
class QueryResourcePackageInstances extends Rpc
2249
{
2250
}
2251
2252
/**
2253
 * @method string getDeductedInstanceId()
2254
 * @method $this withDeductedInstanceId($value)
2255
 * @method string getInstanceSpec()
2256
 * @method $this withInstanceSpec($value)
2257
 * @method string getEndTime()
2258
 * @method $this withEndTime($value)
2259
 * @method string getRIInstanceId()
2260
 * @method $this withRIInstanceId($value)
2261
 * @method string getStartTime()
2262
 * @method $this withStartTime($value)
2263
 * @method string getPageNum()
2264
 * @method $this withPageNum($value)
2265
 * @method string getPageSize()
2266
 * @method $this withPageSize($value)
2267
 * @method string getRICommodityCode()
2268
 * @method $this withRICommodityCode($value)
2269
 */
2270
class QueryRIUtilizationDetail extends Rpc
2271
{
2272
}
2273
2274
/**
2275
 * @method string getEndTime()
2276
 * @method $this withEndTime($value)
2277
 * @method string getStartTime()
2278
 * @method $this withStartTime($value)
2279
 * @method string getLocale()
2280
 * @method $this withLocale($value)
2281
 * @method string getPageNum()
2282
 * @method $this withPageNum($value)
2283
 * @method string getInstanceId()
2284
 * @method $this withInstanceId($value)
2285
 * @method string getPageSize()
2286
 * @method $this withPageSize($value)
2287
 * @method string getInstanceType()
2288
 * @method $this withInstanceType($value)
2289
 */
2290
class QuerySavingsPlansDeductLog extends Rpc
2291
{
2292
}
2293
2294
/**
2295
 * @method string getCommodityCode()
2296
 * @method $this withCommodityCode($value)
2297
 * @method string getLocale()
2298
 * @method $this withLocale($value)
2299
 * @method string getPageNum()
2300
 * @method $this withPageNum($value)
2301
 * @method string getCycle()
2302
 * @method $this withCycle($value)
2303
 * @method string getSpec()
2304
 * @method $this withSpec($value)
2305
 * @method string getModuleCode()
2306
 * @method $this withModuleCode($value)
2307
 * @method string getPayMode()
2308
 * @method $this withPayMode($value)
2309
 * @method string getPageSize()
2310
 * @method $this withPageSize($value)
2311
 * @method string getSpnType()
2312
 * @method $this withSpnType($value)
2313
 * @method string getRegion()
2314
 * @method $this withRegion($value)
2315
 */
2316
class QuerySavingsPlansDiscount extends Rpc
2317
{
2318
2319
    /** @var string */
2320
    public $method = 'GET';
2321
}
2322
2323
/**
2324
 * @method string getEndTime()
2325
 * @method $this withEndTime($value)
2326
 * @method string getStartTime()
2327
 * @method $this withStartTime($value)
2328
 * @method string getLocale()
2329
 * @method $this withLocale($value)
2330
 * @method string getPageNum()
2331
 * @method $this withPageNum($value)
2332
 * @method string getInstanceId()
2333
 * @method $this withInstanceId($value)
2334
 * @method string getPageSize()
2335
 * @method $this withPageSize($value)
2336
 * @method array getTag()
2337
 */
2338
class QuerySavingsPlansInstance extends Rpc
2339
{
2340
2341
    /**
2342
     * @param array $tag
2343
     *
2344
     * @return $this
2345
     */
2346
	public function withTag(array $tag)
2347
	{
2348
	    $this->data['Tag'] = $tag;
2349
		foreach ($tag as $depth1 => $depth1Value) {
2350
			if(isset($depth1Value['Value'])){
2351
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2352
			}
2353
			if(isset($depth1Value['Key'])){
2354
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2355
			}
2356
		}
2357
2358
		return $this;
2359
    }
2360
}
2361
2362
/**
2363
 * @method string getProductCode()
2364
 * @method $this withProductCode($value)
2365
 * @method string getIsHideZeroCharge()
2366
 * @method $this withIsHideZeroCharge($value)
2367
 * @method string getIsDisplayLocalCurrency()
2368
 * @method $this withIsDisplayLocalCurrency($value)
2369
 * @method string getSubscriptionType()
2370
 * @method $this withSubscriptionType($value)
2371
 * @method string getBillingCycle()
2372
 * @method $this withBillingCycle($value)
2373
 * @method string getType()
2374
 * @method $this withType($value)
2375
 * @method string getOwnerId()
2376
 * @method $this withOwnerId($value)
2377
 * @method string getBillOwnerId()
2378
 * @method $this withBillOwnerId($value)
2379
 * @method string getProductType()
2380
 * @method $this withProductType($value)
2381
 * @method string getRecordID()
2382
 * @method $this withRecordID($value)
2383
 * @method string getNextToken()
2384
 * @method $this withNextToken($value)
2385
 * @method string getMaxResults()
2386
 * @method $this withMaxResults($value)
2387
 */
2388
class QuerySettleBill extends Rpc
2389
{
2390
}
2391
2392
/**
2393
 * @method string getNextPageToken()
2394
 * @method $this withNextPageToken($value)
2395
 * @method string getCommodityCode()
2396
 * @method $this withCommodityCode($value)
2397
 * @method string getPriceFactorConditionMap()
2398
 * @method $this withPriceFactorConditionMap($value)
2399
 * @method string getPriceEntityCode()
2400
 * @method $this withPriceEntityCode($value)
2401
 * @method string getPageSize()
2402
 * @method $this withPageSize($value)
2403
 */
2404
class QuerySkuPriceList extends Rpc
2405
{
2406
2407
    /** @var string */
2408
    public $method = 'GET';
2409
}
2410
2411
/**
2412
 * @method string getProductCode()
2413
 * @method $this withProductCode($value)
2414
 * @method string getSubscriptionType()
2415
 * @method $this withSubscriptionType($value)
2416
 * @method string getBillingCycle()
2417
 * @method $this withBillingCycle($value)
2418
 * @method string getOwnerId()
2419
 * @method $this withOwnerId($value)
2420
 * @method string getPageNum()
2421
 * @method $this withPageNum($value)
2422
 * @method string getBillOwnerId()
2423
 * @method $this withBillOwnerId($value)
2424
 * @method string getProductType()
2425
 * @method $this withProductType($value)
2426
 * @method string getPageSize()
2427
 * @method $this withPageSize($value)
2428
 */
2429
class QuerySplitItemBill extends Rpc
2430
{
2431
}
2432
2433
/**
2434
 * @method string getEndTime()
2435
 * @method $this withEndTime($value)
2436
 * @method string getStartTime()
2437
 * @method $this withStartTime($value)
2438
 * @method string getOwnerId()
2439
 * @method $this withOwnerId($value)
2440
 * @method string getDataType()
2441
 * @method $this withDataType($value)
2442
 * @method string getMarker()
2443
 * @method $this withMarker($value)
2444
 * @method string getPageSize()
2445
 * @method $this withPageSize($value)
2446
 * @method string getTable()
2447
 * @method $this withTable($value)
2448
 */
2449
class QueryUserOmsData extends Rpc
2450
{
2451
}
2452
2453
/**
2454
 * @method string getProductCode()
2455
 * @method $this withProductCode($value)
2456
 * @method string getClientToken()
2457
 * @method $this withClientToken($value)
2458
 * @method string getImmediatelyRelease()
2459
 * @method $this withImmediatelyRelease($value)
2460
 * @method string getProductType()
2461
 * @method $this withProductType($value)
2462
 * @method string getInstanceId()
2463
 * @method $this withInstanceId($value)
2464
 */
2465
class RefundInstance extends Rpc
2466
{
2467
}
2468
2469
/**
2470
 * @method string getProductCode()
2471
 * @method $this withProductCode($value)
2472
 * @method string getSubscriptionType()
2473
 * @method $this withSubscriptionType($value)
2474
 * @method string getOwnerId()
2475
 * @method $this withOwnerId($value)
2476
 * @method string getProductType()
2477
 * @method $this withProductType($value)
2478
 * @method string getInstanceIds()
2479
 * @method $this withInstanceIds($value)
2480
 * @method string getRegion()
2481
 * @method $this withRegion($value)
2482
 * @method string getRenewStatus()
2483
 * @method $this withRenewStatus($value)
2484
 */
2485
class ReleaseInstance extends Rpc
2486
{
2487
}
2488
2489
/**
2490
 * @method string getRelationType()
2491
 * @method $this withRelationType($value)
2492
 * @method string getParentUserId()
2493
 * @method $this withParentUserId($value)
2494
 * @method string getChildUserId()
2495
 * @method $this withChildUserId($value)
2496
 * @method string getRequestId()
2497
 * @method $this withRequestId($value)
2498
 * @method string getRelationId()
2499
 * @method $this withRelationId($value)
2500
 */
2501
class RelieveAccountRelation extends Rpc
2502
{
2503
}
2504
2505
/**
2506
 * @method string getProductCode()
2507
 * @method $this withProductCode($value)
2508
 * @method string getClientToken()
2509
 * @method $this withClientToken($value)
2510
 * @method string getOwnerId()
2511
 * @method $this withOwnerId($value)
2512
 * @method string getProductType()
2513
 * @method $this withProductType($value)
2514
 * @method string getInstanceId()
2515
 * @method $this withInstanceId($value)
2516
 * @method string getRenewPeriod()
2517
 * @method $this withRenewPeriod($value)
2518
 */
2519
class RenewInstance extends Rpc
2520
{
2521
}
2522
2523
/**
2524
 * @method string getOwnerId()
2525
 * @method $this withOwnerId($value)
2526
 * @method string getEffectiveDate()
2527
 * @method $this withEffectiveDate($value)
2528
 * @method string getDuration()
2529
 * @method $this withDuration($value)
2530
 * @method string getInstanceId()
2531
 * @method $this withInstanceId($value)
2532
 * @method string getPricingCycle()
2533
 * @method $this withPricingCycle($value)
2534
 */
2535
class RenewResourcePackage extends Rpc
2536
{
2537
}
2538
2539
/**
2540
 * @method string getAvoidExpiration()
2541
 * @method $this withAvoidExpiration($value)
2542
 * @method string getDescription()
2543
 * @method $this withDescription($value)
2544
 * @method string getAvoidPrepaidNotification()
2545
 * @method $this withAvoidPrepaidNotification($value)
2546
 * @method string getAvoidPrepaidExpiration()
2547
 * @method $this withAvoidPrepaidExpiration($value)
2548
 * @method string getAvoidNotification()
2549
 * @method $this withAvoidNotification($value)
2550
 * @method string getOperator()
2551
 * @method $this withOperator($value)
2552
 * @method string getCreditValue()
2553
 * @method $this withCreditValue($value)
2554
 * @method string getCreditType()
2555
 * @method $this withCreditType($value)
2556
 */
2557
class SaveUserCredit extends Rpc
2558
{
2559
2560
    /** @var string */
2561
    public $scheme = 'https';
2562
}
2563
2564
/**
2565
 * @method string getOwnerId()
2566
 * @method $this withOwnerId($value)
2567
 * @method string getUnifyExpireDay()
2568
 * @method $this withUnifyExpireDay($value)
2569
 */
2570
class SetAllExpirationDay extends Rpc
2571
{
2572
}
2573
2574
/**
2575
 * @method string getActionType()
2576
 * @method $this withActionType($value)
2577
 * @method string getIsNeedSaveNotifyRule()
2578
 * @method $this withIsNeedSaveNotifyRule($value)
2579
 * @method string getIsNeedAdjustCreditAccount()
2580
 * @method $this withIsNeedAdjustCreditAccount($value)
2581
 * @method string getNewCreateMode()
2582
 * @method $this withNewCreateMode($value)
2583
 * @method string getDescription()
2584
 * @method $this withDescription($value)
2585
 * @method string getSource()
2586
 * @method $this withSource($value)
2587
 * @method string getCurrencyCode()
2588
 * @method $this withCurrencyCode($value)
2589
 * @method string getDailyCycle()
2590
 * @method $this withDailyCycle($value)
2591
 * @method string getOperator()
2592
 * @method $this withOperator($value)
2593
 * @method string getUid()
2594
 * @method $this withUid($value)
2595
 * @method string getSiteCode()
2596
 * @method $this withSiteCode($value)
2597
 * @method string getClearCycle()
2598
 * @method $this withClearCycle($value)
2599
 * @method string getNeedNotice()
2600
 * @method $this withNeedNotice($value)
2601
 * @method string getRequestId()
2602
 * @method $this withRequestId($value)
2603
 * @method string getIsNeedSetCreditAmount()
2604
 * @method $this withIsNeedSetCreditAmount($value)
2605
 * @method string getCreditAmount()
2606
 * @method $this withCreditAmount($value)
2607
 * @method string getIsNeedAddSettleLabel()
2608
 * @method $this withIsNeedAddSettleLabel($value)
2609
 */
2610
class SetCreditLabelAction extends Rpc
2611
{
2612
2613
    /** @var string */
2614
    public $scheme = 'https';
2615
}
2616
2617
/**
2618
 * @method string getProductCode()
2619
 * @method $this withProductCode($value)
2620
 * @method string getSubscriptionType()
2621
 * @method $this withSubscriptionType($value)
2622
 * @method string getRenewalPeriod()
2623
 * @method $this withRenewalPeriod($value)
2624
 * @method string getOwnerId()
2625
 * @method $this withOwnerId($value)
2626
 * @method string getProductType()
2627
 * @method $this withProductType($value)
2628
 * @method string getInstanceIDs()
2629
 * @method $this withInstanceIDs($value)
2630
 * @method string getRenewalStatus()
2631
 * @method $this withRenewalStatus($value)
2632
 * @method string getRenewalPeriodUnit()
2633
 * @method $this withRenewalPeriodUnit($value)
2634
 */
2635
class SetRenewal extends Rpc
2636
{
2637
}
2638
2639
/**
2640
 * @method string getAlarmType()
2641
 * @method $this withAlarmType($value)
2642
 * @method string getAlarmThresholds()
2643
 * @method $this withAlarmThresholds($value)
2644
 * @method string getOwnerId()
2645
 * @method $this withOwnerId($value)
2646
 */
2647
class SetResellerUserAlarmThreshold extends Rpc
2648
{
2649
}
2650
2651
/**
2652
 * @method string getAmount()
2653
 * @method $this withAmount($value)
2654
 * @method string getOutBizId()
2655
 * @method $this withOutBizId($value)
2656
 * @method string getOwnerId()
2657
 * @method $this withOwnerId($value)
2658
 * @method string getCurrency()
2659
 * @method $this withCurrency($value)
2660
 */
2661
class SetResellerUserQuota extends Rpc
2662
{
2663
}
2664
2665
/**
2666
 * @method string getStopMode()
2667
 * @method $this withStopMode($value)
2668
 * @method string getOwnerId()
2669
 * @method $this withOwnerId($value)
2670
 * @method string getBusinessType()
2671
 * @method $this withBusinessType($value)
2672
 * @method string getStatus()
2673
 * @method $this withStatus($value)
2674
 */
2675
class SetResellerUserStatus extends Rpc
2676
{
2677
}
2678
2679
/**
2680
 * @method string getBucketOwnerId()
2681
 * @method $this withBucketOwnerId($value)
2682
 * @method string getSubscribeType()
2683
 * @method $this withSubscribeType($value)
2684
 * @method string getSubscribeBucket()
2685
 * @method $this withSubscribeBucket($value)
2686
 * @method string getBucketPath()
2687
 * @method $this withBucketPath($value)
2688
 * @method string getBeginBillingCycle()
2689
 * @method $this withBeginBillingCycle($value)
2690
 * @method string getMultAccountRelSubscribe()
2691
 * @method $this withMultAccountRelSubscribe($value)
2692
 */
2693
class SubscribeBillToOSS extends Rpc
2694
{
2695
}
2696
2697
/**
2698
 * @method array getResourceId()
2699
 * @method string getResourceType()
2700
 * @method $this withResourceType($value)
2701
 * @method array getTag()
2702
 */
2703
class TagResources extends Rpc
2704
{
2705
2706
    /**
2707
     * @param array $resourceId
2708
     *
2709
     * @return $this
2710
     */
2711
	public function withResourceId(array $resourceId)
2712
	{
2713
	    $this->data['ResourceId'] = $resourceId;
2714
		foreach ($resourceId as $i => $iValue) {
2715
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
2716
		}
2717
2718
		return $this;
2719
    }
2720
2721
    /**
2722
     * @param array $tag
2723
     *
2724
     * @return $this
2725
     */
2726
	public function withTag(array $tag)
2727
	{
2728
	    $this->data['Tag'] = $tag;
2729
		foreach ($tag as $depth1 => $depth1Value) {
2730
			if(isset($depth1Value['Value'])){
2731
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2732
			}
2733
			if(isset($depth1Value['Key'])){
2734
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2735
			}
2736
		}
2737
2738
		return $this;
2739
    }
2740
}
2741
2742
/**
2743
 * @method string getSubscribeType()
2744
 * @method $this withSubscribeType($value)
2745
 * @method string getMultAccountRelSubscribe()
2746
 * @method $this withMultAccountRelSubscribe($value)
2747
 */
2748
class UnsubscribeBillToOSS extends Rpc
2749
{
2750
}
2751
2752
/**
2753
 * @method string getAll()
2754
 * @method $this withAll($value)
2755
 * @method array getResourceId()
2756
 * @method string getResourceType()
2757
 * @method $this withResourceType($value)
2758
 * @method array getTagKey()
2759
 */
2760
class UntagResources extends Rpc
2761
{
2762
2763
    /**
2764
     * @param array $resourceId
2765
     *
2766
     * @return $this
2767
     */
2768
	public function withResourceId(array $resourceId)
2769
	{
2770
	    $this->data['ResourceId'] = $resourceId;
2771
		foreach ($resourceId as $i => $iValue) {
2772
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
2773
		}
2774
2775
		return $this;
2776
    }
2777
2778
    /**
2779
     * @param array $tagKey
2780
     *
2781
     * @return $this
2782
     */
2783
	public function withTagKey(array $tagKey)
2784
	{
2785
	    $this->data['TagKey'] = $tagKey;
2786
		foreach ($tagKey as $i => $iValue) {
2787
			$this->options['query']['TagKey.' . ($i + 1)] = $iValue;
2788
		}
2789
2790
		return $this;
2791
    }
2792
}
2793
2794
/**
2795
 * @method string getSpecification()
2796
 * @method $this withSpecification($value)
2797
 * @method string getOwnerId()
2798
 * @method $this withOwnerId($value)
2799
 * @method string getEffectiveDate()
2800
 * @method $this withEffectiveDate($value)
2801
 * @method string getInstanceId()
2802
 * @method $this withInstanceId($value)
2803
 */
2804
class UpgradeResourcePackage extends Rpc
2805
{
2806
}
2807