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

CreateEvaluateTask::withDbInfo()   B

Complexity

Conditions 7
Paths 33

Size

Total Lines 22
Code Lines 13

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 13
c 1
b 0
f 0
dl 0
loc 22
rs 8.8333
cc 7
nc 33
nop 1
1
<?php
2
3
namespace AlibabaCloud\Drds\V20190123;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AsyncTaskCancel asyncTaskCancel(array $options = [])
9
 * @method ChangeAccountPassword changeAccountPassword(array $options = [])
10
 * @method CheckConnectivity checkConnectivity(array $options = [])
11
 * @method CheckDrdsDbName checkDrdsDbName(array $options = [])
12
 * @method CheckExpandStatus checkExpandStatus(array $options = [])
13
 * @method CheckNewTableNameValid checkNewTableNameValid(array $options = [])
14
 * @method CheckSqlAuditEnableStatus checkSqlAuditEnableStatus(array $options = [])
15
 * @method CreateCustomDataExportPreCheckTask createCustomDataExportPreCheckTask(array $options = [])
16
 * @method CreateCustomDataExportTask createCustomDataExportTask(array $options = [])
17
 * @method CreateCustomDataImportPreCheckTask createCustomDataImportPreCheckTask(array $options = [])
18
 * @method CreateCustomDataImportTask createCustomDataImportTask(array $options = [])
19
 * @method CreateDrdsDB createDrdsDB(array $options = [])
20
 * @method CreateDrdsInstance createDrdsInstance(array $options = [])
21
 * @method CreateEvaluateDataImportPreCheckTask createEvaluateDataImportPreCheckTask(array $options = [])
22
 * @method CreateEvaluateDataImportTask createEvaluateDataImportTask(array $options = [])
23
 * @method CreateEvaluatePreCheckTask createEvaluatePreCheckTask(array $options = [])
24
 * @method CreateEvaluateTask createEvaluateTask(array $options = [])
25
 * @method CreateInstanceAccount createInstanceAccount(array $options = [])
26
 * @method CreateInstanceInternetAddress createInstanceInternetAddress(array $options = [])
27
 * @method CreateMyCatCustomImport createMyCatCustomImport(array $options = [])
28
 * @method CreateMyCatEvaluate createMyCatEvaluate(array $options = [])
29
 * @method CreateOrderForRds createOrderForRds(array $options = [])
30
 * @method CreateShardTask createShardTask(array $options = [])
31
 * @method DatalinkReplicationPrecheck datalinkReplicationPrecheck(array $options = [])
32
 * @method DeleteShardTasks deleteShardTasks(array $options = [])
33
 * @method DescribeBackMenu describeBackMenu(array $options = [])
34
 * @method DescribeBackupDbs describeBackupDbs(array $options = [])
35
 * @method DescribeBackupLocal describeBackupLocal(array $options = [])
36
 * @method DescribeBackupPolicy describeBackupPolicy(array $options = [])
37
 * @method DescribeBackupSets describeBackupSets(array $options = [])
38
 * @method DescribeBackupTimes describeBackupTimes(array $options = [])
39
 * @method DescribeBatchEvaluateTaskReport describeBatchEvaluateTaskReport(array $options = [])
40
 * @method DescribeBroadcastTables describeBroadcastTables(array $options = [])
41
 * @method DescribeCustomDataExportSrcDstTables describeCustomDataExportSrcDstTables(array $options = [])
42
 * @method DescribeCustomDataImportSrcDstTables describeCustomDataImportSrcDstTables(array $options = [])
43
 * @method DescribeDataExportPreCheckResult describeDataExportPreCheckResult(array $options = [])
44
 * @method DescribeDataExportTaskReport describeDataExportTaskReport(array $options = [])
45
 * @method DescribeDataExportTasks describeDataExportTasks(array $options = [])
46
 * @method DescribeDataImportPreCheckResult describeDataImportPreCheckResult(array $options = [])
47
 * @method DescribeDataImportTaskReport describeDataImportTaskReport(array $options = [])
48
 * @method DescribeDataImportTasks describeDataImportTasks(array $options = [])
49
 * @method DescribeDbInstanceDbs describeDbInstanceDbs(array $options = [])
50
 * @method DescribeDbInstances describeDbInstances(array $options = [])
51
 * @method DescribeDrdsComponents describeDrdsComponents(array $options = [])
52
 * @method DescribeDrdsDB describeDrdsDB(array $options = [])
53
 * @method DescribeDrdsDBCluster describeDrdsDBCluster(array $options = [])
54
 * @method DescribeDrdsDbInstance describeDrdsDbInstance(array $options = [])
55
 * @method DescribeDrdsDbInstances describeDrdsDbInstances(array $options = [])
56
 * @method DescribeDrdsDBIpWhiteList describeDrdsDBIpWhiteList(array $options = [])
57
 * @method DescribeDrdsDbRdsNameList describeDrdsDbRdsNameList(array $options = [])
58
 * @method DescribeDrdsDBs describeDrdsDBs(array $options = [])
59
 * @method DescribeDrdsDbTasks describeDrdsDbTasks(array $options = [])
60
 * @method DescribeDrdsDbTestLink describeDrdsDbTestLink(array $options = [])
61
 * @method DescribeDrdsInstance describeDrdsInstance(array $options = [])
62
 * @method DescribeDrdsInstanceDbMonitor describeDrdsInstanceDbMonitor(array $options = [])
63
 * @method DescribeDrdsInstanceLevelTasks describeDrdsInstanceLevelTasks(array $options = [])
64
 * @method DescribeDrdsInstanceMonitor describeDrdsInstanceMonitor(array $options = [])
65
 * @method DescribeDrdsInstances describeDrdsInstances(array $options = [])
66
 * @method DescribeDrdsInstanceVersion describeDrdsInstanceVersion(array $options = [])
67
 * @method DescribeDrdsParams describeDrdsParams(array $options = [])
68
 * @method DescribeDrdsRdsInstances describeDrdsRdsInstances(array $options = [])
69
 * @method DescribeDrdsShardingDbs describeDrdsShardingDbs(array $options = [])
70
 * @method DescribeDrdsSlowSqls describeDrdsSlowSqls(array $options = [])
71
 * @method DescribeDrdsSqlAuditStatus describeDrdsSqlAuditStatus(array $options = [])
72
 * @method DescribeDrdsTasks describeDrdsTasks(array $options = [])
73
 * @method DescribeEvaluateDataImportDbTopologys describeEvaluateDataImportDbTopologys(array $options = [])
74
 * @method DescribeEvaluatePreCheckResult describeEvaluatePreCheckResult(array $options = [])
75
 * @method DescribeEvaluateTaskReport describeEvaluateTaskReport(array $options = [])
76
 * @method DescribeEvaluateTasks describeEvaluateTasks(array $options = [])
77
 * @method DescribeExpandLogicTableInfoList describeExpandLogicTableInfoList(array $options = [])
78
 * @method DescribeFirstDrdsInstanceByOrderId describeFirstDrdsInstanceByOrderId(array $options = [])
79
 * @method DescribeGlobalBroadcastType describeGlobalBroadcastType(array $options = [])
80
 * @method DescribeHiStoreInstanceInfo describeHiStoreInstanceInfo(array $options = [])
81
 * @method DescribeHotDbList describeHotDbList(array $options = [])
82
 * @method DescribeInstanceAccounts describeInstanceAccounts(array $options = [])
83
 * @method DescribeInstanceMenuSwitch describeInstanceMenuSwitch(array $options = [])
84
 * @method DescribeInstanceSwitchAzone describeInstanceSwitchAzone(array $options = [])
85
 * @method DescribeInstanceSwitchNetwork describeInstanceSwitchNetwork(array $options = [])
86
 * @method DescribeInstDbLogInfo describeInstDbLogInfo(array $options = [])
87
 * @method DescribeInstDbSlsInfo describeInstDbSlsInfo(array $options = [])
88
 * @method DescribeMyCatDbList describeMyCatDbList(array $options = [])
89
 * @method DescribeMyCatReportInfo describeMyCatReportInfo(array $options = [])
90
 * @method DescribePreCheckResult describePreCheckResult(array $options = [])
91
 * @method DescribeRdsCommodity describeRdsCommodity(array $options = [])
92
 * @method DescribeRdsDbInfos describeRdsDbInfos(array $options = [])
93
 * @method DescribeRdsDrdsDB describeRdsDrdsDB(array $options = [])
94
 * @method DescribeRdsInstInfos describeRdsInstInfos(array $options = [])
95
 * @method DescribeRDSPerformance describeRDSPerformance(array $options = [])
96
 * @method DescribeRdsPerformanceSummary describeRdsPerformanceSummary(array $options = [])
97
 * @method DescribeRdsReadOnly describeRdsReadOnly(array $options = [])
98
 * @method DescribeRdsSuperAccountInstances describeRdsSuperAccountInstances(array $options = [])
99
 * @method DescribeRecycleBinStatus describeRecycleBinStatus(array $options = [])
100
 * @method DescribeRecycleBinTables describeRecycleBinTables(array $options = [])
101
 * @method DescribeRestoreOrder describeRestoreOrder(array $options = [])
102
 * @method DescribeShardTaskInfo describeShardTaskInfo(array $options = [])
103
 * @method DescribeShardTaskList describeShardTaskList(array $options = [])
104
 * @method DescribeSqlFlashbakTask describeSqlFlashbakTask(array $options = [])
105
 * @method DescribeTable describeTable(array $options = [])
106
 * @method DescribeTableListByType describeTableListByType(array $options = [])
107
 * @method DescribeTables describeTables(array $options = [])
108
 * @method DescribeTableShardingInfo describeTableShardingInfo(array $options = [])
109
 * @method DescribeUnCompatibilitySql describeUnCompatibilitySql(array $options = [])
110
 * @method DisableSqlAudit disableSqlAudit(array $options = [])
111
 * @method EnableInstanceIpv6Address enableInstanceIpv6Address(array $options = [])
112
 * @method EnableSqlAudit enableSqlAudit(array $options = [])
113
 * @method EnableSqlFlashbackMatchSwitch enableSqlFlashbackMatchSwitch(array $options = [])
114
 * @method FlashbackRecycleBinTable flashbackRecycleBinTable(array $options = [])
115
 * @method GetBatchEvaluateTaskReport getBatchEvaluateTaskReport(array $options = [])
116
 * @method ListTagResources listTagResources(array $options = [])
117
 * @method ListUserReports listUserReports(array $options = [])
118
 * @method ListVersions listVersions(array $options = [])
119
 * @method ManagePrivateRds managePrivateRds(array $options = [])
120
 * @method ModifyAccountDescription modifyAccountDescription(array $options = [])
121
 * @method ModifyAccountPrivilege modifyAccountPrivilege(array $options = [])
122
 * @method ModifyDrdsInstanceDescription modifyDrdsInstanceDescription(array $options = [])
123
 * @method ModifyDrdsIpWhiteList modifyDrdsIpWhiteList(array $options = [])
124
 * @method ModifyPolarDbReadWeight modifyPolarDbReadWeight(array $options = [])
125
 * @method ModifyRdsReadWeight modifyRdsReadWeight(array $options = [])
126
 * @method MyCatConnectTest myCatConnectTest(array $options = [])
127
 * @method MyCatCustomImportPreCheck myCatCustomImportPreCheck(array $options = [])
128
 * @method PreCheckModifyTableShardingKeyParam preCheckModifyTableShardingKeyParam(array $options = [])
129
 * @method PrecheckMyCatEvaluate precheckMyCatEvaluate(array $options = [])
130
 * @method PutStartBackup putStartBackup(array $options = [])
131
 * @method RefreshDrdsAtomUrl refreshDrdsAtomUrl(array $options = [])
132
 * @method ReleaseHiStoreInstance releaseHiStoreInstance(array $options = [])
133
 * @method ReleaseInstanceInternetAddress releaseInstanceInternetAddress(array $options = [])
134
 * @method RemoveBackupsSet removeBackupsSet(array $options = [])
135
 * @method RemoveDataExportTask removeDataExportTask(array $options = [])
136
 * @method RemoveDataImportTask removeDataImportTask(array $options = [])
137
 * @method RemoveDrdsDb removeDrdsDb(array $options = [])
138
 * @method RemoveDrdsDbFailedRecord removeDrdsDbFailedRecord(array $options = [])
139
 * @method RemoveDrdsInstance removeDrdsInstance(array $options = [])
140
 * @method RemoveDrdsMysql removeDrdsMysql(array $options = [])
141
 * @method RemoveEvaluateTask removeEvaluateTask(array $options = [])
142
 * @method RemoveInstanceAccount removeInstanceAccount(array $options = [])
143
 * @method RemoveRecycleBinTable removeRecycleBinTable(array $options = [])
144
 * @method ResetDrdsToRdsConnections resetDrdsToRdsConnections(array $options = [])
145
 * @method RestartDrdsInstance restartDrdsInstance(array $options = [])
146
 * @method RollbackHiStoreInstance rollbackHiStoreInstance(array $options = [])
147
 * @method RollbackInstanceVersion rollbackInstanceVersion(array $options = [])
148
 * @method SetBackupLocal setBackupLocal(array $options = [])
149
 * @method SetBackupPolicy setBackupPolicy(array $options = [])
150
 * @method SetupBroadcastTables setupBroadcastTables(array $options = [])
151
 * @method SetupDrdsParams setupDrdsParams(array $options = [])
152
 * @method SetupRecycleBinStatus setupRecycleBinStatus(array $options = [])
153
 * @method SetupTable setupTable(array $options = [])
154
 * @method SqlCompatibilityCancel sqlCompatibilityCancel(array $options = [])
155
 * @method SqlCompatibilityStart sqlCompatibilityStart(array $options = [])
156
 * @method StartDataImportTask startDataImportTask(array $options = [])
157
 * @method StartEvaluateTask startEvaluateTask(array $options = [])
158
 * @method StartRestore startRestore(array $options = [])
159
 * @method StopDataExportTask stopDataExportTask(array $options = [])
160
 * @method StopDataImportTask stopDataImportTask(array $options = [])
161
 * @method StopEvaluateTask stopEvaluateTask(array $options = [])
162
 * @method SubmitCleanTableShardingKeyModify submitCleanTableShardingKeyModify(array $options = [])
163
 * @method SubmitCleanTask submitCleanTask(array $options = [])
164
 * @method SubmitHotExpandPreCheckTask submitHotExpandPreCheckTask(array $options = [])
165
 * @method SubmitHotExpandTask submitHotExpandTask(array $options = [])
166
 * @method SubmitRollbackShardingKeyModify submitRollbackShardingKeyModify(array $options = [])
167
 * @method SubmitRollbackTask submitRollbackTask(array $options = [])
168
 * @method SubmitSmoothExpandPreCheck submitSmoothExpandPreCheck(array $options = [])
169
 * @method SubmitSmoothExpandPreCheckTask submitSmoothExpandPreCheckTask(array $options = [])
170
 * @method SubmitSmoothExpandTask submitSmoothExpandTask(array $options = [])
171
 * @method SubmitSqlFlashbackTask submitSqlFlashbackTask(array $options = [])
172
 * @method SubmitSwitchTableShardingKeyModify submitSwitchTableShardingKeyModify(array $options = [])
173
 * @method SubmitSwitchTask submitSwitchTask(array $options = [])
174
 * @method SubmitTableShardingKeyModify submitTableShardingKeyModify(array $options = [])
175
 * @method SwitchGlobalBroadcastType switchGlobalBroadcastType(array $options = [])
176
 * @method TagResources tagResources(array $options = [])
177
 * @method UntagResources untagResources(array $options = [])
178
 * @method UpdateInstanceNetwork updateInstanceNetwork(array $options = [])
179
 * @method UpdateResourceGroupAttribute updateResourceGroupAttribute(array $options = [])
180
 * @method UpgradeHiStoreInstance upgradeHiStoreInstance(array $options = [])
181
 * @method UpgradeInstanceVersion upgradeInstanceVersion(array $options = [])
182
 * @method ValidateShardTask validateShardTask(array $options = [])
183
 */
184
class DrdsApiResolver extends ApiResolver
185
{
186
}
187
188
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
189
{
190
    /** @var string */
191
    public $product = 'Drds';
192
193
    /** @var string */
194
    public $version = '2019-01-23';
195
196
    /** @var string */
197
    public $method = 'POST';
198
199
    /** @var string */
200
    public $serviceCode = 'Drds';
201
}
202
203
/**
204
 * @method string getDrdsInstanceId()
205
 * @method $this withDrdsInstanceId($value)
206
 * @method string getTaskId()
207
 * @method $this withTaskId($value)
208
 */
209
class AsyncTaskCancel extends Rpc
210
{
211
}
212
213
/**
214
 * @method string getDrdsInstanceId()
215
 * @method $this withDrdsInstanceId($value)
216
 * @method string getPassword()
217
 * @method $this withPassword($value)
218
 * @method string getAccountName()
219
 * @method $this withAccountName($value)
220
 */
221
class ChangeAccountPassword extends Rpc
222
{
223
}
224
225
/**
226
 * @method string getDbInfo()
227
 * @method $this withDbInfo($value)
228
 * @method string getDbType()
229
 * @method $this withDbType($value)
230
 */
231
class CheckConnectivity extends Rpc
232
{
233
}
234
235
/**
236
 * @method string getDrdsInstanceId()
237
 * @method $this withDrdsInstanceId($value)
238
 * @method string getDbName()
239
 * @method $this withDbName($value)
240
 */
241
class CheckDrdsDbName extends Rpc
242
{
243
}
244
245
/**
246
 * @method string getDrdsInstanceId()
247
 * @method $this withDrdsInstanceId($value)
248
 * @method string getDbName()
249
 * @method $this withDbName($value)
250
 */
251
class CheckExpandStatus extends Rpc
252
{
253
}
254
255
/**
256
 * @method string getDrdsInstanceId()
257
 * @method $this withDrdsInstanceId($value)
258
 * @method string getDbName()
259
 * @method $this withDbName($value)
260
 * @method string getTableName()
261
 * @method $this withTableName($value)
262
 */
263
class CheckNewTableNameValid extends Rpc
264
{
265
}
266
267
/**
268
 * @method string getDrdsInstanceId()
269
 * @method $this withDrdsInstanceId($value)
270
 * @method string getDbName()
271
 * @method $this withDbName($value)
272
 */
273
class CheckSqlAuditEnableStatus extends Rpc
274
{
275
}
276
277
/**
278
 * @method string getExportParam()
279
 * @method $this withExportParam($value)
280
 */
281
class CreateCustomDataExportPreCheckTask extends Rpc
282
{
283
}
284
285
/**
286
 * @method string getExportParam()
287
 * @method $this withExportParam($value)
288
 */
289
class CreateCustomDataExportTask extends Rpc
290
{
291
}
292
293
/**
294
 * @method string getImportParam()
295
 * @method $this withImportParam($value)
296
 */
297
class CreateCustomDataImportPreCheckTask extends Rpc
298
{
299
}
300
301
/**
302
 * @method string getImportParam()
303
 * @method $this withImportParam($value)
304
 */
305
class CreateCustomDataImportTask extends Rpc
306
{
307
}
308
309
/**
310
 * @method string getEncode()
311
 * @method $this withEncode($value)
312
 * @method array getRdsInstance()
313
 * @method string getType()
314
 * @method $this withType($value)
315
 * @method string getPassword()
316
 * @method $this withPassword($value)
317
 * @method array getRdsSuperAccount()
318
 * @method string getAccountName()
319
 * @method $this withAccountName($value)
320
 * @method string getDrdsInstanceId()
321
 * @method $this withDrdsInstanceId($value)
322
 * @method string getDbInstanceIsCreating()
323
 * @method $this withDbInstanceIsCreating($value)
324
 * @method array getInstDbName()
325
 * @method string getDbName()
326
 * @method $this withDbName($value)
327
 * @method string getDbInstType()
328
 * @method $this withDbInstType($value)
329
 */
330
class CreateDrdsDB extends Rpc
331
{
332
333
    /**
334
     * @param array $rdsInstance
335
     *
336
     * @return $this
337
     */
338
	public function withRdsInstance(array $rdsInstance)
339
	{
340
	    $this->data['RdsInstance'] = $rdsInstance;
341
		foreach ($rdsInstance as $i => $iValue) {
342
			$this->options['query']['RdsInstance.' . ($i + 1)] = $iValue;
343
		}
344
345
		return $this;
346
    }
347
348
    /**
349
     * @param array $rdsSuperAccount
350
     *
351
     * @return $this
352
     */
353
	public function withRdsSuperAccount(array $rdsSuperAccount)
354
	{
355
	    $this->data['RdsSuperAccount'] = $rdsSuperAccount;
356
		foreach ($rdsSuperAccount as $depth1 => $depth1Value) {
357
			if(isset($depth1Value['Password'])){
358
				$this->options['query']['RdsSuperAccount.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password'];
359
			}
360
			if(isset($depth1Value['AccountName'])){
361
				$this->options['query']['RdsSuperAccount.' . ($depth1 + 1) . '.AccountName'] = $depth1Value['AccountName'];
362
			}
363
			if(isset($depth1Value['DbInstanceId'])){
364
				$this->options['query']['RdsSuperAccount.' . ($depth1 + 1) . '.DbInstanceId'] = $depth1Value['DbInstanceId'];
365
			}
366
		}
367
368
		return $this;
369
    }
370
371
    /**
372
     * @param array $instDbName
373
     *
374
     * @return $this
375
     */
376
	public function withInstDbName(array $instDbName)
377
	{
378
	    $this->data['InstDbName'] = $instDbName;
379
		foreach ($instDbName as $depth1 => $depth1Value) {
380
			foreach ($depth1Value['ShardDbName'] as $i => $iValue) {
381
				$this->options['query']['InstDbName.' . ($depth1 + 1) . '.ShardDbName.' . ($i + 1)] = $iValue;
382
			}
383
			if(isset($depth1Value['DbInstanceId'])){
384
				$this->options['query']['InstDbName.' . ($depth1 + 1) . '.DbInstanceId'] = $depth1Value['DbInstanceId'];
385
			}
386
		}
387
388
		return $this;
389
    }
390
}
391
392
/**
393
 * @method string getIsAutoRenew()
394
 * @method $this withIsAutoRenew($value)
395
 * @method string getClientToken()
396
 * @method $this withClientToken($value)
397
 * @method string getDescription()
398
 * @method $this withDescription($value)
399
 * @method string getType()
400
 * @method $this withType($value)
401
 * @method string getDuration()
402
 * @method $this withDuration($value)
403
 * @method string getResourceGroupId()
404
 * @method $this withResourceGroupId($value)
405
 * @method string getIsHa()
406
 * @method string getMySQLVersion()
407
 * @method $this withMySQLVersion($value)
408
 * @method string getInstanceSeries()
409
 * @method $this withInstanceSeries($value)
410
 * @method string getMasterInstId()
411
 * @method $this withMasterInstId($value)
412
 * @method string getQuantity()
413
 * @method $this withQuantity($value)
414
 * @method string getSpecification()
415
 * @method $this withSpecification($value)
416
 * @method string getVswitchId()
417
 * @method $this withVswitchId($value)
418
 * @method string getVpcId()
419
 * @method $this withVpcId($value)
420
 * @method string getZoneId()
421
 * @method $this withZoneId($value)
422
 * @method string getPayType()
423
 * @method $this withPayType($value)
424
 * @method string getPricingCycle()
425
 * @method $this withPricingCycle($value)
426
 */
427
class CreateDrdsInstance extends Rpc
428
{
429
430
    /**
431
     * @param string $value
432
     *
433
     * @return $this
434
     */
435
    public function withIsHa($value)
436
    {
437
        $this->data['IsHa'] = $value;
438
        $this->options['query']['isHa'] = $value;
439
440
        return $this;
441
    }
442
}
443
444
/**
445
 * @method string getImportParam()
446
 * @method $this withImportParam($value)
447
 */
448
class CreateEvaluateDataImportPreCheckTask extends Rpc
449
{
450
}
451
452
/**
453
 * @method string getImportParam()
454
 * @method $this withImportParam($value)
455
 */
456
class CreateEvaluateDataImportTask extends Rpc
457
{
458
}
459
460
/**
461
 * @method string getAvgQpsGrowthScale()
462
 * @method $this withAvgQpsGrowthScale($value)
463
 * @method string getTaskName()
464
 * @method $this withTaskName($value)
465
 * @method string getDataGrowthScale()
466
 * @method $this withDataGrowthScale($value)
467
 * @method array getDbInfo()
468
 * @method string getEvaluateHours()
469
 * @method $this withEvaluateHours($value)
470
 */
471
class CreateEvaluatePreCheckTask extends Rpc
472
{
473
474
    /**
475
     * @param array $dbInfo
476
     *
477
     * @return $this
478
     */
479
	public function withDbInfo(array $dbInfo)
480
	{
481
	    $this->data['DbInfo'] = $dbInfo;
482
		foreach ($dbInfo as $depth1 => $depth1Value) {
483
			if(isset($depth1Value['InstId'])){
484
				$this->options['query']['DbInfo.' . ($depth1 + 1) . '.InstId'] = $depth1Value['InstId'];
485
			}
486
			if(isset($depth1Value['DbPort'])){
487
				$this->options['query']['DbInfo.' . ($depth1 + 1) . '.DbPort'] = $depth1Value['DbPort'];
488
			}
489
			if(isset($depth1Value['DbName'])){
490
				$this->options['query']['DbInfo.' . ($depth1 + 1) . '.DbName'] = $depth1Value['DbName'];
491
			}
492
			if(isset($depth1Value['DbPassword'])){
493
				$this->options['query']['DbInfo.' . ($depth1 + 1) . '.DbPassword'] = $depth1Value['DbPassword'];
494
			}
495
			if(isset($depth1Value['DbUser'])){
496
				$this->options['query']['DbInfo.' . ($depth1 + 1) . '.DbUser'] = $depth1Value['DbUser'];
497
			}
498
		}
499
500
		return $this;
501
    }
502
}
503
504
/**
505
 * @method string getAvgQpsGrowthScale()
506
 * @method $this withAvgQpsGrowthScale($value)
507
 * @method string getTaskName()
508
 * @method $this withTaskName($value)
509
 * @method string getDataGrowthScale()
510
 * @method $this withDataGrowthScale($value)
511
 * @method array getDbInfo()
512
 * @method string getEvaluateHours()
513
 * @method $this withEvaluateHours($value)
514
 */
515
class CreateEvaluateTask extends Rpc
516
{
517
518
    /**
519
     * @param array $dbInfo
520
     *
521
     * @return $this
522
     */
523
	public function withDbInfo(array $dbInfo)
524
	{
525
	    $this->data['DbInfo'] = $dbInfo;
526
		foreach ($dbInfo as $depth1 => $depth1Value) {
527
			if(isset($depth1Value['InstId'])){
528
				$this->options['query']['DbInfo.' . ($depth1 + 1) . '.InstId'] = $depth1Value['InstId'];
529
			}
530
			if(isset($depth1Value['DbPort'])){
531
				$this->options['query']['DbInfo.' . ($depth1 + 1) . '.DbPort'] = $depth1Value['DbPort'];
532
			}
533
			if(isset($depth1Value['DbName'])){
534
				$this->options['query']['DbInfo.' . ($depth1 + 1) . '.DbName'] = $depth1Value['DbName'];
535
			}
536
			if(isset($depth1Value['DbPassword'])){
537
				$this->options['query']['DbInfo.' . ($depth1 + 1) . '.DbPassword'] = $depth1Value['DbPassword'];
538
			}
539
			if(isset($depth1Value['DbUser'])){
540
				$this->options['query']['DbInfo.' . ($depth1 + 1) . '.DbUser'] = $depth1Value['DbUser'];
541
			}
542
		}
543
544
		return $this;
545
    }
546
}
547
548
/**
549
 * @method string getDrdsInstanceId()
550
 * @method $this withDrdsInstanceId($value)
551
 * @method string getPassword()
552
 * @method $this withPassword($value)
553
 * @method string getAccountName()
554
 * @method $this withAccountName($value)
555
 * @method array getDbPrivilege()
556
 */
557
class CreateInstanceAccount extends Rpc
558
{
559
560
    /**
561
     * @param array $dbPrivilege
562
     *
563
     * @return $this
564
     */
565
	public function withDbPrivilege(array $dbPrivilege)
566
	{
567
	    $this->data['DbPrivilege'] = $dbPrivilege;
568
		foreach ($dbPrivilege as $depth1 => $depth1Value) {
569
			if(isset($depth1Value['DbName'])){
570
				$this->options['query']['DbPrivilege.' . ($depth1 + 1) . '.DbName'] = $depth1Value['DbName'];
571
			}
572
			if(isset($depth1Value['Privilege'])){
573
				$this->options['query']['DbPrivilege.' . ($depth1 + 1) . '.Privilege'] = $depth1Value['Privilege'];
574
			}
575
		}
576
577
		return $this;
578
    }
579
}
580
581
/**
582
 * @method string getDrdsPassword()
583
 * @method $this withDrdsPassword($value)
584
 * @method string getDrdsInstanceId()
585
 * @method $this withDrdsInstanceId($value)
586
 */
587
class CreateInstanceInternetAddress extends Rpc
588
{
589
}
590
591
/**
592
 * @method string getDstPort()
593
 * @method $this withDstPort($value)
594
 * @method string getTaskName()
595
 * @method $this withTaskName($value)
596
 * @method string getSchemaUrl()
597
 * @method $this withSchemaUrl($value)
598
 * @method string getDstUser()
599
 * @method $this withDstUser($value)
600
 * @method string getDstDbNme()
601
 * @method $this withDstDbNme($value)
602
 * @method string getTableMap()
603
 * @method $this withTableMap($value)
604
 * @method string getImportDb()
605
 * @method $this withImportDb($value)
606
 * @method string getDstPwd()
607
 * @method $this withDstPwd($value)
608
 * @method string getRuleUrl()
609
 * @method $this withRuleUrl($value)
610
 * @method string getDstDrdsInstanceId()
611
 * @method $this withDstDrdsInstanceId($value)
612
 */
613
class CreateMyCatCustomImport extends Rpc
614
{
615
}
616
617
/**
618
 * @method string getSequenceType()
619
 * @method $this withSequenceType($value)
620
 * @method string getTaskName()
621
 * @method $this withTaskName($value)
622
 * @method string getSchemaUrl()
623
 * @method $this withSchemaUrl($value)
624
 * @method string getBusPeakQps()
625
 * @method $this withBusPeakQps($value)
626
 * @method string getQpsIncPercent()
627
 * @method $this withQpsIncPercent($value)
628
 * @method string getServerUrl()
629
 * @method $this withServerUrl($value)
630
 * @method string getCapacityIncPercent()
631
 * @method $this withCapacityIncPercent($value)
632
 * @method string getRuleUrl()
633
 * @method $this withRuleUrl($value)
634
 * @method array getImportDbList()
635
 */
636
class CreateMyCatEvaluate extends Rpc
637
{
638
639
    /**
640
     * @param array $importDbList
641
     *
642
     * @return $this
643
     */
644
	public function withImportDbList(array $importDbList)
645
	{
646
	    $this->data['ImportDbList'] = $importDbList;
647
		foreach ($importDbList as $i => $iValue) {
648
			$this->options['query']['ImportDbList.' . ($i + 1)] = $iValue;
649
		}
650
651
		return $this;
652
    }
653
}
654
655
/**
656
 * @method string getParams()
657
 * @method $this withParams($value)
658
 */
659
class CreateOrderForRds extends Rpc
660
{
661
}
662
663
/**
664
 * @method string getTaskType()
665
 * @method $this withTaskType($value)
666
 * @method string getTargetTableName()
667
 * @method $this withTargetTableName($value)
668
 * @method string getDrdsInstanceId()
669
 * @method $this withDrdsInstanceId($value)
670
 * @method string getDbName()
671
 * @method $this withDbName($value)
672
 * @method string getSourceTableName()
673
 * @method $this withSourceTableName($value)
674
 */
675
class CreateShardTask extends Rpc
676
{
677
}
678
679
/**
680
 * @method string getSrcTableName()
681
 * @method $this withSrcTableName($value)
682
 * @method string getDrdsInstanceId()
683
 * @method $this withDrdsInstanceId($value)
684
 * @method string getDbName()
685
 * @method $this withDbName($value)
686
 * @method string getDstTableName()
687
 * @method $this withDstTableName($value)
688
 */
689
class DatalinkReplicationPrecheck extends Rpc
690
{
691
}
692
693
/**
694
 * @method string getDrdsInstanceId()
695
 * @method $this withDrdsInstanceId($value)
696
 * @method string getDbName()
697
 * @method $this withDbName($value)
698
 * @method array getTableName()
699
 */
700
class DeleteShardTasks extends Rpc
701
{
702
703
    /**
704
     * @param array $tableName
705
     *
706
     * @return $this
707
     */
708
	public function withTableName(array $tableName)
709
	{
710
	    $this->data['TableName'] = $tableName;
711
		foreach ($tableName as $depth1 => $depth1Value) {
712
			if(isset($depth1Value['SourceTableName'])){
713
				$this->options['query']['TableName.' . ($depth1 + 1) . '.SourceTableName'] = $depth1Value['SourceTableName'];
714
			}
715
			if(isset($depth1Value['TargetTableName'])){
716
				$this->options['query']['TableName.' . ($depth1 + 1) . '.TargetTableName'] = $depth1Value['TargetTableName'];
717
			}
718
		}
719
720
		return $this;
721
    }
722
}
723
724
/**
725
 * @method string getDrdsInstanceId()
726
 * @method $this withDrdsInstanceId($value)
727
 */
728
class DescribeBackMenu extends Rpc
729
{
730
}
731
732
/**
733
 * @method string getPreferredRestoreTime()
734
 * @method $this withPreferredRestoreTime($value)
735
 * @method string getBackupId()
736
 * @method $this withBackupId($value)
737
 * @method string getDrdsInstanceId()
738
 * @method $this withDrdsInstanceId($value)
739
 */
740
class DescribeBackupDbs extends Rpc
741
{
742
}
743
744
/**
745
 * @method string getDrdsInstanceId()
746
 * @method $this withDrdsInstanceId($value)
747
 */
748
class DescribeBackupLocal extends Rpc
749
{
750
}
751
752
/**
753
 * @method string getDrdsInstanceId()
754
 * @method $this withDrdsInstanceId($value)
755
 */
756
class DescribeBackupPolicy extends Rpc
757
{
758
}
759
760
/**
761
 * @method string getEndTime()
762
 * @method $this withEndTime($value)
763
 * @method string getStartTime()
764
 * @method $this withStartTime($value)
765
 * @method string getDrdsInstanceId()
766
 * @method $this withDrdsInstanceId($value)
767
 */
768
class DescribeBackupSets extends Rpc
769
{
770
}
771
772
/**
773
 * @method string getDrdsInstanceId()
774
 * @method $this withDrdsInstanceId($value)
775
 */
776
class DescribeBackupTimes extends Rpc
777
{
778
}
779
780
/**
781
 * @method string getBatchEvaluateTaskId()
782
 * @method $this withBatchEvaluateTaskId($value)
783
 */
784
class DescribeBatchEvaluateTaskReport extends Rpc
785
{
786
}
787
788
/**
789
 * @method string getQuery()
790
 * @method $this withQuery($value)
791
 * @method string getCurrentPage()
792
 * @method $this withCurrentPage($value)
793
 * @method string getDrdsInstanceId()
794
 * @method $this withDrdsInstanceId($value)
795
 * @method string getDbName()
796
 * @method $this withDbName($value)
797
 * @method string getPageSize()
798
 * @method $this withPageSize($value)
799
 */
800
class DescribeBroadcastTables extends Rpc
801
{
802
}
803
804
/**
805
 * @method string getExportParam()
806
 * @method $this withExportParam($value)
807
 */
808
class DescribeCustomDataExportSrcDstTables extends Rpc
809
{
810
}
811
812
/**
813
 * @method string getImportParam()
814
 * @method $this withImportParam($value)
815
 */
816
class DescribeCustomDataImportSrcDstTables extends Rpc
817
{
818
}
819
820
/**
821
 * @method string getTaskId()
822
 * @method $this withTaskId($value)
823
 */
824
class DescribeDataExportPreCheckResult extends Rpc
825
{
826
}
827
828
/**
829
 * @method string getTaskId()
830
 * @method $this withTaskId($value)
831
 */
832
class DescribeDataExportTaskReport extends Rpc
833
{
834
}
835
836
/**
837
 * @method string getPageNumber()
838
 * @method $this withPageNumber($value)
839
 * @method string getPageSize()
840
 * @method $this withPageSize($value)
841
 */
842
class DescribeDataExportTasks extends Rpc
843
{
844
}
845
846
/**
847
 * @method string getTaskId()
848
 * @method $this withTaskId($value)
849
 */
850
class DescribeDataImportPreCheckResult extends Rpc
851
{
852
}
853
854
/**
855
 * @method string getTaskId()
856
 * @method $this withTaskId($value)
857
 */
858
class DescribeDataImportTaskReport extends Rpc
859
{
860
}
861
862
/**
863
 * @method string getPageNumber()
864
 * @method $this withPageNumber($value)
865
 * @method string getPageSize()
866
 * @method $this withPageSize($value)
867
 */
868
class DescribeDataImportTasks extends Rpc
869
{
870
}
871
872
/**
873
 * @method string getDrdsInstanceId()
874
 * @method $this withDrdsInstanceId($value)
875
 * @method string getPassword()
876
 * @method $this withPassword($value)
877
 * @method string getAccountName()
878
 * @method $this withAccountName($value)
879
 * @method string getDbInstanceId()
880
 * @method $this withDbInstanceId($value)
881
 * @method string getDbInstType()
882
 * @method $this withDbInstType($value)
883
 */
884
class DescribeDbInstanceDbs extends Rpc
885
{
886
}
887
888
/**
889
 * @method string getDrdsInstanceId()
890
 * @method $this withDrdsInstanceId($value)
891
 * @method string getPageNumber()
892
 * @method $this withPageNumber($value)
893
 * @method string getSearch()
894
 * @method $this withSearch($value)
895
 * @method string getPageSize()
896
 * @method $this withPageSize($value)
897
 * @method string getDbInstType()
898
 * @method $this withDbInstType($value)
899
 */
900
class DescribeDbInstances extends Rpc
901
{
902
}
903
904
/**
905
 * @method string getCommodityCode()
906
 * @method $this withCommodityCode($value)
907
 */
908
class DescribeDrdsComponents extends Rpc
909
{
910
}
911
912
/**
913
 * @method string getDrdsInstanceId()
914
 * @method $this withDrdsInstanceId($value)
915
 * @method string getDbName()
916
 * @method $this withDbName($value)
917
 */
918
class DescribeDrdsDB extends Rpc
919
{
920
}
921
922
/**
923
 * @method string getDrdsInstanceId()
924
 * @method $this withDrdsInstanceId($value)
925
 * @method string getDbName()
926
 * @method $this withDbName($value)
927
 * @method string getDbInstanceId()
928
 * @method $this withDbInstanceId($value)
929
 */
930
class DescribeDrdsDBCluster extends Rpc
931
{
932
}
933
934
/**
935
 * @method string getDrdsInstanceId()
936
 * @method $this withDrdsInstanceId($value)
937
 * @method string getDbName()
938
 * @method $this withDbName($value)
939
 * @method string getDbInstanceId()
940
 * @method $this withDbInstanceId($value)
941
 */
942
class DescribeDrdsDbInstance extends Rpc
943
{
944
}
945
946
/**
947
 * @method string getDrdsInstanceId()
948
 * @method $this withDrdsInstanceId($value)
949
 * @method string getPageNumber()
950
 * @method $this withPageNumber($value)
951
 * @method string getDbName()
952
 * @method $this withDbName($value)
953
 * @method string getPageSize()
954
 * @method $this withPageSize($value)
955
 */
956
class DescribeDrdsDbInstances extends Rpc
957
{
958
}
959
960
/**
961
 * @method string getDrdsInstanceId()
962
 * @method $this withDrdsInstanceId($value)
963
 * @method string getGroupName()
964
 * @method $this withGroupName($value)
965
 * @method string getDbName()
966
 * @method $this withDbName($value)
967
 */
968
class DescribeDrdsDBIpWhiteList extends Rpc
969
{
970
}
971
972
/**
973
 * @method string getDrdsInstanceId()
974
 * @method $this withDrdsInstanceId($value)
975
 * @method string getDbName()
976
 * @method $this withDbName($value)
977
 */
978
class DescribeDrdsDbRdsNameList extends Rpc
979
{
980
}
981
982
/**
983
 * @method string getDrdsInstanceId()
984
 * @method $this withDrdsInstanceId($value)
985
 * @method string getPageNumber()
986
 * @method $this withPageNumber($value)
987
 * @method string getPageSize()
988
 * @method $this withPageSize($value)
989
 */
990
class DescribeDrdsDBs extends Rpc
991
{
992
}
993
994
/**
995
 * @method string getTaskType()
996
 * @method $this withTaskType($value)
997
 * @method string getDrdsInstanceId()
998
 * @method $this withDrdsInstanceId($value)
999
 * @method string getDbName()
1000
 * @method $this withDbName($value)
1001
 */
1002
class DescribeDrdsDbTasks extends Rpc
1003
{
1004
}
1005
1006
/**
1007
 * @method string getDrdsInstanceId()
1008
 * @method $this withDrdsInstanceId($value)
1009
 * @method string getDbName()
1010
 * @method $this withDbName($value)
1011
 */
1012
class DescribeDrdsDbTestLink extends Rpc
1013
{
1014
}
1015
1016
/**
1017
 * @method string getDrdsInstanceId()
1018
 * @method $this withDrdsInstanceId($value)
1019
 */
1020
class DescribeDrdsInstance extends Rpc
1021
{
1022
}
1023
1024
/**
1025
 * @method string getEndTime()
1026
 * @method $this withEndTime($value)
1027
 * @method string getStartTime()
1028
 * @method $this withStartTime($value)
1029
 * @method string getDrdsInstanceId()
1030
 * @method $this withDrdsInstanceId($value)
1031
 * @method string getDbName()
1032
 * @method $this withDbName($value)
1033
 * @method string getKey()
1034
 * @method $this withKey($value)
1035
 */
1036
class DescribeDrdsInstanceDbMonitor extends Rpc
1037
{
1038
}
1039
1040
/**
1041
 * @method string getDrdsInstanceId()
1042
 * @method $this withDrdsInstanceId($value)
1043
 */
1044
class DescribeDrdsInstanceLevelTasks extends Rpc
1045
{
1046
}
1047
1048
/**
1049
 * @method string getEndTime()
1050
 * @method $this withEndTime($value)
1051
 * @method string getStartTime()
1052
 * @method $this withStartTime($value)
1053
 * @method string getDrdsInstanceId()
1054
 * @method $this withDrdsInstanceId($value)
1055
 * @method string getKey()
1056
 * @method $this withKey($value)
1057
 * @method string getPeriodMultiple()
1058
 * @method $this withPeriodMultiple($value)
1059
 */
1060
class DescribeDrdsInstanceMonitor extends Rpc
1061
{
1062
}
1063
1064
/**
1065
 * @method string getDescription()
1066
 * @method $this withDescription($value)
1067
 * @method string getType()
1068
 * @method $this withType($value)
1069
 * @method string getPageNumber()
1070
 * @method $this withPageNumber($value)
1071
 * @method string getResourceGroupId()
1072
 * @method $this withResourceGroupId($value)
1073
 * @method string getExpired()
1074
 * @method $this withExpired($value)
1075
 * @method string getPageSize()
1076
 * @method $this withPageSize($value)
1077
 * @method array getTag()
1078
 * @method string getMix()
1079
 * @method $this withMix($value)
1080
 */
1081
class DescribeDrdsInstances extends Rpc
1082
{
1083
1084
    /**
1085
     * @param array $tag
1086
     *
1087
     * @return $this
1088
     */
1089
	public function withTag(array $tag)
1090
	{
1091
	    $this->data['Tag'] = $tag;
1092
		foreach ($tag as $depth1 => $depth1Value) {
1093
			if(isset($depth1Value['Value'])){
1094
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
1095
			}
1096
			if(isset($depth1Value['Key'])){
1097
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
1098
			}
1099
		}
1100
1101
		return $this;
1102
    }
1103
}
1104
1105
/**
1106
 * @method string getDrdsInstanceId()
1107
 * @method $this withDrdsInstanceId($value)
1108
 */
1109
class DescribeDrdsInstanceVersion extends Rpc
1110
{
1111
}
1112
1113
/**
1114
 * @method string getParamLevel()
1115
 * @method $this withParamLevel($value)
1116
 * @method string getDrdsInstanceId()
1117
 * @method $this withDrdsInstanceId($value)
1118
 * @method string getDbName()
1119
 * @method $this withDbName($value)
1120
 */
1121
class DescribeDrdsParams extends Rpc
1122
{
1123
}
1124
1125
/**
1126
 * @method string getDrdsInstanceId()
1127
 * @method $this withDrdsInstanceId($value)
1128
 * @method string getPageNumber()
1129
 * @method $this withPageNumber($value)
1130
 * @method string getPageSize()
1131
 * @method $this withPageSize($value)
1132
 * @method string getDbInstType()
1133
 * @method $this withDbInstType($value)
1134
 */
1135
class DescribeDrdsRdsInstances extends Rpc
1136
{
1137
}
1138
1139
/**
1140
 * @method string getDrdsInstanceId()
1141
 * @method $this withDrdsInstanceId($value)
1142
 * @method string getDbName()
1143
 * @method $this withDbName($value)
1144
 * @method string getDbNamePattern()
1145
 * @method $this withDbNamePattern($value)
1146
 */
1147
class DescribeDrdsShardingDbs extends Rpc
1148
{
1149
}
1150
1151
/**
1152
 * @method string getEndTime()
1153
 * @method $this withEndTime($value)
1154
 * @method string getStartTime()
1155
 * @method $this withStartTime($value)
1156
 * @method string getDrdsInstanceId()
1157
 * @method $this withDrdsInstanceId($value)
1158
 * @method string getPageNumber()
1159
 * @method $this withPageNumber($value)
1160
 * @method string getDbName()
1161
 * @method $this withDbName($value)
1162
 * @method string getPageSize()
1163
 * @method $this withPageSize($value)
1164
 * @method string getExeTime()
1165
 * @method $this withExeTime($value)
1166
 */
1167
class DescribeDrdsSlowSqls extends Rpc
1168
{
1169
}
1170
1171
/**
1172
 * @method string getDrdsInstanceId()
1173
 * @method $this withDrdsInstanceId($value)
1174
 */
1175
class DescribeDrdsSqlAuditStatus extends Rpc
1176
{
1177
}
1178
1179
/**
1180
 * @method string getTaskType()
1181
 * @method $this withTaskType($value)
1182
 * @method string getDrdsInstanceId()
1183
 * @method $this withDrdsInstanceId($value)
1184
 * @method string getDbName()
1185
 * @method $this withDbName($value)
1186
 */
1187
class DescribeDrdsTasks extends Rpc
1188
{
1189
}
1190
1191
/**
1192
 * @method string getImportParam()
1193
 * @method $this withImportParam($value)
1194
 */
1195
class DescribeEvaluateDataImportDbTopologys extends Rpc
1196
{
1197
}
1198
1199
/**
1200
 * @method string getTaskId()
1201
 * @method $this withTaskId($value)
1202
 */
1203
class DescribeEvaluatePreCheckResult extends Rpc
1204
{
1205
}
1206
1207
/**
1208
 * @method string getTaskId()
1209
 * @method $this withTaskId($value)
1210
 */
1211
class DescribeEvaluateTaskReport extends Rpc
1212
{
1213
}
1214
1215
/**
1216
 * @method string getPageNumber()
1217
 * @method $this withPageNumber($value)
1218
 * @method string getPageSize()
1219
 * @method $this withPageSize($value)
1220
 */
1221
class DescribeEvaluateTasks extends Rpc
1222
{
1223
}
1224
1225
/**
1226
 * @method string getDrdsInstanceId()
1227
 * @method $this withDrdsInstanceId($value)
1228
 * @method string getDbName()
1229
 * @method $this withDbName($value)
1230
 */
1231
class DescribeExpandLogicTableInfoList extends Rpc
1232
{
1233
}
1234
1235
/**
1236
 * @method string getOrderId()
1237
 * @method $this withOrderId($value)
1238
 */
1239
class DescribeFirstDrdsInstanceByOrderId extends Rpc
1240
{
1241
}
1242
1243
/**
1244
 * @method string getDrdsInstanceId()
1245
 * @method $this withDrdsInstanceId($value)
1246
 * @method string getDbName()
1247
 * @method $this withDbName($value)
1248
 */
1249
class DescribeGlobalBroadcastType extends Rpc
1250
{
1251
}
1252
1253
/**
1254
 * @method string getHistoreInstanceId()
1255
 * @method $this withHistoreInstanceId($value)
1256
 * @method string getDrdsInstanceId()
1257
 * @method $this withDrdsInstanceId($value)
1258
 */
1259
class DescribeHiStoreInstanceInfo extends Rpc
1260
{
1261
}
1262
1263
/**
1264
 * @method string getDrdsInstanceId()
1265
 * @method $this withDrdsInstanceId($value)
1266
 * @method string getDbName()
1267
 * @method $this withDbName($value)
1268
 */
1269
class DescribeHotDbList extends Rpc
1270
{
1271
}
1272
1273
/**
1274
 * @method string getDrdsInstanceId()
1275
 * @method $this withDrdsInstanceId($value)
1276
 */
1277
class DescribeInstanceAccounts extends Rpc
1278
{
1279
}
1280
1281
/**
1282
 * @method string getDrdsInstanceId()
1283
 * @method $this withDrdsInstanceId($value)
1284
 */
1285
class DescribeInstanceMenuSwitch extends Rpc
1286
{
1287
}
1288
1289
/**
1290
 * @method string getDrdsInstanceId()
1291
 * @method $this withDrdsInstanceId($value)
1292
 */
1293
class DescribeInstanceSwitchAzone extends Rpc
1294
{
1295
}
1296
1297
/**
1298
 * @method string getDrdsInstanceId()
1299
 * @method $this withDrdsInstanceId($value)
1300
 */
1301
class DescribeInstanceSwitchNetwork extends Rpc
1302
{
1303
}
1304
1305
/**
1306
 * @method string getDrdsInstanceId()
1307
 * @method $this withDrdsInstanceId($value)
1308
 * @method string getDbName()
1309
 * @method $this withDbName($value)
1310
 */
1311
class DescribeInstDbLogInfo extends Rpc
1312
{
1313
}
1314
1315
/**
1316
 * @method string getDrdsInstanceId()
1317
 * @method $this withDrdsInstanceId($value)
1318
 * @method string getDbName()
1319
 * @method $this withDbName($value)
1320
 */
1321
class DescribeInstDbSlsInfo extends Rpc
1322
{
1323
}
1324
1325
/**
1326
 * @method string getSchemaUrl()
1327
 * @method $this withSchemaUrl($value)
1328
 * @method string getRuleUrl()
1329
 * @method $this withRuleUrl($value)
1330
 */
1331
class DescribeMyCatDbList extends Rpc
1332
{
1333
}
1334
1335
/**
1336
 * @method string getTaskId()
1337
 * @method $this withTaskId($value)
1338
 */
1339
class DescribeMyCatReportInfo extends Rpc
1340
{
1341
}
1342
1343
/**
1344
 * @method string getDrdsInstanceId()
1345
 * @method $this withDrdsInstanceId($value)
1346
 * @method string getTaskId()
1347
 * @method $this withTaskId($value)
1348
 */
1349
class DescribePreCheckResult extends Rpc
1350
{
1351
}
1352
1353
/**
1354
 * @method string getCommodityCode()
1355
 * @method $this withCommodityCode($value)
1356
 * @method string getDrdsInstanceId()
1357
 * @method $this withDrdsInstanceId($value)
1358
 * @method string getOrderType()
1359
 * @method $this withOrderType($value)
1360
 */
1361
class DescribeRdsCommodity extends Rpc
1362
{
1363
}
1364
1365
/**
1366
 * @method string getRdsInstId()
1367
 * @method $this withRdsInstId($value)
1368
 * @method string getSearch()
1369
 * @method $this withSearch($value)
1370
 */
1371
class DescribeRdsDbInfos extends Rpc
1372
{
1373
}
1374
1375
/**
1376
 * @method array getRdsInstanceId()
1377
 * @method string getDrdsInstanceId()
1378
 * @method $this withDrdsInstanceId($value)
1379
 */
1380
class DescribeRdsDrdsDB extends Rpc
1381
{
1382
1383
    /**
1384
     * @param array $rdsInstanceId
1385
     *
1386
     * @return $this
1387
     */
1388
	public function withRdsInstanceId(array $rdsInstanceId)
1389
	{
1390
	    $this->data['RdsInstanceId'] = $rdsInstanceId;
1391
		foreach ($rdsInstanceId as $i => $iValue) {
1392
			$this->options['query']['RdsInstanceId.' . ($i + 1)] = $iValue;
1393
		}
1394
1395
		return $this;
1396
    }
1397
}
1398
1399
/**
1400
 * @method string getPageNumber()
1401
 * @method $this withPageNumber($value)
1402
 * @method string getSearch()
1403
 * @method $this withSearch($value)
1404
 * @method string getPageSize()
1405
 * @method $this withPageSize($value)
1406
 */
1407
class DescribeRdsInstInfos extends Rpc
1408
{
1409
}
1410
1411
/**
1412
 * @method string getKeys()
1413
 * @method $this withKeys($value)
1414
 * @method string getEndTime()
1415
 * @method $this withEndTime($value)
1416
 * @method string getStartTime()
1417
 * @method $this withStartTime($value)
1418
 * @method string getRdsInstanceId()
1419
 * @method $this withRdsInstanceId($value)
1420
 * @method string getDrdsInstanceId()
1421
 * @method $this withDrdsInstanceId($value)
1422
 * @method string getDbInstType()
1423
 * @method $this withDbInstType($value)
1424
 */
1425
class DescribeRDSPerformance extends Rpc
1426
{
1427
}
1428
1429
/**
1430
 * @method array getRdsInstanceId()
1431
 * @method string getDrdsInstanceId()
1432
 * @method $this withDrdsInstanceId($value)
1433
 */
1434
class DescribeRdsPerformanceSummary extends Rpc
1435
{
1436
1437
    /**
1438
     * @param array $rdsInstanceId
1439
     *
1440
     * @return $this
1441
     */
1442
	public function withRdsInstanceId(array $rdsInstanceId)
1443
	{
1444
	    $this->data['RdsInstanceId'] = $rdsInstanceId;
1445
		foreach ($rdsInstanceId as $i => $iValue) {
1446
			$this->options['query']['RdsInstanceId.' . ($i + 1)] = $iValue;
1447
		}
1448
1449
		return $this;
1450
    }
1451
}
1452
1453
/**
1454
 * @method string getRdsInstanceId()
1455
 * @method $this withRdsInstanceId($value)
1456
 * @method string getDrdsInstanceId()
1457
 * @method $this withDrdsInstanceId($value)
1458
 * @method string getDbInstType()
1459
 * @method $this withDbInstType($value)
1460
 */
1461
class DescribeRdsReadOnly extends Rpc
1462
{
1463
}
1464
1465
/**
1466
 * @method array getRdsInstance()
1467
 * @method string getDrdsInstanceId()
1468
 * @method $this withDrdsInstanceId($value)
1469
 * @method string getDbInstType()
1470
 * @method $this withDbInstType($value)
1471
 */
1472
class DescribeRdsSuperAccountInstances extends Rpc
1473
{
1474
1475
    /**
1476
     * @param array $rdsInstance
1477
     *
1478
     * @return $this
1479
     */
1480
	public function withRdsInstance(array $rdsInstance)
1481
	{
1482
	    $this->data['RdsInstance'] = $rdsInstance;
1483
		foreach ($rdsInstance as $i => $iValue) {
1484
			$this->options['query']['RdsInstance.' . ($i + 1)] = $iValue;
1485
		}
1486
1487
		return $this;
1488
    }
1489
}
1490
1491
/**
1492
 * @method string getDrdsInstanceId()
1493
 * @method $this withDrdsInstanceId($value)
1494
 * @method string getDbName()
1495
 * @method $this withDbName($value)
1496
 */
1497
class DescribeRecycleBinStatus extends Rpc
1498
{
1499
}
1500
1501
/**
1502
 * @method string getDrdsInstanceId()
1503
 * @method $this withDrdsInstanceId($value)
1504
 * @method string getDbName()
1505
 * @method $this withDbName($value)
1506
 */
1507
class DescribeRecycleBinTables extends Rpc
1508
{
1509
}
1510
1511
/**
1512
 * @method string getBackupDbNames()
1513
 * @method $this withBackupDbNames($value)
1514
 * @method string getBackupId()
1515
 * @method $this withBackupId($value)
1516
 * @method string getBackupLevel()
1517
 * @method $this withBackupLevel($value)
1518
 * @method string getDrdsInstanceId()
1519
 * @method $this withDrdsInstanceId($value)
1520
 * @method string getPreferredBackupTime()
1521
 * @method $this withPreferredBackupTime($value)
1522
 * @method string getBackupMode()
1523
 * @method $this withBackupMode($value)
1524
 */
1525
class DescribeRestoreOrder extends Rpc
1526
{
1527
}
1528
1529
/**
1530
 * @method string getTargetTableName()
1531
 * @method $this withTargetTableName($value)
1532
 * @method string getDrdsInstanceId()
1533
 * @method $this withDrdsInstanceId($value)
1534
 * @method string getDbName()
1535
 * @method $this withDbName($value)
1536
 * @method string getSourceTableName()
1537
 * @method $this withSourceTableName($value)
1538
 */
1539
class DescribeShardTaskInfo extends Rpc
1540
{
1541
}
1542
1543
/**
1544
 * @method string getTaskType()
1545
 * @method $this withTaskType($value)
1546
 * @method string getQuery()
1547
 * @method $this withQuery($value)
1548
 * @method string getCurrentPage()
1549
 * @method $this withCurrentPage($value)
1550
 * @method string getDrdsInstanceId()
1551
 * @method $this withDrdsInstanceId($value)
1552
 * @method string getDbName()
1553
 * @method $this withDbName($value)
1554
 * @method string getPageSize()
1555
 * @method $this withPageSize($value)
1556
 */
1557
class DescribeShardTaskList extends Rpc
1558
{
1559
}
1560
1561
/**
1562
 * @method string getDrdsInstanceId()
1563
 * @method $this withDrdsInstanceId($value)
1564
 */
1565
class DescribeSqlFlashbakTask extends Rpc
1566
{
1567
}
1568
1569
/**
1570
 * @method string getDrdsInstanceId()
1571
 * @method $this withDrdsInstanceId($value)
1572
 * @method string getDbName()
1573
 * @method $this withDbName($value)
1574
 * @method string getTableName()
1575
 * @method $this withTableName($value)
1576
 */
1577
class DescribeTable extends Rpc
1578
{
1579
}
1580
1581
/**
1582
 * @method string getTableType()
1583
 * @method $this withTableType($value)
1584
 * @method string getQuery()
1585
 * @method $this withQuery($value)
1586
 * @method string getCurrentPage()
1587
 * @method $this withCurrentPage($value)
1588
 * @method string getDrdsInstanceId()
1589
 * @method $this withDrdsInstanceId($value)
1590
 * @method string getDbName()
1591
 * @method $this withDbName($value)
1592
 * @method string getPageSize()
1593
 * @method $this withPageSize($value)
1594
 */
1595
class DescribeTableListByType extends Rpc
1596
{
1597
}
1598
1599
/**
1600
 * @method string getQuery()
1601
 * @method $this withQuery($value)
1602
 * @method string getCurrentPage()
1603
 * @method $this withCurrentPage($value)
1604
 * @method string getDrdsInstanceId()
1605
 * @method $this withDrdsInstanceId($value)
1606
 * @method string getDbName()
1607
 * @method $this withDbName($value)
1608
 * @method string getPageSize()
1609
 * @method $this withPageSize($value)
1610
 */
1611
class DescribeTables extends Rpc
1612
{
1613
}
1614
1615
/**
1616
 * @method string getDrdsInstanceId()
1617
 * @method $this withDrdsInstanceId($value)
1618
 * @method string getDbName()
1619
 * @method $this withDbName($value)
1620
 * @method string getTableName()
1621
 * @method $this withTableName($value)
1622
 */
1623
class DescribeTableShardingInfo extends Rpc
1624
{
1625
}
1626
1627
/**
1628
 * @method string getDbName()
1629
 * @method $this withDbName($value)
1630
 * @method string getTaskId()
1631
 * @method $this withTaskId($value)
1632
 */
1633
class DescribeUnCompatibilitySql extends Rpc
1634
{
1635
}
1636
1637
/**
1638
 * @method string getDrdsInstanceId()
1639
 * @method $this withDrdsInstanceId($value)
1640
 * @method string getDbName()
1641
 * @method $this withDbName($value)
1642
 */
1643
class DisableSqlAudit extends Rpc
1644
{
1645
}
1646
1647
/**
1648
 * @method string getDrdsPassword()
1649
 * @method $this withDrdsPassword($value)
1650
 * @method string getDrdsInstanceId()
1651
 * @method $this withDrdsInstanceId($value)
1652
 */
1653
class EnableInstanceIpv6Address extends Rpc
1654
{
1655
}
1656
1657
/**
1658
 * @method string getRecallStartTimestamp()
1659
 * @method $this withRecallStartTimestamp($value)
1660
 * @method string getDrdsInstanceId()
1661
 * @method $this withDrdsInstanceId($value)
1662
 * @method string getDbName()
1663
 * @method $this withDbName($value)
1664
 * @method string getIsRecall()
1665
 * @method $this withIsRecall($value)
1666
 * @method string getRecallEndTimestamp()
1667
 * @method $this withRecallEndTimestamp($value)
1668
 */
1669
class EnableSqlAudit extends Rpc
1670
{
1671
}
1672
1673
/**
1674
 * @method string getDrdsInstanceId()
1675
 * @method $this withDrdsInstanceId($value)
1676
 * @method string getDbName()
1677
 * @method $this withDbName($value)
1678
 */
1679
class EnableSqlFlashbackMatchSwitch extends Rpc
1680
{
1681
}
1682
1683
/**
1684
 * @method string getDrdsInstanceId()
1685
 * @method $this withDrdsInstanceId($value)
1686
 * @method string getDbName()
1687
 * @method $this withDbName($value)
1688
 * @method string getTableName()
1689
 * @method $this withTableName($value)
1690
 */
1691
class FlashbackRecycleBinTable extends Rpc
1692
{
1693
}
1694
1695
/**
1696
 * @method string getBatchEvaluateTaskId()
1697
 * @method $this withBatchEvaluateTaskId($value)
1698
 */
1699
class GetBatchEvaluateTaskReport extends Rpc
1700
{
1701
}
1702
1703
/**
1704
 * @method array getResourceId()
1705
 * @method string getResourceType()
1706
 * @method $this withResourceType($value)
1707
 * @method string getNoRole()
1708
 * @method $this withNoRole($value)
1709
 * @method string getNextToken()
1710
 * @method $this withNextToken($value)
1711
 * @method array getTag()
1712
 */
1713
class ListTagResources extends Rpc
1714
{
1715
1716
    /**
1717
     * @param array $resourceId
1718
     *
1719
     * @return $this
1720
     */
1721
	public function withResourceId(array $resourceId)
1722
	{
1723
	    $this->data['ResourceId'] = $resourceId;
1724
		foreach ($resourceId as $i => $iValue) {
1725
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
1726
		}
1727
1728
		return $this;
1729
    }
1730
1731
    /**
1732
     * @param array $tag
1733
     *
1734
     * @return $this
1735
     */
1736
	public function withTag(array $tag)
1737
	{
1738
	    $this->data['Tag'] = $tag;
1739
		foreach ($tag as $depth1 => $depth1Value) {
1740
			if(isset($depth1Value['Value'])){
1741
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
1742
			}
1743
			if(isset($depth1Value['Key'])){
1744
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
1745
			}
1746
		}
1747
1748
		return $this;
1749
    }
1750
}
1751
1752
/**
1753
 * @method string getReportId()
1754
 * @method $this withReportId($value)
1755
 * @method string getDrdsInstanceId()
1756
 * @method $this withDrdsInstanceId($value)
1757
 */
1758
class ListUserReports extends Rpc
1759
{
1760
}
1761
1762
/**
1763
 * @method string getDrdsVer()
1764
 * @method $this withDrdsVer($value)
1765
 * @method string getDrdsInstanceId()
1766
 * @method $this withDrdsInstanceId($value)
1767
 */
1768
class ListVersions extends Rpc
1769
{
1770
}
1771
1772
/**
1773
 * @method string getParams()
1774
 * @method $this withParams($value)
1775
 * @method string getDrdsInstanceId()
1776
 * @method $this withDrdsInstanceId($value)
1777
 * @method string getDBInstanceId()
1778
 * @method $this withDBInstanceId($value)
1779
 * @method string getRdsAction()
1780
 * @method $this withRdsAction($value)
1781
 */
1782
class ManagePrivateRds extends Rpc
1783
{
1784
}
1785
1786
/**
1787
 * @method string getDescription()
1788
 * @method $this withDescription($value)
1789
 * @method string getDrdsInstanceId()
1790
 * @method $this withDrdsInstanceId($value)
1791
 * @method string getAccountName()
1792
 * @method $this withAccountName($value)
1793
 */
1794
class ModifyAccountDescription extends Rpc
1795
{
1796
}
1797
1798
/**
1799
 * @method string getDrdsInstanceId()
1800
 * @method $this withDrdsInstanceId($value)
1801
 * @method string getAccountName()
1802
 * @method $this withAccountName($value)
1803
 * @method array getDbPrivilege()
1804
 */
1805
class ModifyAccountPrivilege extends Rpc
1806
{
1807
1808
    /**
1809
     * @param array $dbPrivilege
1810
     *
1811
     * @return $this
1812
     */
1813
	public function withDbPrivilege(array $dbPrivilege)
1814
	{
1815
	    $this->data['DbPrivilege'] = $dbPrivilege;
1816
		foreach ($dbPrivilege as $depth1 => $depth1Value) {
1817
			if(isset($depth1Value['DbName'])){
1818
				$this->options['query']['DbPrivilege.' . ($depth1 + 1) . '.DbName'] = $depth1Value['DbName'];
1819
			}
1820
			if(isset($depth1Value['Privilege'])){
1821
				$this->options['query']['DbPrivilege.' . ($depth1 + 1) . '.Privilege'] = $depth1Value['Privilege'];
1822
			}
1823
		}
1824
1825
		return $this;
1826
    }
1827
}
1828
1829
/**
1830
 * @method string getDescription()
1831
 * @method $this withDescription($value)
1832
 * @method string getDrdsInstanceId()
1833
 * @method $this withDrdsInstanceId($value)
1834
 */
1835
class ModifyDrdsInstanceDescription extends Rpc
1836
{
1837
}
1838
1839
/**
1840
 * @method string getDrdsInstanceId()
1841
 * @method $this withDrdsInstanceId($value)
1842
 * @method string getGroupName()
1843
 * @method $this withGroupName($value)
1844
 * @method string getMode()
1845
 * @method $this withMode($value)
1846
 * @method string getDbName()
1847
 * @method $this withDbName($value)
1848
 * @method string getGroupAttribute()
1849
 * @method $this withGroupAttribute($value)
1850
 * @method string getIpWhiteList()
1851
 * @method $this withIpWhiteList($value)
1852
 */
1853
class ModifyDrdsIpWhiteList extends Rpc
1854
{
1855
}
1856
1857
/**
1858
 * @method string getWeights()
1859
 * @method $this withWeights($value)
1860
 * @method string getDrdsInstanceId()
1861
 * @method $this withDrdsInstanceId($value)
1862
 * @method string getDbNodeIds()
1863
 * @method $this withDbNodeIds($value)
1864
 * @method string getDbName()
1865
 * @method $this withDbName($value)
1866
 * @method string getDbInstanceId()
1867
 * @method $this withDbInstanceId($value)
1868
 */
1869
class ModifyPolarDbReadWeight extends Rpc
1870
{
1871
}
1872
1873
/**
1874
 * @method string getWeights()
1875
 * @method $this withWeights($value)
1876
 * @method string getDrdsInstanceId()
1877
 * @method $this withDrdsInstanceId($value)
1878
 * @method string getInstanceNames()
1879
 * @method $this withInstanceNames($value)
1880
 * @method string getDbName()
1881
 * @method $this withDbName($value)
1882
 */
1883
class ModifyRdsReadWeight extends Rpc
1884
{
1885
}
1886
1887
/**
1888
 * @method string getSchemaUrl()
1889
 * @method $this withSchemaUrl($value)
1890
 * @method string getDbName()
1891
 * @method $this withDbName($value)
1892
 * @method string getRuleUrl()
1893
 * @method $this withRuleUrl($value)
1894
 */
1895
class MyCatConnectTest extends Rpc
1896
{
1897
}
1898
1899
/**
1900
 * @method string getDstPort()
1901
 * @method $this withDstPort($value)
1902
 * @method string getTaskName()
1903
 * @method $this withTaskName($value)
1904
 * @method string getSchemaUrl()
1905
 * @method $this withSchemaUrl($value)
1906
 * @method string getDstUser()
1907
 * @method $this withDstUser($value)
1908
 * @method string getDstDbNme()
1909
 * @method $this withDstDbNme($value)
1910
 * @method string getTableMap()
1911
 * @method $this withTableMap($value)
1912
 * @method string getImportDb()
1913
 * @method $this withImportDb($value)
1914
 * @method string getDstPwd()
1915
 * @method $this withDstPwd($value)
1916
 * @method string getRuleUrl()
1917
 * @method $this withRuleUrl($value)
1918
 * @method string getDstDrdsInstanceId()
1919
 * @method $this withDstDrdsInstanceId($value)
1920
 */
1921
class MyCatCustomImportPreCheck extends Rpc
1922
{
1923
}
1924
1925
/**
1926
 * @method string getTbPartitions()
1927
 * @method $this withTbPartitions($value)
1928
 * @method string getIsShard()
1929
 * @method $this withIsShard($value)
1930
 * @method string getTbShardingFunction()
1931
 * @method $this withTbShardingFunction($value)
1932
 * @method string getDbShardingColumnList()
1933
 * @method $this withDbShardingColumnList($value)
1934
 * @method string getTbComputeLength()
1935
 * @method $this withTbComputeLength($value)
1936
 * @method string getTbRightShiftOffset()
1937
 * @method $this withTbRightShiftOffset($value)
1938
 * @method string getDbComputeLength()
1939
 * @method $this withDbComputeLength($value)
1940
 * @method string getSrcTableName()
1941
 * @method $this withSrcTableName($value)
1942
 * @method string getDbRightShiftOffset()
1943
 * @method $this withDbRightShiftOffset($value)
1944
 * @method string getTargetTableName()
1945
 * @method $this withTargetTableName($value)
1946
 * @method string getDrdsInstanceId()
1947
 * @method $this withDrdsInstanceId($value)
1948
 * @method string getDbShardingFunction()
1949
 * @method $this withDbShardingFunction($value)
1950
 * @method string getDbName()
1951
 * @method $this withDbName($value)
1952
 * @method string getTbShardingColumnList()
1953
 * @method $this withTbShardingColumnList($value)
1954
 */
1955
class PreCheckModifyTableShardingKeyParam extends Rpc
1956
{
1957
}
1958
1959
/**
1960
 * @method string getSequenceType()
1961
 * @method $this withSequenceType($value)
1962
 * @method string getTaskName()
1963
 * @method $this withTaskName($value)
1964
 * @method string getSchemaUrl()
1965
 * @method $this withSchemaUrl($value)
1966
 * @method string getBusPeakQps()
1967
 * @method $this withBusPeakQps($value)
1968
 * @method string getQpsIncPercent()
1969
 * @method $this withQpsIncPercent($value)
1970
 * @method string getServerUrl()
1971
 * @method $this withServerUrl($value)
1972
 * @method string getCapacityIncPercent()
1973
 * @method $this withCapacityIncPercent($value)
1974
 * @method string getRuleUrl()
1975
 * @method $this withRuleUrl($value)
1976
 * @method array getImportDbList()
1977
 */
1978
class PrecheckMyCatEvaluate extends Rpc
1979
{
1980
1981
    /**
1982
     * @param array $importDbList
1983
     *
1984
     * @return $this
1985
     */
1986
	public function withImportDbList(array $importDbList)
1987
	{
1988
	    $this->data['ImportDbList'] = $importDbList;
1989
		foreach ($importDbList as $i => $iValue) {
1990
			$this->options['query']['ImportDbList.' . ($i + 1)] = $iValue;
1991
		}
1992
1993
		return $this;
1994
    }
1995
}
1996
1997
/**
1998
 * @method string getBackupDbNames()
1999
 * @method $this withBackupDbNames($value)
2000
 * @method string getBackupLevel()
2001
 * @method $this withBackupLevel($value)
2002
 * @method string getDrdsInstanceId()
2003
 * @method $this withDrdsInstanceId($value)
2004
 * @method string getBackupMode()
2005
 * @method $this withBackupMode($value)
2006
 */
2007
class PutStartBackup extends Rpc
2008
{
2009
}
2010
2011
/**
2012
 * @method string getDrdsInstanceId()
2013
 * @method $this withDrdsInstanceId($value)
2014
 * @method string getDbName()
2015
 * @method $this withDbName($value)
2016
 */
2017
class RefreshDrdsAtomUrl extends Rpc
2018
{
2019
}
2020
2021
/**
2022
 * @method string getHistoreInstanceId()
2023
 * @method $this withHistoreInstanceId($value)
2024
 * @method string getDrdsPassword()
2025
 * @method $this withDrdsPassword($value)
2026
 * @method string getDrdsInstanceId()
2027
 * @method $this withDrdsInstanceId($value)
2028
 */
2029
class ReleaseHiStoreInstance extends Rpc
2030
{
2031
}
2032
2033
/**
2034
 * @method string getDrdsPassword()
2035
 * @method $this withDrdsPassword($value)
2036
 * @method string getDrdsInstanceId()
2037
 * @method $this withDrdsInstanceId($value)
2038
 */
2039
class ReleaseInstanceInternetAddress extends Rpc
2040
{
2041
}
2042
2043
/**
2044
 * @method string getBackupId()
2045
 * @method $this withBackupId($value)
2046
 * @method string getDrdsInstanceId()
2047
 * @method $this withDrdsInstanceId($value)
2048
 */
2049
class RemoveBackupsSet extends Rpc
2050
{
2051
}
2052
2053
/**
2054
 * @method string getTaskId()
2055
 * @method $this withTaskId($value)
2056
 */
2057
class RemoveDataExportTask extends Rpc
2058
{
2059
}
2060
2061
/**
2062
 * @method string getTaskId()
2063
 * @method $this withTaskId($value)
2064
 */
2065
class RemoveDataImportTask extends Rpc
2066
{
2067
}
2068
2069
/**
2070
 * @method string getDrdsInstanceId()
2071
 * @method $this withDrdsInstanceId($value)
2072
 * @method string getDbName()
2073
 * @method $this withDbName($value)
2074
 */
2075
class RemoveDrdsDb extends Rpc
2076
{
2077
}
2078
2079
/**
2080
 * @method string getDrdsInstanceId()
2081
 * @method $this withDrdsInstanceId($value)
2082
 * @method string getDbName()
2083
 * @method $this withDbName($value)
2084
 */
2085
class RemoveDrdsDbFailedRecord extends Rpc
2086
{
2087
}
2088
2089
/**
2090
 * @method string getDrdsInstanceId()
2091
 * @method $this withDrdsInstanceId($value)
2092
 */
2093
class RemoveDrdsInstance extends Rpc
2094
{
2095
}
2096
2097
/**
2098
 * @method string getRoDbInstanceId()
2099
 * @method $this withRoDbInstanceId($value)
2100
 * @method string getDrdsInstanceId()
2101
 * @method $this withDrdsInstanceId($value)
2102
 * @method string getDbName()
2103
 * @method $this withDbName($value)
2104
 * @method string getDbInstanceId()
2105
 * @method $this withDbInstanceId($value)
2106
 * @method string getForce()
2107
 * @method $this withForce($value)
2108
 */
2109
class RemoveDrdsMysql extends Rpc
2110
{
2111
}
2112
2113
/**
2114
 * @method string getTaskId()
2115
 * @method $this withTaskId($value)
2116
 */
2117
class RemoveEvaluateTask extends Rpc
2118
{
2119
}
2120
2121
/**
2122
 * @method string getDrdsInstanceId()
2123
 * @method $this withDrdsInstanceId($value)
2124
 * @method string getAccountName()
2125
 * @method $this withAccountName($value)
2126
 */
2127
class RemoveInstanceAccount extends Rpc
2128
{
2129
}
2130
2131
/**
2132
 * @method string getDrdsInstanceId()
2133
 * @method $this withDrdsInstanceId($value)
2134
 * @method string getDbName()
2135
 * @method $this withDbName($value)
2136
 * @method string getTableName()
2137
 * @method $this withTableName($value)
2138
 */
2139
class RemoveRecycleBinTable extends Rpc
2140
{
2141
}
2142
2143
/**
2144
 * @method string getDrdsInstanceId()
2145
 * @method $this withDrdsInstanceId($value)
2146
 * @method string getDbName()
2147
 * @method $this withDbName($value)
2148
 */
2149
class ResetDrdsToRdsConnections extends Rpc
2150
{
2151
}
2152
2153
/**
2154
 * @method string getDrdsInstanceId()
2155
 * @method $this withDrdsInstanceId($value)
2156
 */
2157
class RestartDrdsInstance extends Rpc
2158
{
2159
}
2160
2161
/**
2162
 * @method string getHistoreInstanceId()
2163
 * @method $this withHistoreInstanceId($value)
2164
 * @method string getDrdsPassword()
2165
 * @method $this withDrdsPassword($value)
2166
 * @method string getDrdsInstanceId()
2167
 * @method $this withDrdsInstanceId($value)
2168
 */
2169
class RollbackHiStoreInstance extends Rpc
2170
{
2171
}
2172
2173
/**
2174
 * @method string getDrdsPassword()
2175
 * @method $this withDrdsPassword($value)
2176
 * @method string getDrdsInstanceId()
2177
 * @method $this withDrdsInstanceId($value)
2178
 */
2179
class RollbackInstanceVersion extends Rpc
2180
{
2181
}
2182
2183
/**
2184
 * @method string getLocalLogRetentionHours()
2185
 * @method $this withLocalLogRetentionHours($value)
2186
 * @method string getLocalLogRetentionSpace()
2187
 * @method $this withLocalLogRetentionSpace($value)
2188
 * @method string getDrdsInstanceId()
2189
 * @method $this withDrdsInstanceId($value)
2190
 * @method string getHighSpaceUsageProtection()
2191
 * @method $this withHighSpaceUsageProtection($value)
2192
 */
2193
class SetBackupLocal extends Rpc
2194
{
2195
}
2196
2197
/**
2198
 * @method string getBackupDbNames()
2199
 * @method $this withBackupDbNames($value)
2200
 * @method string getBackupLog()
2201
 * @method $this withBackupLog($value)
2202
 * @method string getPreferredBackupEndTime()
2203
 * @method $this withPreferredBackupEndTime($value)
2204
 * @method string getPreferredBackupPeriod()
2205
 * @method $this withPreferredBackupPeriod($value)
2206
 * @method string getPreferredBackupStartTime()
2207
 * @method $this withPreferredBackupStartTime($value)
2208
 * @method string getBackupLevel()
2209
 * @method $this withBackupLevel($value)
2210
 * @method string getDrdsInstanceId()
2211
 * @method $this withDrdsInstanceId($value)
2212
 * @method string getDataBackupRetentionPeriod()
2213
 * @method $this withDataBackupRetentionPeriod($value)
2214
 * @method string getBackupMode()
2215
 * @method $this withBackupMode($value)
2216
 * @method string getLogBackupRetentionPeriod()
2217
 * @method $this withLogBackupRetentionPeriod($value)
2218
 */
2219
class SetBackupPolicy extends Rpc
2220
{
2221
}
2222
2223
/**
2224
 * @method string getActive()
2225
 * @method $this withActive($value)
2226
 * @method string getDrdsInstanceId()
2227
 * @method $this withDrdsInstanceId($value)
2228
 * @method string getDbName()
2229
 * @method $this withDbName($value)
2230
 * @method array getTableName()
2231
 */
2232
class SetupBroadcastTables extends Rpc
2233
{
2234
2235
    /**
2236
     * @param array $tableName
2237
     *
2238
     * @return $this
2239
     */
2240
	public function withTableName(array $tableName)
2241
	{
2242
	    $this->data['TableName'] = $tableName;
2243
		foreach ($tableName as $i => $iValue) {
2244
			$this->options['query']['TableName.' . ($i + 1)] = $iValue;
2245
		}
2246
2247
		return $this;
2248
    }
2249
}
2250
2251
/**
2252
 * @method string getParamLevel()
2253
 * @method $this withParamLevel($value)
2254
 * @method array getData()
2255
 * @method string getDrdsInstanceId()
2256
 * @method $this withDrdsInstanceId($value)
2257
 */
2258
class SetupDrdsParams extends Rpc
2259
{
2260
2261
    /**
2262
     * @param array $data
2263
     *
2264
     * @return $this
2265
     */
2266
	public function withData(array $data)
2267
	{
2268
	    $this->data['Data'] = $data;
2269
		foreach ($data as $depth1 => $depth1Value) {
2270
			if(isset($depth1Value['ParamType'])){
2271
				$this->options['query']['Data.' . ($depth1 + 1) . '.ParamType'] = $depth1Value['ParamType'];
2272
			}
2273
			if(isset($depth1Value['DbName'])){
2274
				$this->options['query']['Data.' . ($depth1 + 1) . '.DbName'] = $depth1Value['DbName'];
2275
			}
2276
			if(isset($depth1Value['ParamRanges'])){
2277
				$this->options['query']['Data.' . ($depth1 + 1) . '.ParamRanges'] = $depth1Value['ParamRanges'];
2278
			}
2279
			if(isset($depth1Value['ParamVariableName'])){
2280
				$this->options['query']['Data.' . ($depth1 + 1) . '.ParamVariableName'] = $depth1Value['ParamVariableName'];
2281
			}
2282
			if(isset($depth1Value['ParamValue'])){
2283
				$this->options['query']['Data.' . ($depth1 + 1) . '.ParamValue'] = $depth1Value['ParamValue'];
2284
			}
2285
		}
2286
2287
		return $this;
2288
    }
2289
}
2290
2291
/**
2292
 * @method string getStatusAction()
2293
 * @method $this withStatusAction($value)
2294
 * @method string getDrdsInstanceId()
2295
 * @method $this withDrdsInstanceId($value)
2296
 * @method string getDbName()
2297
 * @method $this withDbName($value)
2298
 */
2299
class SetupRecycleBinStatus extends Rpc
2300
{
2301
}
2302
2303
/**
2304
 * @method string getAllowFullTableScan()
2305
 * @method $this withAllowFullTableScan($value)
2306
 * @method string getDrdsInstanceId()
2307
 * @method $this withDrdsInstanceId($value)
2308
 * @method string getDbName()
2309
 * @method $this withDbName($value)
2310
 * @method array getTableName()
2311
 */
2312
class SetupTable extends Rpc
2313
{
2314
2315
    /**
2316
     * @param array $tableName
2317
     *
2318
     * @return $this
2319
     */
2320
	public function withTableName(array $tableName)
2321
	{
2322
	    $this->data['TableName'] = $tableName;
2323
		foreach ($tableName as $i => $iValue) {
2324
			$this->options['query']['TableName.' . ($i + 1)] = $iValue;
2325
		}
2326
2327
		return $this;
2328
    }
2329
}
2330
2331
/**
2332
 * @method string getDrdsInstanceId()
2333
 * @method $this withDrdsInstanceId($value)
2334
 * @method string getTaskId()
2335
 * @method $this withTaskId($value)
2336
 */
2337
class SqlCompatibilityCancel extends Rpc
2338
{
2339
}
2340
2341
/**
2342
 * @method string getTargetVersion()
2343
 * @method $this withTargetVersion($value)
2344
 * @method string getDrdsInstanceId()
2345
 * @method $this withDrdsInstanceId($value)
2346
 * @method string getPerformanceTest()
2347
 * @method $this withPerformanceTest($value)
2348
 */
2349
class SqlCompatibilityStart extends Rpc
2350
{
2351
}
2352
2353
/**
2354
 * @method string getTaskId()
2355
 * @method $this withTaskId($value)
2356
 */
2357
class StartDataImportTask extends Rpc
2358
{
2359
}
2360
2361
/**
2362
 * @method string getTaskId()
2363
 * @method $this withTaskId($value)
2364
 */
2365
class StartEvaluateTask extends Rpc
2366
{
2367
}
2368
2369
/**
2370
 * @method string getBackupDbNames()
2371
 * @method $this withBackupDbNames($value)
2372
 * @method string getBackupId()
2373
 * @method $this withBackupId($value)
2374
 * @method string getBackupLevel()
2375
 * @method $this withBackupLevel($value)
2376
 * @method string getDrdsInstanceId()
2377
 * @method $this withDrdsInstanceId($value)
2378
 * @method string getPreferredBackupTime()
2379
 * @method $this withPreferredBackupTime($value)
2380
 * @method string getBackupMode()
2381
 * @method $this withBackupMode($value)
2382
 */
2383
class StartRestore extends Rpc
2384
{
2385
}
2386
2387
/**
2388
 * @method string getTaskId()
2389
 * @method $this withTaskId($value)
2390
 */
2391
class StopDataExportTask extends Rpc
2392
{
2393
}
2394
2395
/**
2396
 * @method string getTaskId()
2397
 * @method $this withTaskId($value)
2398
 */
2399
class StopDataImportTask extends Rpc
2400
{
2401
}
2402
2403
/**
2404
 * @method string getTaskId()
2405
 * @method $this withTaskId($value)
2406
 */
2407
class StopEvaluateTask extends Rpc
2408
{
2409
}
2410
2411
/**
2412
 * @method string getDrdsInstanceId()
2413
 * @method $this withDrdsInstanceId($value)
2414
 * @method string getDbName()
2415
 * @method $this withDbName($value)
2416
 * @method string getTaskId()
2417
 * @method $this withTaskId($value)
2418
 */
2419
class SubmitCleanTableShardingKeyModify extends Rpc
2420
{
2421
}
2422
2423
/**
2424
 * @method string getDrdsInstanceId()
2425
 * @method $this withDrdsInstanceId($value)
2426
 * @method string getExpandType()
2427
 * @method $this withExpandType($value)
2428
 * @method string getJobId()
2429
 * @method $this withJobId($value)
2430
 * @method string getDbName()
2431
 * @method $this withDbName($value)
2432
 * @method string getParentJobId()
2433
 * @method $this withParentJobId($value)
2434
 */
2435
class SubmitCleanTask extends Rpc
2436
{
2437
}
2438
2439
/**
2440
 * @method array getTableList()
2441
 * @method string getDrdsInstanceId()
2442
 * @method $this withDrdsInstanceId($value)
2443
 * @method string getDbName()
2444
 * @method $this withDbName($value)
2445
 * @method string getDbInstType()
2446
 * @method $this withDbInstType($value)
2447
 */
2448
class SubmitHotExpandPreCheckTask extends Rpc
2449
{
2450
2451
    /**
2452
     * @param array $tableList
2453
     *
2454
     * @return $this
2455
     */
2456
	public function withTableList(array $tableList)
2457
	{
2458
	    $this->data['TableList'] = $tableList;
2459
		foreach ($tableList as $i => $iValue) {
2460
			$this->options['query']['TableList.' . ($i + 1)] = $iValue;
2461
		}
2462
2463
		return $this;
2464
    }
2465
}
2466
2467
/**
2468
 * @method array getMapping()
2469
 * @method string getTaskDesc()
2470
 * @method $this withTaskDesc($value)
2471
 * @method array getSupperAccountMapping()
2472
 * @method array getExtendedMapping()
2473
 * @method string getTaskName()
2474
 * @method $this withTaskName($value)
2475
 * @method string getDrdsInstanceId()
2476
 * @method $this withDrdsInstanceId($value)
2477
 * @method array getInstanceDbMapping()
2478
 * @method string getDbName()
2479
 * @method $this withDbName($value)
2480
 */
2481
class SubmitHotExpandTask extends Rpc
2482
{
2483
2484
    /**
2485
     * @param array $mapping
2486
     *
2487
     * @return $this
2488
     */
2489
	public function withMapping(array $mapping)
2490
	{
2491
	    $this->data['Mapping'] = $mapping;
2492
		foreach ($mapping as $depth1 => $depth1Value) {
2493
			if(isset($depth1Value['DbShardColumn'])){
2494
				$this->options['query']['Mapping.' . ($depth1 + 1) . '.DbShardColumn'] = $depth1Value['DbShardColumn'];
2495
			}
2496
			if(isset($depth1Value['TbShardColumn'])){
2497
				$this->options['query']['Mapping.' . ($depth1 + 1) . '.TbShardColumn'] = $depth1Value['TbShardColumn'];
2498
			}
2499
			if(isset($depth1Value['ShardTbValue'])){
2500
				$this->options['query']['Mapping.' . ($depth1 + 1) . '.ShardTbValue'] = $depth1Value['ShardTbValue'];
2501
			}
2502
			if(isset($depth1Value['HotDbName'])){
2503
				$this->options['query']['Mapping.' . ($depth1 + 1) . '.HotDbName'] = $depth1Value['HotDbName'];
2504
			}
2505
			if(isset($depth1Value['ShardDbValue'])){
2506
				$this->options['query']['Mapping.' . ($depth1 + 1) . '.ShardDbValue'] = $depth1Value['ShardDbValue'];
2507
			}
2508
			if(isset($depth1Value['HotTableName'])){
2509
				$this->options['query']['Mapping.' . ($depth1 + 1) . '.HotTableName'] = $depth1Value['HotTableName'];
2510
			}
2511
			if(isset($depth1Value['LogicTable'])){
2512
				$this->options['query']['Mapping.' . ($depth1 + 1) . '.LogicTable'] = $depth1Value['LogicTable'];
2513
			}
2514
		}
2515
2516
		return $this;
2517
    }
2518
2519
    /**
2520
     * @param array $supperAccountMapping
2521
     *
2522
     * @return $this
2523
     */
2524
	public function withSupperAccountMapping(array $supperAccountMapping)
2525
	{
2526
	    $this->data['SupperAccountMapping'] = $supperAccountMapping;
2527
		foreach ($supperAccountMapping as $depth1 => $depth1Value) {
2528
			if(isset($depth1Value['InstanceName'])){
2529
				$this->options['query']['SupperAccountMapping.' . ($depth1 + 1) . '.InstanceName'] = $depth1Value['InstanceName'];
2530
			}
2531
			if(isset($depth1Value['SupperAccount'])){
2532
				$this->options['query']['SupperAccountMapping.' . ($depth1 + 1) . '.SupperAccount'] = $depth1Value['SupperAccount'];
2533
			}
2534
			if(isset($depth1Value['SupperPassword'])){
2535
				$this->options['query']['SupperAccountMapping.' . ($depth1 + 1) . '.SupperPassword'] = $depth1Value['SupperPassword'];
2536
			}
2537
		}
2538
2539
		return $this;
2540
    }
2541
2542
    /**
2543
     * @param array $extendedMapping
2544
     *
2545
     * @return $this
2546
     */
2547
	public function withExtendedMapping(array $extendedMapping)
2548
	{
2549
	    $this->data['ExtendedMapping'] = $extendedMapping;
2550
		foreach ($extendedMapping as $depth1 => $depth1Value) {
2551
			if(isset($depth1Value['SrcInstanceId'])){
2552
				$this->options['query']['ExtendedMapping.' . ($depth1 + 1) . '.SrcInstanceId'] = $depth1Value['SrcInstanceId'];
2553
			}
2554
			if(isset($depth1Value['SrcDb'])){
2555
				$this->options['query']['ExtendedMapping.' . ($depth1 + 1) . '.SrcDb'] = $depth1Value['SrcDb'];
2556
			}
2557
		}
2558
2559
		return $this;
2560
    }
2561
2562
    /**
2563
     * @param array $instanceDbMapping
2564
     *
2565
     * @return $this
2566
     */
2567
	public function withInstanceDbMapping(array $instanceDbMapping)
2568
	{
2569
	    $this->data['InstanceDbMapping'] = $instanceDbMapping;
2570
		foreach ($instanceDbMapping as $depth1 => $depth1Value) {
2571
			if(isset($depth1Value['DbList'])){
2572
				$this->options['query']['InstanceDbMapping.' . ($depth1 + 1) . '.DbList'] = $depth1Value['DbList'];
2573
			}
2574
			if(isset($depth1Value['InstanceName'])){
2575
				$this->options['query']['InstanceDbMapping.' . ($depth1 + 1) . '.InstanceName'] = $depth1Value['InstanceName'];
2576
			}
2577
		}
2578
2579
		return $this;
2580
    }
2581
}
2582
2583
/**
2584
 * @method string getDrdsInstanceId()
2585
 * @method $this withDrdsInstanceId($value)
2586
 * @method string getDbName()
2587
 * @method $this withDbName($value)
2588
 * @method string getTaskId()
2589
 * @method $this withTaskId($value)
2590
 */
2591
class SubmitRollbackShardingKeyModify extends Rpc
2592
{
2593
}
2594
2595
/**
2596
 * @method string getDrdsInstanceId()
2597
 * @method $this withDrdsInstanceId($value)
2598
 * @method string getExpandType()
2599
 * @method $this withExpandType($value)
2600
 * @method string getJobId()
2601
 * @method $this withJobId($value)
2602
 * @method string getDbName()
2603
 * @method $this withDbName($value)
2604
 * @method string getParentJobId()
2605
 * @method $this withParentJobId($value)
2606
 */
2607
class SubmitRollbackTask extends Rpc
2608
{
2609
}
2610
2611
/**
2612
 * @method string getDrdsInstanceId()
2613
 * @method $this withDrdsInstanceId($value)
2614
 * @method string getDbName()
2615
 * @method $this withDbName($value)
2616
 * @method string getDbInstType()
2617
 * @method $this withDbInstType($value)
2618
 */
2619
class SubmitSmoothExpandPreCheck extends Rpc
2620
{
2621
}
2622
2623
/**
2624
 * @method string getDrdsInstanceId()
2625
 * @method $this withDrdsInstanceId($value)
2626
 * @method string getDbName()
2627
 * @method $this withDbName($value)
2628
 */
2629
class SubmitSmoothExpandPreCheckTask extends Rpc
2630
{
2631
}
2632
2633
/**
2634
 * @method string getDrdsInstanceId()
2635
 * @method $this withDrdsInstanceId($value)
2636
 * @method string getDbInstanceIsCreating()
2637
 * @method $this withDbInstanceIsCreating($value)
2638
 * @method array getRdsSuperInstances()
2639
 * @method string getDbName()
2640
 * @method $this withDbName($value)
2641
 * @method array getTransferTaskInfos()
2642
 */
2643
class SubmitSmoothExpandTask extends Rpc
2644
{
2645
2646
    /**
2647
     * @param array $rdsSuperInstances
2648
     *
2649
     * @return $this
2650
     */
2651
	public function withRdsSuperInstances(array $rdsSuperInstances)
2652
	{
2653
	    $this->data['RdsSuperInstances'] = $rdsSuperInstances;
2654
		foreach ($rdsSuperInstances as $depth1 => $depth1Value) {
2655
			if(isset($depth1Value['Password'])){
2656
				$this->options['query']['RdsSuperInstances.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password'];
2657
			}
2658
			if(isset($depth1Value['AccountName'])){
2659
				$this->options['query']['RdsSuperInstances.' . ($depth1 + 1) . '.AccountName'] = $depth1Value['AccountName'];
2660
			}
2661
			if(isset($depth1Value['RdsName'])){
2662
				$this->options['query']['RdsSuperInstances.' . ($depth1 + 1) . '.RdsName'] = $depth1Value['RdsName'];
2663
			}
2664
		}
2665
2666
		return $this;
2667
    }
2668
2669
    /**
2670
     * @param array $transferTaskInfos
2671
     *
2672
     * @return $this
2673
     */
2674
	public function withTransferTaskInfos(array $transferTaskInfos)
2675
	{
2676
	    $this->data['TransferTaskInfos'] = $transferTaskInfos;
2677
		foreach ($transferTaskInfos as $depth1 => $depth1Value) {
2678
			if(isset($depth1Value['DbName'])){
2679
				$this->options['query']['TransferTaskInfos.' . ($depth1 + 1) . '.DbName'] = $depth1Value['DbName'];
2680
			}
2681
			if(isset($depth1Value['SrcInstanceName'])){
2682
				$this->options['query']['TransferTaskInfos.' . ($depth1 + 1) . '.SrcInstanceName'] = $depth1Value['SrcInstanceName'];
2683
			}
2684
			if(isset($depth1Value['InstanceType'])){
2685
				$this->options['query']['TransferTaskInfos.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
2686
			}
2687
			if(isset($depth1Value['DstInstanceName'])){
2688
				$this->options['query']['TransferTaskInfos.' . ($depth1 + 1) . '.DstInstanceName'] = $depth1Value['DstInstanceName'];
2689
			}
2690
		}
2691
2692
		return $this;
2693
    }
2694
}
2695
2696
/**
2697
 * @method string getTraceId()
2698
 * @method $this withTraceId($value)
2699
 * @method string getSqlPk()
2700
 * @method $this withSqlPk($value)
2701
 * @method string getStartTime()
2702
 * @method $this withStartTime($value)
2703
 * @method string getRecallRestoreType()
2704
 * @method $this withRecallRestoreType($value)
2705
 * @method string getTableName()
2706
 * @method $this withTableName($value)
2707
 * @method string getSqlType()
2708
 * @method $this withSqlType($value)
2709
 * @method string getEndTime()
2710
 * @method $this withEndTime($value)
2711
 * @method string getDrdsInstanceId()
2712
 * @method $this withDrdsInstanceId($value)
2713
 * @method string getRecallType()
2714
 * @method $this withRecallType($value)
2715
 * @method string getDbName()
2716
 * @method $this withDbName($value)
2717
 */
2718
class SubmitSqlFlashbackTask extends Rpc
2719
{
2720
}
2721
2722
/**
2723
 * @method string getDrdsInstanceId()
2724
 * @method $this withDrdsInstanceId($value)
2725
 * @method string getDbName()
2726
 * @method $this withDbName($value)
2727
 * @method string getTaskId()
2728
 * @method $this withTaskId($value)
2729
 */
2730
class SubmitSwitchTableShardingKeyModify extends Rpc
2731
{
2732
}
2733
2734
/**
2735
 * @method string getDrdsInstanceId()
2736
 * @method $this withDrdsInstanceId($value)
2737
 * @method string getExpandType()
2738
 * @method $this withExpandType($value)
2739
 * @method string getJobId()
2740
 * @method $this withJobId($value)
2741
 * @method string getDbName()
2742
 * @method $this withDbName($value)
2743
 * @method string getParentJobId()
2744
 * @method $this withParentJobId($value)
2745
 */
2746
class SubmitSwitchTask extends Rpc
2747
{
2748
}
2749
2750
/**
2751
 * @method string getTbPartitions()
2752
 * @method $this withTbPartitions($value)
2753
 * @method string getIsShard()
2754
 * @method $this withIsShard($value)
2755
 * @method string getTbShardingFunction()
2756
 * @method $this withTbShardingFunction($value)
2757
 * @method string getDbShardingColumnList()
2758
 * @method $this withDbShardingColumnList($value)
2759
 * @method string getTbComputeLength()
2760
 * @method $this withTbComputeLength($value)
2761
 * @method string getTbRightShiftOffset()
2762
 * @method $this withTbRightShiftOffset($value)
2763
 * @method string getDbComputeLength()
2764
 * @method $this withDbComputeLength($value)
2765
 * @method string getSrcTableName()
2766
 * @method $this withSrcTableName($value)
2767
 * @method string getDbRightShiftOffset()
2768
 * @method $this withDbRightShiftOffset($value)
2769
 * @method string getTargetTableName()
2770
 * @method $this withTargetTableName($value)
2771
 * @method string getDrdsInstanceId()
2772
 * @method $this withDrdsInstanceId($value)
2773
 * @method string getDbShardingFunction()
2774
 * @method $this withDbShardingFunction($value)
2775
 * @method string getDbName()
2776
 * @method $this withDbName($value)
2777
 * @method string getTbShardingColumnList()
2778
 * @method $this withTbShardingColumnList($value)
2779
 */
2780
class SubmitTableShardingKeyModify extends Rpc
2781
{
2782
}
2783
2784
/**
2785
 * @method string getDrdsInstanceId()
2786
 * @method $this withDrdsInstanceId($value)
2787
 * @method string getDbName()
2788
 * @method $this withDbName($value)
2789
 */
2790
class SwitchGlobalBroadcastType extends Rpc
2791
{
2792
}
2793
2794
/**
2795
 * @method array getResourceId()
2796
 * @method string getResourceType()
2797
 * @method $this withResourceType($value)
2798
 * @method string getNoRole()
2799
 * @method $this withNoRole($value)
2800
 * @method array getTag()
2801
 */
2802
class TagResources extends Rpc
2803
{
2804
2805
    /**
2806
     * @param array $resourceId
2807
     *
2808
     * @return $this
2809
     */
2810
	public function withResourceId(array $resourceId)
2811
	{
2812
	    $this->data['ResourceId'] = $resourceId;
2813
		foreach ($resourceId as $i => $iValue) {
2814
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
2815
		}
2816
2817
		return $this;
2818
    }
2819
2820
    /**
2821
     * @param array $tag
2822
     *
2823
     * @return $this
2824
     */
2825
	public function withTag(array $tag)
2826
	{
2827
	    $this->data['Tag'] = $tag;
2828
		foreach ($tag as $depth1 => $depth1Value) {
2829
			if(isset($depth1Value['Value'])){
2830
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2831
			}
2832
			if(isset($depth1Value['Key'])){
2833
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2834
			}
2835
		}
2836
2837
		return $this;
2838
    }
2839
}
2840
2841
/**
2842
 * @method string getAll()
2843
 * @method $this withAll($value)
2844
 * @method array getResourceId()
2845
 * @method string getResourceType()
2846
 * @method $this withResourceType($value)
2847
 * @method string getNoRole()
2848
 * @method $this withNoRole($value)
2849
 * @method array getTagKey()
2850
 */
2851
class UntagResources extends Rpc
2852
{
2853
2854
    /**
2855
     * @param array $resourceId
2856
     *
2857
     * @return $this
2858
     */
2859
	public function withResourceId(array $resourceId)
2860
	{
2861
	    $this->data['ResourceId'] = $resourceId;
2862
		foreach ($resourceId as $i => $iValue) {
2863
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
2864
		}
2865
2866
		return $this;
2867
    }
2868
2869
    /**
2870
     * @param array $tagKey
2871
     *
2872
     * @return $this
2873
     */
2874
	public function withTagKey(array $tagKey)
2875
	{
2876
	    $this->data['TagKey'] = $tagKey;
2877
		foreach ($tagKey as $i => $iValue) {
2878
			$this->options['query']['TagKey.' . ($i + 1)] = $iValue;
2879
		}
2880
2881
		return $this;
2882
    }
2883
}
2884
2885
/**
2886
 * @method string getDrdsInstanceId()
2887
 * @method $this withDrdsInstanceId($value)
2888
 * @method string getRetainClassic()
2889
 * @method $this withRetainClassic($value)
2890
 * @method string getClassicExpiredDays()
2891
 * @method $this withClassicExpiredDays($value)
2892
 * @method string getSrcInstanceNetworkType()
2893
 * @method $this withSrcInstanceNetworkType($value)
2894
 */
2895
class UpdateInstanceNetwork extends Rpc
2896
{
2897
}
2898
2899
/**
2900
 * @method string getDrdsInstanceId()
2901
 * @method $this withDrdsInstanceId($value)
2902
 * @method string getNewResourceGroupId()
2903
 * @method $this withNewResourceGroupId($value)
2904
 */
2905
class UpdateResourceGroupAttribute extends Rpc
2906
{
2907
}
2908
2909
/**
2910
 * @method string getHistoreInstanceId()
2911
 * @method $this withHistoreInstanceId($value)
2912
 * @method string getDrdsPassword()
2913
 * @method $this withDrdsPassword($value)
2914
 * @method string getDrdsInstanceId()
2915
 * @method $this withDrdsInstanceId($value)
2916
 */
2917
class UpgradeHiStoreInstance extends Rpc
2918
{
2919
}
2920
2921
/**
2922
 * @method string getDrdsPassword()
2923
 * @method $this withDrdsPassword($value)
2924
 * @method string getDrdsInstanceId()
2925
 * @method $this withDrdsInstanceId($value)
2926
 * @method string getRpm()
2927
 * @method $this withRpm($value)
2928
 */
2929
class UpgradeInstanceVersion extends Rpc
2930
{
2931
}
2932
2933
/**
2934
 * @method string getTaskType()
2935
 * @method $this withTaskType($value)
2936
 * @method string getTargetTableName()
2937
 * @method $this withTargetTableName($value)
2938
 * @method string getDrdsInstanceId()
2939
 * @method $this withDrdsInstanceId($value)
2940
 * @method string getDbName()
2941
 * @method $this withDbName($value)
2942
 * @method string getSourceTableName()
2943
 * @method $this withSourceTableName($value)
2944
 */
2945
class ValidateShardTask extends Rpc
2946
{
2947
}
2948