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 ( 445353...b4c6ed )
by
unknown
06:12
created

DescribeApiMetering   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 43
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 11
dl 0
loc 43
c 0
b 0
f 0
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A withPageNum() 0 6 1
A withType() 0 6 1
A withProductCode() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\Market\V20151101;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method ActivateLicense activateLicense(array $options = [])
9
 * @method AutoRenewInstance autoRenewInstance(array $options = [])
10
 * @method CreateOrder createOrder(array $options = [])
11
 * @method CrossAccountVerifyToken crossAccountVerifyToken(array $options = [])
12
 * @method DescribeApiMetering describeApiMetering(array $options = [])
13
 * @method DescribeCurrentNodeInfo describeCurrentNodeInfo(array $options = [])
14
 * @method DescribeDistributionProducts describeDistributionProducts(array $options = [])
15
 * @method DescribeDistributionProductsLink describeDistributionProductsLink(array $options = [])
16
 * @method DescribeInstance describeInstance(array $options = [])
17
 * @method DescribeInstances describeInstances(array $options = [])
18
 * @method DescribeLicense describeLicense(array $options = [])
19
 * @method DescribeOrder describeOrder(array $options = [])
20
 * @method DescribePrice describePrice(array $options = [])
21
 * @method DescribeProduct describeProduct(array $options = [])
22
 * @method DescribeProducts describeProducts(array $options = [])
23
 * @method DescribeProjectAttachments describeProjectAttachments(array $options = [])
24
 * @method DescribeProjectInfo describeProjectInfo(array $options = [])
25
 * @method DescribeProjectMessages describeProjectMessages(array $options = [])
26
 * @method DescribeProjectNodes describeProjectNodes(array $options = [])
27
 * @method DescribeProjectOperateLogs describeProjectOperateLogs(array $options = [])
28
 * @method FinishCurrentProjectNode finishCurrentProjectNode(array $options = [])
29
 * @method PauseProject pauseProject(array $options = [])
30
 * @method PushMeteringData pushMeteringData(array $options = [])
31
 * @method ResumeProject resumeProject(array $options = [])
32
 * @method RollbackCurrentProjectNode rollbackCurrentProjectNode(array $options = [])
33
 */
34
class MarketApiResolver extends ApiResolver
35
{
36
}
37
38
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
39
{
40
    /** @var string */
41
    public $product = 'Market';
42
43
    /** @var string */
44
    public $version = '2015-11-01';
45
46
    /** @var string */
47
    public $method = 'POST';
48
}
49
50
/**
51
 * @method string getIdentification()
52
 * @method $this withIdentification($value)
53
 * @method string getLicenseCode()
54
 * @method $this withLicenseCode($value)
55
 */
56
class ActivateLicense extends Rpc
57
{
58
}
59
60
/**
61
 * @method string getType()
62
 * @method string getOwnerId()
63
 * @method string getAutoRenewDuration()
64
 * @method string getAutoRenewCycle()
65
 * @method string getOrderBizId()
66
 */
67
class AutoRenewInstance extends Rpc
68
{
69
70
    /**
71
     * @param string $value
72
     *
73
     * @return $this
74
     */
75
    public function withType($value)
76
    {
77
        $this->data['Type'] = $value;
78
        $this->options['form_params']['Type'] = $value;
79
80
        return $this;
81
    }
82
83
    /**
84
     * @param string $value
85
     *
86
     * @return $this
87
     */
88
    public function withOwnerId($value)
89
    {
90
        $this->data['OwnerId'] = $value;
91
        $this->options['form_params']['OwnerId'] = $value;
92
93
        return $this;
94
    }
95
96
    /**
97
     * @param string $value
98
     *
99
     * @return $this
100
     */
101
    public function withAutoRenewDuration($value)
102
    {
103
        $this->data['AutoRenewDuration'] = $value;
104
        $this->options['form_params']['AutoRenewDuration'] = $value;
105
106
        return $this;
107
    }
108
109
    /**
110
     * @param string $value
111
     *
112
     * @return $this
113
     */
114
    public function withAutoRenewCycle($value)
115
    {
116
        $this->data['AutoRenewCycle'] = $value;
117
        $this->options['form_params']['AutoRenewCycle'] = $value;
118
119
        return $this;
120
    }
121
122
    /**
123
     * @param string $value
124
     *
125
     * @return $this
126
     */
127
    public function withOrderBizId($value)
128
    {
129
        $this->data['OrderBizId'] = $value;
130
        $this->options['form_params']['OrderBizId'] = $value;
131
132
        return $this;
133
    }
134
}
135
136
/**
137
 * @method string getOrderSouce()
138
 * @method $this withOrderSouce($value)
139
 * @method string getCommodity()
140
 * @method $this withCommodity($value)
141
 * @method string getClientToken()
142
 * @method $this withClientToken($value)
143
 * @method string getOwnerId()
144
 * @method $this withOwnerId($value)
145
 * @method string getPaymentType()
146
 * @method $this withPaymentType($value)
147
 * @method string getOrderType()
148
 * @method $this withOrderType($value)
149
 */
150
class CreateOrder extends Rpc
151
{
152
}
153
154
/**
155
 * @method string getToken()
156
 */
157
class CrossAccountVerifyToken extends Rpc
158
{
159
160
    /** @var string */
161
    public $scheme = 'https';
162
163
    /**
164
     * @param string $value
165
     *
166
     * @return $this
167
     */
168
    public function withToken($value)
169
    {
170
        $this->data['Token'] = $value;
171
        $this->options['form_params']['Token'] = $value;
172
173
        return $this;
174
    }
175
}
176
177
/**
178
 * @method string getProductCode()
179
 * @method string getType()
180
 * @method string getPageNum()
181
 */
182
class DescribeApiMetering extends Rpc
183
{
184
185
    /** @var string */
186
    public $method = 'GET';
187
188
    /**
189
     * @param string $value
190
     *
191
     * @return $this
192
     */
193
    public function withProductCode($value)
194
    {
195
        $this->data['ProductCode'] = $value;
196
        $this->options['query']['productCode'] = $value;
197
198
        return $this;
199
    }
200
201
    /**
202
     * @param string $value
203
     *
204
     * @return $this
205
     */
206
    public function withType($value)
207
    {
208
        $this->data['Type'] = $value;
209
        $this->options['query']['type'] = $value;
210
211
        return $this;
212
    }
213
214
    /**
215
     * @param string $value
216
     *
217
     * @return $this
218
     */
219
    public function withPageNum($value)
220
    {
221
        $this->data['PageNum'] = $value;
222
        $this->options['query']['pageNum'] = $value;
223
224
        return $this;
225
    }
226
}
227
228
/**
229
 * @method string getInstanceId()
230
 * @method $this withInstanceId($value)
231
 */
232
class DescribeCurrentNodeInfo extends Rpc
233
{
234
}
235
236
/**
237
 * @method string getPageNumber()
238
 * @method $this withPageNumber($value)
239
 * @method array getFilter()
240
 * @method string getPageSize()
241
 * @method $this withPageSize($value)
242
 */
243
class DescribeDistributionProducts extends Rpc
244
{
245
246
    /** @var string */
247
    public $method = 'GET';
248
249
    /**
250
     * @param array $filter
251
     *
252
     * @return $this
253
     */
254
	public function withFilter(array $filter)
255
	{
256
	    $this->data['Filter'] = $filter;
257
		foreach ($filter as $depth1 => $depth1Value) {
258
			if(isset($depth1Value['Value'])){
259
				$this->options['query']['Filter.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
260
			}
261
			if(isset($depth1Value['Key'])){
262
				$this->options['query']['Filter.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
263
			}
264
		}
265
266
		return $this;
267
    }
268
}
269
270
/**
271
 * @method string getCodes()
272
 * @method $this withCodes($value)
273
 */
274
class DescribeDistributionProductsLink extends Rpc
275
{
276
}
277
278
/**
279
 * @method string getOwnerId()
280
 * @method $this withOwnerId($value)
281
 * @method string getInstanceId()
282
 * @method $this withInstanceId($value)
283
 * @method string getOrderType()
284
 * @method $this withOrderType($value)
285
 */
286
class DescribeInstance extends Rpc
287
{
288
}
289
290
/**
291
 * @method string getCodes()
292
 * @method $this withCodes($value)
293
 * @method string getExceptCodes()
294
 * @method $this withExceptCodes($value)
295
 * @method string getPageNumber()
296
 * @method $this withPageNumber($value)
297
 * @method string getProductType()
298
 * @method $this withProductType($value)
299
 * @method string getPageSize()
300
 * @method $this withPageSize($value)
301
 */
302
class DescribeInstances extends Rpc
303
{
304
}
305
306
/**
307
 * @method string getLicenseCode()
308
 * @method $this withLicenseCode($value)
309
 */
310
class DescribeLicense extends Rpc
311
{
312
}
313
314
/**
315
 * @method string getOrderId()
316
 * @method $this withOrderId($value)
317
 */
318
class DescribeOrder extends Rpc
319
{
320
}
321
322
/**
323
 * @method string getCommodity()
324
 * @method $this withCommodity($value)
325
 * @method string getOrderType()
326
 * @method $this withOrderType($value)
327
 */
328
class DescribePrice extends Rpc
329
{
330
}
331
332
/**
333
 * @method string getCode()
334
 * @method $this withCode($value)
335
 * @method string getQueryDraft()
336
 * @method $this withQueryDraft($value)
337
 * @method string getAliUid()
338
 * @method $this withAliUid($value)
339
 */
340
class DescribeProduct extends Rpc
341
{
342
}
343
344
/**
345
 * @method string getSearchTerm()
346
 * @method $this withSearchTerm($value)
347
 * @method string getPageNumber()
348
 * @method $this withPageNumber($value)
349
 * @method array getFilter()
350
 * @method string getPageSize()
351
 * @method $this withPageSize($value)
352
 */
353
class DescribeProducts extends Rpc
354
{
355
356
    /**
357
     * @param array $filter
358
     *
359
     * @return $this
360
     */
361
	public function withFilter(array $filter)
362
	{
363
	    $this->data['Filter'] = $filter;
364
		foreach ($filter as $depth1 => $depth1Value) {
365
			if(isset($depth1Value['Value'])){
366
				$this->options['query']['Filter.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
367
			}
368
			if(isset($depth1Value['Key'])){
369
				$this->options['query']['Filter.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
370
			}
371
		}
372
373
		return $this;
374
    }
375
}
376
377
/**
378
 * @method string getInstanceId()
379
 * @method $this withInstanceId($value)
380
 */
381
class DescribeProjectAttachments extends Rpc
382
{
383
}
384
385
/**
386
 * @method string getInstanceId()
387
 * @method $this withInstanceId($value)
388
 */
389
class DescribeProjectInfo extends Rpc
390
{
391
}
392
393
/**
394
 * @method string getInstanceId()
395
 * @method $this withInstanceId($value)
396
 * @method string getPageIndex()
397
 * @method $this withPageIndex($value)
398
 */
399
class DescribeProjectMessages extends Rpc
400
{
401
}
402
403
/**
404
 * @method string getInstanceId()
405
 * @method $this withInstanceId($value)
406
 */
407
class DescribeProjectNodes extends Rpc
408
{
409
}
410
411
/**
412
 * @method string getInstanceId()
413
 * @method $this withInstanceId($value)
414
 */
415
class DescribeProjectOperateLogs extends Rpc
416
{
417
}
418
419
/**
420
 * @method string getTemplateForm()
421
 * @method $this withTemplateForm($value)
422
 * @method string getInstanceId()
423
 * @method $this withInstanceId($value)
424
 * @method string getRemark()
425
 * @method $this withRemark($value)
426
 * @method string getNodeId()
427
 * @method $this withNodeId($value)
428
 */
429
class FinishCurrentProjectNode extends Rpc
430
{
431
}
432
433
/**
434
 * @method string getInstanceId()
435
 * @method $this withInstanceId($value)
436
 * @method string getRemark()
437
 * @method $this withRemark($value)
438
 * @method string getNodeId()
439
 * @method $this withNodeId($value)
440
 */
441
class PauseProject extends Rpc
442
{
443
}
444
445
/**
446
 * @method string getMetering()
447
 * @method $this withMetering($value)
448
 */
449
class PushMeteringData extends Rpc
450
{
451
}
452
453
/**
454
 * @method string getInstanceId()
455
 * @method $this withInstanceId($value)
456
 * @method string getRemark()
457
 * @method $this withRemark($value)
458
 * @method string getNodeId()
459
 * @method $this withNodeId($value)
460
 */
461
class ResumeProject extends Rpc
462
{
463
}
464
465
/**
466
 * @method string getInstanceId()
467
 * @method $this withInstanceId($value)
468
 * @method string getRemark()
469
 * @method $this withRemark($value)
470
 * @method string getNodeId()
471
 * @method $this withNodeId($value)
472
 */
473
class RollbackCurrentProjectNode extends Rpc
474
{
475
}
476