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 ( 63a2db...c184ec )
by Yong
04:23
created

DeleteDBNodes   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 2
eloc 5
dl 0
loc 16
c 0
b 0
f 0
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A withDBNodeId() 0 8 2
1
<?php
2
3
namespace AlibabaCloud\Polardb\V20170801;
4
5
use AlibabaCloud\ApiResolverTrait;
6
use AlibabaCloud\Rpc;
7
8
/**
9
 * Resolve Api based on the method name.
10
 *
11
 * @method DeleteDBNodes deleteDBNodes(array $options = [])
12
 * @method CreateDBNodes createDBNodes(array $options = [])
13
 * @method UntagResources untagResources(array $options = [])
14
 * @method TagResources tagResources(array $options = [])
15
 * @method ListTagResources listTagResources(array $options = [])
16
 * @method ModifyAccountPassword modifyAccountPassword(array $options = [])
17
 * @method ModifyDBDescription modifyDBDescription(array $options = [])
18
 * @method ModifyDBEndpointAddress modifyDBEndpointAddress(array $options = [])
19
 * @method CreateDBEndpointAddress createDBEndpointAddress(array $options = [])
20
 * @method DeleteDBEndpointAddress deleteDBEndpointAddress(array $options = [])
21
 * @method ModifyDBClusterEndpoint modifyDBClusterEndpoint(array $options = [])
22
 * @method DeleteDBClusterEndpoint deleteDBClusterEndpoint(array $options = [])
23
 * @method CreateDBClusterEndpoint createDBClusterEndpoint(array $options = [])
24
 * @method DescribeDBClusterEndpoints describeDBClusterEndpoints(array $options = [])
25
 * @method ModifyDBClusterParameters modifyDBClusterParameters(array $options = [])
26
 * @method DescribeDBClusterParameters describeDBClusterParameters(array $options = [])
27
 * @method RestartDBNode restartDBNode(array $options = [])
28
 * @method ModifyDBClusterAccessWhitelist modifyDBClusterAccessWhitelist(array $options = [])
29
 * @method DescribeDBClusterAccessWhitelist describeDBClusterAccessWhitelist(array $options = [])
30
 * @method ModifyDBClusterMaintainTime modifyDBClusterMaintainTime(array $options = [])
31
 * @method CreateDatabase createDatabase(array $options = [])
32
 * @method DescribeDatabases describeDatabases(array $options = [])
33
 * @method RevokeAccountPrivilege revokeAccountPrivilege(array $options = [])
34
 * @method ResetAccount resetAccount(array $options = [])
35
 * @method GrantAccountPrivilege grantAccountPrivilege(array $options = [])
36
 * @method DeleteDatabase deleteDatabase(array $options = [])
37
 * @method DeleteAccount deleteAccount(array $options = [])
38
 * @method DeleteBackup deleteBackup(array $options = [])
39
 * @method CreateBackup createBackup(array $options = [])
40
 * @method CreateDBCluster createDBCluster(array $options = [])
41
 * @method DescribeRegions describeRegions(array $options = [])
42
 * @method ModifyAccountDescription modifyAccountDescription(array $options = [])
43
 * @method ModifyBackupPolicy modifyBackupPolicy(array $options = [])
44
 * @method ModifyDBClusterDescription modifyDBClusterDescription(array $options = [])
45
 * @method DescribeDBClusterAttribute describeDBClusterAttribute(array $options = [])
46
 * @method DescribeDBClusters describeDBClusters(array $options = [])
47
 * @method CreateAccount createAccount(array $options = [])
48
 * @method DeleteDBCluster deleteDBCluster(array $options = [])
49
 * @method DescribeAccounts describeAccounts(array $options = [])
50
 * @method DescribeBackupPolicy describeBackupPolicy(array $options = [])
51
 * @method DescribeBackups describeBackups(array $options = [])
52
 */
53
class PolardbApiResolver
54
{
55
    use ApiResolverTrait;
56
}
57
58
class V20170801Rpc extends Rpc
59
{
60
    /** @var string */
61
    public $product = 'polardb';
62
63
    /** @var string */
64
    public $version = '2017-08-01';
65
66
    /** @var string */
67
    public $method = 'POST';
68
69
    /** @var string */
70
    public $serviceCode = 'polardb';
71
}
72
73
/**
74
 * @method string getResourceOwnerId()
75
 * @method $this withResourceOwnerId($value)
76
 * @method array getDBNodeId()
77
 * @method string getResourceOwnerAccount()
78
 * @method $this withResourceOwnerAccount($value)
79
 * @method string getClientToken()
80
 * @method $this withClientToken($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
 */
88
class DeleteDBNodes extends V20170801Rpc
89
{
90
91
    /**
92
     * @param array $dBNodeId
93
     *
94
     * @return $this
95
     */
96
    public function withDBNodeId(array $dBNodeId)
97
    {
98
        $this->data['DBNodeId'] = $dBNodeId;
99
        foreach ($dBNodeId as $i => $iValue) {
100
            $this->options['query']['DBNodeId.' . ($i + 1)] = $iValue;
101
        }
102
103
        return $this;
104
    }
105
}
106
107
/**
108
 * @method string getResourceOwnerId()
109
 * @method $this withResourceOwnerId($value)
110
 * @method string getResourceOwnerAccount()
111
 * @method $this withResourceOwnerAccount($value)
112
 * @method string getClientToken()
113
 * @method $this withClientToken($value)
114
 * @method string getDBClusterId()
115
 * @method $this withDBClusterId($value)
116
 * @method string getOwnerAccount()
117
 * @method $this withOwnerAccount($value)
118
 * @method string getOwnerId()
119
 * @method $this withOwnerId($value)
120
 * @method array getDBNode()
121
 */
122
class CreateDBNodes extends V20170801Rpc
123
{
124
125
    /**
126
     * @param array $dBNode
127
     *
128
     * @return $this
129
     */
130
    public function withDBNode(array $dBNode)
131
    {
132
        $this->data['DBNode'] = $dBNode;
133
        foreach ($dBNode as $depth1 => $depth1Value) {
134
            $this->options['query']['DBNode.' . ($depth1 + 1) . '.TargetClass'] = $depth1Value['TargetClass'];
135
            $this->options['query']['DBNode.' . ($depth1 + 1) . '.ZoneId'] = $depth1Value['ZoneId'];
136
        }
137
138
        return $this;
139
    }
140
}
141
142
/**
143
 * @method string getAll()
144
 * @method $this withAll($value)
145
 * @method string getResourceOwnerId()
146
 * @method $this withResourceOwnerId($value)
147
 * @method array getResourceId()
148
 * @method string getResourceOwnerAccount()
149
 * @method $this withResourceOwnerAccount($value)
150
 * @method string getOwnerAccount()
151
 * @method $this withOwnerAccount($value)
152
 * @method string getOwnerId()
153
 * @method $this withOwnerId($value)
154
 * @method array getTagKey()
155
 * @method string getResourceType()
156
 * @method $this withResourceType($value)
157
 */
158
class UntagResources extends V20170801Rpc
159
{
160
161
    /**
162
     * @param array $resourceId
163
     *
164
     * @return $this
165
     */
166
    public function withResourceId(array $resourceId)
167
    {
168
        $this->data['ResourceId'] = $resourceId;
169
        foreach ($resourceId as $i => $iValue) {
170
            $this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
171
        }
172
173
        return $this;
174
    }
175
176
    /**
177
     * @param array $tagKey
178
     *
179
     * @return $this
180
     */
181
    public function withTagKey(array $tagKey)
182
    {
183
        $this->data['TagKey'] = $tagKey;
184
        foreach ($tagKey as $i => $iValue) {
185
            $this->options['query']['TagKey.' . ($i + 1)] = $iValue;
186
        }
187
188
        return $this;
189
    }
190
}
191
192
/**
193
 * @method string getResourceOwnerId()
194
 * @method $this withResourceOwnerId($value)
195
 * @method array getResourceId()
196
 * @method string getResourceOwnerAccount()
197
 * @method $this withResourceOwnerAccount($value)
198
 * @method string getOwnerAccount()
199
 * @method $this withOwnerAccount($value)
200
 * @method array getTag()
201
 * @method string getOwnerId()
202
 * @method $this withOwnerId($value)
203
 * @method string getResourceType()
204
 * @method $this withResourceType($value)
205
 */
206
class TagResources extends V20170801Rpc
207
{
208
209
    /**
210
     * @param array $resourceId
211
     *
212
     * @return $this
213
     */
214
    public function withResourceId(array $resourceId)
215
    {
216
        $this->data['ResourceId'] = $resourceId;
217
        foreach ($resourceId as $i => $iValue) {
218
            $this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
219
        }
220
221
        return $this;
222
    }
223
224
    /**
225
     * @param array $tag
226
     *
227
     * @return $this
228
     */
229
    public function withTag(array $tag)
230
    {
231
        $this->data['Tag'] = $tag;
232
        foreach ($tag as $depth1 => $depth1Value) {
233
            $this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
234
            $this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
235
        }
236
237
        return $this;
238
    }
239
}
240
241
/**
242
 * @method string getResourceOwnerId()
243
 * @method $this withResourceOwnerId($value)
244
 * @method array getResourceId()
245
 * @method string getResourceOwnerAccount()
246
 * @method $this withResourceOwnerAccount($value)
247
 * @method string getNextToken()
248
 * @method $this withNextToken($value)
249
 * @method string getOwnerAccount()
250
 * @method $this withOwnerAccount($value)
251
 * @method array getTag()
252
 * @method string getOwnerId()
253
 * @method $this withOwnerId($value)
254
 * @method string getResourceType()
255
 * @method $this withResourceType($value)
256
 */
257
class ListTagResources extends V20170801Rpc
258
{
259
260
    /**
261
     * @param array $resourceId
262
     *
263
     * @return $this
264
     */
265
    public function withResourceId(array $resourceId)
266
    {
267
        $this->data['ResourceId'] = $resourceId;
268
        foreach ($resourceId as $i => $iValue) {
269
            $this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
270
        }
271
272
        return $this;
273
    }
274
275
    /**
276
     * @param array $tag
277
     *
278
     * @return $this
279
     */
280
    public function withTag(array $tag)
281
    {
282
        $this->data['Tag'] = $tag;
283
        foreach ($tag as $depth1 => $depth1Value) {
284
            $this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
285
            $this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
286
        }
287
288
        return $this;
289
    }
290
}
291
292
/**
293
 * @method string getResourceOwnerId()
294
 * @method $this withResourceOwnerId($value)
295
 * @method string getAccountName()
296
 * @method $this withAccountName($value)
297
 * @method string getNewAccountPassword()
298
 * @method $this withNewAccountPassword($value)
299
 * @method string getResourceOwnerAccount()
300
 * @method $this withResourceOwnerAccount($value)
301
 * @method string getDBClusterId()
302
 * @method $this withDBClusterId($value)
303
 * @method string getOwnerAccount()
304
 * @method $this withOwnerAccount($value)
305
 * @method string getOwnerId()
306
 * @method $this withOwnerId($value)
307
 */
308
class ModifyAccountPassword extends V20170801Rpc
309
{
310
}
311
312
/**
313
 * @method string getResourceOwnerId()
314
 * @method $this withResourceOwnerId($value)
315
 * @method string getDBName()
316
 * @method $this withDBName($value)
317
 * @method string getResourceOwnerAccount()
318
 * @method $this withResourceOwnerAccount($value)
319
 * @method string getDBClusterId()
320
 * @method $this withDBClusterId($value)
321
 * @method string getOwnerAccount()
322
 * @method $this withOwnerAccount($value)
323
 * @method string getDBDescription()
324
 * @method $this withDBDescription($value)
325
 * @method string getOwnerId()
326
 * @method $this withOwnerId($value)
327
 */
328
class ModifyDBDescription extends V20170801Rpc
329
{
330
}
331
332
/**
333
 * @method string getResourceOwnerId()
334
 * @method $this withResourceOwnerId($value)
335
 * @method string getConnectionStringPrefix()
336
 * @method $this withConnectionStringPrefix($value)
337
 * @method string getResourceOwnerAccount()
338
 * @method $this withResourceOwnerAccount($value)
339
 * @method string getDBClusterId()
340
 * @method $this withDBClusterId($value)
341
 * @method string getOwnerAccount()
342
 * @method $this withOwnerAccount($value)
343
 * @method string getNetType()
344
 * @method $this withNetType($value)
345
 * @method string getDBEndpointId()
346
 * @method $this withDBEndpointId($value)
347
 * @method string getOwnerId()
348
 * @method $this withOwnerId($value)
349
 */
350
class ModifyDBEndpointAddress extends V20170801Rpc
351
{
352
}
353
354
/**
355
 * @method string getResourceOwnerId()
356
 * @method $this withResourceOwnerId($value)
357
 * @method string getConnectionStringPrefix()
358
 * @method $this withConnectionStringPrefix($value)
359
 * @method string getResourceOwnerAccount()
360
 * @method $this withResourceOwnerAccount($value)
361
 * @method string getDBClusterId()
362
 * @method $this withDBClusterId($value)
363
 * @method string getOwnerAccount()
364
 * @method $this withOwnerAccount($value)
365
 * @method string getNetType()
366
 * @method $this withNetType($value)
367
 * @method string getDBEndpointId()
368
 * @method $this withDBEndpointId($value)
369
 * @method string getOwnerId()
370
 * @method $this withOwnerId($value)
371
 */
372
class CreateDBEndpointAddress extends V20170801Rpc
373
{
374
}
375
376
/**
377
 * @method string getResourceOwnerId()
378
 * @method $this withResourceOwnerId($value)
379
 * @method string getResourceOwnerAccount()
380
 * @method $this withResourceOwnerAccount($value)
381
 * @method string getDBClusterId()
382
 * @method $this withDBClusterId($value)
383
 * @method string getOwnerAccount()
384
 * @method $this withOwnerAccount($value)
385
 * @method string getNetType()
386
 * @method $this withNetType($value)
387
 * @method string getDBEndpointId()
388
 * @method $this withDBEndpointId($value)
389
 * @method string getOwnerId()
390
 * @method $this withOwnerId($value)
391
 */
392
class DeleteDBEndpointAddress extends V20170801Rpc
393
{
394
}
395
396
/**
397
 * @method string getResourceOwnerId()
398
 * @method $this withResourceOwnerId($value)
399
 * @method string getNodes()
400
 * @method $this withNodes($value)
401
 * @method string getResourceOwnerAccount()
402
 * @method $this withResourceOwnerAccount($value)
403
 * @method string getDBClusterId()
404
 * @method $this withDBClusterId($value)
405
 * @method string getOwnerAccount()
406
 * @method $this withOwnerAccount($value)
407
 * @method string getDBEndpointId()
408
 * @method $this withDBEndpointId($value)
409
 * @method string getEndpointConfig()
410
 * @method $this withEndpointConfig($value)
411
 * @method string getOwnerId()
412
 * @method $this withOwnerId($value)
413
 */
414
class ModifyDBClusterEndpoint extends V20170801Rpc
415
{
416
}
417
418
/**
419
 * @method string getResourceOwnerId()
420
 * @method $this withResourceOwnerId($value)
421
 * @method string getResourceOwnerAccount()
422
 * @method $this withResourceOwnerAccount($value)
423
 * @method string getDBClusterId()
424
 * @method $this withDBClusterId($value)
425
 * @method string getOwnerAccount()
426
 * @method $this withOwnerAccount($value)
427
 * @method string getDBEndpointId()
428
 * @method $this withDBEndpointId($value)
429
 * @method string getOwnerId()
430
 * @method $this withOwnerId($value)
431
 */
432
class DeleteDBClusterEndpoint extends V20170801Rpc
433
{
434
}
435
436
/**
437
 * @method string getResourceOwnerId()
438
 * @method $this withResourceOwnerId($value)
439
 * @method string getNodes()
440
 * @method $this withNodes($value)
441
 * @method string getResourceOwnerAccount()
442
 * @method $this withResourceOwnerAccount($value)
443
 * @method string getEndpointType()
444
 * @method $this withEndpointType($value)
445
 * @method string getClientToken()
446
 * @method $this withClientToken($value)
447
 * @method string getDBClusterId()
448
 * @method $this withDBClusterId($value)
449
 * @method string getOwnerAccount()
450
 * @method $this withOwnerAccount($value)
451
 * @method string getOwnerId()
452
 * @method $this withOwnerId($value)
453
 */
454
class CreateDBClusterEndpoint extends V20170801Rpc
455
{
456
}
457
458
/**
459
 * @method string getResourceOwnerId()
460
 * @method $this withResourceOwnerId($value)
461
 * @method string getResourceOwnerAccount()
462
 * @method $this withResourceOwnerAccount($value)
463
 * @method string getDBClusterId()
464
 * @method $this withDBClusterId($value)
465
 * @method string getOwnerAccount()
466
 * @method $this withOwnerAccount($value)
467
 * @method string getDBEndpointId()
468
 * @method $this withDBEndpointId($value)
469
 * @method string getOwnerId()
470
 * @method $this withOwnerId($value)
471
 */
472
class DescribeDBClusterEndpoints extends V20170801Rpc
473
{
474
}
475
476
/**
477
 * @method string getResourceOwnerId()
478
 * @method $this withResourceOwnerId($value)
479
 * @method string getResourceOwnerAccount()
480
 * @method $this withResourceOwnerAccount($value)
481
 * @method string getEffectiveTime()
482
 * @method $this withEffectiveTime($value)
483
 * @method string getDBClusterId()
484
 * @method $this withDBClusterId($value)
485
 * @method string getOwnerAccount()
486
 * @method $this withOwnerAccount($value)
487
 * @method string getOwnerId()
488
 * @method $this withOwnerId($value)
489
 * @method string getParameters()
490
 * @method $this withParameters($value)
491
 */
492
class ModifyDBClusterParameters extends V20170801Rpc
493
{
494
}
495
496
/**
497
 * @method string getResourceOwnerId()
498
 * @method $this withResourceOwnerId($value)
499
 * @method string getResourceOwnerAccount()
500
 * @method $this withResourceOwnerAccount($value)
501
 * @method string getDBClusterId()
502
 * @method $this withDBClusterId($value)
503
 * @method string getOwnerAccount()
504
 * @method $this withOwnerAccount($value)
505
 * @method string getOwnerId()
506
 * @method $this withOwnerId($value)
507
 */
508
class DescribeDBClusterParameters extends V20170801Rpc
509
{
510
}
511
512
/**
513
 * @method string getResourceOwnerId()
514
 * @method $this withResourceOwnerId($value)
515
 * @method string getDBNodeId()
516
 * @method $this withDBNodeId($value)
517
 * @method string getResourceOwnerAccount()
518
 * @method $this withResourceOwnerAccount($value)
519
 * @method string getOwnerAccount()
520
 * @method $this withOwnerAccount($value)
521
 * @method string getOwnerId()
522
 * @method $this withOwnerId($value)
523
 */
524
class RestartDBNode extends V20170801Rpc
525
{
526
}
527
528
/**
529
 * @method string getResourceOwnerId()
530
 * @method $this withResourceOwnerId($value)
531
 * @method string getResourceOwnerAccount()
532
 * @method $this withResourceOwnerAccount($value)
533
 * @method string getDBClusterId()
534
 * @method $this withDBClusterId($value)
535
 * @method string getOwnerAccount()
536
 * @method $this withOwnerAccount($value)
537
 * @method string getSecurityIps()
538
 * @method $this withSecurityIps($value)
539
 * @method string getDBClusterIPArrayName()
540
 * @method $this withDBClusterIPArrayName($value)
541
 * @method string getOwnerId()
542
 * @method $this withOwnerId($value)
543
 * @method string getDBClusterIPArrayAttribute()
544
 * @method $this withDBClusterIPArrayAttribute($value)
545
 */
546
class ModifyDBClusterAccessWhitelist extends V20170801Rpc
547
{
548
}
549
550
/**
551
 * @method string getResourceOwnerId()
552
 * @method $this withResourceOwnerId($value)
553
 * @method string getResourceOwnerAccount()
554
 * @method $this withResourceOwnerAccount($value)
555
 * @method string getDBClusterId()
556
 * @method $this withDBClusterId($value)
557
 * @method string getOwnerAccount()
558
 * @method $this withOwnerAccount($value)
559
 * @method string getOwnerId()
560
 * @method $this withOwnerId($value)
561
 */
562
class DescribeDBClusterAccessWhitelist extends V20170801Rpc
563
{
564
}
565
566
/**
567
 * @method string getMaintainTime()
568
 * @method $this withMaintainTime($value)
569
 * @method string getResourceOwnerId()
570
 * @method $this withResourceOwnerId($value)
571
 * @method string getResourceOwnerAccount()
572
 * @method $this withResourceOwnerAccount($value)
573
 * @method string getDBClusterId()
574
 * @method $this withDBClusterId($value)
575
 * @method string getOwnerAccount()
576
 * @method $this withOwnerAccount($value)
577
 * @method string getOwnerId()
578
 * @method $this withOwnerId($value)
579
 */
580
class ModifyDBClusterMaintainTime extends V20170801Rpc
581
{
582
}
583
584
/**
585
 * @method string getResourceOwnerId()
586
 * @method $this withResourceOwnerId($value)
587
 * @method string getDBName()
588
 * @method $this withDBName($value)
589
 * @method string getAccountName()
590
 * @method $this withAccountName($value)
591
 * @method string getResourceOwnerAccount()
592
 * @method $this withResourceOwnerAccount($value)
593
 * @method string getDBClusterId()
594
 * @method $this withDBClusterId($value)
595
 * @method string getOwnerAccount()
596
 * @method $this withOwnerAccount($value)
597
 * @method string getDBDescription()
598
 * @method $this withDBDescription($value)
599
 * @method string getOwnerId()
600
 * @method $this withOwnerId($value)
601
 * @method string getCharacterSetName()
602
 * @method $this withCharacterSetName($value)
603
 * @method string getAccountPrivilege()
604
 * @method $this withAccountPrivilege($value)
605
 */
606
class CreateDatabase extends V20170801Rpc
607
{
608
}
609
610
/**
611
 * @method string getResourceOwnerId()
612
 * @method $this withResourceOwnerId($value)
613
 * @method string getDBName()
614
 * @method $this withDBName($value)
615
 * @method string getResourceOwnerAccount()
616
 * @method $this withResourceOwnerAccount($value)
617
 * @method string getDBClusterId()
618
 * @method $this withDBClusterId($value)
619
 * @method string getOwnerAccount()
620
 * @method $this withOwnerAccount($value)
621
 * @method string getOwnerId()
622
 * @method $this withOwnerId($value)
623
 */
624
class DescribeDatabases extends V20170801Rpc
625
{
626
}
627
628
/**
629
 * @method string getResourceOwnerId()
630
 * @method $this withResourceOwnerId($value)
631
 * @method string getAccountName()
632
 * @method $this withAccountName($value)
633
 * @method string getDBName()
634
 * @method $this withDBName($value)
635
 * @method string getResourceOwnerAccount()
636
 * @method $this withResourceOwnerAccount($value)
637
 * @method string getDBClusterId()
638
 * @method $this withDBClusterId($value)
639
 * @method string getOwnerAccount()
640
 * @method $this withOwnerAccount($value)
641
 * @method string getOwnerId()
642
 * @method $this withOwnerId($value)
643
 */
644
class RevokeAccountPrivilege extends V20170801Rpc
645
{
646
}
647
648
/**
649
 * @method string getResourceOwnerId()
650
 * @method $this withResourceOwnerId($value)
651
 * @method string getAccountPassword()
652
 * @method $this withAccountPassword($value)
653
 * @method string getAccountName()
654
 * @method $this withAccountName($value)
655
 * @method string getResourceOwnerAccount()
656
 * @method $this withResourceOwnerAccount($value)
657
 * @method string getDBClusterId()
658
 * @method $this withDBClusterId($value)
659
 * @method string getOwnerAccount()
660
 * @method $this withOwnerAccount($value)
661
 * @method string getOwnerId()
662
 * @method $this withOwnerId($value)
663
 */
664
class ResetAccount extends V20170801Rpc
665
{
666
}
667
668
/**
669
 * @method string getResourceOwnerId()
670
 * @method $this withResourceOwnerId($value)
671
 * @method string getAccountName()
672
 * @method $this withAccountName($value)
673
 * @method string getDBName()
674
 * @method $this withDBName($value)
675
 * @method string getResourceOwnerAccount()
676
 * @method $this withResourceOwnerAccount($value)
677
 * @method string getDBClusterId()
678
 * @method $this withDBClusterId($value)
679
 * @method string getOwnerAccount()
680
 * @method $this withOwnerAccount($value)
681
 * @method string getOwnerId()
682
 * @method $this withOwnerId($value)
683
 * @method string getAccountPrivilege()
684
 * @method $this withAccountPrivilege($value)
685
 */
686
class GrantAccountPrivilege extends V20170801Rpc
687
{
688
}
689
690
/**
691
 * @method string getResourceOwnerId()
692
 * @method $this withResourceOwnerId($value)
693
 * @method string getDBName()
694
 * @method $this withDBName($value)
695
 * @method string getResourceOwnerAccount()
696
 * @method $this withResourceOwnerAccount($value)
697
 * @method string getDBClusterId()
698
 * @method $this withDBClusterId($value)
699
 * @method string getOwnerAccount()
700
 * @method $this withOwnerAccount($value)
701
 * @method string getOwnerId()
702
 * @method $this withOwnerId($value)
703
 */
704
class DeleteDatabase extends V20170801Rpc
705
{
706
}
707
708
/**
709
 * @method string getResourceOwnerId()
710
 * @method $this withResourceOwnerId($value)
711
 * @method string getAccountName()
712
 * @method $this withAccountName($value)
713
 * @method string getResourceOwnerAccount()
714
 * @method $this withResourceOwnerAccount($value)
715
 * @method string getDBClusterId()
716
 * @method $this withDBClusterId($value)
717
 * @method string getOwnerAccount()
718
 * @method $this withOwnerAccount($value)
719
 * @method string getOwnerId()
720
 * @method $this withOwnerId($value)
721
 */
722
class DeleteAccount extends V20170801Rpc
723
{
724
}
725
726
/**
727
 * @method string getResourceOwnerId()
728
 * @method $this withResourceOwnerId($value)
729
 * @method string getResourceOwnerAccount()
730
 * @method $this withResourceOwnerAccount($value)
731
 * @method string getDBClusterId()
732
 * @method $this withDBClusterId($value)
733
 * @method string getOwnerAccount()
734
 * @method $this withOwnerAccount($value)
735
 * @method string getBackupId()
736
 * @method $this withBackupId($value)
737
 * @method string getOwnerId()
738
 * @method $this withOwnerId($value)
739
 */
740
class DeleteBackup extends V20170801Rpc
741
{
742
}
743
744
/**
745
 * @method string getResourceOwnerId()
746
 * @method $this withResourceOwnerId($value)
747
 * @method string getResourceOwnerAccount()
748
 * @method $this withResourceOwnerAccount($value)
749
 * @method string getDBClusterId()
750
 * @method $this withDBClusterId($value)
751
 * @method string getOwnerAccount()
752
 * @method $this withOwnerAccount($value)
753
 * @method string getOwnerId()
754
 * @method $this withOwnerId($value)
755
 */
756
class CreateBackup extends V20170801Rpc
757
{
758
}
759
760
/**
761
 * @method string getResourceOwnerId()
762
 * @method $this withResourceOwnerId($value)
763
 * @method string getDBClusterDescription()
764
 * @method $this withDBClusterDescription($value)
765
 * @method string getPeriod()
766
 * @method $this withPeriod($value)
767
 * @method string getResourceOwnerAccount()
768
 * @method $this withResourceOwnerAccount($value)
769
 * @method string getClientToken()
770
 * @method $this withClientToken($value)
771
 * @method string getOwnerAccount()
772
 * @method $this withOwnerAccount($value)
773
 * @method string getOwnerId()
774
 * @method $this withOwnerId($value)
775
 * @method string getUsedTime()
776
 * @method $this withUsedTime($value)
777
 * @method string getClusterNetworkType()
778
 * @method $this withClusterNetworkType($value)
779
 * @method string getVSwitchId()
780
 * @method $this withVSwitchId($value)
781
 * @method string getDBNodeClass()
782
 * @method $this withDBNodeClass($value)
783
 * @method string getEngine()
784
 * @method $this withEngine($value)
785
 * @method string getVPCId()
786
 * @method $this withVPCId($value)
787
 * @method string getDBType()
788
 * @method $this withDBType($value)
789
 * @method string getZoneId()
790
 * @method $this withZoneId($value)
791
 * @method string getDBVersion()
792
 * @method $this withDBVersion($value)
793
 * @method string getPayType()
794
 * @method $this withPayType($value)
795
 */
796
class CreateDBCluster extends V20170801Rpc
797
{
798
}
799
800
/**
801
 * @method string getResourceOwnerId()
802
 * @method $this withResourceOwnerId($value)
803
 * @method string getResourceOwnerAccount()
804
 * @method $this withResourceOwnerAccount($value)
805
 * @method string getOwnerAccount()
806
 * @method $this withOwnerAccount($value)
807
 * @method string getOwnerId()
808
 * @method $this withOwnerId($value)
809
 */
810
class DescribeRegions extends V20170801Rpc
811
{
812
}
813
814
/**
815
 * @method string getResourceOwnerId()
816
 * @method $this withResourceOwnerId($value)
817
 * @method string getAccountName()
818
 * @method $this withAccountName($value)
819
 * @method string getResourceOwnerAccount()
820
 * @method $this withResourceOwnerAccount($value)
821
 * @method string getDBClusterId()
822
 * @method $this withDBClusterId($value)
823
 * @method string getOwnerAccount()
824
 * @method $this withOwnerAccount($value)
825
 * @method string getOwnerId()
826
 * @method $this withOwnerId($value)
827
 * @method string getAccountDescription()
828
 * @method $this withAccountDescription($value)
829
 */
830
class ModifyAccountDescription extends V20170801Rpc
831
{
832
}
833
834
/**
835
 * @method string getPreferredBackupTime()
836
 * @method $this withPreferredBackupTime($value)
837
 * @method string getPreferredBackupPeriod()
838
 * @method $this withPreferredBackupPeriod($value)
839
 * @method string getBackupRetentionPeriod()
840
 * @method $this withBackupRetentionPeriod($value)
841
 * @method string getResourceOwnerId()
842
 * @method $this withResourceOwnerId($value)
843
 * @method string getResourceOwnerAccount()
844
 * @method $this withResourceOwnerAccount($value)
845
 * @method string getDBClusterId()
846
 * @method $this withDBClusterId($value)
847
 * @method string getOwnerAccount()
848
 * @method $this withOwnerAccount($value)
849
 * @method string getOwnerId()
850
 * @method $this withOwnerId($value)
851
 */
852
class ModifyBackupPolicy extends V20170801Rpc
853
{
854
}
855
856
/**
857
 * @method string getResourceOwnerId()
858
 * @method $this withResourceOwnerId($value)
859
 * @method string getDBClusterDescription()
860
 * @method $this withDBClusterDescription($value)
861
 * @method string getResourceOwnerAccount()
862
 * @method $this withResourceOwnerAccount($value)
863
 * @method string getDBClusterId()
864
 * @method $this withDBClusterId($value)
865
 * @method string getOwnerAccount()
866
 * @method $this withOwnerAccount($value)
867
 * @method string getOwnerId()
868
 * @method $this withOwnerId($value)
869
 */
870
class ModifyDBClusterDescription extends V20170801Rpc
871
{
872
}
873
874
/**
875
 * @method string getResourceOwnerId()
876
 * @method $this withResourceOwnerId($value)
877
 * @method string getResourceOwnerAccount()
878
 * @method $this withResourceOwnerAccount($value)
879
 * @method string getDBClusterId()
880
 * @method $this withDBClusterId($value)
881
 * @method string getOwnerAccount()
882
 * @method $this withOwnerAccount($value)
883
 * @method string getOwnerId()
884
 * @method $this withOwnerId($value)
885
 */
886
class DescribeDBClusterAttribute extends V20170801Rpc
887
{
888
}
889
890
/**
891
 * @method string getResourceOwnerId()
892
 * @method $this withResourceOwnerId($value)
893
 * @method string getDBClusterDescription()
894
 * @method $this withDBClusterDescription($value)
895
 * @method string getDBClusterStatus()
896
 * @method $this withDBClusterStatus($value)
897
 * @method string getResourceOwnerAccount()
898
 * @method $this withResourceOwnerAccount($value)
899
 * @method string getOwnerAccount()
900
 * @method $this withOwnerAccount($value)
901
 * @method string getOwnerId()
902
 * @method $this withOwnerId($value)
903
 * @method string getPageNumber()
904
 * @method $this withPageNumber($value)
905
 * @method string getDBType()
906
 * @method $this withDBType($value)
907
 * @method string getPageSize()
908
 * @method $this withPageSize($value)
909
 * @method array getTag()
910
 * @method string getDBClusterIds()
911
 * @method $this withDBClusterIds($value)
912
 */
913
class DescribeDBClusters extends V20170801Rpc
914
{
915
916
    /**
917
     * @param array $tag
918
     *
919
     * @return $this
920
     */
921
    public function withTag(array $tag)
922
    {
923
        $this->data['Tag'] = $tag;
924
        foreach ($tag as $depth1 => $depth1Value) {
925
            $this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
926
            $this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
927
        }
928
929
        return $this;
930
    }
931
}
932
933
/**
934
 * @method string getResourceOwnerId()
935
 * @method $this withResourceOwnerId($value)
936
 * @method string getResourceOwnerAccount()
937
 * @method $this withResourceOwnerAccount($value)
938
 * @method string getDBClusterId()
939
 * @method $this withDBClusterId($value)
940
 * @method string getOwnerAccount()
941
 * @method $this withOwnerAccount($value)
942
 * @method string getAccountType()
943
 * @method $this withAccountType($value)
944
 * @method string getOwnerId()
945
 * @method $this withOwnerId($value)
946
 * @method string getAccountDescription()
947
 * @method $this withAccountDescription($value)
948
 * @method string getAccountPrivilege()
949
 * @method $this withAccountPrivilege($value)
950
 * @method string getAccountPassword()
951
 * @method $this withAccountPassword($value)
952
 * @method string getAccountName()
953
 * @method $this withAccountName($value)
954
 * @method string getDBName()
955
 * @method $this withDBName($value)
956
 */
957
class CreateAccount extends V20170801Rpc
958
{
959
}
960
961
/**
962
 * @method string getResourceOwnerId()
963
 * @method $this withResourceOwnerId($value)
964
 * @method string getResourceOwnerAccount()
965
 * @method $this withResourceOwnerAccount($value)
966
 * @method string getDBClusterId()
967
 * @method $this withDBClusterId($value)
968
 * @method string getOwnerAccount()
969
 * @method $this withOwnerAccount($value)
970
 * @method string getOwnerId()
971
 * @method $this withOwnerId($value)
972
 */
973
class DeleteDBCluster extends V20170801Rpc
974
{
975
}
976
977
/**
978
 * @method string getResourceOwnerId()
979
 * @method $this withResourceOwnerId($value)
980
 * @method string getAccountName()
981
 * @method $this withAccountName($value)
982
 * @method string getResourceOwnerAccount()
983
 * @method $this withResourceOwnerAccount($value)
984
 * @method string getDBClusterId()
985
 * @method $this withDBClusterId($value)
986
 * @method string getOwnerAccount()
987
 * @method $this withOwnerAccount($value)
988
 * @method string getOwnerId()
989
 * @method $this withOwnerId($value)
990
 */
991
class DescribeAccounts extends V20170801Rpc
992
{
993
}
994
995
/**
996
 * @method string getResourceOwnerId()
997
 * @method $this withResourceOwnerId($value)
998
 * @method string getResourceOwnerAccount()
999
 * @method $this withResourceOwnerAccount($value)
1000
 * @method string getDBClusterId()
1001
 * @method $this withDBClusterId($value)
1002
 * @method string getOwnerAccount()
1003
 * @method $this withOwnerAccount($value)
1004
 * @method string getOwnerId()
1005
 * @method $this withOwnerId($value)
1006
 */
1007
class DescribeBackupPolicy extends V20170801Rpc
1008
{
1009
}
1010
1011
/**
1012
 * @method string getResourceOwnerId()
1013
 * @method $this withResourceOwnerId($value)
1014
 * @method string getResourceOwnerAccount()
1015
 * @method $this withResourceOwnerAccount($value)
1016
 * @method string getDBClusterId()
1017
 * @method $this withDBClusterId($value)
1018
 * @method string getOwnerAccount()
1019
 * @method $this withOwnerAccount($value)
1020
 * @method string getBackupId()
1021
 * @method $this withBackupId($value)
1022
 * @method string getEndTime()
1023
 * @method $this withEndTime($value)
1024
 * @method string getStartTime()
1025
 * @method $this withStartTime($value)
1026
 * @method string getOwnerId()
1027
 * @method $this withOwnerId($value)
1028
 * @method string getPageNumber()
1029
 * @method $this withPageNumber($value)
1030
 * @method string getBackupStatus()
1031
 * @method $this withBackupStatus($value)
1032
 * @method string getPageSize()
1033
 * @method $this withPageSize($value)
1034
 * @method string getBackupMode()
1035
 * @method $this withBackupMode($value)
1036
 */
1037
class DescribeBackups extends V20170801Rpc
1038
{
1039
}
1040