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 ( b6dcac...436b2e )
by
unknown
09:39
created

DescribeDBClusters   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 6
c 1
b 0
f 0
dl 0
loc 17
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A withTag() 0 9 2
1
<?php
2
3
namespace AlibabaCloud\Adb\V20190315;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AllocateClusterPublicConnection allocateClusterPublicConnection(array $options = [])
9
 * @method CreateAccount createAccount(array $options = [])
10
 * @method CreateDBCluster createDBCluster(array $options = [])
11
 * @method DeleteAccount deleteAccount(array $options = [])
12
 * @method DescribeAccounts describeAccounts(array $options = [])
13
 * @method DescribeAutoRenewAttribute describeAutoRenewAttribute(array $options = [])
14
 * @method DescribeBackupPolicy describeBackupPolicy(array $options = [])
15
 * @method DescribeBackups describeBackups(array $options = [])
16
 * @method DescribeDBClusterAccessWhiteList describeDBClusterAccessWhiteList(array $options = [])
17
 * @method DescribeDBClusterAttribute describeDBClusterAttribute(array $options = [])
18
 * @method DescribeDBClusterNetInfo describeDBClusterNetInfo(array $options = [])
19
 * @method DescribeDBClusterPerformance describeDBClusterPerformance(array $options = [])
20
 * @method DescribeDBClusters describeDBClusters(array $options = [])
21
 * @method DescribeOperatorPermission describeOperatorPermission(array $options = [])
22
 * @method DescribeRegions describeRegions(array $options = [])
23
 * @method DescribeSlowLogRecords describeSlowLogRecords(array $options = [])
24
 * @method DescribeSlowLogTrend describeSlowLogTrend(array $options = [])
25
 * @method GrantOperatorPermission grantOperatorPermission(array $options = [])
26
 * @method ModifyAccountDescription modifyAccountDescription(array $options = [])
27
 * @method ModifyAutoRenewAttribute modifyAutoRenewAttribute(array $options = [])
28
 * @method ModifyDBClusterAccessWhiteList modifyDBClusterAccessWhiteList(array $options = [])
29
 * @method ModifyDBClusterDescription modifyDBClusterDescription(array $options = [])
30
 * @method ModifyDBClusterMaintainTime modifyDBClusterMaintainTime(array $options = [])
31
 * @method ReleaseClusterPublicConnection releaseClusterPublicConnection(array $options = [])
32
 * @method ResetAccountPassword resetAccountPassword(array $options = [])
33
 * @method RevokeOperatorPermission revokeOperatorPermission(array $options = [])
34
 */
35
class AdbApiResolver extends ApiResolver
36
{
37
}
38
39
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
40
{
41
    /** @var string */
42
    public $product = 'adb';
43
44
    /** @var string */
45
    public $version = '2019-03-15';
46
47
    /** @var string */
48
    public $method = 'POST';
49
50
    /** @var string */
51
    public $serviceCode = 'ads';
52
}
53
54
/**
55
 * @method string getResourceOwnerId()
56
 * @method $this withResourceOwnerId($value)
57
 * @method string getConnectionStringPrefix()
58
 * @method $this withConnectionStringPrefix($value)
59
 * @method string getResourceOwnerAccount()
60
 * @method $this withResourceOwnerAccount($value)
61
 * @method string getDBClusterId()
62
 * @method $this withDBClusterId($value)
63
 * @method string getOwnerAccount()
64
 * @method $this withOwnerAccount($value)
65
 * @method string getOwnerId()
66
 * @method $this withOwnerId($value)
67
 */
68
class AllocateClusterPublicConnection extends Rpc
69
{
70
}
71
72
/**
73
 * @method string getResourceOwnerId()
74
 * @method $this withResourceOwnerId($value)
75
 * @method string getAccountDescription()
76
 * @method $this withAccountDescription($value)
77
 * @method string getAccountName()
78
 * @method $this withAccountName($value)
79
 * @method string getResourceOwnerAccount()
80
 * @method $this withResourceOwnerAccount($value)
81
 * @method string getDBClusterId()
82
 * @method $this withDBClusterId($value)
83
 * @method string getOwnerAccount()
84
 * @method $this withOwnerAccount($value)
85
 * @method string getOwnerId()
86
 * @method $this withOwnerId($value)
87
 * @method string getAccountPassword()
88
 * @method $this withAccountPassword($value)
89
 */
90
class CreateAccount extends Rpc
91
{
92
}
93
94
/**
95
 * @method string getResourceOwnerId()
96
 * @method $this withResourceOwnerId($value)
97
 * @method string getDBClusterDescription()
98
 * @method $this withDBClusterDescription($value)
99
 * @method string getClientToken()
100
 * @method $this withClientToken($value)
101
 * @method string getDBClusterCategory()
102
 * @method $this withDBClusterCategory($value)
103
 * @method string getDBClusterNetworkType()
104
 * @method $this withDBClusterNetworkType($value)
105
 * @method string getPeriod()
106
 * @method $this withPeriod($value)
107
 * @method string getResourceOwnerAccount()
108
 * @method $this withResourceOwnerAccount($value)
109
 * @method string getOwnerAccount()
110
 * @method $this withOwnerAccount($value)
111
 * @method string getDBClusterVersion()
112
 * @method $this withDBClusterVersion($value)
113
 * @method string getDBClusterClass()
114
 * @method $this withDBClusterClass($value)
115
 * @method string getOwnerId()
116
 * @method $this withOwnerId($value)
117
 * @method string getDBNodeGroupCount()
118
 * @method $this withDBNodeGroupCount($value)
119
 * @method string getUsedTime()
120
 * @method $this withUsedTime($value)
121
 * @method string getVSwitchId()
122
 * @method $this withVSwitchId($value)
123
 * @method string getDBNodeStorage()
124
 * @method $this withDBNodeStorage($value)
125
 * @method string getVPCId()
126
 * @method $this withVPCId($value)
127
 * @method string getZoneId()
128
 * @method $this withZoneId($value)
129
 * @method string getPayType()
130
 * @method $this withPayType($value)
131
 */
132
class CreateDBCluster extends Rpc
133
{
134
}
135
136
/**
137
 * @method string getResourceOwnerId()
138
 * @method $this withResourceOwnerId($value)
139
 * @method string getAccountName()
140
 * @method $this withAccountName($value)
141
 * @method string getResourceOwnerAccount()
142
 * @method $this withResourceOwnerAccount($value)
143
 * @method string getDBClusterId()
144
 * @method $this withDBClusterId($value)
145
 * @method string getOwnerAccount()
146
 * @method $this withOwnerAccount($value)
147
 * @method string getOwnerId()
148
 * @method $this withOwnerId($value)
149
 */
150
class DeleteAccount extends Rpc
151
{
152
}
153
154
/**
155
 * @method string getResourceOwnerId()
156
 * @method $this withResourceOwnerId($value)
157
 * @method string getAccountName()
158
 * @method $this withAccountName($value)
159
 * @method string getResourceOwnerAccount()
160
 * @method $this withResourceOwnerAccount($value)
161
 * @method string getDBClusterId()
162
 * @method $this withDBClusterId($value)
163
 * @method string getOwnerAccount()
164
 * @method $this withOwnerAccount($value)
165
 * @method string getOwnerId()
166
 * @method $this withOwnerId($value)
167
 */
168
class DescribeAccounts extends Rpc
169
{
170
}
171
172
/**
173
 * @method string getResourceOwnerId()
174
 * @method $this withResourceOwnerId($value)
175
 * @method string getPageNumber()
176
 * @method $this withPageNumber($value)
177
 * @method string getPageSize()
178
 * @method $this withPageSize($value)
179
 * @method string getResourceOwnerAccount()
180
 * @method $this withResourceOwnerAccount($value)
181
 * @method string getOwnerAccount()
182
 * @method $this withOwnerAccount($value)
183
 * @method string getOwnerId()
184
 * @method $this withOwnerId($value)
185
 * @method string getDBClusterIds()
186
 * @method $this withDBClusterIds($value)
187
 */
188
class DescribeAutoRenewAttribute extends Rpc
189
{
190
}
191
192
/**
193
 * @method string getResourceOwnerId()
194
 * @method $this withResourceOwnerId($value)
195
 * @method string getResourceOwnerAccount()
196
 * @method $this withResourceOwnerAccount($value)
197
 * @method string getDBClusterId()
198
 * @method $this withDBClusterId($value)
199
 * @method string getOwnerAccount()
200
 * @method $this withOwnerAccount($value)
201
 * @method string getOwnerId()
202
 * @method $this withOwnerId($value)
203
 */
204
class DescribeBackupPolicy extends Rpc
205
{
206
}
207
208
/**
209
 * @method string getResourceOwnerId()
210
 * @method $this withResourceOwnerId($value)
211
 * @method string getStartTime()
212
 * @method $this withStartTime($value)
213
 * @method string getPageNumber()
214
 * @method $this withPageNumber($value)
215
 * @method string getPageSize()
216
 * @method $this withPageSize($value)
217
 * @method string getResourceOwnerAccount()
218
 * @method $this withResourceOwnerAccount($value)
219
 * @method string getDBClusterId()
220
 * @method $this withDBClusterId($value)
221
 * @method string getOwnerAccount()
222
 * @method $this withOwnerAccount($value)
223
 * @method string getBackupId()
224
 * @method $this withBackupId($value)
225
 * @method string getEndTime()
226
 * @method $this withEndTime($value)
227
 * @method string getOwnerId()
228
 * @method $this withOwnerId($value)
229
 */
230
class DescribeBackups extends Rpc
231
{
232
}
233
234
/**
235
 * @method string getResourceOwnerId()
236
 * @method $this withResourceOwnerId($value)
237
 * @method string getResourceOwnerAccount()
238
 * @method $this withResourceOwnerAccount($value)
239
 * @method string getDBClusterId()
240
 * @method $this withDBClusterId($value)
241
 * @method string getOwnerAccount()
242
 * @method $this withOwnerAccount($value)
243
 * @method string getOwnerId()
244
 * @method $this withOwnerId($value)
245
 */
246
class DescribeDBClusterAccessWhiteList extends Rpc
247
{
248
}
249
250
/**
251
 * @method string getResourceOwnerId()
252
 * @method $this withResourceOwnerId($value)
253
 * @method string getResourceOwnerAccount()
254
 * @method $this withResourceOwnerAccount($value)
255
 * @method string getDBClusterId()
256
 * @method $this withDBClusterId($value)
257
 * @method string getOwnerAccount()
258
 * @method $this withOwnerAccount($value)
259
 * @method string getOwnerId()
260
 * @method $this withOwnerId($value)
261
 */
262
class DescribeDBClusterAttribute extends Rpc
263
{
264
}
265
266
/**
267
 * @method string getResourceOwnerId()
268
 * @method $this withResourceOwnerId($value)
269
 * @method string getResourceOwnerAccount()
270
 * @method $this withResourceOwnerAccount($value)
271
 * @method string getDBClusterId()
272
 * @method $this withDBClusterId($value)
273
 * @method string getOwnerAccount()
274
 * @method $this withOwnerAccount($value)
275
 * @method string getOwnerId()
276
 * @method $this withOwnerId($value)
277
 */
278
class DescribeDBClusterNetInfo extends Rpc
279
{
280
}
281
282
/**
283
 * @method string getResourceOwnerId()
284
 * @method $this withResourceOwnerId($value)
285
 * @method string getStartTime()
286
 * @method $this withStartTime($value)
287
 * @method string getKey()
288
 * @method $this withKey($value)
289
 * @method string getResourceOwnerAccount()
290
 * @method $this withResourceOwnerAccount($value)
291
 * @method string getDBClusterId()
292
 * @method $this withDBClusterId($value)
293
 * @method string getOwnerAccount()
294
 * @method $this withOwnerAccount($value)
295
 * @method string getEndTime()
296
 * @method $this withEndTime($value)
297
 * @method string getOwnerId()
298
 * @method $this withOwnerId($value)
299
 */
300
class DescribeDBClusterPerformance extends Rpc
301
{
302
}
303
304
/**
305
 * @method string getResourceOwnerId()
306
 * @method $this withResourceOwnerId($value)
307
 * @method string getDBClusterDescription()
308
 * @method $this withDBClusterDescription($value)
309
 * @method string getDBClusterStatus()
310
 * @method $this withDBClusterStatus($value)
311
 * @method string getPageNumber()
312
 * @method $this withPageNumber($value)
313
 * @method string getPageSize()
314
 * @method $this withPageSize($value)
315
 * @method array getTag()
316
 * @method string getResourceOwnerAccount()
317
 * @method $this withResourceOwnerAccount($value)
318
 * @method string getOwnerAccount()
319
 * @method $this withOwnerAccount($value)
320
 * @method string getOwnerId()
321
 * @method $this withOwnerId($value)
322
 * @method string getDBClusterIds()
323
 * @method $this withDBClusterIds($value)
324
 */
325
class DescribeDBClusters extends Rpc
326
{
327
328
    /**
329
     * @param array $tag
330
     *
331
     * @return $this
332
     */
333
	public function withTag(array $tag)
334
	{
335
	    $this->data['Tag'] = $tag;
336
		foreach ($tag as $depth1 => $depth1Value) {
337
			$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
338
			$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
339
		}
340
341
		return $this;
342
    }
343
}
344
345
/**
346
 * @method string getResourceOwnerId()
347
 * @method $this withResourceOwnerId($value)
348
 * @method string getResourceOwnerAccount()
349
 * @method $this withResourceOwnerAccount($value)
350
 * @method string getDBClusterId()
351
 * @method $this withDBClusterId($value)
352
 * @method string getOwnerAccount()
353
 * @method $this withOwnerAccount($value)
354
 * @method string getOwnerId()
355
 * @method $this withOwnerId($value)
356
 */
357
class DescribeOperatorPermission extends Rpc
358
{
359
}
360
361
/**
362
 * @method string getResourceOwnerId()
363
 * @method $this withResourceOwnerId($value)
364
 * @method string getResourceOwnerAccount()
365
 * @method $this withResourceOwnerAccount($value)
366
 * @method string getOwnerAccount()
367
 * @method $this withOwnerAccount($value)
368
 * @method string getOwnerId()
369
 * @method $this withOwnerId($value)
370
 */
371
class DescribeRegions extends Rpc
372
{
373
}
374
375
/**
376
 * @method string getResourceOwnerId()
377
 * @method $this withResourceOwnerId($value)
378
 * @method string getStartTime()
379
 * @method $this withStartTime($value)
380
 * @method string getPageNumber()
381
 * @method $this withPageNumber($value)
382
 * @method string getPageSize()
383
 * @method $this withPageSize($value)
384
 * @method string getResourceOwnerAccount()
385
 * @method $this withResourceOwnerAccount($value)
386
 * @method string getDBClusterId()
387
 * @method $this withDBClusterId($value)
388
 * @method string getOwnerAccount()
389
 * @method $this withOwnerAccount($value)
390
 * @method string getEndTime()
391
 * @method $this withEndTime($value)
392
 * @method string getOwnerId()
393
 * @method $this withOwnerId($value)
394
 * @method string getDBName()
395
 * @method $this withDBName($value)
396
 */
397
class DescribeSlowLogRecords extends Rpc
398
{
399
}
400
401
/**
402
 * @method string getResourceOwnerId()
403
 * @method $this withResourceOwnerId($value)
404
 * @method string getStartTime()
405
 * @method $this withStartTime($value)
406
 * @method string getResourceOwnerAccount()
407
 * @method $this withResourceOwnerAccount($value)
408
 * @method string getDBClusterId()
409
 * @method $this withDBClusterId($value)
410
 * @method string getOwnerAccount()
411
 * @method $this withOwnerAccount($value)
412
 * @method string getEndTime()
413
 * @method $this withEndTime($value)
414
 * @method string getOwnerId()
415
 * @method $this withOwnerId($value)
416
 * @method string getDBName()
417
 * @method $this withDBName($value)
418
 */
419
class DescribeSlowLogTrend extends Rpc
420
{
421
}
422
423
/**
424
 * @method string getPrivileges()
425
 * @method $this withPrivileges($value)
426
 * @method string getResourceOwnerId()
427
 * @method $this withResourceOwnerId($value)
428
 * @method string getResourceOwnerAccount()
429
 * @method $this withResourceOwnerAccount($value)
430
 * @method string getDBClusterId()
431
 * @method $this withDBClusterId($value)
432
 * @method string getOwnerAccount()
433
 * @method $this withOwnerAccount($value)
434
 * @method string getOwnerId()
435
 * @method $this withOwnerId($value)
436
 * @method string getExpiredTime()
437
 * @method $this withExpiredTime($value)
438
 */
439
class GrantOperatorPermission extends Rpc
440
{
441
}
442
443
/**
444
 * @method string getResourceOwnerId()
445
 * @method $this withResourceOwnerId($value)
446
 * @method string getAccountDescription()
447
 * @method $this withAccountDescription($value)
448
 * @method string getAccountName()
449
 * @method $this withAccountName($value)
450
 * @method string getResourceOwnerAccount()
451
 * @method $this withResourceOwnerAccount($value)
452
 * @method string getDBClusterId()
453
 * @method $this withDBClusterId($value)
454
 * @method string getOwnerAccount()
455
 * @method $this withOwnerAccount($value)
456
 * @method string getOwnerId()
457
 * @method $this withOwnerId($value)
458
 */
459
class ModifyAccountDescription extends Rpc
460
{
461
}
462
463
/**
464
 * @method string getResourceOwnerId()
465
 * @method $this withResourceOwnerId($value)
466
 * @method string getDuration()
467
 * @method $this withDuration($value)
468
 * @method string getRenewalStatus()
469
 * @method $this withRenewalStatus($value)
470
 * @method string getResourceOwnerAccount()
471
 * @method $this withResourceOwnerAccount($value)
472
 * @method string getDBClusterId()
473
 * @method $this withDBClusterId($value)
474
 * @method string getOwnerAccount()
475
 * @method $this withOwnerAccount($value)
476
 * @method string getOwnerId()
477
 * @method $this withOwnerId($value)
478
 * @method string getPeriodUnit()
479
 * @method $this withPeriodUnit($value)
480
 */
481
class ModifyAutoRenewAttribute extends Rpc
482
{
483
}
484
485
/**
486
 * @method string getResourceOwnerId()
487
 * @method $this withResourceOwnerId($value)
488
 * @method string getSecurityIps()
489
 * @method $this withSecurityIps($value)
490
 * @method string getDBClusterIPArrayAttribute()
491
 * @method $this withDBClusterIPArrayAttribute($value)
492
 * @method string getModifyMode()
493
 * @method $this withModifyMode($value)
494
 * @method string getResourceOwnerAccount()
495
 * @method $this withResourceOwnerAccount($value)
496
 * @method string getDBClusterId()
497
 * @method $this withDBClusterId($value)
498
 * @method string getOwnerAccount()
499
 * @method $this withOwnerAccount($value)
500
 * @method string getOwnerId()
501
 * @method $this withOwnerId($value)
502
 * @method string getDBClusterIPArrayName()
503
 * @method $this withDBClusterIPArrayName($value)
504
 */
505
class ModifyDBClusterAccessWhiteList extends Rpc
506
{
507
}
508
509
/**
510
 * @method string getResourceOwnerId()
511
 * @method $this withResourceOwnerId($value)
512
 * @method string getDBClusterDescription()
513
 * @method $this withDBClusterDescription($value)
514
 * @method string getResourceOwnerAccount()
515
 * @method $this withResourceOwnerAccount($value)
516
 * @method string getDBClusterId()
517
 * @method $this withDBClusterId($value)
518
 * @method string getOwnerAccount()
519
 * @method $this withOwnerAccount($value)
520
 * @method string getOwnerId()
521
 * @method $this withOwnerId($value)
522
 */
523
class ModifyDBClusterDescription extends Rpc
524
{
525
}
526
527
/**
528
 * @method string getResourceOwnerId()
529
 * @method $this withResourceOwnerId($value)
530
 * @method string getMaintainTime()
531
 * @method $this withMaintainTime($value)
532
 * @method string getResourceOwnerAccount()
533
 * @method $this withResourceOwnerAccount($value)
534
 * @method string getDBClusterId()
535
 * @method $this withDBClusterId($value)
536
 * @method string getOwnerAccount()
537
 * @method $this withOwnerAccount($value)
538
 * @method string getOwnerId()
539
 * @method $this withOwnerId($value)
540
 */
541
class ModifyDBClusterMaintainTime extends Rpc
542
{
543
}
544
545
/**
546
 * @method string getResourceOwnerId()
547
 * @method $this withResourceOwnerId($value)
548
 * @method string getResourceOwnerAccount()
549
 * @method $this withResourceOwnerAccount($value)
550
 * @method string getDBClusterId()
551
 * @method $this withDBClusterId($value)
552
 * @method string getOwnerAccount()
553
 * @method $this withOwnerAccount($value)
554
 * @method string getOwnerId()
555
 * @method $this withOwnerId($value)
556
 */
557
class ReleaseClusterPublicConnection extends Rpc
558
{
559
}
560
561
/**
562
 * @method string getResourceOwnerId()
563
 * @method $this withResourceOwnerId($value)
564
 * @method string getAccountName()
565
 * @method $this withAccountName($value)
566
 * @method string getResourceOwnerAccount()
567
 * @method $this withResourceOwnerAccount($value)
568
 * @method string getDBClusterId()
569
 * @method $this withDBClusterId($value)
570
 * @method string getOwnerAccount()
571
 * @method $this withOwnerAccount($value)
572
 * @method string getOwnerId()
573
 * @method $this withOwnerId($value)
574
 * @method string getAccountPassword()
575
 * @method $this withAccountPassword($value)
576
 */
577
class ResetAccountPassword extends Rpc
578
{
579
}
580
581
/**
582
 * @method string getResourceOwnerId()
583
 * @method $this withResourceOwnerId($value)
584
 * @method string getResourceOwnerAccount()
585
 * @method $this withResourceOwnerAccount($value)
586
 * @method string getDBClusterId()
587
 * @method $this withDBClusterId($value)
588
 * @method string getOwnerAccount()
589
 * @method $this withOwnerAccount($value)
590
 * @method string getOwnerId()
591
 * @method $this withOwnerId($value)
592
 */
593
class RevokeOperatorPermission extends Rpc
594
{
595
}
596