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 ( e9ccbe...b4ff25 )
by
unknown
05:57
created

DrdsApiValidateOrder::withData()   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\Drds\V20150413;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AlterTable alterTable(array $options = [])
9
 * @method CancelDDLTask cancelDDLTask(array $options = [])
10
 * @method CancleDDLTask cancleDDLTask(array $options = [])
11
 * @method CreateDrdsDB createDrdsDB(array $options = [])
12
 * @method CreateDrdsInstance createDrdsInstance(array $options = [])
13
 * @method CreateIndex createIndex(array $options = [])
14
 * @method CreateReadOnlyAccount createReadOnlyAccount(array $options = [])
15
 * @method CreateTable createTable(array $options = [])
16
 * @method DeleteDrdsDB deleteDrdsDB(array $options = [])
17
 * @method DeleteFailedDrdsDB deleteFailedDrdsDB(array $options = [])
18
 * @method DescribeCreateDrdsInstanceStatus describeCreateDrdsInstanceStatus(array $options = [])
19
 * @method DescribeDDLTask describeDDLTask(array $options = [])
20
 * @method DescribeDrdsDB describeDrdsDB(array $options = [])
21
 * @method DescribeDrdsDBIpWhiteList describeDrdsDBIpWhiteList(array $options = [])
22
 * @method DescribeDrdsDBs describeDrdsDBs(array $options = [])
23
 * @method DescribeDrdsInstance describeDrdsInstance(array $options = [])
24
 * @method DescribeDrdsInstanceNetInfoForInner describeDrdsInstanceNetInfoForInner(array $options = [])
25
 * @method DescribeDrdsInstances describeDrdsInstances(array $options = [])
26
 * @method DescribeRdsList describeRdsList(array $options = [])
27
 * @method DescribeReadOnlyAccount describeReadOnlyAccount(array $options = [])
28
 * @method DescribeRegions describeRegions(array $options = [])
29
 * @method DescribeShardDbConnectionInfo describeShardDbConnectionInfo(array $options = [])
30
 * @method DescribeShardDBs describeShardDBs(array $options = [])
31
 * @method DrdsApiValidateOrder drdsApiValidateOrder(array $options = [])
32
 * @method DropIndexes dropIndexes(array $options = [])
33
 * @method DropTables dropTables(array $options = [])
34
 * @method ListUnCompleteTasks listUnCompleteTasks(array $options = [])
35
 * @method ModifyDrdsDBPasswd modifyDrdsDBPasswd(array $options = [])
36
 * @method ModifyDrdsInstanceDescription modifyDrdsInstanceDescription(array $options = [])
37
 * @method ModifyDrdsIpWhiteList modifyDrdsIpWhiteList(array $options = [])
38
 * @method ModifyFullTableScan modifyFullTableScan(array $options = [])
39
 * @method ModifyRdsReadWeight modifyRdsReadWeight(array $options = [])
40
 * @method ModifyReadOnlyAccountPassword modifyReadOnlyAccountPassword(array $options = [])
41
 * @method ProductInfoComplement productInfoComplement(array $options = [])
42
 * @method QueryInstanceInfoByConn queryInstanceInfoByConn(array $options = [])
43
 * @method RemoveDrdsInstance removeDrdsInstance(array $options = [])
44
 * @method RemoveReadOnlyAccount removeReadOnlyAccount(array $options = [])
45
 */
46
class DrdsApiResolver extends ApiResolver
47
{
48
}
49
50
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
51
{
52
    /** @var string */
53
    public $product = 'Drds';
54
55
    /** @var string */
56
    public $version = '2015-04-13';
57
58
    /** @var string */
59
    public $method = 'POST';
60
61
    /** @var string */
62
    public $serviceCode = 'Drds';
63
}
64
65
/**
66
 * @method string getDrdsInstanceId()
67
 * @method $this withDrdsInstanceId($value)
68
 * @method string getDbName()
69
 * @method $this withDbName($value)
70
 * @method string getDdlSql()
71
 * @method $this withDdlSql($value)
72
 */
73
class AlterTable extends Rpc
74
{
75
}
76
77
/**
78
 * @method string getDrdsInstanceId()
79
 * @method $this withDrdsInstanceId($value)
80
 * @method string getDbName()
81
 * @method $this withDbName($value)
82
 * @method string getTaskId()
83
 * @method $this withTaskId($value)
84
 */
85
class CancelDDLTask extends Rpc
86
{
87
}
88
89
/**
90
 * @method string getDrdsInstanceId()
91
 * @method $this withDrdsInstanceId($value)
92
 * @method string getDbName()
93
 * @method $this withDbName($value)
94
 * @method string getTaskId()
95
 * @method $this withTaskId($value)
96
 */
97
class CancleDDLTask extends Rpc
98
{
99
}
100
101
/**
102
 * @method string getEncode()
103
 * @method $this withEncode($value)
104
 * @method string getDrdsInstanceId()
105
 * @method $this withDrdsInstanceId($value)
106
 * @method string getPassword()
107
 * @method $this withPassword($value)
108
 * @method string getDbName()
109
 * @method $this withDbName($value)
110
 * @method string getRdsInstances()
111
 * @method $this withRdsInstances($value)
112
 */
113
class CreateDrdsDB extends Rpc
114
{
115
}
116
117
/**
118
 * @method string getQuantity()
119
 * @method $this withQuantity($value)
120
 * @method string getDescription()
121
 * @method $this withDescription($value)
122
 * @method string getSpecification()
123
 * @method $this withSpecification($value)
124
 * @method string getType()
125
 * @method $this withType($value)
126
 * @method string getVswitchId()
127
 * @method $this withVswitchId($value)
128
 * @method string getVpcId()
129
 * @method $this withVpcId($value)
130
 * @method string getZoneId()
131
 * @method $this withZoneId($value)
132
 * @method string getPayType()
133
 * @method $this withPayType($value)
134
 */
135
class CreateDrdsInstance extends Rpc
136
{
137
}
138
139
/**
140
 * @method string getDrdsInstanceId()
141
 * @method $this withDrdsInstanceId($value)
142
 * @method string getDbName()
143
 * @method $this withDbName($value)
144
 * @method string getDdlSql()
145
 * @method $this withDdlSql($value)
146
 */
147
class CreateIndex extends Rpc
148
{
149
}
150
151
/**
152
 * @method string getDrdsInstanceId()
153
 * @method $this withDrdsInstanceId($value)
154
 * @method string getPassword()
155
 * @method string getDbName()
156
 * @method $this withDbName($value)
157
 */
158
class CreateReadOnlyAccount extends Rpc
159
{
160
161
    /**
162
     * @param string $value
163
     *
164
     * @return $this
165
     */
166
    public function withPassword($value)
167
    {
168
        $this->data['Password'] = $value;
169
        $this->options['query']['password'] = $value;
170
171
        return $this;
172
    }
173
}
174
175
/**
176
 * @method string getAllowFullTableScan()
177
 * @method $this withAllowFullTableScan($value)
178
 * @method string getShardKey()
179
 * @method $this withShardKey($value)
180
 * @method string getShardType()
181
 * @method $this withShardType($value)
182
 * @method string getDrdsInstanceId()
183
 * @method $this withDrdsInstanceId($value)
184
 * @method string getDbName()
185
 * @method $this withDbName($value)
186
 * @method string getDdlSql()
187
 * @method $this withDdlSql($value)
188
 */
189
class CreateTable extends Rpc
190
{
191
}
192
193
/**
194
 * @method string getDrdsInstanceId()
195
 * @method $this withDrdsInstanceId($value)
196
 * @method string getDbName()
197
 * @method $this withDbName($value)
198
 */
199
class DeleteDrdsDB extends Rpc
200
{
201
}
202
203
/**
204
 * @method string getDrdsInstanceId()
205
 * @method $this withDrdsInstanceId($value)
206
 * @method string getDbName()
207
 * @method $this withDbName($value)
208
 */
209
class DeleteFailedDrdsDB extends Rpc
210
{
211
}
212
213
/**
214
 * @method string getDrdsInstanceId()
215
 * @method $this withDrdsInstanceId($value)
216
 */
217
class DescribeCreateDrdsInstanceStatus extends Rpc
218
{
219
}
220
221
/**
222
 * @method string getDrdsInstanceId()
223
 * @method $this withDrdsInstanceId($value)
224
 * @method string getDbName()
225
 * @method $this withDbName($value)
226
 * @method string getTaskId()
227
 * @method $this withTaskId($value)
228
 */
229
class DescribeDDLTask extends Rpc
230
{
231
}
232
233
/**
234
 * @method string getDrdsInstanceId()
235
 * @method $this withDrdsInstanceId($value)
236
 * @method string getDbName()
237
 * @method $this withDbName($value)
238
 */
239
class DescribeDrdsDB extends Rpc
240
{
241
}
242
243
/**
244
 * @method string getDrdsInstanceId()
245
 * @method $this withDrdsInstanceId($value)
246
 * @method string getGroupName()
247
 * @method $this withGroupName($value)
248
 * @method string getDbName()
249
 * @method $this withDbName($value)
250
 */
251
class DescribeDrdsDBIpWhiteList extends Rpc
252
{
253
}
254
255
/**
256
 * @method string getDrdsInstanceId()
257
 * @method $this withDrdsInstanceId($value)
258
 */
259
class DescribeDrdsDBs extends Rpc
260
{
261
}
262
263
/**
264
 * @method string getDrdsInstanceId()
265
 * @method $this withDrdsInstanceId($value)
266
 */
267
class DescribeDrdsInstance extends Rpc
268
{
269
}
270
271
/**
272
 * @method string getDrdsInstanceId()
273
 * @method $this withDrdsInstanceId($value)
274
 */
275
class DescribeDrdsInstanceNetInfoForInner extends Rpc
276
{
277
}
278
279
/**
280
 * @method string getType()
281
 * @method $this withType($value)
282
 */
283
class DescribeDrdsInstances extends Rpc
284
{
285
}
286
287
/**
288
 * @method string getDrdsInstanceId()
289
 * @method $this withDrdsInstanceId($value)
290
 * @method string getDbName()
291
 * @method $this withDbName($value)
292
 */
293
class DescribeRdsList extends Rpc
294
{
295
}
296
297
/**
298
 * @method string getDrdsInstanceId()
299
 * @method $this withDrdsInstanceId($value)
300
 * @method string getDbName()
301
 * @method $this withDbName($value)
302
 */
303
class DescribeReadOnlyAccount extends Rpc
304
{
305
}
306
307
class DescribeRegions extends Rpc
308
{
309
}
310
311
/**
312
 * @method string getDrdsInstanceId()
313
 * @method $this withDrdsInstanceId($value)
314
 * @method string getSubDbName()
315
 * @method $this withSubDbName($value)
316
 * @method string getDbName()
317
 * @method $this withDbName($value)
318
 */
319
class DescribeShardDbConnectionInfo extends Rpc
320
{
321
}
322
323
/**
324
 * @method string getDrdsInstanceId()
325
 * @method $this withDrdsInstanceId($value)
326
 * @method string getDbName()
327
 * @method $this withDbName($value)
328
 */
329
class DescribeShardDBs extends Rpc
330
{
331
}
332
333
/**
334
 * @method string getData()
335
 */
336
class DrdsApiValidateOrder extends Rpc
337
{
338
339
    /**
340
     * @param string $value
341
     *
342
     * @return $this
343
     */
344
    public function withData($value)
345
    {
346
        $this->data['Data'] = $value;
347
        $this->options['query']['data'] = $value;
348
349
        return $this;
350
    }
351
}
352
353
/**
354
 * @method string getDrdsInstanceId()
355
 * @method $this withDrdsInstanceId($value)
356
 * @method string getDbName()
357
 * @method $this withDbName($value)
358
 * @method string getIndexes()
359
 * @method $this withIndexes($value)
360
 * @method string getTable()
361
 * @method $this withTable($value)
362
 */
363
class DropIndexes extends Rpc
364
{
365
}
366
367
/**
368
 * @method string getDrdsInstanceId()
369
 * @method $this withDrdsInstanceId($value)
370
 * @method string getTables()
371
 * @method $this withTables($value)
372
 * @method string getDbName()
373
 * @method $this withDbName($value)
374
 */
375
class DropTables extends Rpc
376
{
377
}
378
379
/**
380
 * @method string getDrdsInstanceId()
381
 * @method $this withDrdsInstanceId($value)
382
 * @method string getDbName()
383
 * @method $this withDbName($value)
384
 */
385
class ListUnCompleteTasks extends Rpc
386
{
387
}
388
389
/**
390
 * @method string getDrdsInstanceId()
391
 * @method $this withDrdsInstanceId($value)
392
 * @method string getNewPasswd()
393
 * @method $this withNewPasswd($value)
394
 * @method string getDbName()
395
 * @method $this withDbName($value)
396
 */
397
class ModifyDrdsDBPasswd extends Rpc
398
{
399
}
400
401
/**
402
 * @method string getDescription()
403
 * @method $this withDescription($value)
404
 * @method string getDrdsInstanceId()
405
 * @method $this withDrdsInstanceId($value)
406
 */
407
class ModifyDrdsInstanceDescription extends Rpc
408
{
409
}
410
411
/**
412
 * @method string getDrdsInstanceId()
413
 * @method $this withDrdsInstanceId($value)
414
 * @method string getGroupName()
415
 * @method $this withGroupName($value)
416
 * @method string getMode()
417
 * @method $this withMode($value)
418
 * @method string getDbName()
419
 * @method $this withDbName($value)
420
 * @method string getGroupAttribute()
421
 * @method $this withGroupAttribute($value)
422
 * @method string getIpWhiteList()
423
 * @method $this withIpWhiteList($value)
424
 */
425
class ModifyDrdsIpWhiteList extends Rpc
426
{
427
}
428
429
/**
430
 * @method string getTableNames()
431
 * @method $this withTableNames($value)
432
 * @method string getDrdsInstanceId()
433
 * @method $this withDrdsInstanceId($value)
434
 * @method string getDbName()
435
 * @method $this withDbName($value)
436
 * @method string getFullTableScan()
437
 * @method $this withFullTableScan($value)
438
 */
439
class ModifyFullTableScan extends Rpc
440
{
441
}
442
443
/**
444
 * @method string getWeights()
445
 * @method $this withWeights($value)
446
 * @method string getDrdsInstanceId()
447
 * @method $this withDrdsInstanceId($value)
448
 * @method string getInstanceNames()
449
 * @method $this withInstanceNames($value)
450
 * @method string getDbName()
451
 * @method $this withDbName($value)
452
 */
453
class ModifyRdsReadWeight extends Rpc
454
{
455
}
456
457
/**
458
 * @method string getDrdsInstanceId()
459
 * @method $this withDrdsInstanceId($value)
460
 * @method string getNewPasswd()
461
 * @method $this withNewPasswd($value)
462
 * @method string getDbName()
463
 * @method $this withDbName($value)
464
 * @method string getAccountName()
465
 * @method $this withAccountName($value)
466
 * @method string getOriginPassword()
467
 * @method $this withOriginPassword($value)
468
 */
469
class ModifyReadOnlyAccountPassword extends Rpc
470
{
471
}
472
473
/**
474
 * @method string getGender()
475
 * @method string getName()
476
 */
477
class ProductInfoComplement extends Rpc
478
{
479
480
    /**
481
     * @param string $value
482
     *
483
     * @return $this
484
     */
485
    public function withGender($value)
486
    {
487
        $this->data['Gender'] = $value;
488
        $this->options['query']['gender'] = $value;
489
490
        return $this;
491
    }
492
493
    /**
494
     * @param string $value
495
     *
496
     * @return $this
497
     */
498
    public function withName($value)
499
    {
500
        $this->data['Name'] = $value;
501
        $this->options['query']['name'] = $value;
502
503
        return $this;
504
    }
505
}
506
507
/**
508
 * @method string getPort()
509
 * @method $this withPort($value)
510
 * @method string getHost()
511
 * @method $this withHost($value)
512
 * @method string getUserName()
513
 * @method $this withUserName($value)
514
 */
515
class QueryInstanceInfoByConn extends Rpc
516
{
517
}
518
519
/**
520
 * @method string getDrdsInstanceId()
521
 * @method $this withDrdsInstanceId($value)
522
 */
523
class RemoveDrdsInstance extends Rpc
524
{
525
}
526
527
/**
528
 * @method string getDrdsInstanceId()
529
 * @method $this withDrdsInstanceId($value)
530
 * @method string getDbName()
531
 * @method $this withDbName($value)
532
 * @method string getAccountName()
533
 * @method $this withAccountName($value)
534
 */
535
class RemoveReadOnlyAccount extends Rpc
536
{
537
}
538