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 ( d0a328...a37a6f )
by
unknown
06:49
created

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