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.
Passed
Push — master ( f38619...77f9cd )
by Yong
02:07 queued 11s
created

UntagResources   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 31
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 4
eloc 9
dl 0
loc 31
c 0
b 0
f 0
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A withResourceId() 0 8 2
A withTagKey() 0 8 2
1
<?php
2
3
namespace AlibabaCloud\Gpdb\V20160503;
4
5
use AlibabaCloud\Rpc;
6
7
class V20160503Rpc extends Rpc
8
{
9
    /** @var string */
10
    public $product = 'gpdb';
11
12
    /** @var string */
13
    public $version = '2016-05-03';
14
15
    /** @var string */
16
    public $method = 'POST';
17
18
    /** @var string */
19
    public $serviceCode = 'gpdb';
20
}
21
22
/**
23
 * @method string getAll()
24
 * @method $this withAll($value)
25
 * @method string getResourceOwnerId()
26
 * @method $this withResourceOwnerId($value)
27
 * @method array getResourceId()
28
 * @method string getResourceOwnerAccount()
29
 * @method $this withResourceOwnerAccount($value)
30
 * @method string getOwnerAccount()
31
 * @method $this withOwnerAccount($value)
32
 * @method string getOwnerId()
33
 * @method $this withOwnerId($value)
34
 * @method array getTagKey()
35
 * @method string getResourceType()
36
 * @method $this withResourceType($value)
37
 */
38
class UntagResources extends V20160503Rpc
39
{
40
41
    /**
42
     * @param array $value
43
     *
44
     * @return $this
45
     */
46
    public function withResourceId(array $value)
47
    {
48
        $this->data['ResourceId'] = $value;
49
        foreach ($value as $i => $iValue) {
50
            $this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
51
        }
52
53
        return $this;
54
    }
55
56
    /**
57
     * @param array $value
58
     *
59
     * @return $this
60
     */
61
    public function withTagKey(array $value)
62
    {
63
        $this->data['TagKey'] = $value;
64
        foreach ($value as $i => $iValue) {
65
            $this->options['query']['TagKey.' . ($i + 1)] = $iValue;
66
        }
67
68
        return $this;
69
    }
70
}
71
72
/**
73
 * @method string getResourceOwnerId()
74
 * @method $this withResourceOwnerId($value)
75
 * @method array getResourceId()
76
 * @method string getResourceOwnerAccount()
77
 * @method $this withResourceOwnerAccount($value)
78
 * @method string getOwnerAccount()
79
 * @method $this withOwnerAccount($value)
80
 * @method array getTag()
81
 * @method string getOwnerId()
82
 * @method $this withOwnerId($value)
83
 * @method string getResourceType()
84
 * @method $this withResourceType($value)
85
 */
86
class TagResources extends V20160503Rpc
87
{
88
89
    /**
90
     * @param array $value
91
     *
92
     * @return $this
93
     */
94
    public function withResourceId(array $value)
95
    {
96
        $this->data['ResourceId'] = $value;
97
        foreach ($value as $i => $iValue) {
98
            $this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
99
        }
100
101
        return $this;
102
    }
103
104
    /**
105
     * @param array $value
106
     *
107
     * @return $this
108
     */
109
    public function withTag(array $value)
110
    {
111
        $this->data['Tag'] = $value;
112
        foreach ($value as $i => $iValue) {
113
            $this->options['query']['Tag.' . ($i + 1) . '.Value'] = $value[$i]['Value'];
114
            $this->options['query']['Tag.' . ($i + 1) . '.Key'] = $value[$i]['Key'];
115
        }
116
117
        return $this;
118
    }
119
}
120
121
/**
122
 * @method string getResourceOwnerId()
123
 * @method $this withResourceOwnerId($value)
124
 * @method array getResourceId()
125
 * @method string getResourceOwnerAccount()
126
 * @method $this withResourceOwnerAccount($value)
127
 * @method string getNextToken()
128
 * @method $this withNextToken($value)
129
 * @method string getOwnerAccount()
130
 * @method $this withOwnerAccount($value)
131
 * @method array getTag()
132
 * @method string getOwnerId()
133
 * @method $this withOwnerId($value)
134
 * @method string getResourceType()
135
 * @method $this withResourceType($value)
136
 */
137
class ListTagResources extends V20160503Rpc
138
{
139
140
    /**
141
     * @param array $value
142
     *
143
     * @return $this
144
     */
145
    public function withResourceId(array $value)
146
    {
147
        $this->data['ResourceId'] = $value;
148
        foreach ($value as $i => $iValue) {
149
            $this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
150
        }
151
152
        return $this;
153
    }
154
155
    /**
156
     * @param array $value
157
     *
158
     * @return $this
159
     */
160
    public function withTag(array $value)
161
    {
162
        $this->data['Tag'] = $value;
163
        foreach ($value as $i => $iValue) {
164
            $this->options['query']['Tag.' . ($i + 1) . '.Value'] = $value[$i]['Value'];
165
            $this->options['query']['Tag.' . ($i + 1) . '.Key'] = $value[$i]['Key'];
166
        }
167
168
        return $this;
169
    }
170
}
171
172
/**
173
 * @method string getResourceOwnerId()
174
 * @method $this withResourceOwnerId($value)
175
 * @method string getSecurityToken()
176
 * @method $this withSecurityToken($value)
177
 * @method string getResourceOwnerAccount()
178
 * @method $this withResourceOwnerAccount($value)
179
 * @method string getOwnerAccount()
180
 * @method $this withOwnerAccount($value)
181
 * @method string getZoneId()
182
 * @method $this withZoneId($value)
183
 * @method string getOwnerId()
184
 * @method $this withOwnerId($value)
185
 */
186
class DescribeRdsVpcs extends V20160503Rpc
187
{
188
}
189
190
/**
191
 * @method string getResourceOwnerId()
192
 * @method $this withResourceOwnerId($value)
193
 * @method string getSecurityToken()
194
 * @method $this withSecurityToken($value)
195
 * @method string getResourceOwnerAccount()
196
 * @method $this withResourceOwnerAccount($value)
197
 * @method string getOwnerAccount()
198
 * @method $this withOwnerAccount($value)
199
 * @method string getVpcId()
200
 * @method $this withVpcId($value)
201
 * @method string getZoneId()
202
 * @method $this withZoneId($value)
203
 * @method string getOwnerId()
204
 * @method $this withOwnerId($value)
205
 */
206
class DescribeRdsVSwitchs extends V20160503Rpc
207
{
208
}
209
210
/**
211
 * @method string getBusinessUnit()
212
 * @method $this withBusinessUnit($value)
213
 * @method string getDBInstanceId()
214
 * @method $this withDBInstanceId($value)
215
 * @method string getOwnerId()
216
 * @method $this withOwnerId($value)
217
 */
218
class AddBuDBInstanceRelation extends V20160503Rpc
219
{
220
}
221
222
/**
223
 * @method string getDatabase()
224
 * @method $this withDatabase($value)
225
 * @method string getForm()
226
 * @method $this withForm($value)
227
 * @method string getPageSize()
228
 * @method $this withPageSize($value)
229
 * @method string getEndTime()
230
 * @method $this withEndTime($value)
231
 * @method string getDBInstanceId()
232
 * @method $this withDBInstanceId($value)
233
 * @method string getStartTime()
234
 * @method $this withStartTime($value)
235
 * @method string getUser()
236
 * @method $this withUser($value)
237
 * @method string getQueryKeywords()
238
 * @method $this withQueryKeywords($value)
239
 * @method string getPageNumber()
240
 * @method $this withPageNumber($value)
241
 */
242
class DescribeSQLLogRecords extends V20160503Rpc
243
{
244
}
245
246
/**
247
 * @method string getDBInstanceId()
248
 * @method $this withDBInstanceId($value)
249
 */
250
class DescribeSQLCollectorPolicy extends V20160503Rpc
251
{
252
}
253
254
/**
255
 * @method string getSQLCollectorStatus()
256
 * @method $this withSQLCollectorStatus($value)
257
 * @method string getDBInstanceId()
258
 * @method $this withDBInstanceId($value)
259
 */
260
class ModifySQLCollectorPolicy extends V20160503Rpc
261
{
262
}
263
264
/**
265
 * @method string getSQLId()
266
 * @method $this withSQLId($value)
267
 * @method string getDBName()
268
 * @method $this withDBName($value)
269
 * @method string getPageSize()
270
 * @method $this withPageSize($value)
271
 * @method string getEndTime()
272
 * @method $this withEndTime($value)
273
 * @method string getDBInstanceId()
274
 * @method $this withDBInstanceId($value)
275
 * @method string getStartTime()
276
 * @method $this withStartTime($value)
277
 * @method string getPageNumber()
278
 * @method $this withPageNumber($value)
279
 */
280
class DescribeSlowLogRecords extends V20160503Rpc
281
{
282
}
283
284
/**
285
 * @method string getFileName()
286
 * @method $this withFileName($value)
287
 * @method string getPageSize()
288
 * @method $this withPageSize($value)
289
 * @method string getDBInstanceId()
290
 * @method $this withDBInstanceId($value)
291
 * @method string getPageNumber()
292
 * @method $this withPageNumber($value)
293
 */
294
class DescribeSQLLogFiles extends V20160503Rpc
295
{
296
}
297
298
/**
299
 * @method string getAccountPassword()
300
 * @method $this withAccountPassword($value)
301
 * @method string getAccountName()
302
 * @method $this withAccountName($value)
303
 * @method string getDBInstanceId()
304
 * @method $this withDBInstanceId($value)
305
 */
306
class ResetAccountPassword extends V20160503Rpc
307
{
308
}
309
310
/**
311
 * @method string getClientToken()
312
 * @method $this withClientToken($value)
313
 * @method string getDBInstanceId()
314
 * @method $this withDBInstanceId($value)
315
 */
316
class RestartDBInstance extends V20160503Rpc
317
{
318
}
319
320
/**
321
 * @method string getConnectionStringPrefix()
322
 * @method $this withConnectionStringPrefix($value)
323
 * @method string getPort()
324
 * @method $this withPort($value)
325
 * @method string getDBInstanceId()
326
 * @method $this withDBInstanceId($value)
327
 */
328
class SwitchDBInstanceNetType extends V20160503Rpc
329
{
330
}
331
332
/**
333
 * @method string getSecurityIPList()
334
 * @method $this withSecurityIPList($value)
335
 * @method string getDBInstanceIPArrayName()
336
 * @method $this withDBInstanceIPArrayName($value)
337
 * @method string getDBInstanceIPArrayAttribute()
338
 * @method $this withDBInstanceIPArrayAttribute($value)
339
 * @method string getDBInstanceId()
340
 * @method $this withDBInstanceId($value)
341
 */
342
class ModifySecurityIps extends V20160503Rpc
343
{
344
}
345
346
/**
347
 * @method string getDBInstanceId()
348
 * @method $this withDBInstanceId($value)
349
 * @method string getCurrentConnectionString()
350
 * @method $this withCurrentConnectionString($value)
351
 */
352
class ReleaseInstancePublicConnection extends V20160503Rpc
353
{
354
}
355
356
/**
357
 * @method string getDBInstanceId()
358
 * @method $this withDBInstanceId($value)
359
 * @method string getDBInstanceDescription()
360
 * @method $this withDBInstanceDescription($value)
361
 */
362
class ModifyDBInstanceDescription extends V20160503Rpc
363
{
364
}
365
366
/**
367
 * @method string getEndTime()
368
 * @method $this withEndTime($value)
369
 * @method string getDBInstanceId()
370
 * @method $this withDBInstanceId($value)
371
 * @method string getStartTime()
372
 * @method $this withStartTime($value)
373
 */
374
class ModifyDBInstanceMaintainTime extends V20160503Rpc
375
{
376
}
377
378
/**
379
 * @method string getVSwitchId()
380
 * @method $this withVSwitchId($value)
381
 * @method string getPrivateIpAddress()
382
 * @method $this withPrivateIpAddress($value)
383
 * @method string getVPCId()
384
 * @method $this withVPCId($value)
385
 * @method string getDBInstanceId()
386
 * @method $this withDBInstanceId($value)
387
 * @method string getInstanceNetworkType()
388
 * @method $this withInstanceNetworkType($value)
389
 */
390
class ModifyDBInstanceNetworkType extends V20160503Rpc
391
{
392
}
393
394
/**
395
 * @method string getAccountName()
396
 * @method $this withAccountName($value)
397
 * @method string getDBInstanceId()
398
 * @method $this withDBInstanceId($value)
399
 * @method string getAccountDescription()
400
 * @method $this withAccountDescription($value)
401
 */
402
class ModifyAccountDescription extends V20160503Rpc
403
{
404
}
405
406
/**
407
 * @method string getConnectionMode()
408
 * @method $this withConnectionMode($value)
409
 * @method string getDBInstanceId()
410
 * @method $this withDBInstanceId($value)
411
 */
412
class ModifyDBInstanceConnectionMode extends V20160503Rpc
413
{
414
}
415
416
/**
417
 * @method string getConnectionStringPrefix()
418
 * @method $this withConnectionStringPrefix($value)
419
 * @method string getPort()
420
 * @method $this withPort($value)
421
 * @method string getDBInstanceId()
422
 * @method $this withDBInstanceId($value)
423
 * @method string getCurrentConnectionString()
424
 * @method $this withCurrentConnectionString($value)
425
 */
426
class ModifyDBInstanceConnectionString extends V20160503Rpc
427
{
428
}
429
430
/**
431
 * @method string getEndTime()
432
 * @method $this withEndTime($value)
433
 * @method string getDBInstanceId()
434
 * @method $this withDBInstanceId($value)
435
 * @method string getStartTime()
436
 * @method $this withStartTime($value)
437
 * @method string getKey()
438
 * @method $this withKey($value)
439
 */
440
class DescribeDBInstancePerformance extends V20160503Rpc
441
{
442
}
443
444
/**
445
 * @method string getDBInstanceIds()
446
 * @method $this withDBInstanceIds($value)
447
 * @method string getPageSize()
448
 * @method $this withPageSize($value)
449
 * @method string getDBInstanceDescription()
450
 * @method $this withDBInstanceDescription($value)
451
 * @method array getTag()
452
 * @method string getOwnerId()
453
 * @method $this withOwnerId($value)
454
 * @method string getInstanceNetworkType()
455
 * @method $this withInstanceNetworkType($value)
456
 * @method string getPageNumber()
457
 * @method $this withPageNumber($value)
458
 */
459
class DescribeDBInstances extends V20160503Rpc
460
{
461
462
    /**
463
     * @param array $value
464
     *
465
     * @return $this
466
     */
467
    public function withTag(array $value)
468
    {
469
        $this->data['Tag'] = $value;
470
        foreach ($value as $i => $iValue) {
471
            $this->options['query']['Tag.' . ($i + 1) . '.Value'] = $value[$i]['Value'];
472
            $this->options['query']['Tag.' . ($i + 1) . '.Key'] = $value[$i]['Key'];
473
        }
474
475
        return $this;
476
    }
477
}
478
479
class DescribeRegions extends V20160503Rpc
480
{
481
}
482
483
/**
484
 * @method string getDBInstanceId()
485
 * @method $this withDBInstanceId($value)
486
 */
487
class DescribeResourceUsage extends V20160503Rpc
488
{
489
}
490
491
/**
492
 * @method string getDBInstanceId()
493
 * @method $this withDBInstanceId($value)
494
 * @method string getOwnerId()
495
 * @method $this withOwnerId($value)
496
 */
497
class DescribeDBInstanceAttribute extends V20160503Rpc
498
{
499
}
500
501
/**
502
 * @method string getDBInstanceId()
503
 * @method $this withDBInstanceId($value)
504
 */
505
class DescribeDBInstanceIPArrayList extends V20160503Rpc
506
{
507
}
508
509
/**
510
 * @method string getDBInstanceId()
511
 * @method $this withDBInstanceId($value)
512
 */
513
class DescribeDBInstanceNetInfo extends V20160503Rpc
514
{
515
}
516
517
/**
518
 * @method string getAccountPassword()
519
 * @method $this withAccountPassword($value)
520
 * @method string getAccountName()
521
 * @method $this withAccountName($value)
522
 * @method string getDatabaseName()
523
 * @method $this withDatabaseName($value)
524
 * @method string getDBInstanceId()
525
 * @method $this withDBInstanceId($value)
526
 * @method string getOwnerId()
527
 * @method $this withOwnerId($value)
528
 * @method string getAccountDescription()
529
 * @method $this withAccountDescription($value)
530
 */
531
class CreateAccount extends V20160503Rpc
532
{
533
}
534
535
/**
536
 * @method string getDBInstanceGroupCount()
537
 * @method $this withDBInstanceGroupCount($value)
538
 * @method string getPeriod()
539
 * @method $this withPeriod($value)
540
 * @method string getClientToken()
541
 * @method $this withClientToken($value)
542
 * @method string getEngineVersion()
543
 * @method $this withEngineVersion($value)
544
 * @method string getOwnerId()
545
 * @method $this withOwnerId($value)
546
 * @method string getUsedTime()
547
 * @method $this withUsedTime($value)
548
 * @method string getDBInstanceClass()
549
 * @method $this withDBInstanceClass($value)
550
 * @method string getSecurityIPList()
551
 * @method $this withSecurityIPList($value)
552
 * @method string getVSwitchId()
553
 * @method $this withVSwitchId($value)
554
 * @method string getPrivateIpAddress()
555
 * @method $this withPrivateIpAddress($value)
556
 * @method string getEngine()
557
 * @method $this withEngine($value)
558
 * @method string getVPCId()
559
 * @method $this withVPCId($value)
560
 * @method string getZoneId()
561
 * @method $this withZoneId($value)
562
 * @method string getDBInstanceDescription()
563
 * @method $this withDBInstanceDescription($value)
564
 * @method string getPayType()
565
 * @method $this withPayType($value)
566
 * @method string getInstanceNetworkType()
567
 * @method $this withInstanceNetworkType($value)
568
 */
569
class CreateDBInstance extends V20160503Rpc
570
{
571
}
572
573
/**
574
 * @method string getDBName()
575
 * @method $this withDBName($value)
576
 * @method string getDBInstanceId()
577
 * @method $this withDBInstanceId($value)
578
 */
579
class DeleteDatabase extends V20160503Rpc
580
{
581
}
582
583
/**
584
 * @method string getClientToken()
585
 * @method $this withClientToken($value)
586
 * @method string getDBInstanceId()
587
 * @method $this withDBInstanceId($value)
588
 * @method string getOwnerId()
589
 * @method $this withOwnerId($value)
590
 */
591
class DeleteDBInstance extends V20160503Rpc
592
{
593
}
594
595
/**
596
 * @method string getAccountName()
597
 * @method $this withAccountName($value)
598
 * @method string getDBInstanceId()
599
 * @method $this withDBInstanceId($value)
600
 */
601
class DescribeAccounts extends V20160503Rpc
602
{
603
}
604
605
/**
606
 * @method string getResourceOwnerId()
607
 * @method $this withResourceOwnerId($value)
608
 * @method string getConnectionStringPrefix()
609
 * @method $this withConnectionStringPrefix($value)
610
 * @method string getResourceOwnerAccount()
611
 * @method $this withResourceOwnerAccount($value)
612
 * @method string getPort()
613
 * @method $this withPort($value)
614
 * @method string getDBInstanceId()
615
 * @method $this withDBInstanceId($value)
616
 * @method string getOwnerId()
617
 * @method $this withOwnerId($value)
618
 */
619
class AllocateInstancePublicConnection extends V20160503Rpc
620
{
621
}
622