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 ( b4ff25...05b43c )
by
unknown
10:02 queued 04:10
created

CreatePolarxInstance::withIsHa()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Polardbx\V20200202;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AllocateInstancePublicConnection allocateInstancePublicConnection(array $options = [])
9
 * @method CheckHealth checkHealth(array $options = [])
10
 * @method CreateAccount createAccount(array $options = [])
11
 * @method CreateDB createDB(array $options = [])
12
 * @method CreateDBInstance createDBInstance(array $options = [])
13
 * @method CreatePolarxInstance createPolarxInstance(array $options = [])
14
 * @method CreateSuperAccount createSuperAccount(array $options = [])
15
 * @method DeleteAccount deleteAccount(array $options = [])
16
 * @method DeleteDB deleteDB(array $options = [])
17
 * @method DeleteDBInstance deleteDBInstance(array $options = [])
18
 * @method DescribeAccountList describeAccountList(array $options = [])
19
 * @method DescribeCharacterSet describeCharacterSet(array $options = [])
20
 * @method DescribeDBInstanceAttribute describeDBInstanceAttribute(array $options = [])
21
 * @method DescribeDBInstanceConfig describeDBInstanceConfig(array $options = [])
22
 * @method DescribeDBInstances describeDBInstances(array $options = [])
23
 * @method DescribeDbList describeDbList(array $options = [])
24
 * @method DescribeDistributeTableList describeDistributeTableList(array $options = [])
25
 * @method DescribeInstanceDbPerformance describeInstanceDbPerformance(array $options = [])
26
 * @method DescribeInstancePerformance describeInstancePerformance(array $options = [])
27
 * @method DescribeInstanceStoragePerformance describeInstanceStoragePerformance(array $options = [])
28
 * @method DescribeModifyParameterLog describeModifyParameterLog(array $options = [])
29
 * @method DescribeParameters describeParameters(array $options = [])
30
 * @method DescribeParameterTemplates describeParameterTemplates(array $options = [])
31
 * @method DescribePolarxDbInstances describePolarxDbInstances(array $options = [])
32
 * @method DescribeRegions describeRegions(array $options = [])
33
 * @method DescribeScaleOutMigrateTaskList describeScaleOutMigrateTaskList(array $options = [])
34
 * @method DescribeSecurityIps describeSecurityIps(array $options = [])
35
 * @method DescribeSqlAuditInfo describeSqlAuditInfo(array $options = [])
36
 * @method DescribeTableDetail describeTableDetail(array $options = [])
37
 * @method DescribeTasks describeTasks(array $options = [])
38
 * @method DisableSqlAudit disableSqlAudit(array $options = [])
39
 * @method EnableSqlAudit enableSqlAudit(array $options = [])
40
 * @method ModifyAccountDescription modifyAccountDescription(array $options = [])
41
 * @method ModifyAccountPrivilege modifyAccountPrivilege(array $options = [])
42
 * @method ModifyDatabaseDescription modifyDatabaseDescription(array $options = [])
43
 * @method ModifyDBInstanceClass modifyDBInstanceClass(array $options = [])
44
 * @method ModifyDBInstanceConfig modifyDBInstanceConfig(array $options = [])
45
 * @method ModifyDBInstanceDescription modifyDBInstanceDescription(array $options = [])
46
 * @method ModifyDBInstanceMaintainTime modifyDBInstanceMaintainTime(array $options = [])
47
 * @method ModifyParameter modifyParameter(array $options = [])
48
 * @method ModifySecurityIps modifySecurityIps(array $options = [])
49
 * @method ReleaseInstancePublicConnection releaseInstancePublicConnection(array $options = [])
50
 * @method ResetAccountPassword resetAccountPassword(array $options = [])
51
 * @method ResetPolarxPgAccountPassword resetPolarxPgAccountPassword(array $options = [])
52
 * @method RestartDBInstance restartDBInstance(array $options = [])
53
 * @method UpgradeDBInstanceKernelVersion upgradeDBInstanceKernelVersion(array $options = [])
54
 */
55
class PolardbxApiResolver extends ApiResolver
56
{
57
}
58
59
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
60
{
61
    /** @var string */
62
    public $product = 'polardbx';
63
64
    /** @var string */
65
    public $version = '2020-02-02';
66
67
    /** @var string */
68
    public $method = 'POST';
69
70
    /** @var string */
71
    public $serviceCode = 'polardbx';
72
}
73
74
/**
75
 * @method string getDBInstanceName()
76
 * @method $this withDBInstanceName($value)
77
 * @method string getResourceOwnerId()
78
 * @method $this withResourceOwnerId($value)
79
 * @method string getConnectionStringPrefix()
80
 * @method $this withConnectionStringPrefix($value)
81
 * @method string getResourceOwnerAccount()
82
 * @method $this withResourceOwnerAccount($value)
83
 * @method string getOwnerAccount()
84
 * @method $this withOwnerAccount($value)
85
 * @method string getOwnerId()
86
 * @method $this withOwnerId($value)
87
 * @method string getPort()
88
 * @method $this withPort($value)
89
 */
90
class AllocateInstancePublicConnection extends Rpc
91
{
92
}
93
94
class CheckHealth extends Rpc
95
{
96
}
97
98
/**
99
 * @method string getDBInstanceName()
100
 * @method $this withDBInstanceName($value)
101
 * @method string getAccountDescription()
102
 * @method $this withAccountDescription($value)
103
 * @method string getAccountPrivilege()
104
 * @method $this withAccountPrivilege($value)
105
 * @method string getAccountPassword()
106
 * @method $this withAccountPassword($value)
107
 * @method string getAccountName()
108
 * @method $this withAccountName($value)
109
 * @method string getDBName()
110
 * @method $this withDBName($value)
111
 */
112
class CreateAccount extends Rpc
113
{
114
}
115
116
/**
117
 * @method string getDBInstanceName()
118
 * @method $this withDBInstanceName($value)
119
 * @method string getCharset()
120
 * @method $this withCharset($value)
121
 * @method string getAccountPrivilege()
122
 * @method $this withAccountPrivilege($value)
123
 * @method string getAccountName()
124
 * @method $this withAccountName($value)
125
 * @method string getDbName()
126
 * @method $this withDbName($value)
127
 * @method string getDbDescription()
128
 * @method $this withDbDescription($value)
129
 */
130
class CreateDB extends Rpc
131
{
132
}
133
134
/**
135
 * @method string getResourceGroupId()
136
 * @method $this withResourceGroupId($value)
137
 * @method string getDBNodeClass()
138
 * @method $this withDBNodeClass($value)
139
 * @method string getDBInstanceDescription()
140
 * @method $this withDBInstanceDescription($value)
141
 * @method string getPeriod()
142
 * @method $this withPeriod($value)
143
 * @method string getSecurityIPList()
144
 * @method $this withSecurityIPList($value)
145
 * @method string getVSwitchId()
146
 * @method $this withVSwitchId($value)
147
 * @method string getAutoRenew()
148
 * @method $this withAutoRenew($value)
149
 * @method string getZoneId()
150
 * @method $this withZoneId($value)
151
 * @method string getInstanceNetworkType()
152
 * @method $this withInstanceNetworkType($value)
153
 * @method string getClientToken()
154
 * @method $this withClientToken($value)
155
 * @method string getDBNodeCount()
156
 * @method $this withDBNodeCount($value)
157
 * @method string getUsedTime()
158
 * @method $this withUsedTime($value)
159
 * @method string getVPCId()
160
 * @method $this withVPCId($value)
161
 * @method string getPayType()
162
 * @method $this withPayType($value)
163
 */
164
class CreateDBInstance extends Rpc
165
{
166
}
167
168
/**
169
 * @method string getIsAutoRenew()
170
 * @method $this withIsAutoRenew($value)
171
 * @method string getClientToken()
172
 * @method $this withClientToken($value)
173
 * @method string getDescription()
174
 * @method $this withDescription($value)
175
 * @method string getType()
176
 * @method $this withType($value)
177
 * @method string getDuration()
178
 * @method $this withDuration($value)
179
 * @method string getIsHa()
180
 * @method string getMySQLVersion()
181
 * @method $this withMySQLVersion($value)
182
 * @method string getInstanceSeries()
183
 * @method $this withInstanceSeries($value)
184
 * @method string getMasterInstId()
185
 * @method $this withMasterInstId($value)
186
 * @method string getQuantity()
187
 * @method $this withQuantity($value)
188
 * @method string getSpecification()
189
 * @method $this withSpecification($value)
190
 * @method string getVswitchId()
191
 * @method $this withVswitchId($value)
192
 * @method string getVpcId()
193
 * @method $this withVpcId($value)
194
 * @method string getZoneId()
195
 * @method $this withZoneId($value)
196
 * @method string getPayType()
197
 * @method $this withPayType($value)
198
 * @method string getPricingCycle()
199
 * @method $this withPricingCycle($value)
200
 */
201
class CreatePolarxInstance extends Rpc
202
{
203
204
    /**
205
     * @param string $value
206
     *
207
     * @return $this
208
     */
209
    public function withIsHa($value)
210
    {
211
        $this->data['IsHa'] = $value;
212
        $this->options['query']['isHa'] = $value;
213
214
        return $this;
215
    }
216
}
217
218
/**
219
 * @method string getDBInstanceName()
220
 * @method $this withDBInstanceName($value)
221
 * @method string getAccountDescription()
222
 * @method $this withAccountDescription($value)
223
 * @method string getAccountPassword()
224
 * @method $this withAccountPassword($value)
225
 * @method string getAccountName()
226
 * @method $this withAccountName($value)
227
 */
228
class CreateSuperAccount extends Rpc
229
{
230
}
231
232
/**
233
 * @method string getDBInstanceName()
234
 * @method $this withDBInstanceName($value)
235
 * @method string getAccountName()
236
 * @method $this withAccountName($value)
237
 */
238
class DeleteAccount extends Rpc
239
{
240
}
241
242
/**
243
 * @method string getDBInstanceName()
244
 * @method $this withDBInstanceName($value)
245
 * @method string getDbName()
246
 * @method $this withDbName($value)
247
 */
248
class DeleteDB extends Rpc
249
{
250
}
251
252
/**
253
 * @method string getDBInstanceName()
254
 * @method $this withDBInstanceName($value)
255
 */
256
class DeleteDBInstance extends Rpc
257
{
258
}
259
260
/**
261
 * @method string getDBInstanceName()
262
 * @method $this withDBInstanceName($value)
263
 * @method string getAccountName()
264
 * @method $this withAccountName($value)
265
 */
266
class DescribeAccountList extends Rpc
267
{
268
}
269
270
/**
271
 * @method string getDBInstanceName()
272
 * @method $this withDBInstanceName($value)
273
 */
274
class DescribeCharacterSet extends Rpc
275
{
276
}
277
278
/**
279
 * @method string getDBInstanceName()
280
 * @method $this withDBInstanceName($value)
281
 */
282
class DescribeDBInstanceAttribute extends Rpc
283
{
284
}
285
286
/**
287
 * @method string getDBInstanceName()
288
 * @method $this withDBInstanceName($value)
289
 * @method string getConfigName()
290
 * @method $this withConfigName($value)
291
 */
292
class DescribeDBInstanceConfig extends Rpc
293
{
294
}
295
296
/**
297
 * @method string getPageNumber()
298
 * @method $this withPageNumber($value)
299
 * @method string getResourceGroupId()
300
 * @method $this withResourceGroupId($value)
301
 * @method string getPageSize()
302
 * @method $this withPageSize($value)
303
 */
304
class DescribeDBInstances extends Rpc
305
{
306
}
307
308
/**
309
 * @method string getDBInstanceName()
310
 * @method $this withDBInstanceName($value)
311
 * @method string getDBName()
312
 * @method $this withDBName($value)
313
 */
314
class DescribeDbList extends Rpc
315
{
316
}
317
318
/**
319
 * @method string getDBInstanceName()
320
 * @method $this withDBInstanceName($value)
321
 * @method string getDbName()
322
 * @method $this withDbName($value)
323
 */
324
class DescribeDistributeTableList extends Rpc
325
{
326
}
327
328
/**
329
 * @method string getDbInstanceName()
330
 * @method $this withDbInstanceName($value)
331
 * @method string getKeys()
332
 * @method $this withKeys($value)
333
 * @method string getEndTime()
334
 * @method $this withEndTime($value)
335
 * @method string getStartTime()
336
 * @method $this withStartTime($value)
337
 * @method string getDbName()
338
 * @method $this withDbName($value)
339
 */
340
class DescribeInstanceDbPerformance extends Rpc
341
{
342
}
343
344
/**
345
 * @method string getDbInstanceName()
346
 * @method $this withDbInstanceName($value)
347
 * @method string getKeys()
348
 * @method $this withKeys($value)
349
 * @method string getEndTime()
350
 * @method $this withEndTime($value)
351
 * @method string getStartTime()
352
 * @method $this withStartTime($value)
353
 * @method string getNodeId()
354
 * @method $this withNodeId($value)
355
 */
356
class DescribeInstancePerformance extends Rpc
357
{
358
}
359
360
/**
361
 * @method string getDbInstanceName()
362
 * @method $this withDbInstanceName($value)
363
 * @method string getStorageInstanceId()
364
 * @method $this withStorageInstanceId($value)
365
 * @method string getKeys()
366
 * @method $this withKeys($value)
367
 * @method string getEndTime()
368
 * @method $this withEndTime($value)
369
 * @method string getStartTime()
370
 * @method $this withStartTime($value)
371
 */
372
class DescribeInstanceStoragePerformance extends Rpc
373
{
374
}
375
376
/**
377
 * @method string getStartTime()
378
 * @method $this withStartTime($value)
379
 * @method string getPageNumber()
380
 * @method $this withPageNumber($value)
381
 * @method string getPageSize()
382
 * @method $this withPageSize($value)
383
 * @method string getDBInstanceId()
384
 * @method $this withDBInstanceId($value)
385
 * @method string getParamLevel()
386
 * @method $this withParamLevel($value)
387
 * @method string getEndTime()
388
 * @method $this withEndTime($value)
389
 */
390
class DescribeModifyParameterLog extends Rpc
391
{
392
}
393
394
/**
395
 * @method string getDBInstanceId()
396
 * @method $this withDBInstanceId($value)
397
 * @method string getParamLevel()
398
 * @method $this withParamLevel($value)
399
 */
400
class DescribeParameters extends Rpc
401
{
402
}
403
404
/**
405
 * @method string getDBInstanceId()
406
 * @method $this withDBInstanceId($value)
407
 * @method string getParamLevel()
408
 * @method $this withParamLevel($value)
409
 */
410
class DescribeParameterTemplates extends Rpc
411
{
412
}
413
414
/**
415
 * @method string getDrdsInstanceId()
416
 * @method $this withDrdsInstanceId($value)
417
 * @method string getPageNumber()
418
 * @method $this withPageNumber($value)
419
 * @method string getDbName()
420
 * @method $this withDbName($value)
421
 * @method string getPageSize()
422
 * @method $this withPageSize($value)
423
 */
424
class DescribePolarxDbInstances extends Rpc
425
{
426
}
427
428
class DescribeRegions extends Rpc
429
{
430
}
431
432
/**
433
 * @method string getDBInstanceName()
434
 * @method $this withDBInstanceName($value)
435
 * @method string getResourceOwnerId()
436
 * @method $this withResourceOwnerId($value)
437
 * @method string getResourceOwnerAccount()
438
 * @method $this withResourceOwnerAccount($value)
439
 * @method string getOwnerAccount()
440
 * @method $this withOwnerAccount($value)
441
 * @method string getOwnerId()
442
 * @method $this withOwnerId($value)
443
 */
444
class DescribeScaleOutMigrateTaskList extends Rpc
445
{
446
}
447
448
/**
449
 * @method string getDBInstanceName()
450
 * @method $this withDBInstanceName($value)
451
 */
452
class DescribeSecurityIps extends Rpc
453
{
454
}
455
456
/**
457
 * @method string getDBInstanceId()
458
 * @method $this withDBInstanceId($value)
459
 */
460
class DescribeSqlAuditInfo extends Rpc
461
{
462
}
463
464
/**
465
 * @method string getDBInstanceName()
466
 * @method $this withDBInstanceName($value)
467
 * @method string getDbName()
468
 * @method $this withDbName($value)
469
 * @method string getTableName()
470
 * @method $this withTableName($value)
471
 */
472
class DescribeTableDetail extends Rpc
473
{
474
}
475
476
/**
477
 * @method string getResourceOwnerId()
478
 * @method $this withResourceOwnerId($value)
479
 * @method string getStartTime()
480
 * @method $this withStartTime($value)
481
 * @method string getPageNumber()
482
 * @method $this withPageNumber($value)
483
 * @method string getPageSize()
484
 * @method $this withPageSize($value)
485
 * @method string getDBInstanceId()
486
 * @method $this withDBInstanceId($value)
487
 * @method string getResourceOwnerAccount()
488
 * @method $this withResourceOwnerAccount($value)
489
 * @method string getOwnerAccount()
490
 * @method $this withOwnerAccount($value)
491
 * @method string getEndTime()
492
 * @method $this withEndTime($value)
493
 * @method string getOwnerId()
494
 * @method $this withOwnerId($value)
495
 * @method string getTaskAction()
496
 * @method $this withTaskAction($value)
497
 * @method string getStatus()
498
 * @method $this withStatus($value)
499
 */
500
class DescribeTasks extends Rpc
501
{
502
}
503
504
/**
505
 * @method string getDBInstanceId()
506
 * @method $this withDBInstanceId($value)
507
 */
508
class DisableSqlAudit extends Rpc
509
{
510
}
511
512
/**
513
 * @method string getDBInstanceId()
514
 * @method $this withDBInstanceId($value)
515
 * @method string getExpireAfterDays()
516
 * @method $this withExpireAfterDays($value)
517
 */
518
class EnableSqlAudit extends Rpc
519
{
520
}
521
522
/**
523
 * @method string getDBInstanceName()
524
 * @method $this withDBInstanceName($value)
525
 * @method string getAccountDescription()
526
 * @method $this withAccountDescription($value)
527
 * @method string getAccountName()
528
 * @method $this withAccountName($value)
529
 */
530
class ModifyAccountDescription extends Rpc
531
{
532
}
533
534
/**
535
 * @method string getDBInstanceName()
536
 * @method $this withDBInstanceName($value)
537
 * @method string getAccountPrivilege()
538
 * @method $this withAccountPrivilege($value)
539
 * @method string getAccountName()
540
 * @method $this withAccountName($value)
541
 * @method string getDbName()
542
 * @method $this withDbName($value)
543
 */
544
class ModifyAccountPrivilege extends Rpc
545
{
546
}
547
548
/**
549
 * @method string getDBInstanceName()
550
 * @method $this withDBInstanceName($value)
551
 * @method string getDbName()
552
 * @method $this withDbName($value)
553
 * @method string getDbDescription()
554
 * @method $this withDbDescription($value)
555
 */
556
class ModifyDatabaseDescription extends Rpc
557
{
558
}
559
560
/**
561
 * @method string getDBInstanceName()
562
 * @method $this withDBInstanceName($value)
563
 * @method string getClientToken()
564
 * @method $this withClientToken($value)
565
 * @method string getTargetDBInstanceClass()
566
 * @method $this withTargetDBInstanceClass($value)
567
 */
568
class ModifyDBInstanceClass extends Rpc
569
{
570
}
571
572
/**
573
 * @method string getDBInstanceName()
574
 * @method $this withDBInstanceName($value)
575
 * @method string getConfigName()
576
 * @method $this withConfigName($value)
577
 * @method string getConfigValue()
578
 * @method $this withConfigValue($value)
579
 */
580
class ModifyDBInstanceConfig extends Rpc
581
{
582
}
583
584
/**
585
 * @method string getDBInstanceName()
586
 * @method $this withDBInstanceName($value)
587
 * @method string getDBInstanceDescription()
588
 * @method $this withDBInstanceDescription($value)
589
 */
590
class ModifyDBInstanceDescription extends Rpc
591
{
592
}
593
594
/**
595
 * @method string getDBInstanceName()
596
 * @method $this withDBInstanceName($value)
597
 * @method string getClientToken()
598
 * @method $this withClientToken($value)
599
 * @method string getMaintainTime()
600
 * @method $this withMaintainTime($value)
601
 */
602
class ModifyDBInstanceMaintainTime extends Rpc
603
{
604
}
605
606
/**
607
 * @method string getClientToken()
608
 * @method $this withClientToken($value)
609
 * @method string getDBInstanceId()
610
 * @method $this withDBInstanceId($value)
611
 * @method string getParamLevel()
612
 * @method $this withParamLevel($value)
613
 * @method string getParameters()
614
 * @method $this withParameters($value)
615
 */
616
class ModifyParameter extends Rpc
617
{
618
}
619
620
/**
621
 * @method string getDBInstanceName()
622
 * @method $this withDBInstanceName($value)
623
 * @method string getModifyMode()
624
 * @method $this withModifyMode($value)
625
 * @method string getGroupName()
626
 * @method $this withGroupName($value)
627
 * @method string getSecurityIPList()
628
 * @method $this withSecurityIPList($value)
629
 */
630
class ModifySecurityIps extends Rpc
631
{
632
}
633
634
/**
635
 * @method string getDBInstanceName()
636
 * @method $this withDBInstanceName($value)
637
 * @method string getResourceOwnerId()
638
 * @method $this withResourceOwnerId($value)
639
 * @method string getResourceOwnerAccount()
640
 * @method $this withResourceOwnerAccount($value)
641
 * @method string getOwnerAccount()
642
 * @method $this withOwnerAccount($value)
643
 * @method string getOwnerId()
644
 * @method $this withOwnerId($value)
645
 * @method string getCurrentConnectionString()
646
 * @method $this withCurrentConnectionString($value)
647
 */
648
class ReleaseInstancePublicConnection extends Rpc
649
{
650
}
651
652
/**
653
 * @method string getDBInstanceName()
654
 * @method $this withDBInstanceName($value)
655
 * @method string getAccountPassword()
656
 * @method $this withAccountPassword($value)
657
 * @method string getAccountName()
658
 * @method $this withAccountName($value)
659
 */
660
class ResetAccountPassword extends Rpc
661
{
662
}
663
664
/**
665
 * @method string getDBInstanceName()
666
 * @method $this withDBInstanceName($value)
667
 * @method string getAccountPassword()
668
 * @method $this withAccountPassword($value)
669
 * @method string getAccountName()
670
 * @method $this withAccountName($value)
671
 */
672
class ResetPolarxPgAccountPassword extends Rpc
673
{
674
}
675
676
/**
677
 * @method string getDBInstanceName()
678
 * @method $this withDBInstanceName($value)
679
 */
680
class RestartDBInstance extends Rpc
681
{
682
}
683
684
/**
685
 * @method string getDBInstanceName()
686
 * @method $this withDBInstanceName($value)
687
 * @method string getSwitchTime()
688
 * @method $this withSwitchTime($value)
689
 * @method string getUpgradeTime()
690
 * @method $this withUpgradeTime($value)
691
 */
692
class UpgradeDBInstanceKernelVersion extends Rpc
693
{
694
}
695