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 ( be8851...1d97b2 )
by
unknown
10:15
created

UntagResources::withResourceId()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 4
c 0
b 0
f 0
dl 0
loc 8
rs 10
cc 2
nc 2
nop 1
1
<?php
2
3
namespace AlibabaCloud\Hitsdb\V20200615;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CreateLindormInstance createLindormInstance(array $options = [])
9
 * @method DescribeRegions describeRegions(array $options = [])
10
 * @method GetInstanceIpWhiteList getInstanceIpWhiteList(array $options = [])
11
 * @method GetLindormInstance getLindormInstance(array $options = [])
12
 * @method GetLindormInstanceEngineList getLindormInstanceEngineList(array $options = [])
13
 * @method GetLindormInstanceList getLindormInstanceList(array $options = [])
14
 * @method ListTagResources listTagResources(array $options = [])
15
 * @method ReleaseLindormInstance releaseLindormInstance(array $options = [])
16
 * @method TagResources tagResources(array $options = [])
17
 * @method UntagResources untagResources(array $options = [])
18
 * @method UpdateInstanceIpWhiteList updateInstanceIpWhiteList(array $options = [])
19
 * @method UpgradeLindormInstance upgradeLindormInstance(array $options = [])
20
 */
21
class HitsdbApiResolver extends ApiResolver
22
{
23
}
24
25
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
26
{
27
    /** @var string */
28
    public $product = 'hitsdb';
29
30
    /** @var string */
31
    public $version = '2020-06-15';
32
33
    /** @var string */
34
    public $method = 'POST';
35
36
    /** @var string */
37
    public $serviceCode = 'hitsdb';
38
}
39
40
/**
41
 * @method string getResourceOwnerId()
42
 * @method $this withResourceOwnerId($value)
43
 * @method string getClientToken()
44
 * @method $this withClientToken($value)
45
 * @method string getTsdbSpec()
46
 * @method $this withTsdbSpec($value)
47
 * @method string getFilestoreSpec()
48
 * @method $this withFilestoreSpec($value)
49
 * @method string getDuration()
50
 * @method $this withDuration($value)
51
 * @method string getResourceGroupId()
52
 * @method $this withResourceGroupId($value)
53
 * @method string getSecurityToken()
54
 * @method $this withSecurityToken($value)
55
 * @method string getTsdbNum()
56
 * @method $this withTsdbNum($value)
57
 * @method string getDiskCategory()
58
 * @method $this withDiskCategory($value)
59
 * @method string getLindormSpec()
60
 * @method $this withLindormSpec($value)
61
 * @method string getSolrNum()
62
 * @method $this withSolrNum($value)
63
 * @method string getColdStorage()
64
 * @method $this withColdStorage($value)
65
 * @method string getInstanceStorage()
66
 * @method $this withInstanceStorage($value)
67
 * @method string getSolrSpec()
68
 * @method $this withSolrSpec($value)
69
 * @method string getResourceOwnerAccount()
70
 * @method $this withResourceOwnerAccount($value)
71
 * @method string getOwnerAccount()
72
 * @method $this withOwnerAccount($value)
73
 * @method string getInstanceAlias()
74
 * @method $this withInstanceAlias($value)
75
 * @method string getFilestoreNum()
76
 * @method $this withFilestoreNum($value)
77
 * @method string getOwnerId()
78
 * @method $this withOwnerId($value)
79
 * @method string getLindormNum()
80
 * @method $this withLindormNum($value)
81
 * @method string getCoreSpec()
82
 * @method $this withCoreSpec($value)
83
 * @method string getVSwitchId()
84
 * @method $this withVSwitchId($value)
85
 * @method string getVPCId()
86
 * @method $this withVPCId($value)
87
 * @method string getZoneId()
88
 * @method $this withZoneId($value)
89
 * @method string getPayType()
90
 * @method $this withPayType($value)
91
 * @method string getPricingCycle()
92
 * @method $this withPricingCycle($value)
93
 */
94
class CreateLindormInstance extends Rpc
95
{
96
}
97
98
/**
99
 * @method string getResourceOwnerId()
100
 * @method $this withResourceOwnerId($value)
101
 * @method string getSecurityToken()
102
 * @method $this withSecurityToken($value)
103
 * @method string getResourceOwnerAccount()
104
 * @method $this withResourceOwnerAccount($value)
105
 * @method string getOwnerAccount()
106
 * @method $this withOwnerAccount($value)
107
 * @method string getOwnerId()
108
 * @method $this withOwnerId($value)
109
 * @method string getAcceptLanguage()
110
 * @method $this withAcceptLanguage($value)
111
 */
112
class DescribeRegions extends Rpc
113
{
114
}
115
116
/**
117
 * @method string getResourceOwnerId()
118
 * @method $this withResourceOwnerId($value)
119
 * @method string getSecurityToken()
120
 * @method $this withSecurityToken($value)
121
 * @method string getResourceOwnerAccount()
122
 * @method $this withResourceOwnerAccount($value)
123
 * @method string getOwnerAccount()
124
 * @method $this withOwnerAccount($value)
125
 * @method string getOwnerId()
126
 * @method $this withOwnerId($value)
127
 * @method string getGroupName()
128
 * @method $this withGroupName($value)
129
 * @method string getInstanceId()
130
 * @method $this withInstanceId($value)
131
 */
132
class GetInstanceIpWhiteList extends Rpc
133
{
134
}
135
136
/**
137
 * @method string getResourceOwnerId()
138
 * @method $this withResourceOwnerId($value)
139
 * @method string getSecurityToken()
140
 * @method $this withSecurityToken($value)
141
 * @method string getResourceOwnerAccount()
142
 * @method $this withResourceOwnerAccount($value)
143
 * @method string getOwnerAccount()
144
 * @method $this withOwnerAccount($value)
145
 * @method string getOwnerId()
146
 * @method $this withOwnerId($value)
147
 * @method string getInstanceId()
148
 * @method $this withInstanceId($value)
149
 */
150
class GetLindormInstance extends Rpc
151
{
152
}
153
154
/**
155
 * @method string getResourceOwnerId()
156
 * @method $this withResourceOwnerId($value)
157
 * @method string getSecurityToken()
158
 * @method $this withSecurityToken($value)
159
 * @method string getResourceOwnerAccount()
160
 * @method $this withResourceOwnerAccount($value)
161
 * @method string getOwnerAccount()
162
 * @method $this withOwnerAccount($value)
163
 * @method string getOwnerId()
164
 * @method $this withOwnerId($value)
165
 * @method string getInstanceId()
166
 * @method $this withInstanceId($value)
167
 */
168
class GetLindormInstanceEngineList extends Rpc
169
{
170
}
171
172
/**
173
 * @method string getResourceOwnerId()
174
 * @method $this withResourceOwnerId($value)
175
 * @method string getSupportEngine()
176
 * @method $this withSupportEngine($value)
177
 * @method string getPageNumber()
178
 * @method $this withPageNumber($value)
179
 * @method string getResourceGroupId()
180
 * @method $this withResourceGroupId($value)
181
 * @method string getSecurityToken()
182
 * @method $this withSecurityToken($value)
183
 * @method string getPageSize()
184
 * @method $this withPageSize($value)
185
 * @method array getTag()
186
 * @method string getQueryStr()
187
 * @method $this withQueryStr($value)
188
 * @method string getResourceOwnerAccount()
189
 * @method $this withResourceOwnerAccount($value)
190
 * @method string getOwnerAccount()
191
 * @method $this withOwnerAccount($value)
192
 * @method string getOwnerId()
193
 * @method $this withOwnerId($value)
194
 * @method string getServiceType()
195
 * @method $this withServiceType($value)
196
 */
197
class GetLindormInstanceList extends Rpc
198
{
199
200
    /**
201
     * @param array $tag
202
     *
203
     * @return $this
204
     */
205
	public function withTag(array $tag)
206
	{
207
	    $this->data['Tag'] = $tag;
208
		foreach ($tag as $depth1 => $depth1Value) {
209
			if(isset($depth1Value['Value'])){
210
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
211
			}
212
			if(isset($depth1Value['Key'])){
213
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
214
			}
215
		}
216
217
		return $this;
218
    }
219
}
220
221
/**
222
 * @method string getResourceOwnerId()
223
 * @method $this withResourceOwnerId($value)
224
 * @method string getSecurityToken()
225
 * @method $this withSecurityToken($value)
226
 * @method string getNextToken()
227
 * @method $this withNextToken($value)
228
 * @method array getTag()
229
 * @method array getResourceId()
230
 * @method string getResourceOwnerAccount()
231
 * @method $this withResourceOwnerAccount($value)
232
 * @method string getOwnerAccount()
233
 * @method $this withOwnerAccount($value)
234
 * @method string getOwnerId()
235
 * @method $this withOwnerId($value)
236
 * @method string getResourceType()
237
 * @method $this withResourceType($value)
238
 */
239
class ListTagResources extends Rpc
240
{
241
242
    /**
243
     * @param array $tag
244
     *
245
     * @return $this
246
     */
247
	public function withTag(array $tag)
248
	{
249
	    $this->data['Tag'] = $tag;
250
		foreach ($tag as $depth1 => $depth1Value) {
251
			if(isset($depth1Value['Value'])){
252
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
253
			}
254
			if(isset($depth1Value['Key'])){
255
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
256
			}
257
		}
258
259
		return $this;
260
    }
261
262
    /**
263
     * @param array $resourceId
264
     *
265
     * @return $this
266
     */
267
	public function withResourceId(array $resourceId)
268
	{
269
	    $this->data['ResourceId'] = $resourceId;
270
		foreach ($resourceId as $i => $iValue) {
271
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
272
		}
273
274
		return $this;
275
    }
276
}
277
278
/**
279
 * @method string getResourceOwnerId()
280
 * @method $this withResourceOwnerId($value)
281
 * @method string getSecurityToken()
282
 * @method $this withSecurityToken($value)
283
 * @method string getResourceOwnerAccount()
284
 * @method $this withResourceOwnerAccount($value)
285
 * @method string getOwnerAccount()
286
 * @method $this withOwnerAccount($value)
287
 * @method string getOwnerId()
288
 * @method $this withOwnerId($value)
289
 * @method string getInstanceId()
290
 * @method $this withInstanceId($value)
291
 */
292
class ReleaseLindormInstance extends Rpc
293
{
294
}
295
296
/**
297
 * @method string getResourceOwnerId()
298
 * @method $this withResourceOwnerId($value)
299
 * @method string getSecurityToken()
300
 * @method $this withSecurityToken($value)
301
 * @method array getTag()
302
 * @method array getResourceId()
303
 * @method string getResourceOwnerAccount()
304
 * @method $this withResourceOwnerAccount($value)
305
 * @method string getOwnerAccount()
306
 * @method $this withOwnerAccount($value)
307
 * @method string getOwnerId()
308
 * @method $this withOwnerId($value)
309
 * @method string getResourceType()
310
 * @method $this withResourceType($value)
311
 */
312
class TagResources extends Rpc
313
{
314
315
    /**
316
     * @param array $tag
317
     *
318
     * @return $this
319
     */
320
	public function withTag(array $tag)
321
	{
322
	    $this->data['Tag'] = $tag;
323
		foreach ($tag as $depth1 => $depth1Value) {
324
			if(isset($depth1Value['Value'])){
325
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
326
			}
327
			if(isset($depth1Value['Key'])){
328
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
329
			}
330
		}
331
332
		return $this;
333
    }
334
335
    /**
336
     * @param array $resourceId
337
     *
338
     * @return $this
339
     */
340
	public function withResourceId(array $resourceId)
341
	{
342
	    $this->data['ResourceId'] = $resourceId;
343
		foreach ($resourceId as $i => $iValue) {
344
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
345
		}
346
347
		return $this;
348
    }
349
}
350
351
/**
352
 * @method string getResourceOwnerId()
353
 * @method $this withResourceOwnerId($value)
354
 * @method string getSecurityToken()
355
 * @method $this withSecurityToken($value)
356
 * @method string getAll()
357
 * @method $this withAll($value)
358
 * @method array getResourceId()
359
 * @method string getResourceOwnerAccount()
360
 * @method $this withResourceOwnerAccount($value)
361
 * @method string getOwnerAccount()
362
 * @method $this withOwnerAccount($value)
363
 * @method string getOwnerId()
364
 * @method $this withOwnerId($value)
365
 * @method string getResourceType()
366
 * @method $this withResourceType($value)
367
 * @method array getTagKey()
368
 */
369
class UntagResources extends Rpc
370
{
371
372
    /**
373
     * @param array $resourceId
374
     *
375
     * @return $this
376
     */
377
	public function withResourceId(array $resourceId)
378
	{
379
	    $this->data['ResourceId'] = $resourceId;
380
		foreach ($resourceId as $i => $iValue) {
381
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
382
		}
383
384
		return $this;
385
    }
386
387
    /**
388
     * @param array $tagKey
389
     *
390
     * @return $this
391
     */
392
	public function withTagKey(array $tagKey)
393
	{
394
	    $this->data['TagKey'] = $tagKey;
395
		foreach ($tagKey as $i => $iValue) {
396
			$this->options['query']['TagKey.' . ($i + 1)] = $iValue;
397
		}
398
399
		return $this;
400
    }
401
}
402
403
/**
404
 * @method string getResourceOwnerId()
405
 * @method $this withResourceOwnerId($value)
406
 * @method string getSecurityToken()
407
 * @method $this withSecurityToken($value)
408
 * @method string getResourceOwnerAccount()
409
 * @method $this withResourceOwnerAccount($value)
410
 * @method string getOwnerAccount()
411
 * @method $this withOwnerAccount($value)
412
 * @method string getOwnerId()
413
 * @method $this withOwnerId($value)
414
 * @method string getGroupName()
415
 * @method $this withGroupName($value)
416
 * @method string getSecurityIpList()
417
 * @method $this withSecurityIpList($value)
418
 * @method string getInstanceId()
419
 * @method $this withInstanceId($value)
420
 */
421
class UpdateInstanceIpWhiteList extends Rpc
422
{
423
}
424
425
/**
426
 * @method string getResourceOwnerId()
427
 * @method $this withResourceOwnerId($value)
428
 * @method string getPhoenixCoreNum()
429
 * @method $this withPhoenixCoreNum($value)
430
 * @method string getPhoenixCoreSpec()
431
 * @method $this withPhoenixCoreSpec($value)
432
 * @method string getClientToken()
433
 * @method $this withClientToken($value)
434
 * @method string getUpgradeType()
435
 * @method $this withUpgradeType($value)
436
 * @method string getTsdbSpec()
437
 * @method $this withTsdbSpec($value)
438
 * @method string getFilestoreSpec()
439
 * @method $this withFilestoreSpec($value)
440
 * @method string getSecurityToken()
441
 * @method $this withSecurityToken($value)
442
 * @method string getTsdbNum()
443
 * @method $this withTsdbNum($value)
444
 * @method string getLindormSpec()
445
 * @method $this withLindormSpec($value)
446
 * @method string getSolrNum()
447
 * @method $this withSolrNum($value)
448
 * @method string getColdStorage()
449
 * @method $this withColdStorage($value)
450
 * @method string getSolrSpec()
451
 * @method $this withSolrSpec($value)
452
 * @method string getResourceOwnerAccount()
453
 * @method $this withResourceOwnerAccount($value)
454
 * @method string getOwnerAccount()
455
 * @method $this withOwnerAccount($value)
456
 * @method string getFilestoreNum()
457
 * @method $this withFilestoreNum($value)
458
 * @method string getOwnerId()
459
 * @method $this withOwnerId($value)
460
 * @method string getLindormNum()
461
 * @method $this withLindormNum($value)
462
 * @method string getCoreSpec()
463
 * @method $this withCoreSpec($value)
464
 * @method string getCoreNum()
465
 * @method $this withCoreNum($value)
466
 * @method string getLtsCoreNum()
467
 * @method $this withLtsCoreNum($value)
468
 * @method string getInstanceId()
469
 * @method $this withInstanceId($value)
470
 * @method string getLtsCoreSpec()
471
 * @method $this withLtsCoreSpec($value)
472
 * @method string getClusterStorage()
473
 * @method $this withClusterStorage($value)
474
 * @method string getZoneId()
475
 * @method $this withZoneId($value)
476
 */
477
class UpgradeLindormInstance extends Rpc
478
{
479
}
480