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 ( 72a267...cc0c74 )
by
unknown
09:49
created

AutoRenewInstance::withOwnerId()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

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