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 ( 96859a...d06063 )
by
unknown
07:29
created

ModifyCostUnit   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 7
dl 0
loc 18
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A withUnitEntityList() 0 10 2
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 DescribePricingModule describePricingModule(array $options = [])
20
 * @method DescribeResourcePackageProduct describeResourcePackageProduct(array $options = [])
21
 * @method EnableBillGeneration enableBillGeneration(array $options = [])
22
 * @method GetCustomerAccountInfo getCustomerAccountInfo(array $options = [])
23
 * @method GetCustomerList getCustomerList(array $options = [])
24
 * @method GetOrderDetail getOrderDetail(array $options = [])
25
 * @method GetPayAsYouGoPrice getPayAsYouGoPrice(array $options = [])
26
 * @method GetResourcePackagePrice getResourcePackagePrice(array $options = [])
27
 * @method GetSubscriptionPrice getSubscriptionPrice(array $options = [])
28
 * @method ModifyCostUnit modifyCostUnit(array $options = [])
29
 * @method ModifyInstance modifyInstance(array $options = [])
30
 * @method QueryAccountBalance queryAccountBalance(array $options = [])
31
 * @method QueryAccountTransactions queryAccountTransactions(array $options = [])
32
 * @method QueryAvailableInstances queryAvailableInstances(array $options = [])
33
 * @method QueryBill queryBill(array $options = [])
34
 * @method QueryBillOverview queryBillOverview(array $options = [])
35
 * @method QueryCashCoupons queryCashCoupons(array $options = [])
36
 * @method QueryCostUnit queryCostUnit(array $options = [])
37
 * @method QueryCostUnitResource queryCostUnitResource(array $options = [])
38
 * @method QueryCustomerAddressList queryCustomerAddressList(array $options = [])
39
 * @method QueryEvaluateList queryEvaluateList(array $options = [])
40
 * @method QueryInstanceBill queryInstanceBill(array $options = [])
41
 * @method QueryInstanceGaapCost queryInstanceGaapCost(array $options = [])
42
 * @method QueryInvoicingCustomerList queryInvoicingCustomerList(array $options = [])
43
 * @method QueryMonthlyBill queryMonthlyBill(array $options = [])
44
 * @method QueryMonthlyInstanceConsumption queryMonthlyInstanceConsumption(array $options = [])
45
 * @method QueryOrders queryOrders(array $options = [])
46
 * @method QueryPrepaidCards queryPrepaidCards(array $options = [])
47
 * @method QueryProductList queryProductList(array $options = [])
48
 * @method QueryRedeem queryRedeem(array $options = [])
49
 * @method QueryResellerAvailableQuota queryResellerAvailableQuota(array $options = [])
50
 * @method QueryResourcePackageInstances queryResourcePackageInstances(array $options = [])
51
 * @method QuerySettlementBill querySettlementBill(array $options = [])
52
 * @method QueryUserOmsData queryUserOmsData(array $options = [])
53
 * @method RenewInstance renewInstance(array $options = [])
54
 * @method RenewResourcePackage renewResourcePackage(array $options = [])
55
 * @method SetRenewal setRenewal(array $options = [])
56
 * @method SetResellerUserAlarmThreshold setResellerUserAlarmThreshold(array $options = [])
57
 * @method SetResellerUserQuota setResellerUserQuota(array $options = [])
58
 * @method SetResellerUserStatus setResellerUserStatus(array $options = [])
59
 * @method SubscribeBillToOSS subscribeBillToOSS(array $options = [])
60
 * @method UnsubscribeBillToOSS unsubscribeBillToOSS(array $options = [])
61
 * @method UpgradeResourcePackage upgradeResourcePackage(array $options = [])
62
 */
63
class BssOpenApiApiResolver extends ApiResolver
64
{
65
}
66
67
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
68
{
69
    /** @var string */
70
    public $product = 'BssOpenApi';
71
72
    /** @var string */
73
    public $version = '2017-12-14';
74
75
    /** @var string */
76
    public $method = 'POST';
77
78
    /** @var string */
79
    public $serviceCode = 'bssopenapi';
80
}
81
82
/**
83
 * @method array getResourceInstanceList()
84
 * @method string getFromUnitId()
85
 * @method $this withFromUnitId($value)
86
 * @method string getToUnitId()
87
 * @method $this withToUnitId($value)
88
 * @method string getFromUnitUserId()
89
 * @method $this withFromUnitUserId($value)
90
 * @method string getToUnitUserId()
91
 * @method $this withToUnitUserId($value)
92
 */
93
class AllocateCostUnitResource extends Rpc
94
{
95
96
    /**
97
     * @param array $resourceInstanceList
98
     *
99
     * @return $this
100
     */
101
	public function withResourceInstanceList(array $resourceInstanceList)
102
	{
103
	    $this->data['ResourceInstanceList'] = $resourceInstanceList;
104
		foreach ($resourceInstanceList as $depth1 => $depth1Value) {
105
			$this->options['query']['ResourceInstanceList.' . ($depth1 + 1) . '.ResourceId'] = $depth1Value['ResourceId'];
106
			$this->options['query']['ResourceInstanceList.' . ($depth1 + 1) . '.CommodityCode'] = $depth1Value['CommodityCode'];
107
			$this->options['query']['ResourceInstanceList.' . ($depth1 + 1) . '.ResourceUserId'] = $depth1Value['ResourceUserId'];
108
		}
109
110
		return $this;
111
    }
112
}
113
114
/**
115
 * @method string getInvoicingType()
116
 * @method $this withInvoicingType($value)
117
 * @method string getProcessWay()
118
 * @method $this withProcessWay($value)
119
 * @method string getCallerBid()
120
 * @method string getOwnerId()
121
 * @method $this withOwnerId($value)
122
 * @method string getInvoiceAmount()
123
 * @method $this withInvoiceAmount($value)
124
 * @method string getAddressId()
125
 * @method $this withAddressId($value)
126
 * @method string getApplyUserNick()
127
 * @method $this withApplyUserNick($value)
128
 * @method string getInvoiceByAmount()
129
 * @method $this withInvoiceByAmount($value)
130
 * @method string getCustomerId()
131
 * @method $this withCustomerId($value)
132
 * @method array getSelectedIds()
133
 * @method string getCallerUid()
134
 */
135
class ApplyInvoice extends Rpc
136
{
137
138
    /**
139
     * @param string $value
140
     *
141
     * @return $this
142
     */
143
    public function withCallerBid($value)
144
    {
145
        $this->data['CallerBid'] = $value;
146
        $this->options['query']['callerBid'] = $value;
147
148
        return $this;
149
    }
150
151
    /**
152
     * @param array $selectedIds
153
     *
154
     * @return $this
155
     */
156
	public function withSelectedIds(array $selectedIds)
157
	{
158
	    $this->data['SelectedIds'] = $selectedIds;
159
		foreach ($selectedIds as $i => $iValue) {
160
			$this->options['query']['SelectedIds.' . ($i + 1)] = $iValue;
161
		}
162
163
		return $this;
164
    }
165
166
    /**
167
     * @param string $value
168
     *
169
     * @return $this
170
     */
171
    public function withCallerUid($value)
172
    {
173
        $this->data['CallerUid'] = $value;
174
        $this->options['query']['callerUid'] = $value;
175
176
        return $this;
177
    }
178
}
179
180
/**
181
 * @method string getOrderId()
182
 * @method $this withOrderId($value)
183
 * @method string getOwnerId()
184
 * @method $this withOwnerId($value)
185
 */
186
class CancelOrder extends Rpc
187
{
188
}
189
190
/**
191
 * @method string getAmount()
192
 * @method $this withAmount($value)
193
 * @method string getOutBizId()
194
 * @method $this withOutBizId($value)
195
 * @method string getSource()
196
 * @method $this withSource($value)
197
 * @method string getOwnerId()
198
 * @method $this withOwnerId($value)
199
 * @method string getBusinessType()
200
 * @method $this withBusinessType($value)
201
 * @method string getAdjustType()
202
 * @method $this withAdjustType($value)
203
 * @method string getExtendMap()
204
 * @method $this withExtendMap($value)
205
 * @method string getCurrency()
206
 * @method $this withCurrency($value)
207
 */
208
class ChangeResellerConsumeAmount extends Rpc
209
{
210
}
211
212
/**
213
 * @method string getPeriod()
214
 * @method $this withPeriod($value)
215
 * @method string getProductCode()
216
 * @method $this withProductCode($value)
217
 * @method string getSubscriptionType()
218
 * @method $this withSubscriptionType($value)
219
 * @method string getOwnerId()
220
 * @method $this withOwnerId($value)
221
 * @method string getProductType()
222
 * @method $this withProductType($value)
223
 * @method string getInstanceId()
224
 * @method $this withInstanceId($value)
225
 */
226
class ConvertChargeType extends Rpc
227
{
228
}
229
230
/**
231
 * @method string getFirstName()
232
 * @method $this withFirstName($value)
233
 * @method string getCityName()
234
 * @method $this withCityName($value)
235
 * @method string getPostcode()
236
 * @method $this withPostcode($value)
237
 * @method string getEnterpriseName()
238
 * @method $this withEnterpriseName($value)
239
 * @method string getNationCode()
240
 * @method $this withNationCode($value)
241
 * @method string getLastName()
242
 * @method $this withLastName($value)
243
 * @method string getLoginEmail()
244
 * @method $this withLoginEmail($value)
245
 * @method string getProvinceName()
246
 * @method $this withProvinceName($value)
247
 * @method string getAccountAttr()
248
 * @method $this withAccountAttr($value)
249
 */
250
class CreateAgAccount extends Rpc
251
{
252
253
    /** @var string */
254
    public $scheme = 'https';
255
}
256
257
/**
258
 * @method array getUnitEntityList()
259
 */
260
class CreateCostUnit extends Rpc
261
{
262
263
    /**
264
     * @param array $unitEntityList
265
     *
266
     * @return $this
267
     */
268
	public function withUnitEntityList(array $unitEntityList)
269
	{
270
	    $this->data['UnitEntityList'] = $unitEntityList;
271
		foreach ($unitEntityList as $depth1 => $depth1Value) {
272
			$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.UnitName'] = $depth1Value['UnitName'];
273
			$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.ParentUnitId'] = $depth1Value['ParentUnitId'];
274
			$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.OwnerUid'] = $depth1Value['OwnerUid'];
275
		}
276
277
		return $this;
278
    }
279
}
280
281
/**
282
 * @method string getProductCode()
283
 * @method $this withProductCode($value)
284
 * @method string getPeriod()
285
 * @method $this withPeriod($value)
286
 * @method string getClientToken()
287
 * @method $this withClientToken($value)
288
 * @method string getSubscriptionType()
289
 * @method $this withSubscriptionType($value)
290
 * @method string getOwnerId()
291
 * @method $this withOwnerId($value)
292
 * @method string getProductType()
293
 * @method $this withProductType($value)
294
 * @method string getRenewPeriod()
295
 * @method $this withRenewPeriod($value)
296
 * @method array getParameter()
297
 * @method string getRenewalStatus()
298
 * @method $this withRenewalStatus($value)
299
 */
300
class CreateInstance extends Rpc
301
{
302
303
    /**
304
     * @param array $parameter
305
     *
306
     * @return $this
307
     */
308
	public function withParameter(array $parameter)
309
	{
310
	    $this->data['Parameter'] = $parameter;
311
		foreach ($parameter as $depth1 => $depth1Value) {
312
			$this->options['query']['Parameter.' . ($depth1 + 1) . '.Code'] = $depth1Value['Code'];
313
			$this->options['query']['Parameter.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
314
		}
315
316
		return $this;
317
    }
318
}
319
320
/**
321
 * @method string getAmount()
322
 * @method $this withAmount($value)
323
 * @method string getOutBizId()
324
 * @method $this withOutBizId($value)
325
 * @method string getOwnerId()
326
 * @method $this withOwnerId($value)
327
 * @method string getCurrency()
328
 * @method $this withCurrency($value)
329
 */
330
class CreateResellerUserQuota extends Rpc
331
{
332
}
333
334
/**
335
 * @method string getProductCode()
336
 * @method $this withProductCode($value)
337
 * @method string getSpecification()
338
 * @method $this withSpecification($value)
339
 * @method string getOwnerId()
340
 * @method $this withOwnerId($value)
341
 * @method string getEffectiveDate()
342
 * @method $this withEffectiveDate($value)
343
 * @method string getDuration()
344
 * @method $this withDuration($value)
345
 * @method string getPackageType()
346
 * @method $this withPackageType($value)
347
 * @method string getPricingCycle()
348
 * @method $this withPricingCycle($value)
349
 */
350
class CreateResourcePackage extends Rpc
351
{
352
}
353
354
/**
355
 * @method string getUnitId()
356
 * @method $this withUnitId($value)
357
 * @method string getOwnerUid()
358
 * @method $this withOwnerUid($value)
359
 */
360
class DeleteCostUnit extends Rpc
361
{
362
}
363
364
/**
365
 * @method string getProductCode()
366
 * @method $this withProductCode($value)
367
 * @method string getSubscriptionType()
368
 * @method $this withSubscriptionType($value)
369
 * @method string getOwnerId()
370
 * @method $this withOwnerId($value)
371
 * @method string getProductType()
372
 * @method $this withProductType($value)
373
 */
374
class DescribePricingModule extends Rpc
375
{
376
}
377
378
/**
379
 * @method string getProductCode()
380
 * @method $this withProductCode($value)
381
 */
382
class DescribeResourcePackageProduct extends Rpc
383
{
384
}
385
386
/**
387
 * @method string getProductCode()
388
 * @method $this withProductCode($value)
389
 * @method string getOwnerId()
390
 * @method $this withOwnerId($value)
391
 */
392
class EnableBillGeneration extends Rpc
393
{
394
395
    /** @var string */
396
    public $method = 'PUT';
397
}
398
399
/**
400
 * @method string getOwnerId()
401
 * @method $this withOwnerId($value)
402
 */
403
class GetCustomerAccountInfo extends Rpc
404
{
405
}
406
407
class GetCustomerList extends Rpc
408
{
409
}
410
411
/**
412
 * @method string getOrderId()
413
 * @method $this withOrderId($value)
414
 * @method string getOwnerId()
415
 * @method $this withOwnerId($value)
416
 */
417
class GetOrderDetail extends Rpc
418
{
419
}
420
421
/**
422
 * @method string getProductCode()
423
 * @method $this withProductCode($value)
424
 * @method string getSubscriptionType()
425
 * @method $this withSubscriptionType($value)
426
 * @method array getModuleList()
427
 * @method string getOwnerId()
428
 * @method $this withOwnerId($value)
429
 * @method string getProductType()
430
 * @method $this withProductType($value)
431
 * @method string getRegion()
432
 * @method $this withRegion($value)
433
 */
434
class GetPayAsYouGoPrice extends Rpc
435
{
436
437
    /**
438
     * @param array $moduleList
439
     *
440
     * @return $this
441
     */
442
	public function withModuleList(array $moduleList)
443
	{
444
	    $this->data['ModuleList'] = $moduleList;
445
		foreach ($moduleList as $depth1 => $depth1Value) {
446
			$this->options['query']['ModuleList.' . ($depth1 + 1) . '.ModuleCode'] = $depth1Value['ModuleCode'];
447
			$this->options['query']['ModuleList.' . ($depth1 + 1) . '.PriceType'] = $depth1Value['PriceType'];
448
			$this->options['query']['ModuleList.' . ($depth1 + 1) . '.Config'] = $depth1Value['Config'];
449
		}
450
451
		return $this;
452
    }
453
}
454
455
/**
456
 * @method string getProductCode()
457
 * @method $this withProductCode($value)
458
 * @method string getSpecification()
459
 * @method $this withSpecification($value)
460
 * @method string getOwnerId()
461
 * @method $this withOwnerId($value)
462
 * @method string getEffectiveDate()
463
 * @method $this withEffectiveDate($value)
464
 * @method string getDuration()
465
 * @method $this withDuration($value)
466
 * @method string getInstanceId()
467
 * @method $this withInstanceId($value)
468
 * @method string getPackageType()
469
 * @method $this withPackageType($value)
470
 * @method string getPricingCycle()
471
 * @method $this withPricingCycle($value)
472
 * @method string getOrderType()
473
 * @method $this withOrderType($value)
474
 */
475
class GetResourcePackagePrice extends Rpc
476
{
477
}
478
479
/**
480
 * @method string getProductCode()
481
 * @method $this withProductCode($value)
482
 * @method string getQuantity()
483
 * @method $this withQuantity($value)
484
 * @method string getSubscriptionType()
485
 * @method $this withSubscriptionType($value)
486
 * @method array getModuleList()
487
 * @method string getOwnerId()
488
 * @method $this withOwnerId($value)
489
 * @method string getProductType()
490
 * @method $this withProductType($value)
491
 * @method string getServicePeriodQuantity()
492
 * @method $this withServicePeriodQuantity($value)
493
 * @method string getInstanceId()
494
 * @method $this withInstanceId($value)
495
 * @method string getServicePeriodUnit()
496
 * @method $this withServicePeriodUnit($value)
497
 * @method string getRegion()
498
 * @method $this withRegion($value)
499
 * @method string getOrderType()
500
 * @method $this withOrderType($value)
501
 */
502
class GetSubscriptionPrice extends Rpc
503
{
504
505
    /**
506
     * @param array $moduleList
507
     *
508
     * @return $this
509
     */
510
	public function withModuleList(array $moduleList)
511
	{
512
	    $this->data['ModuleList'] = $moduleList;
513
		foreach ($moduleList as $depth1 => $depth1Value) {
514
			$this->options['query']['ModuleList.' . ($depth1 + 1) . '.ModuleCode'] = $depth1Value['ModuleCode'];
515
			$this->options['query']['ModuleList.' . ($depth1 + 1) . '.ModuleStatus'] = $depth1Value['ModuleStatus'];
516
			$this->options['query']['ModuleList.' . ($depth1 + 1) . '.Tag'] = $depth1Value['Tag'];
517
			$this->options['query']['ModuleList.' . ($depth1 + 1) . '.Config'] = $depth1Value['Config'];
518
		}
519
520
		return $this;
521
    }
522
}
523
524
/**
525
 * @method array getUnitEntityList()
526
 */
527
class ModifyCostUnit extends Rpc
528
{
529
530
    /**
531
     * @param array $unitEntityList
532
     *
533
     * @return $this
534
     */
535
	public function withUnitEntityList(array $unitEntityList)
536
	{
537
	    $this->data['UnitEntityList'] = $unitEntityList;
538
		foreach ($unitEntityList as $depth1 => $depth1Value) {
539
			$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.NewUnitName'] = $depth1Value['NewUnitName'];
540
			$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.UnitId'] = $depth1Value['UnitId'];
541
			$this->options['query']['UnitEntityList.' . ($depth1 + 1) . '.OwnerUid'] = $depth1Value['OwnerUid'];
542
		}
543
544
		return $this;
545
    }
546
}
547
548
/**
549
 * @method string getProductCode()
550
 * @method $this withProductCode($value)
551
 * @method string getClientToken()
552
 * @method $this withClientToken($value)
553
 * @method string getSubscriptionType()
554
 * @method $this withSubscriptionType($value)
555
 * @method string getOwnerId()
556
 * @method $this withOwnerId($value)
557
 * @method string getProductType()
558
 * @method $this withProductType($value)
559
 * @method string getInstanceId()
560
 * @method $this withInstanceId($value)
561
 * @method string getModifyType()
562
 * @method $this withModifyType($value)
563
 * @method array getParameter()
564
 */
565
class ModifyInstance extends Rpc
566
{
567
568
    /**
569
     * @param array $parameter
570
     *
571
     * @return $this
572
     */
573
	public function withParameter(array $parameter)
574
	{
575
	    $this->data['Parameter'] = $parameter;
576
		foreach ($parameter as $depth1 => $depth1Value) {
577
			$this->options['query']['Parameter.' . ($depth1 + 1) . '.Code'] = $depth1Value['Code'];
578
			$this->options['query']['Parameter.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
579
		}
580
581
		return $this;
582
    }
583
}
584
585
class QueryAccountBalance extends Rpc
586
{
587
}
588
589
/**
590
 * @method string getPageNum()
591
 * @method $this withPageNum($value)
592
 * @method string getCreateTimeEnd()
593
 * @method $this withCreateTimeEnd($value)
594
 * @method string getRecordID()
595
 * @method $this withRecordID($value)
596
 * @method string getPageSize()
597
 * @method $this withPageSize($value)
598
 * @method string getTransactionChannelSN()
599
 * @method $this withTransactionChannelSN($value)
600
 * @method string getCreateTimeStart()
601
 * @method $this withCreateTimeStart($value)
602
 * @method string getTransactionNumber()
603
 * @method $this withTransactionNumber($value)
604
 */
605
class QueryAccountTransactions extends Rpc
606
{
607
}
608
609
/**
610
 * @method string getProductCode()
611
 * @method $this withProductCode($value)
612
 * @method string getSubscriptionType()
613
 * @method $this withSubscriptionType($value)
614
 * @method string getPageNum()
615
 * @method $this withPageNum($value)
616
 * @method string getProductType()
617
 * @method $this withProductType($value)
618
 * @method string getPageSize()
619
 * @method $this withPageSize($value)
620
 * @method string getRenewStatus()
621
 * @method $this withRenewStatus($value)
622
 * @method string getOwnerId()
623
 * @method $this withOwnerId($value)
624
 * @method string getEndTimeStart()
625
 * @method $this withEndTimeStart($value)
626
 * @method string getCreateTimeEnd()
627
 * @method $this withCreateTimeEnd($value)
628
 * @method string getInstanceIDs()
629
 * @method $this withInstanceIDs($value)
630
 * @method string getEndTimeEnd()
631
 * @method $this withEndTimeEnd($value)
632
 * @method string getCreateTimeStart()
633
 * @method $this withCreateTimeStart($value)
634
 * @method string getRegion()
635
 * @method $this withRegion($value)
636
 */
637
class QueryAvailableInstances extends Rpc
638
{
639
}
640
641
/**
642
 * @method string getProductCode()
643
 * @method $this withProductCode($value)
644
 * @method string getIsHideZeroCharge()
645
 * @method $this withIsHideZeroCharge($value)
646
 * @method string getIsDisplayLocalCurrency()
647
 * @method $this withIsDisplayLocalCurrency($value)
648
 * @method string getSubscriptionType()
649
 * @method $this withSubscriptionType($value)
650
 * @method string getBillingCycle()
651
 * @method $this withBillingCycle($value)
652
 * @method string getType()
653
 * @method $this withType($value)
654
 * @method string getOwnerId()
655
 * @method $this withOwnerId($value)
656
 * @method string getPageNum()
657
 * @method $this withPageNum($value)
658
 * @method string getProductType()
659
 * @method $this withProductType($value)
660
 * @method string getPageSize()
661
 * @method $this withPageSize($value)
662
 */
663
class QueryBill extends Rpc
664
{
665
}
666
667
/**
668
 * @method string getProductCode()
669
 * @method $this withProductCode($value)
670
 * @method string getSubscriptionType()
671
 * @method $this withSubscriptionType($value)
672
 * @method string getBillingCycle()
673
 * @method $this withBillingCycle($value)
674
 * @method string getProductType()
675
 * @method $this withProductType($value)
676
 */
677
class QueryBillOverview extends Rpc
678
{
679
}
680
681
/**
682
 * @method string getExpiryTimeEnd()
683
 * @method $this withExpiryTimeEnd($value)
684
 * @method string getExpiryTimeStart()
685
 * @method $this withExpiryTimeStart($value)
686
 * @method string getEffectiveOrNot()
687
 * @method $this withEffectiveOrNot($value)
688
 */
689
class QueryCashCoupons extends Rpc
690
{
691
}
692
693
/**
694
 * @method string getParentUnitId()
695
 * @method $this withParentUnitId($value)
696
 * @method string getPageNum()
697
 * @method $this withPageNum($value)
698
 * @method string getPageSize()
699
 * @method $this withPageSize($value)
700
 * @method string getOwnerUid()
701
 * @method $this withOwnerUid($value)
702
 */
703
class QueryCostUnit extends Rpc
704
{
705
}
706
707
/**
708
 * @method string getPageNum()
709
 * @method $this withPageNum($value)
710
 * @method string getPageSize()
711
 * @method $this withPageSize($value)
712
 * @method string getUnitId()
713
 * @method $this withUnitId($value)
714
 * @method string getOwnerUid()
715
 * @method $this withOwnerUid($value)
716
 */
717
class QueryCostUnitResource extends Rpc
718
{
719
}
720
721
/**
722
 * @method string getCallerBid()
723
 * @method string getOwnerId()
724
 * @method $this withOwnerId($value)
725
 * @method string getCallerUid()
726
 */
727
class QueryCustomerAddressList extends Rpc
728
{
729
730
    /**
731
     * @param string $value
732
     *
733
     * @return $this
734
     */
735
    public function withCallerBid($value)
736
    {
737
        $this->data['CallerBid'] = $value;
738
        $this->options['query']['callerBid'] = $value;
739
740
        return $this;
741
    }
742
743
    /**
744
     * @param string $value
745
     *
746
     * @return $this
747
     */
748
    public function withCallerUid($value)
749
    {
750
        $this->data['CallerUid'] = $value;
751
        $this->options['query']['callerUid'] = $value;
752
753
        return $this;
754
    }
755
}
756
757
/**
758
 * @method string getEndSearchTime()
759
 * @method $this withEndSearchTime($value)
760
 * @method string getOutBizId()
761
 * @method $this withOutBizId($value)
762
 * @method string getSortType()
763
 * @method $this withSortType($value)
764
 * @method string getType()
765
 * @method $this withType($value)
766
 * @method string getPageNum()
767
 * @method $this withPageNum($value)
768
 * @method string getPageSize()
769
 * @method $this withPageSize($value)
770
 * @method string getEndAmount()
771
 * @method $this withEndAmount($value)
772
 * @method string getBillCycle()
773
 * @method $this withBillCycle($value)
774
 * @method array getBizTypeList()
775
 * @method string getOwnerId()
776
 * @method $this withOwnerId($value)
777
 * @method string getStartSearchTime()
778
 * @method $this withStartSearchTime($value)
779
 * @method string getEndBizTime()
780
 * @method $this withEndBizTime($value)
781
 * @method string getStartAmount()
782
 * @method $this withStartAmount($value)
783
 * @method string getStartBizTime()
784
 * @method $this withStartBizTime($value)
785
 */
786
class QueryEvaluateList extends Rpc
787
{
788
789
    /**
790
     * @param array $bizTypeList
791
     *
792
     * @return $this
793
     */
794
	public function withBizTypeList(array $bizTypeList)
795
	{
796
	    $this->data['BizTypeList'] = $bizTypeList;
797
		foreach ($bizTypeList as $i => $iValue) {
798
			$this->options['query']['BizTypeList.' . ($i + 1)] = $iValue;
799
		}
800
801
		return $this;
802
    }
803
}
804
805
/**
806
 * @method string getProductCode()
807
 * @method $this withProductCode($value)
808
 * @method string getIsHideZeroCharge()
809
 * @method $this withIsHideZeroCharge($value)
810
 * @method string getSubscriptionType()
811
 * @method $this withSubscriptionType($value)
812
 * @method string getBillingCycle()
813
 * @method $this withBillingCycle($value)
814
 * @method string getOwnerId()
815
 * @method $this withOwnerId($value)
816
 * @method string getPageNum()
817
 * @method $this withPageNum($value)
818
 * @method string getProductType()
819
 * @method $this withProductType($value)
820
 * @method string getIsBillingItem()
821
 * @method $this withIsBillingItem($value)
822
 * @method string getPageSize()
823
 * @method $this withPageSize($value)
824
 */
825
class QueryInstanceBill extends Rpc
826
{
827
}
828
829
/**
830
 * @method string getProductCode()
831
 * @method $this withProductCode($value)
832
 * @method string getSubscriptionType()
833
 * @method $this withSubscriptionType($value)
834
 * @method string getBillingCycle()
835
 * @method $this withBillingCycle($value)
836
 * @method string getPageNum()
837
 * @method $this withPageNum($value)
838
 * @method string getProductType()
839
 * @method $this withProductType($value)
840
 * @method string getPageSize()
841
 * @method $this withPageSize($value)
842
 */
843
class QueryInstanceGaapCost extends Rpc
844
{
845
}
846
847
/**
848
 * @method string getOwnerId()
849
 * @method $this withOwnerId($value)
850
 */
851
class QueryInvoicingCustomerList extends Rpc
852
{
853
}
854
855
/**
856
 * @method string getBillingCycle()
857
 * @method $this withBillingCycle($value)
858
 */
859
class QueryMonthlyBill extends Rpc
860
{
861
}
862
863
/**
864
 * @method string getProductCode()
865
 * @method $this withProductCode($value)
866
 * @method string getSubscriptionType()
867
 * @method $this withSubscriptionType($value)
868
 * @method string getBillingCycle()
869
 * @method $this withBillingCycle($value)
870
 * @method string getOwnerId()
871
 * @method $this withOwnerId($value)
872
 * @method string getPageNum()
873
 * @method $this withPageNum($value)
874
 * @method string getProductType()
875
 * @method $this withProductType($value)
876
 * @method string getPageSize()
877
 * @method $this withPageSize($value)
878
 */
879
class QueryMonthlyInstanceConsumption extends Rpc
880
{
881
}
882
883
/**
884
 * @method string getProductCode()
885
 * @method $this withProductCode($value)
886
 * @method string getSubscriptionType()
887
 * @method $this withSubscriptionType($value)
888
 * @method string getPageNum()
889
 * @method $this withPageNum($value)
890
 * @method string getOwnerId()
891
 * @method $this withOwnerId($value)
892
 * @method string getCreateTimeEnd()
893
 * @method $this withCreateTimeEnd($value)
894
 * @method string getProductType()
895
 * @method $this withProductType($value)
896
 * @method string getPageSize()
897
 * @method $this withPageSize($value)
898
 * @method string getPaymentStatus()
899
 * @method $this withPaymentStatus($value)
900
 * @method string getCreateTimeStart()
901
 * @method $this withCreateTimeStart($value)
902
 * @method string getOrderType()
903
 * @method $this withOrderType($value)
904
 */
905
class QueryOrders extends Rpc
906
{
907
}
908
909
/**
910
 * @method string getExpiryTimeEnd()
911
 * @method $this withExpiryTimeEnd($value)
912
 * @method string getExpiryTimeStart()
913
 * @method $this withExpiryTimeStart($value)
914
 * @method string getEffectiveOrNot()
915
 * @method $this withEffectiveOrNot($value)
916
 */
917
class QueryPrepaidCards extends Rpc
918
{
919
}
920
921
/**
922
 * @method string getPageNum()
923
 * @method $this withPageNum($value)
924
 * @method string getQueryTotalCount()
925
 * @method $this withQueryTotalCount($value)
926
 * @method string getPageSize()
927
 * @method $this withPageSize($value)
928
 */
929
class QueryProductList extends Rpc
930
{
931
}
932
933
/**
934
 * @method string getExpiryTimeEnd()
935
 * @method $this withExpiryTimeEnd($value)
936
 * @method string getExpiryTimeStart()
937
 * @method $this withExpiryTimeStart($value)
938
 * @method string getPageNum()
939
 * @method $this withPageNum($value)
940
 * @method string getEffectiveOrNot()
941
 * @method $this withEffectiveOrNot($value)
942
 * @method string getPageSize()
943
 * @method $this withPageSize($value)
944
 */
945
class QueryRedeem extends Rpc
946
{
947
948
    /** @var string */
949
    public $method = 'GET';
950
}
951
952
/**
953
 * @method string getItemCodes()
954
 * @method $this withItemCodes($value)
955
 * @method string getOwnerId()
956
 * @method $this withOwnerId($value)
957
 */
958
class QueryResellerAvailableQuota extends Rpc
959
{
960
}
961
962
/**
963
 * @method string getExpiryTimeEnd()
964
 * @method $this withExpiryTimeEnd($value)
965
 * @method string getProductCode()
966
 * @method $this withProductCode($value)
967
 * @method string getOwnerId()
968
 * @method $this withOwnerId($value)
969
 * @method string getExpiryTimeStart()
970
 * @method $this withExpiryTimeStart($value)
971
 * @method string getPageNum()
972
 * @method $this withPageNum($value)
973
 * @method string getPageSize()
974
 * @method $this withPageSize($value)
975
 */
976
class QueryResourcePackageInstances extends Rpc
977
{
978
}
979
980
/**
981
 * @method string getProductCode()
982
 * @method $this withProductCode($value)
983
 * @method string getIsHideZeroCharge()
984
 * @method $this withIsHideZeroCharge($value)
985
 * @method string getSubscriptionType()
986
 * @method $this withSubscriptionType($value)
987
 * @method string getEndTime()
988
 * @method $this withEndTime($value)
989
 * @method string getBillingCycle()
990
 * @method $this withBillingCycle($value)
991
 * @method string getStartTime()
992
 * @method $this withStartTime($value)
993
 * @method string getOwnerId()
994
 * @method $this withOwnerId($value)
995
 * @method string getPageNum()
996
 * @method $this withPageNum($value)
997
 * @method string getType()
998
 * @method $this withType($value)
999
 * @method string getProductType()
1000
 * @method $this withProductType($value)
1001
 * @method string getPageSize()
1002
 * @method $this withPageSize($value)
1003
 */
1004
class QuerySettlementBill extends Rpc
1005
{
1006
}
1007
1008
/**
1009
 * @method string getEndTime()
1010
 * @method $this withEndTime($value)
1011
 * @method string getStartTime()
1012
 * @method $this withStartTime($value)
1013
 * @method string getOwnerId()
1014
 * @method $this withOwnerId($value)
1015
 * @method string getDataType()
1016
 * @method $this withDataType($value)
1017
 * @method string getMarker()
1018
 * @method $this withMarker($value)
1019
 * @method string getPageSize()
1020
 * @method $this withPageSize($value)
1021
 * @method string getTable()
1022
 * @method $this withTable($value)
1023
 */
1024
class QueryUserOmsData extends Rpc
1025
{
1026
1027
    /** @var string */
1028
    public $method = 'GET';
1029
}
1030
1031
/**
1032
 * @method string getProductCode()
1033
 * @method $this withProductCode($value)
1034
 * @method string getClientToken()
1035
 * @method $this withClientToken($value)
1036
 * @method string getOwnerId()
1037
 * @method $this withOwnerId($value)
1038
 * @method string getProductType()
1039
 * @method $this withProductType($value)
1040
 * @method string getInstanceId()
1041
 * @method $this withInstanceId($value)
1042
 * @method string getRenewPeriod()
1043
 * @method $this withRenewPeriod($value)
1044
 */
1045
class RenewInstance extends Rpc
1046
{
1047
}
1048
1049
/**
1050
 * @method string getOwnerId()
1051
 * @method $this withOwnerId($value)
1052
 * @method string getEffectiveDate()
1053
 * @method $this withEffectiveDate($value)
1054
 * @method string getDuration()
1055
 * @method $this withDuration($value)
1056
 * @method string getInstanceId()
1057
 * @method $this withInstanceId($value)
1058
 * @method string getPricingCycle()
1059
 * @method $this withPricingCycle($value)
1060
 */
1061
class RenewResourcePackage extends Rpc
1062
{
1063
}
1064
1065
/**
1066
 * @method string getProductCode()
1067
 * @method $this withProductCode($value)
1068
 * @method string getSubscriptionType()
1069
 * @method $this withSubscriptionType($value)
1070
 * @method string getRenewalPeriod()
1071
 * @method $this withRenewalPeriod($value)
1072
 * @method string getOwnerId()
1073
 * @method $this withOwnerId($value)
1074
 * @method string getProductType()
1075
 * @method $this withProductType($value)
1076
 * @method string getInstanceIDs()
1077
 * @method $this withInstanceIDs($value)
1078
 * @method string getRenewalStatus()
1079
 * @method $this withRenewalStatus($value)
1080
 * @method string getRenewalPeriodUnit()
1081
 * @method $this withRenewalPeriodUnit($value)
1082
 */
1083
class SetRenewal extends Rpc
1084
{
1085
}
1086
1087
/**
1088
 * @method string getAlarmType()
1089
 * @method $this withAlarmType($value)
1090
 * @method string getAlarmThresholds()
1091
 * @method $this withAlarmThresholds($value)
1092
 * @method string getOwnerId()
1093
 * @method $this withOwnerId($value)
1094
 */
1095
class SetResellerUserAlarmThreshold extends Rpc
1096
{
1097
}
1098
1099
/**
1100
 * @method string getAmount()
1101
 * @method $this withAmount($value)
1102
 * @method string getOutBizId()
1103
 * @method $this withOutBizId($value)
1104
 * @method string getOwnerId()
1105
 * @method $this withOwnerId($value)
1106
 * @method string getCurrency()
1107
 * @method $this withCurrency($value)
1108
 */
1109
class SetResellerUserQuota extends Rpc
1110
{
1111
}
1112
1113
/**
1114
 * @method string getOwnerId()
1115
 * @method $this withOwnerId($value)
1116
 * @method string getBusinessType()
1117
 * @method $this withBusinessType($value)
1118
 * @method string getStatus()
1119
 * @method $this withStatus($value)
1120
 */
1121
class SetResellerUserStatus extends Rpc
1122
{
1123
}
1124
1125
/**
1126
 * @method string getBucketOwnerId()
1127
 * @method $this withBucketOwnerId($value)
1128
 * @method string getSubscribeType()
1129
 * @method $this withSubscribeType($value)
1130
 * @method string getSubscribeBucket()
1131
 * @method $this withSubscribeBucket($value)
1132
 * @method string getMultAccountRelSubscribe()
1133
 * @method $this withMultAccountRelSubscribe($value)
1134
 */
1135
class SubscribeBillToOSS extends Rpc
1136
{
1137
}
1138
1139
/**
1140
 * @method string getSubscribeType()
1141
 * @method $this withSubscribeType($value)
1142
 * @method string getMultAccountRelSubscribe()
1143
 * @method $this withMultAccountRelSubscribe($value)
1144
 */
1145
class UnsubscribeBillToOSS extends Rpc
1146
{
1147
}
1148
1149
/**
1150
 * @method string getSpecification()
1151
 * @method $this withSpecification($value)
1152
 * @method string getOwnerId()
1153
 * @method $this withOwnerId($value)
1154
 * @method string getEffectiveDate()
1155
 * @method $this withEffectiveDate($value)
1156
 * @method string getInstanceId()
1157
 * @method $this withInstanceId($value)
1158
 */
1159
class UpgradeResourcePackage extends Rpc
1160
{
1161
}
1162