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 ( 4ca7d8...67d575 )
by
unknown
06:52
created

TagResources::withTag()   A

Complexity

Conditions 4
Paths 5

Size

Total Lines 13
Code Lines 7

Duplication

Lines 0
Ratio 0 %

Importance

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