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 ( a9c70a...3548a8 )
by
unknown
05:40
created

DescribeInstances::withTag()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 9
Code Lines 5

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 5
c 0
b 0
f 0
dl 0
loc 9
rs 10
cc 2
nc 2
nop 1
1
<?php
2
3
namespace AlibabaCloud\HBase\V20190101;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddUserHdfsInfo addUserHdfsInfo(array $options = [])
9
 * @method ConvertInstance convertInstance(array $options = [])
10
 * @method CreateHbaseHaSlb createHbaseHaSlb(array $options = [])
11
 * @method CreateInstance createInstance(array $options = [])
12
 * @method DeleteHbaseHaSlb deleteHbaseHaSlb(array $options = [])
13
 * @method DeleteInstance deleteInstance(array $options = [])
14
 * @method DeleteUserHdfsInfo deleteUserHdfsInfo(array $options = [])
15
 * @method DescribeDBInstanceUsage describeDBInstanceUsage(array $options = [])
16
 * @method DescribeEndpoints describeEndpoints(array $options = [])
17
 * @method DescribeInstance describeInstance(array $options = [])
18
 * @method DescribeInstances describeInstances(array $options = [])
19
 * @method DescribeInstanceType describeInstanceType(array $options = [])
20
 * @method DescribeIpWhitelist describeIpWhitelist(array $options = [])
21
 * @method DescribeRegions describeRegions(array $options = [])
22
 * @method DescribeSecurityGroups describeSecurityGroups(array $options = [])
23
 * @method ListTagResources listTagResources(array $options = [])
24
 * @method ListTags listTags(array $options = [])
25
 * @method ModifyInstanceMaintainTime modifyInstanceMaintainTime(array $options = [])
26
 * @method ModifyInstanceName modifyInstanceName(array $options = [])
27
 * @method ModifyIpWhitelist modifyIpWhitelist(array $options = [])
28
 * @method ModifySecurityGroups modifySecurityGroups(array $options = [])
29
 * @method ModifyUIAccountPassword modifyUIAccountPassword(array $options = [])
30
 * @method QueryHBaseHaDB queryHBaseHaDB(array $options = [])
31
 * @method QueryXpackRelateDB queryXpackRelateDB(array $options = [])
32
 * @method RenewInstance renewInstance(array $options = [])
33
 * @method ResizeDiskSize resizeDiskSize(array $options = [])
34
 * @method ResizeNodeCount resizeNodeCount(array $options = [])
35
 * @method RestartInstance restartInstance(array $options = [])
36
 * @method SwitchHbaseHaSlb switchHbaseHaSlb(array $options = [])
37
 * @method TagResources tagResources(array $options = [])
38
 * @method UnTagResources unTagResources(array $options = [])
39
 * @method XpackRelateDB xpackRelateDB(array $options = [])
40
 */
41
class HBaseApiResolver extends ApiResolver
42
{
43
}
44
45
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
46
{
47
    /** @var string */
48
    public $product = 'HBase';
49
50
    /** @var string */
51
    public $version = '2019-01-01';
52
53
    /** @var string */
54
    public $method = 'POST';
55
56
    /** @var string */
57
    public $serviceCode = 'hbase';
58
}
59
60
/**
61
 * @method string getExtInfo()
62
 * @method $this withExtInfo($value)
63
 * @method string getClusterId()
64
 * @method $this withClusterId($value)
65
 */
66
class AddUserHdfsInfo extends Rpc
67
{
68
}
69
70
/**
71
 * @method string getClusterId()
72
 * @method $this withClusterId($value)
73
 * @method string getDuration()
74
 * @method $this withDuration($value)
75
 * @method string getPricingCycle()
76
 * @method $this withPricingCycle($value)
77
 */
78
class ConvertInstance extends Rpc
79
{
80
}
81
82
/**
83
 * @method string getHaTypes()
84
 * @method $this withHaTypes($value)
85
 * @method string getHbaseType()
86
 * @method $this withHbaseType($value)
87
 * @method string getBdsId()
88
 * @method $this withBdsId($value)
89
 * @method string getHaId()
90
 * @method $this withHaId($value)
91
 */
92
class CreateHbaseHaSlb extends Rpc
93
{
94
}
95
96
/**
97
 * @method string getClusterName()
98
 * @method $this withClusterName($value)
99
 * @method string getDbInstanceConnType()
100
 * @method $this withDbInstanceConnType($value)
101
 * @method string getEngineVersion()
102
 * @method $this withEngineVersion($value)
103
 * @method string getDepMode()
104
 * @method $this withDepMode($value)
105
 * @method string getBackupId()
106
 * @method $this withBackupId($value)
107
 * @method string getDbInstanceType()
108
 * @method $this withDbInstanceType($value)
109
 * @method string getVSwitchId()
110
 * @method $this withVSwitchId($value)
111
 * @method string getSecurityIPList()
112
 * @method $this withSecurityIPList($value)
113
 * @method string getAutoRenew()
114
 * @method $this withAutoRenew($value)
115
 * @method string getNetType()
116
 * @method $this withNetType($value)
117
 * @method string getZoneId()
118
 * @method $this withZoneId($value)
119
 * @method string getCoreDiskType()
120
 * @method $this withCoreDiskType($value)
121
 * @method string getPricingCycle()
122
 * @method $this withPricingCycle($value)
123
 * @method string getCoreInstanceQuantity()
124
 * @method $this withCoreInstanceQuantity($value)
125
 * @method string getDuration()
126
 * @method $this withDuration($value)
127
 * @method string getEngine()
128
 * @method $this withEngine($value)
129
 * @method string getRestoreTime()
130
 * @method $this withRestoreTime($value)
131
 * @method string getSrcDBInstanceId()
132
 * @method $this withSrcDBInstanceId($value)
133
 * @method string getMasterInstanceType()
134
 * @method $this withMasterInstanceType($value)
135
 * @method string getColdStorageSize()
136
 * @method $this withColdStorageSize($value)
137
 * @method string getCoreDiskQuantity()
138
 * @method $this withCoreDiskQuantity($value)
139
 * @method string getIsColdStorage()
140
 * @method $this withIsColdStorage($value)
141
 * @method string getCoreInstanceType()
142
 * @method $this withCoreInstanceType($value)
143
 * @method string getCoreDiskSize()
144
 * @method $this withCoreDiskSize($value)
145
 * @method string getVpcId()
146
 * @method $this withVpcId($value)
147
 * @method string getDbType()
148
 * @method $this withDbType($value)
149
 * @method string getPayType()
150
 * @method $this withPayType($value)
151
 */
152
class CreateInstance extends Rpc
153
{
154
}
155
156
/**
157
 * @method string getHaId()
158
 * @method $this withHaId($value)
159
 * @method string getHaTypes()
160
 * @method $this withHaTypes($value)
161
 * @method string getBdsId()
162
 * @method $this withBdsId($value)
163
 */
164
class DeleteHbaseHaSlb extends Rpc
165
{
166
}
167
168
/**
169
 * @method string getImmediateDeleteFlag()
170
 * @method $this withImmediateDeleteFlag($value)
171
 * @method string getClusterId()
172
 * @method $this withClusterId($value)
173
 */
174
class DeleteInstance extends Rpc
175
{
176
}
177
178
/**
179
 * @method string getClusterId()
180
 * @method $this withClusterId($value)
181
 * @method string getNameService()
182
 * @method $this withNameService($value)
183
 */
184
class DeleteUserHdfsInfo extends Rpc
185
{
186
}
187
188
/**
189
 * @method string getClusterId()
190
 * @method $this withClusterId($value)
191
 */
192
class DescribeDBInstanceUsage extends Rpc
193
{
194
}
195
196
/**
197
 * @method string getClusterId()
198
 * @method $this withClusterId($value)
199
 */
200
class DescribeEndpoints extends Rpc
201
{
202
}
203
204
/**
205
 * @method string getClusterId()
206
 * @method $this withClusterId($value)
207
 */
208
class DescribeInstance extends Rpc
209
{
210
}
211
212
/**
213
 * @method string getClusterName()
214
 * @method $this withClusterName($value)
215
 * @method string getPageNumber()
216
 * @method $this withPageNumber($value)
217
 * @method string getPageSize()
218
 * @method $this withPageSize($value)
219
 * @method array getTag()
220
 * @method string getDbType()
221
 * @method $this withDbType($value)
222
 */
223
class DescribeInstances extends Rpc
224
{
225
226
    /**
227
     * @param array $tag
228
     *
229
     * @return $this
230
     */
231
	public function withTag(array $tag)
232
	{
233
	    $this->data['Tag'] = $tag;
234
		foreach ($tag as $depth1 => $depth1Value) {
235
			$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
236
			$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
237
		}
238
239
		return $this;
240
    }
241
}
242
243
/**
244
 * @method string getInstanceType()
245
 * @method $this withInstanceType($value)
246
 */
247
class DescribeInstanceType extends Rpc
248
{
249
}
250
251
/**
252
 * @method string getClusterId()
253
 * @method $this withClusterId($value)
254
 */
255
class DescribeIpWhitelist extends Rpc
256
{
257
}
258
259
/**
260
 * @method string getAcceptLanguage()
261
 * @method $this withAcceptLanguage($value)
262
 */
263
class DescribeRegions extends Rpc
264
{
265
}
266
267
/**
268
 * @method string getClusterId()
269
 * @method $this withClusterId($value)
270
 */
271
class DescribeSecurityGroups extends Rpc
272
{
273
}
274
275
/**
276
 * @method string getNextToken()
277
 * @method $this withNextToken($value)
278
 * @method array getTag()
279
 * @method array getResourceId()
280
 */
281
class ListTagResources extends Rpc
282
{
283
284
    /**
285
     * @param array $tag
286
     *
287
     * @return $this
288
     */
289
	public function withTag(array $tag)
290
	{
291
	    $this->data['Tag'] = $tag;
292
		foreach ($tag as $depth1 => $depth1Value) {
293
			$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
294
			$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
295
		}
296
297
		return $this;
298
    }
299
300
    /**
301
     * @param array $resourceId
302
     *
303
     * @return $this
304
     */
305
	public function withResourceId(array $resourceId)
306
	{
307
	    $this->data['ResourceId'] = $resourceId;
308
		foreach ($resourceId as $i => $iValue) {
309
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
310
		}
311
312
		return $this;
313
    }
314
}
315
316
class ListTags extends Rpc
317
{
318
}
319
320
/**
321
 * @method string getClusterId()
322
 * @method $this withClusterId($value)
323
 * @method string getMaintainEndTime()
324
 * @method $this withMaintainEndTime($value)
325
 * @method string getMaintainStartTime()
326
 * @method $this withMaintainStartTime($value)
327
 */
328
class ModifyInstanceMaintainTime extends Rpc
329
{
330
}
331
332
/**
333
 * @method string getClientToken()
334
 * @method $this withClientToken($value)
335
 * @method string getClusterName()
336
 * @method $this withClusterName($value)
337
 * @method string getClusterId()
338
 * @method $this withClusterId($value)
339
 * @method string getZoneId()
340
 * @method $this withZoneId($value)
341
 */
342
class ModifyInstanceName extends Rpc
343
{
344
}
345
346
/**
347
 * @method string getIpList()
348
 * @method $this withIpList($value)
349
 * @method string getIpVersion()
350
 * @method $this withIpVersion($value)
351
 * @method string getClusterId()
352
 * @method $this withClusterId($value)
353
 * @method string getGroupName()
354
 * @method $this withGroupName($value)
355
 */
356
class ModifyIpWhitelist extends Rpc
357
{
358
}
359
360
/**
361
 * @method string getClusterId()
362
 * @method $this withClusterId($value)
363
 * @method string getSecurityGroupIds()
364
 * @method $this withSecurityGroupIds($value)
365
 */
366
class ModifySecurityGroups extends Rpc
367
{
368
}
369
370
/**
371
 * @method string getClusterId()
372
 * @method $this withClusterId($value)
373
 * @method string getAccountPassword()
374
 * @method $this withAccountPassword($value)
375
 * @method string getAccountName()
376
 * @method $this withAccountName($value)
377
 */
378
class ModifyUIAccountPassword extends Rpc
379
{
380
}
381
382
/**
383
 * @method string getBdsId()
384
 * @method $this withBdsId($value)
385
 */
386
class QueryHBaseHaDB extends Rpc
387
{
388
}
389
390
/**
391
 * @method string getClusterId()
392
 * @method $this withClusterId($value)
393
 * @method string getRelateDbType()
394
 * @method $this withRelateDbType($value)
395
 */
396
class QueryXpackRelateDB extends Rpc
397
{
398
}
399
400
/**
401
 * @method string getClusterId()
402
 * @method $this withClusterId($value)
403
 * @method string getDuration()
404
 * @method $this withDuration($value)
405
 * @method string getPricingCycle()
406
 * @method $this withPricingCycle($value)
407
 */
408
class RenewInstance extends Rpc
409
{
410
}
411
412
/**
413
 * @method string getNodeDiskSize()
414
 * @method $this withNodeDiskSize($value)
415
 * @method string getClusterId()
416
 * @method $this withClusterId($value)
417
 */
418
class ResizeDiskSize extends Rpc
419
{
420
}
421
422
/**
423
 * @method string getClusterId()
424
 * @method $this withClusterId($value)
425
 * @method string getNodeCount()
426
 * @method $this withNodeCount($value)
427
 */
428
class ResizeNodeCount extends Rpc
429
{
430
}
431
432
/**
433
 * @method string getComponents()
434
 * @method $this withComponents($value)
435
 * @method string getClusterId()
436
 * @method $this withClusterId($value)
437
 */
438
class RestartInstance extends Rpc
439
{
440
}
441
442
/**
443
 * @method string getHaTypes()
444
 * @method $this withHaTypes($value)
445
 * @method string getHbaseType()
446
 * @method $this withHbaseType($value)
447
 * @method string getBdsId()
448
 * @method $this withBdsId($value)
449
 * @method string getHaId()
450
 * @method $this withHaId($value)
451
 */
452
class SwitchHbaseHaSlb extends Rpc
453
{
454
}
455
456
/**
457
 * @method array getResourceId()
458
 * @method array getTag()
459
 */
460
class TagResources extends Rpc
461
{
462
463
    /**
464
     * @param array $resourceId
465
     *
466
     * @return $this
467
     */
468
	public function withResourceId(array $resourceId)
469
	{
470
	    $this->data['ResourceId'] = $resourceId;
471
		foreach ($resourceId as $i => $iValue) {
472
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
473
		}
474
475
		return $this;
476
    }
477
478
    /**
479
     * @param array $tag
480
     *
481
     * @return $this
482
     */
483
	public function withTag(array $tag)
484
	{
485
	    $this->data['Tag'] = $tag;
486
		foreach ($tag as $depth1 => $depth1Value) {
487
			$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
488
			$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
489
		}
490
491
		return $this;
492
    }
493
}
494
495
/**
496
 * @method string getAll()
497
 * @method $this withAll($value)
498
 * @method array getResourceId()
499
 * @method array getTagKey()
500
 */
501
class UnTagResources extends Rpc
502
{
503
504
    /**
505
     * @param array $resourceId
506
     *
507
     * @return $this
508
     */
509
	public function withResourceId(array $resourceId)
510
	{
511
	    $this->data['ResourceId'] = $resourceId;
512
		foreach ($resourceId as $i => $iValue) {
513
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
514
		}
515
516
		return $this;
517
    }
518
519
    /**
520
     * @param array $tagKey
521
     *
522
     * @return $this
523
     */
524
	public function withTagKey(array $tagKey)
525
	{
526
	    $this->data['TagKey'] = $tagKey;
527
		foreach ($tagKey as $i => $iValue) {
528
			$this->options['query']['TagKey.' . ($i + 1)] = $iValue;
529
		}
530
531
		return $this;
532
    }
533
}
534
535
/**
536
 * @method string getClusterId()
537
 * @method $this withClusterId($value)
538
 * @method string getRelateDbType()
539
 * @method $this withRelateDbType($value)
540
 * @method string getDbClusterIds()
541
 * @method $this withDbClusterIds($value)
542
 */
543
class XpackRelateDB extends Rpc
544
{
545
}
546