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 ( f83f1e...9b1db0 )
by Yong
02:21 queued 11s
created

CreateDBNodes   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 17
Duplicated Lines 0 %

Importance

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

1 Method

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