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 ( 6a7df0...b3ce80 )
by
unknown
05:36
created

CreateClusterTemplate::withHostGroup()   F

Complexity

Conditions 20
Paths > 20000

Size

Total Lines 61
Code Lines 39

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 39
dl 0
loc 61
c 0
b 0
f 0
rs 0
cc 20
nc 262145
nop 1

How to fix   Long Method    Complexity   

Long Method

Small methods make your code easier to understand, in particular if combined with a good name. Besides, if your method is small, finding a good name is usually much easier.

For example, if you find yourself adding comments to a method's body, this is usually a good sign to extract the commented part to a new method, and use the comment as a starting point when coming up with a good name for this new method.

Commonly applied refactorings include:

1
<?php
2
3
namespace AlibabaCloud\Emr\V20160408;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddClusterService addClusterService(array $options = [])
9
 * @method AddScalingConfigItemV2 addScalingConfigItemV2(array $options = [])
10
 * @method AuthorizeSecurityGroup authorizeSecurityGroup(array $options = [])
11
 * @method CancelOrder cancelOrder(array $options = [])
12
 * @method CleanupFlowEntitySnapshot cleanupFlowEntitySnapshot(array $options = [])
13
 * @method CloneFlow cloneFlow(array $options = [])
14
 * @method CloneFlowJob cloneFlowJob(array $options = [])
15
 * @method CommitFlowEntitySnapshot commitFlowEntitySnapshot(array $options = [])
16
 * @method CreateBackup createBackup(array $options = [])
17
 * @method CreateBackupPlan createBackupPlan(array $options = [])
18
 * @method CreateClusterBootstrapAction createClusterBootstrapAction(array $options = [])
19
 * @method CreateClusterTemplate createClusterTemplate(array $options = [])
20
 * @method CreateClusterV2 createClusterV2(array $options = [])
21
 * @method CreateClusterWithTemplate createClusterWithTemplate(array $options = [])
22
 * @method CreateDataSource createDataSource(array $options = [])
23
 * @method CreateExecutionPlan createExecutionPlan(array $options = [])
24
 * @method CreateFlow createFlow(array $options = [])
25
 * @method CreateFlowCategory createFlowCategory(array $options = [])
26
 * @method CreateFlowEditLock createFlowEditLock(array $options = [])
27
 * @method CreateFlowForWeb createFlowForWeb(array $options = [])
28
 * @method CreateFlowJob createFlowJob(array $options = [])
29
 * @method CreateFlowProject createFlowProject(array $options = [])
30
 * @method CreateFlowProjectClusterSetting createFlowProjectClusterSetting(array $options = [])
31
 * @method CreateFlowProjectUser createFlowProjectUser(array $options = [])
32
 * @method CreateJob createJob(array $options = [])
33
 * @method CreateLibrary createLibrary(array $options = [])
34
 * @method CreateMetaTablePreviewTask createMetaTablePreviewTask(array $options = [])
35
 * @method CreateNote createNote(array $options = [])
36
 * @method CreateParagraph createParagraph(array $options = [])
37
 * @method CreateResourcePool createResourcePool(array $options = [])
38
 * @method CreateResourceQueue createResourceQueue(array $options = [])
39
 * @method CreateScalingGroupV2 createScalingGroupV2(array $options = [])
40
 * @method CreateScalingRule createScalingRule(array $options = [])
41
 * @method CreateTag createTag(array $options = [])
42
 * @method CreateUser createUser(array $options = [])
43
 * @method CreateUsers createUsers(array $options = [])
44
 * @method DecommissionHostComponent decommissionHostComponent(array $options = [])
45
 * @method DeleteClusterTemplate deleteClusterTemplate(array $options = [])
46
 * @method DeleteExecutionPlan deleteExecutionPlan(array $options = [])
47
 * @method DeleteFlow deleteFlow(array $options = [])
48
 * @method DeleteFlowCategory deleteFlowCategory(array $options = [])
49
 * @method DeleteFlowEditLock deleteFlowEditLock(array $options = [])
50
 * @method DeleteFlowJob deleteFlowJob(array $options = [])
51
 * @method DeleteFlowProject deleteFlowProject(array $options = [])
52
 * @method DeleteFlowProjectClusterSetting deleteFlowProjectClusterSetting(array $options = [])
53
 * @method DeleteFlowProjectUser deleteFlowProjectUser(array $options = [])
54
 * @method DeleteJob deleteJob(array $options = [])
55
 * @method DeleteLibraries deleteLibraries(array $options = [])
56
 * @method DeleteNote deleteNote(array $options = [])
57
 * @method DeleteResourcePool deleteResourcePool(array $options = [])
58
 * @method DeleteResourceQueue deleteResourceQueue(array $options = [])
59
 * @method DeleteScalingRule deleteScalingRule(array $options = [])
60
 * @method DeleteTag deleteTag(array $options = [])
61
 * @method DeleteUser deleteUser(array $options = [])
62
 * @method DescribeClusterBasicInfo describeClusterBasicInfo(array $options = [])
63
 * @method DescribeClusterMetaCollect describeClusterMetaCollect(array $options = [])
64
 * @method DescribeClusterOperationHostTaskLog describeClusterOperationHostTaskLog(array $options = [])
65
 * @method DescribeClusterResourcePoolSchedulerType describeClusterResourcePoolSchedulerType(array $options = [])
66
 * @method DescribeClusterService describeClusterService(array $options = [])
67
 * @method DescribeClusterServiceConfig describeClusterServiceConfig(array $options = [])
68
 * @method DescribeClusterServiceConfigHistory describeClusterServiceConfigHistory(array $options = [])
69
 * @method DescribeClusterServiceConfigTag describeClusterServiceConfigTag(array $options = [])
70
 * @method DescribeClusterTemplate describeClusterTemplate(array $options = [])
71
 * @method DescribeClusterV2 describeClusterV2(array $options = [])
72
 * @method DescribeDataSource describeDataSource(array $options = [])
73
 * @method DescribeExecutionPlan describeExecutionPlan(array $options = [])
74
 * @method DescribeFlow describeFlow(array $options = [])
75
 * @method DescribeFlowAgentToken describeFlowAgentToken(array $options = [])
76
 * @method DescribeFlowAgentUser describeFlowAgentUser(array $options = [])
77
 * @method DescribeFlowCategory describeFlowCategory(array $options = [])
78
 * @method DescribeFlowCategoryTree describeFlowCategoryTree(array $options = [])
79
 * @method DescribeFlowEntitySnapshot describeFlowEntitySnapshot(array $options = [])
80
 * @method DescribeFlowInstance describeFlowInstance(array $options = [])
81
 * @method DescribeFlowJob describeFlowJob(array $options = [])
82
 * @method DescribeFlowNodeInstance describeFlowNodeInstance(array $options = [])
83
 * @method DescribeFlowNodeInstanceContainerLog describeFlowNodeInstanceContainerLog(array $options = [])
84
 * @method DescribeFlowNodeInstanceLauncherLog describeFlowNodeInstanceLauncherLog(array $options = [])
85
 * @method DescribeFlowProject describeFlowProject(array $options = [])
86
 * @method DescribeFlowProjectClusterSetting describeFlowProjectClusterSetting(array $options = [])
87
 * @method DescribeJob describeJob(array $options = [])
88
 * @method DescribeLibraryDetail describeLibraryDetail(array $options = [])
89
 * @method DescribeLibraryInstallTaskDetail describeLibraryInstallTaskDetail(array $options = [])
90
 * @method DescribeMetaTablePreviewTask describeMetaTablePreviewTask(array $options = [])
91
 * @method DescribeScalingActivity describeScalingActivity(array $options = [])
92
 * @method DescribeScalingCommonConfig describeScalingCommonConfig(array $options = [])
93
 * @method DescribeScalingConfigItemV2 describeScalingConfigItemV2(array $options = [])
94
 * @method DescribeScalingGroupInstanceV2 describeScalingGroupInstanceV2(array $options = [])
95
 * @method DescribeScalingGroupV2 describeScalingGroupV2(array $options = [])
96
 * @method DescribeScalingRule describeScalingRule(array $options = [])
97
 * @method DescribeSecurityGroupAttribute describeSecurityGroupAttribute(array $options = [])
98
 * @method DetachAndReleaseClusterEni detachAndReleaseClusterEni(array $options = [])
99
 * @method DiffFlowEntitySnapshot diffFlowEntitySnapshot(array $options = [])
100
 * @method DumpMetaDataSourceForOuter dumpMetaDataSourceForOuter(array $options = [])
101
 * @method GetFlowEntityRelationGraph getFlowEntityRelationGraph(array $options = [])
102
 * @method GetHdfsCapacityStatisticInfo getHdfsCapacityStatisticInfo(array $options = [])
103
 * @method GetJobInputStatisticInfo getJobInputStatisticInfo(array $options = [])
104
 * @method GetJobOutputStatisticInfo getJobOutputStatisticInfo(array $options = [])
105
 * @method GetJobRunningTimeStatisticInfo getJobRunningTimeStatisticInfo(array $options = [])
106
 * @method GetQueueInputStatisticInfo getQueueInputStatisticInfo(array $options = [])
107
 * @method GetQueueOutputStatisticInfo getQueueOutputStatisticInfo(array $options = [])
108
 * @method GetQueueSubmissionStatisticInfo getQueueSubmissionStatisticInfo(array $options = [])
109
 * @method GetUserInputStatisticInfo getUserInputStatisticInfo(array $options = [])
110
 * @method GetUserOutputStatisticInfo getUserOutputStatisticInfo(array $options = [])
111
 * @method GetUserSubmissionStatisticInfo getUserSubmissionStatisticInfo(array $options = [])
112
 * @method InstallLibraries installLibraries(array $options = [])
113
 * @method JoinResourceGroup joinResourceGroup(array $options = [])
114
 * @method KillExecutionJobInstance killExecutionJobInstance(array $options = [])
115
 * @method KillFlowJob killFlowJob(array $options = [])
116
 * @method ListAdviceAction listAdviceAction(array $options = [])
117
 * @method ListApmApplication listApmApplication(array $options = [])
118
 * @method ListBackups listBackups(array $options = [])
119
 * @method ListClusterHost listClusterHost(array $options = [])
120
 * @method ListClusterHostComponent listClusterHostComponent(array $options = [])
121
 * @method ListClusterHostGroup listClusterHostGroup(array $options = [])
122
 * @method ListClusterInstalledService listClusterInstalledService(array $options = [])
123
 * @method ListClusterOperation listClusterOperation(array $options = [])
124
 * @method ListClusterOperationHost listClusterOperationHost(array $options = [])
125
 * @method ListClusterOperationHostTask listClusterOperationHostTask(array $options = [])
126
 * @method ListClusterOperationTask listClusterOperationTask(array $options = [])
127
 * @method ListClusters listClusters(array $options = [])
128
 * @method ListClusterService listClusterService(array $options = [])
129
 * @method ListClusterServiceComponent listClusterServiceComponent(array $options = [])
130
 * @method ListClusterServiceComponentHealthInfo listClusterServiceComponentHealthInfo(array $options = [])
131
 * @method ListClusterServiceConfigHistory listClusterServiceConfigHistory(array $options = [])
132
 * @method ListClusterServiceQuickLink listClusterServiceQuickLink(array $options = [])
133
 * @method ListClusterTemplates listClusterTemplates(array $options = [])
134
 * @method ListDataSource listDataSource(array $options = [])
135
 * @method ListEmrAvailableConfig listEmrAvailableConfig(array $options = [])
136
 * @method ListEmrAvailableResource listEmrAvailableResource(array $options = [])
137
 * @method ListEmrMainVersion listEmrMainVersion(array $options = [])
138
 * @method ListExecutionPlanInstances listExecutionPlanInstances(array $options = [])
139
 * @method ListExecutionPlans listExecutionPlans(array $options = [])
140
 * @method ListFlow listFlow(array $options = [])
141
 * @method ListFlowCategory listFlowCategory(array $options = [])
142
 * @method ListFlowCluster listFlowCluster(array $options = [])
143
 * @method ListFlowClusterAll listFlowClusterAll(array $options = [])
144
 * @method ListFlowClusterAllHosts listFlowClusterAllHosts(array $options = [])
145
 * @method ListFlowClusterHost listFlowClusterHost(array $options = [])
146
 * @method ListFlowEntitySnapshot listFlowEntitySnapshot(array $options = [])
147
 * @method ListFlowInstance listFlowInstance(array $options = [])
148
 * @method ListFlowJob listFlowJob(array $options = [])
149
 * @method ListFlowJobHistory listFlowJobHistory(array $options = [])
150
 * @method ListFlowNodeInstance listFlowNodeInstance(array $options = [])
151
 * @method ListFlowNodeInstanceContainerStatus listFlowNodeInstanceContainerStatus(array $options = [])
152
 * @method ListFlowNodeSqlResult listFlowNodeSqlResult(array $options = [])
153
 * @method ListFlowProject listFlowProject(array $options = [])
154
 * @method ListFlowProjectClusterSetting listFlowProjectClusterSetting(array $options = [])
155
 * @method ListFlowProjectUser listFlowProjectUser(array $options = [])
156
 * @method ListJobExecutionInstances listJobExecutionInstances(array $options = [])
157
 * @method ListJobInstanceWorkers listJobInstanceWorkers(array $options = [])
158
 * @method ListJobs listJobs(array $options = [])
159
 * @method ListLibraries listLibraries(array $options = [])
160
 * @method ListLibraryInstallTasks listLibraryInstallTasks(array $options = [])
161
 * @method ListLibraryStatus listLibraryStatus(array $options = [])
162
 * @method ListMetaCluster listMetaCluster(array $options = [])
163
 * @method ListMetaDataSourceClusterForOuter listMetaDataSourceClusterForOuter(array $options = [])
164
 * @method ListNotes listNotes(array $options = [])
165
 * @method ListResourcePool listResourcePool(array $options = [])
166
 * @method ListRoles listRoles(array $options = [])
167
 * @method ListScalingActivityV2 listScalingActivityV2(array $options = [])
168
 * @method ListScalingConfigItemV2 listScalingConfigItemV2(array $options = [])
169
 * @method ListScalingGroupV2 listScalingGroupV2(array $options = [])
170
 * @method ListSecurityGroup listSecurityGroup(array $options = [])
171
 * @method ListStack listStack(array $options = [])
172
 * @method ListTagKeys listTagKeys(array $options = [])
173
 * @method ListTagResources listTagResources(array $options = [])
174
 * @method ListTagValues listTagValues(array $options = [])
175
 * @method ListUsers listUsers(array $options = [])
176
 * @method ListVswitch listVswitch(array $options = [])
177
 * @method ModifyClusterBootstrapAction modifyClusterBootstrapAction(array $options = [])
178
 * @method ModifyClusterHostGroup modifyClusterHostGroup(array $options = [])
179
 * @method ModifyClusterMetaCollect modifyClusterMetaCollect(array $options = [])
180
 * @method ModifyClusterName modifyClusterName(array $options = [])
181
 * @method ModifyClusterSecurityGroupRule modifyClusterSecurityGroupRule(array $options = [])
182
 * @method ModifyClusterServiceConfig modifyClusterServiceConfig(array $options = [])
183
 * @method ModifyClusterTemplate modifyClusterTemplate(array $options = [])
184
 * @method ModifyExecutionPlan modifyExecutionPlan(array $options = [])
185
 * @method ModifyFlow modifyFlow(array $options = [])
186
 * @method ModifyFlowCategory modifyFlowCategory(array $options = [])
187
 * @method ModifyFlowForWeb modifyFlowForWeb(array $options = [])
188
 * @method ModifyFlowJob modifyFlowJob(array $options = [])
189
 * @method ModifyFlowProject modifyFlowProject(array $options = [])
190
 * @method ModifyFlowProjectClusterSetting modifyFlowProjectClusterSetting(array $options = [])
191
 * @method ModifyJob modifyJob(array $options = [])
192
 * @method ModifyResourcePool modifyResourcePool(array $options = [])
193
 * @method ModifyResourcePoolSchedulerType modifyResourcePoolSchedulerType(array $options = [])
194
 * @method ModifyResourceQueue modifyResourceQueue(array $options = [])
195
 * @method ModifyScalingConfigItemV2 modifyScalingConfigItemV2(array $options = [])
196
 * @method ModifyScalingGroupV2 modifyScalingGroupV2(array $options = [])
197
 * @method ModifyScalingRule modifyScalingRule(array $options = [])
198
 * @method ModifyScalingTaskGroup modifyScalingTaskGroup(array $options = [])
199
 * @method QueryAlarmHistory queryAlarmHistory(array $options = [])
200
 * @method QueryEntity queryEntity(array $options = [])
201
 * @method QueryTableData queryTableData(array $options = [])
202
 * @method QueryTag queryTag(array $options = [])
203
 * @method QueryTrendData queryTrendData(array $options = [])
204
 * @method RefreshClusterResourcePool refreshClusterResourcePool(array $options = [])
205
 * @method ReleaseCluster releaseCluster(array $options = [])
206
 * @method ReleaseClusterByTemplateTagForInternal releaseClusterByTemplateTagForInternal(array $options = [])
207
 * @method ReleaseClusterHostGroup releaseClusterHostGroup(array $options = [])
208
 * @method RemoveScalingConfigItemV2 removeScalingConfigItemV2(array $options = [])
209
 * @method RerunFlow rerunFlow(array $options = [])
210
 * @method ResizeClusterV2 resizeClusterV2(array $options = [])
211
 * @method RestoreBackup restoreBackup(array $options = [])
212
 * @method RestoreFlowEntitySnapshot restoreFlowEntitySnapshot(array $options = [])
213
 * @method ResumeExecutionPlanScheduler resumeExecutionPlanScheduler(array $options = [])
214
 * @method ResumeFlow resumeFlow(array $options = [])
215
 * @method RetryOperation retryOperation(array $options = [])
216
 * @method RunClusterServiceAction runClusterServiceAction(array $options = [])
217
 * @method RunExecutionPlan runExecutionPlan(array $options = [])
218
 * @method RunScalingActionV2 runScalingActionV2(array $options = [])
219
 * @method SearchLog searchLog(array $options = [])
220
 * @method StartFlow startFlow(array $options = [])
221
 * @method SubmitFlow submitFlow(array $options = [])
222
 * @method SubmitFlowJob submitFlowJob(array $options = [])
223
 * @method SuspendExecutionPlanScheduler suspendExecutionPlanScheduler(array $options = [])
224
 * @method SuspendFlow suspendFlow(array $options = [])
225
 * @method TagResources tagResources(array $options = [])
226
 * @method TagResourcesSystemTags tagResourcesSystemTags(array $options = [])
227
 * @method UninstallLibraries uninstallLibraries(array $options = [])
228
 * @method UntagResources untagResources(array $options = [])
229
 * @method UntagResourcesSystemTags untagResourcesSystemTags(array $options = [])
230
 * @method UpdateDataSource updateDataSource(array $options = [])
231
 * @method UpdateLibraryInstallTaskStatus updateLibraryInstallTaskStatus(array $options = [])
232
 * @method UpdateTag updateTag(array $options = [])
233
 * @method UpdateUser updateUser(array $options = [])
234
 */
235
class EmrApiResolver extends ApiResolver
236
{
237
}
238
239
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
240
{
241
    /** @var string */
242
    public $product = 'Emr';
243
244
    /** @var string */
245
    public $version = '2016-04-08';
246
247
    /** @var string */
248
    public $method = 'POST';
249
250
    /** @var string */
251
    public $serviceCode = 'emr';
252
}
253
254
/**
255
 * @method string getResourceOwnerId()
256
 * @method $this withResourceOwnerId($value)
257
 * @method string getClusterId()
258
 * @method $this withClusterId($value)
259
 * @method array getService()
260
 * @method string getComment()
261
 * @method $this withComment($value)
262
 */
263
class AddClusterService extends Rpc
264
{
265
266
    /**
267
     * @param array $service
268
     *
269
     * @return $this
270
     */
271
	public function withService(array $service)
272
	{
273
	    $this->data['Service'] = $service;
274
		foreach ($service as $depth1 => $depth1Value) {
275
			if(isset($depth1Value['ServiceVersion'])){
276
				$this->options['query']['Service.' . ($depth1 + 1) . '.ServiceVersion'] = $depth1Value['ServiceVersion'];
277
			}
278
			if(isset($depth1Value['ServiceName'])){
279
				$this->options['query']['Service.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
280
			}
281
		}
282
283
		return $this;
284
    }
285
}
286
287
/**
288
 * @method string getConfigItemType()
289
 * @method $this withConfigItemType($value)
290
 * @method string getResourceOwnerId()
291
 * @method $this withResourceOwnerId($value)
292
 * @method string getScalingGroupBizId()
293
 * @method $this withScalingGroupBizId($value)
294
 * @method string getResourceGroupId()
295
 * @method $this withResourceGroupId($value)
296
 * @method string getConfigItemInformation()
297
 * @method $this withConfigItemInformation($value)
298
 */
299
class AddScalingConfigItemV2 extends Rpc
300
{
301
}
302
303
/**
304
 * @method string getResourceOwnerId()
305
 * @method $this withResourceOwnerId($value)
306
 * @method string getClusterId()
307
 * @method $this withClusterId($value)
308
 * @method string getBizType()
309
 * @method $this withBizType($value)
310
 * @method string getBizContent()
311
 * @method $this withBizContent($value)
312
 */
313
class AuthorizeSecurityGroup extends Rpc
314
{
315
}
316
317
/**
318
 * @method string getResourceOwnerId()
319
 * @method $this withResourceOwnerId($value)
320
 * @method string getClusterId()
321
 * @method $this withClusterId($value)
322
 */
323
class CancelOrder extends Rpc
324
{
325
}
326
327
/**
328
 * @method string getResourceOwnerId()
329
 * @method $this withResourceOwnerId($value)
330
 * @method string getEntityIdList()
331
 * @method $this withEntityIdList($value)
332
 */
333
class CleanupFlowEntitySnapshot extends Rpc
334
{
335
}
336
337
/**
338
 * @method string getId()
339
 * @method $this withId($value)
340
 * @method string getProjectId()
341
 * @method $this withProjectId($value)
342
 */
343
class CloneFlow extends Rpc
344
{
345
}
346
347
/**
348
 * @method string getName()
349
 * @method $this withName($value)
350
 * @method string getId()
351
 * @method $this withId($value)
352
 * @method string getProjectId()
353
 * @method $this withProjectId($value)
354
 */
355
class CloneFlowJob extends Rpc
356
{
357
}
358
359
/**
360
 * @method string getResourceOwnerId()
361
 * @method $this withResourceOwnerId($value)
362
 * @method string getEntityType()
363
 * @method $this withEntityType($value)
364
 * @method string getEntityId()
365
 * @method $this withEntityId($value)
366
 * @method string getMessage()
367
 * @method $this withMessage($value)
368
 */
369
class CommitFlowEntitySnapshot extends Rpc
370
{
371
}
372
373
/**
374
 * @method string getResourceOwnerId()
375
 * @method $this withResourceOwnerId($value)
376
 * @method string getBackupPlanId()
377
 * @method $this withBackupPlanId($value)
378
 * @method string getMetadataType()
379
 * @method $this withMetadataType($value)
380
 */
381
class CreateBackup extends Rpc
382
{
383
}
384
385
/**
386
 * @method string getResourceOwnerId()
387
 * @method $this withResourceOwnerId($value)
388
 * @method string getDescription()
389
 * @method $this withDescription($value)
390
 * @method string getClusterId()
391
 * @method $this withClusterId($value)
392
 * @method string getName()
393
 * @method $this withName($value)
394
 * @method string getRootPath()
395
 * @method $this withRootPath($value)
396
 */
397
class CreateBackupPlan extends Rpc
398
{
399
}
400
401
/**
402
 * @method string getResourceOwnerId()
403
 * @method $this withResourceOwnerId($value)
404
 * @method string getClusterId()
405
 * @method $this withClusterId($value)
406
 * @method array getBootstrapAction()
407
 */
408
class CreateClusterBootstrapAction extends Rpc
409
{
410
411
    /**
412
     * @param array $bootstrapAction
413
     *
414
     * @return $this
415
     */
416
	public function withBootstrapAction(array $bootstrapAction)
417
	{
418
	    $this->data['BootstrapAction'] = $bootstrapAction;
419
		foreach ($bootstrapAction as $depth1 => $depth1Value) {
420
			if(isset($depth1Value['Path'])){
421
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
422
			}
423
			if(isset($depth1Value['ExecutionTarget'])){
424
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget'];
425
			}
426
			if(isset($depth1Value['ExecutionMoment'])){
427
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment'];
428
			}
429
			if(isset($depth1Value['Arg'])){
430
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
431
			}
432
			if(isset($depth1Value['Name'])){
433
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
434
			}
435
			if(isset($depth1Value['ExecutionFailStrategy'])){
436
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy'];
437
			}
438
		}
439
440
		return $this;
441
    }
442
}
443
444
/**
445
 * @method string getResourceOwnerId()
446
 * @method $this withResourceOwnerId($value)
447
 * @method string getLogPath()
448
 * @method $this withLogPath($value)
449
 * @method string getMasterPwd()
450
 * @method $this withMasterPwd($value)
451
 * @method string getConfigurations()
452
 * @method $this withConfigurations($value)
453
 * @method string getSshEnable()
454
 * @method $this withSshEnable($value)
455
 * @method string getKeyPairName()
456
 * @method $this withKeyPairName($value)
457
 * @method string getMetaStoreType()
458
 * @method $this withMetaStoreType($value)
459
 * @method string getSecurityGroupName()
460
 * @method $this withSecurityGroupName($value)
461
 * @method string getMachineType()
462
 * @method $this withMachineType($value)
463
 * @method string getResourceGroupId()
464
 * @method $this withResourceGroupId($value)
465
 * @method array getBootstrapAction()
466
 * @method string getMetaStoreConf()
467
 * @method $this withMetaStoreConf($value)
468
 * @method string getEmrVer()
469
 * @method $this withEmrVer($value)
470
 * @method array getTag()
471
 * @method string getIsOpenPublicIp()
472
 * @method $this withIsOpenPublicIp($value)
473
 * @method string getPeriod()
474
 * @method $this withPeriod($value)
475
 * @method string getInstanceGeneration()
476
 * @method $this withInstanceGeneration($value)
477
 * @method string getVSwitchId()
478
 * @method $this withVSwitchId($value)
479
 * @method string getClusterType()
480
 * @method $this withClusterType($value)
481
 * @method string getAutoRenew()
482
 * @method $this withAutoRenew($value)
483
 * @method array getOptionSoftWareList()
484
 * @method string getNetType()
485
 * @method $this withNetType($value)
486
 * @method string getZoneId()
487
 * @method $this withZoneId($value)
488
 * @method string getUseCustomHiveMetaDb()
489
 * @method $this withUseCustomHiveMetaDb($value)
490
 * @method string getInitCustomHiveMetaDb()
491
 * @method $this withInitCustomHiveMetaDb($value)
492
 * @method string getIoOptimized()
493
 * @method $this withIoOptimized($value)
494
 * @method string getSecurityGroupId()
495
 * @method $this withSecurityGroupId($value)
496
 * @method string getEasEnable()
497
 * @method $this withEasEnable($value)
498
 * @method string getDepositType()
499
 * @method $this withDepositType($value)
500
 * @method string getUseLocalMetaDb()
501
 * @method $this withUseLocalMetaDb($value)
502
 * @method string getTemplateName()
503
 * @method $this withTemplateName($value)
504
 * @method string getUserDefinedEmrEcsRole()
505
 * @method $this withUserDefinedEmrEcsRole($value)
506
 * @method string getVpcId()
507
 * @method $this withVpcId($value)
508
 * @method array getHostGroup()
509
 * @method array getConfig()
510
 * @method string getHighAvailabilityEnable()
511
 * @method $this withHighAvailabilityEnable($value)
512
 */
513
class CreateClusterTemplate extends Rpc
514
{
515
516
    /**
517
     * @param array $bootstrapAction
518
     *
519
     * @return $this
520
     */
521
	public function withBootstrapAction(array $bootstrapAction)
522
	{
523
	    $this->data['BootstrapAction'] = $bootstrapAction;
524
		foreach ($bootstrapAction as $depth1 => $depth1Value) {
525
			if(isset($depth1Value['Path'])){
526
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
527
			}
528
			if(isset($depth1Value['ExecutionTarget'])){
529
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget'];
530
			}
531
			if(isset($depth1Value['ExecutionMoment'])){
532
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment'];
533
			}
534
			if(isset($depth1Value['Arg'])){
535
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
536
			}
537
			if(isset($depth1Value['Name'])){
538
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
539
			}
540
			if(isset($depth1Value['ExecutionFailStrategy'])){
541
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy'];
542
			}
543
		}
544
545
		return $this;
546
    }
547
548
    /**
549
     * @param array $tag
550
     *
551
     * @return $this
552
     */
553
	public function withTag(array $tag)
554
	{
555
	    $this->data['Tag'] = $tag;
556
		foreach ($tag as $depth1 => $depth1Value) {
557
			if(isset($depth1Value['Value'])){
558
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
559
			}
560
			if(isset($depth1Value['Key'])){
561
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
562
			}
563
		}
564
565
		return $this;
566
    }
567
568
    /**
569
     * @param array $optionSoftWareList
570
     *
571
     * @return $this
572
     */
573
	public function withOptionSoftWareList(array $optionSoftWareList)
574
	{
575
	    $this->data['OptionSoftWareList'] = $optionSoftWareList;
576
		foreach ($optionSoftWareList as $i => $iValue) {
577
			$this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
578
		}
579
580
		return $this;
581
    }
582
583
    /**
584
     * @param array $hostGroup
585
     *
586
     * @return $this
587
     */
588
	public function withHostGroup(array $hostGroup)
589
	{
590
	    $this->data['HostGroup'] = $hostGroup;
591
		foreach ($hostGroup as $depth1 => $depth1Value) {
592
			if(isset($depth1Value['Period'])){
593
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
594
			}
595
			if(isset($depth1Value['SysDiskCapacity'])){
596
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity'];
597
			}
598
			if(isset($depth1Value['DiskCapacity'])){
599
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
600
			}
601
			if(isset($depth1Value['SysDiskType'])){
602
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType'];
603
			}
604
			if(isset($depth1Value['ClusterId'])){
605
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId'];
606
			}
607
			if(isset($depth1Value['DiskType'])){
608
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
609
			}
610
			if(isset($depth1Value['HostGroupName'])){
611
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
612
			}
613
			if(isset($depth1Value['VSwitchId'])){
614
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
615
			}
616
			if(isset($depth1Value['DiskCount'])){
617
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
618
			}
619
			if(isset($depth1Value['AutoRenew'])){
620
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew'];
621
			}
622
			if(isset($depth1Value['HostGroupId'])){
623
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId'];
624
			}
625
			if(isset($depth1Value['NodeCount'])){
626
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
627
			}
628
			if(isset($depth1Value['InstanceType'])){
629
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
630
			}
631
			if(isset($depth1Value['Comment'])){
632
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
633
			}
634
			if(isset($depth1Value['ChargeType'])){
635
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType'];
636
			}
637
			if(isset($depth1Value['MultiInstanceTypes'])){
638
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.MultiInstanceTypes'] = $depth1Value['MultiInstanceTypes'];
639
			}
640
			if(isset($depth1Value['CreateType'])){
641
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType'];
642
			}
643
			if(isset($depth1Value['HostGroupType'])){
644
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType'];
645
			}
646
		}
647
648
		return $this;
649
    }
650
651
    /**
652
     * @param array $config
653
     *
654
     * @return $this
655
     */
656
	public function withConfig(array $config)
657
	{
658
	    $this->data['Config'] = $config;
659
		foreach ($config as $depth1 => $depth1Value) {
660
			if(isset($depth1Value['ConfigKey'])){
661
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
662
			}
663
			if(isset($depth1Value['FileName'])){
664
				$this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
665
			}
666
			if(isset($depth1Value['Encrypt'])){
667
				$this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
668
			}
669
			if(isset($depth1Value['Replace'])){
670
				$this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
671
			}
672
			if(isset($depth1Value['ConfigValue'])){
673
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
674
			}
675
			if(isset($depth1Value['ServiceName'])){
676
				$this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
677
			}
678
		}
679
680
		return $this;
681
    }
682
}
683
684
/**
685
 * @method string getAutoPayOrder()
686
 * @method $this withAutoPayOrder($value)
687
 * @method string getResourceOwnerId()
688
 * @method $this withResourceOwnerId($value)
689
 * @method string getLogPath()
690
 * @method $this withLogPath($value)
691
 * @method string getMasterPwd()
692
 * @method $this withMasterPwd($value)
693
 * @method string getConfigurations()
694
 * @method $this withConfigurations($value)
695
 * @method string getSshEnable()
696
 * @method $this withSshEnable($value)
697
 * @method string getKeyPairName()
698
 * @method $this withKeyPairName($value)
699
 * @method string getMetaStoreType()
700
 * @method $this withMetaStoreType($value)
701
 * @method string getSecurityGroupName()
702
 * @method $this withSecurityGroupName($value)
703
 * @method string getMachineType()
704
 * @method $this withMachineType($value)
705
 * @method string getResourceGroupId()
706
 * @method $this withResourceGroupId($value)
707
 * @method array getHostComponentInfo()
708
 * @method string getClickHouseConf()
709
 * @method $this withClickHouseConf($value)
710
 * @method array getBootstrapAction()
711
 * @method string getMetaStoreConf()
712
 * @method $this withMetaStoreConf($value)
713
 * @method string getEmrVer()
714
 * @method $this withEmrVer($value)
715
 * @method array getTag()
716
 * @method string getAuthorizeContent()
717
 * @method $this withAuthorizeContent($value)
718
 * @method string getIsOpenPublicIp()
719
 * @method $this withIsOpenPublicIp($value)
720
 * @method string getPeriod()
721
 * @method $this withPeriod($value)
722
 * @method string getInstanceGeneration()
723
 * @method $this withInstanceGeneration($value)
724
 * @method string getVSwitchId()
725
 * @method $this withVSwitchId($value)
726
 * @method string getClusterType()
727
 * @method $this withClusterType($value)
728
 * @method string getExtraAttributes()
729
 * @method $this withExtraAttributes($value)
730
 * @method string getAutoRenew()
731
 * @method $this withAutoRenew($value)
732
 * @method array getOptionSoftWareList()
733
 * @method string getNetType()
734
 * @method $this withNetType($value)
735
 * @method string getName()
736
 * @method $this withName($value)
737
 * @method string getZoneId()
738
 * @method $this withZoneId($value)
739
 * @method string getUseCustomHiveMetaDB()
740
 * @method $this withUseCustomHiveMetaDB($value)
741
 * @method string getInitCustomHiveMetaDB()
742
 * @method $this withInitCustomHiveMetaDB($value)
743
 * @method string getIoOptimized()
744
 * @method $this withIoOptimized($value)
745
 * @method string getSecurityGroupId()
746
 * @method $this withSecurityGroupId($value)
747
 * @method string getEasEnable()
748
 * @method $this withEasEnable($value)
749
 * @method string getDepositType()
750
 * @method $this withDepositType($value)
751
 * @method string getUseLocalMetaDb()
752
 * @method $this withUseLocalMetaDb($value)
753
 * @method array getUserInfo()
754
 * @method string getUserDefinedEmrEcsRole()
755
 * @method $this withUserDefinedEmrEcsRole($value)
756
 * @method string getWhiteListType()
757
 * @method $this withWhiteListType($value)
758
 * @method string getRelatedClusterId()
759
 * @method $this withRelatedClusterId($value)
760
 * @method string getVpcId()
761
 * @method $this withVpcId($value)
762
 * @method array getPromotionInfo()
763
 * @method array getHostGroup()
764
 * @method string getChargeType()
765
 * @method $this withChargeType($value)
766
 * @method array getServiceInfo()
767
 * @method array getConfig()
768
 * @method string getHighAvailabilityEnable()
769
 * @method $this withHighAvailabilityEnable($value)
770
 */
771
class CreateClusterV2 extends Rpc
772
{
773
774
    /**
775
     * @param array $hostComponentInfo
776
     *
777
     * @return $this
778
     */
779
	public function withHostComponentInfo(array $hostComponentInfo)
780
	{
781
	    $this->data['HostComponentInfo'] = $hostComponentInfo;
782
		foreach ($hostComponentInfo as $depth1 => $depth1Value) {
783
			if(isset($depth1Value['HostName'])){
784
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.HostName'] = $depth1Value['HostName'];
785
			}
786
			foreach ($depth1Value['ComponentNameList'] as $i => $iValue) {
787
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ComponentNameList.' . ($i + 1)] = $iValue;
788
			}
789
			if(isset($depth1Value['ServiceName'])){
790
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
791
			}
792
		}
793
794
		return $this;
795
    }
796
797
    /**
798
     * @param array $bootstrapAction
799
     *
800
     * @return $this
801
     */
802
	public function withBootstrapAction(array $bootstrapAction)
803
	{
804
	    $this->data['BootstrapAction'] = $bootstrapAction;
805
		foreach ($bootstrapAction as $depth1 => $depth1Value) {
806
			if(isset($depth1Value['Path'])){
807
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
808
			}
809
			if(isset($depth1Value['ExecutionTarget'])){
810
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget'];
811
			}
812
			if(isset($depth1Value['ExecutionMoment'])){
813
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment'];
814
			}
815
			if(isset($depth1Value['Arg'])){
816
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
817
			}
818
			if(isset($depth1Value['Name'])){
819
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
820
			}
821
			if(isset($depth1Value['ExecutionFailStrategy'])){
822
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy'];
823
			}
824
		}
825
826
		return $this;
827
    }
828
829
    /**
830
     * @param array $tag
831
     *
832
     * @return $this
833
     */
834
	public function withTag(array $tag)
835
	{
836
	    $this->data['Tag'] = $tag;
837
		foreach ($tag as $depth1 => $depth1Value) {
838
			if(isset($depth1Value['Value'])){
839
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
840
			}
841
			if(isset($depth1Value['Key'])){
842
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
843
			}
844
		}
845
846
		return $this;
847
    }
848
849
    /**
850
     * @param array $optionSoftWareList
851
     *
852
     * @return $this
853
     */
854
	public function withOptionSoftWareList(array $optionSoftWareList)
855
	{
856
	    $this->data['OptionSoftWareList'] = $optionSoftWareList;
857
		foreach ($optionSoftWareList as $i => $iValue) {
858
			$this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
859
		}
860
861
		return $this;
862
    }
863
864
    /**
865
     * @param array $userInfo
866
     *
867
     * @return $this
868
     */
869
	public function withUserInfo(array $userInfo)
870
	{
871
	    $this->data['UserInfo'] = $userInfo;
872
		foreach ($userInfo as $depth1 => $depth1Value) {
873
			if(isset($depth1Value['Password'])){
874
				$this->options['query']['UserInfo.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password'];
875
			}
876
			if(isset($depth1Value['UserId'])){
877
				$this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
878
			}
879
			if(isset($depth1Value['UserName'])){
880
				$this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserName'] = $depth1Value['UserName'];
881
			}
882
		}
883
884
		return $this;
885
    }
886
887
    /**
888
     * @param array $promotionInfo
889
     *
890
     * @return $this
891
     */
892
	public function withPromotionInfo(array $promotionInfo)
893
	{
894
	    $this->data['PromotionInfo'] = $promotionInfo;
895
		foreach ($promotionInfo as $depth1 => $depth1Value) {
896
			if(isset($depth1Value['PromotionOptionCode'])){
897
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.PromotionOptionCode'] = $depth1Value['PromotionOptionCode'];
898
			}
899
			if(isset($depth1Value['ProductCode'])){
900
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.ProductCode'] = $depth1Value['ProductCode'];
901
			}
902
			if(isset($depth1Value['PromotionOptionNo'])){
903
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.PromotionOptionNo'] = $depth1Value['PromotionOptionNo'];
904
			}
905
		}
906
907
		return $this;
908
    }
909
910
    /**
911
     * @param array $hostGroup
912
     *
913
     * @return $this
914
     */
915
	public function withHostGroup(array $hostGroup)
916
	{
917
	    $this->data['HostGroup'] = $hostGroup;
918
		foreach ($hostGroup as $depth1 => $depth1Value) {
919
			if(isset($depth1Value['Period'])){
920
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
921
			}
922
			if(isset($depth1Value['SysDiskCapacity'])){
923
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity'];
924
			}
925
			if(isset($depth1Value['DiskCapacity'])){
926
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
927
			}
928
			if(isset($depth1Value['SysDiskType'])){
929
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType'];
930
			}
931
			if(isset($depth1Value['ClusterId'])){
932
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId'];
933
			}
934
			if(isset($depth1Value['DiskType'])){
935
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
936
			}
937
			if(isset($depth1Value['HostGroupName'])){
938
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
939
			}
940
			if(isset($depth1Value['VSwitchId'])){
941
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
942
			}
943
			if(isset($depth1Value['DiskCount'])){
944
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
945
			}
946
			if(isset($depth1Value['AutoRenew'])){
947
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew'];
948
			}
949
			if(isset($depth1Value['GpuDriver'])){
950
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.GpuDriver'] = $depth1Value['GpuDriver'];
951
			}
952
			if(isset($depth1Value['HostGroupId'])){
953
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId'];
954
			}
955
			if(isset($depth1Value['NodeCount'])){
956
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
957
			}
958
			if(isset($depth1Value['InstanceType'])){
959
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
960
			}
961
			if(isset($depth1Value['Comment'])){
962
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
963
			}
964
			if(isset($depth1Value['ChargeType'])){
965
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType'];
966
			}
967
			if(isset($depth1Value['CreateType'])){
968
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType'];
969
			}
970
			if(isset($depth1Value['HostGroupType'])){
971
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType'];
972
			}
973
		}
974
975
		return $this;
976
    }
977
978
    /**
979
     * @param array $serviceInfo
980
     *
981
     * @return $this
982
     */
983
	public function withServiceInfo(array $serviceInfo)
984
	{
985
	    $this->data['ServiceInfo'] = $serviceInfo;
986
		foreach ($serviceInfo as $depth1 => $depth1Value) {
987
			if(isset($depth1Value['ServiceVersion'])){
988
				$this->options['query']['ServiceInfo.' . ($depth1 + 1) . '.ServiceVersion'] = $depth1Value['ServiceVersion'];
989
			}
990
			if(isset($depth1Value['ServiceName'])){
991
				$this->options['query']['ServiceInfo.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
992
			}
993
		}
994
995
		return $this;
996
    }
997
998
    /**
999
     * @param array $config
1000
     *
1001
     * @return $this
1002
     */
1003
	public function withConfig(array $config)
1004
	{
1005
	    $this->data['Config'] = $config;
1006
		foreach ($config as $depth1 => $depth1Value) {
1007
			if(isset($depth1Value['ConfigKey'])){
1008
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
1009
			}
1010
			if(isset($depth1Value['FileName'])){
1011
				$this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
1012
			}
1013
			if(isset($depth1Value['Encrypt'])){
1014
				$this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
1015
			}
1016
			if(isset($depth1Value['Replace'])){
1017
				$this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
1018
			}
1019
			if(isset($depth1Value['ConfigValue'])){
1020
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
1021
			}
1022
			if(isset($depth1Value['ServiceName'])){
1023
				$this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
1024
			}
1025
		}
1026
1027
		return $this;
1028
    }
1029
}
1030
1031
/**
1032
 * @method string getResourceOwnerId()
1033
 * @method $this withResourceOwnerId($value)
1034
 * @method string getUniqueTag()
1035
 * @method $this withUniqueTag($value)
1036
 * @method string getClusterName()
1037
 * @method $this withClusterName($value)
1038
 * @method string getResourceGroupId()
1039
 * @method $this withResourceGroupId($value)
1040
 * @method string getTemplateBizId()
1041
 * @method $this withTemplateBizId($value)
1042
 */
1043
class CreateClusterWithTemplate extends Rpc
1044
{
1045
}
1046
1047
/**
1048
 * @method string getResourceOwnerId()
1049
 * @method $this withResourceOwnerId($value)
1050
 * @method string getNavParentId()
1051
 * @method $this withNavParentId($value)
1052
 * @method string getDescription()
1053
 * @method $this withDescription($value)
1054
 * @method string getConf()
1055
 * @method $this withConf($value)
1056
 * @method string getClusterId()
1057
 * @method $this withClusterId($value)
1058
 * @method string getResourceGroupId()
1059
 * @method $this withResourceGroupId($value)
1060
 * @method string getName()
1061
 * @method $this withName($value)
1062
 * @method string getSourceType()
1063
 * @method $this withSourceType($value)
1064
 */
1065
class CreateDataSource extends Rpc
1066
{
1067
}
1068
1069
/**
1070
 * @method string getResourceOwnerId()
1071
 * @method $this withResourceOwnerId($value)
1072
 * @method string getTimeInterval()
1073
 * @method $this withTimeInterval($value)
1074
 * @method string getLogPath()
1075
 * @method $this withLogPath($value)
1076
 * @method string getClusterName()
1077
 * @method $this withClusterName($value)
1078
 * @method string getConfigurations()
1079
 * @method $this withConfigurations($value)
1080
 * @method string getCreateClusterOnDemand()
1081
 * @method $this withCreateClusterOnDemand($value)
1082
 * @method string getStartTime()
1083
 * @method $this withStartTime($value)
1084
 * @method array getBootstrapAction()
1085
 * @method string getEmrVer()
1086
 * @method $this withEmrVer($value)
1087
 * @method string getIsOpenPublicIp()
1088
 * @method $this withIsOpenPublicIp($value)
1089
 * @method string getInstanceGeneration()
1090
 * @method $this withInstanceGeneration($value)
1091
 * @method string getClusterType()
1092
 * @method $this withClusterType($value)
1093
 * @method string getVSwitchId()
1094
 * @method $this withVSwitchId($value)
1095
 * @method array getOptionSoftWareList()
1096
 * @method string getNetType()
1097
 * @method $this withNetType($value)
1098
 * @method array getEcsOrder()
1099
 * @method string getName()
1100
 * @method $this withName($value)
1101
 * @method string getZoneId()
1102
 * @method $this withZoneId($value)
1103
 * @method string getUseCustomHiveMetaDB()
1104
 * @method $this withUseCustomHiveMetaDB($value)
1105
 * @method string getInitCustomHiveMetaDB()
1106
 * @method $this withInitCustomHiveMetaDB($value)
1107
 * @method string getIoOptimized()
1108
 * @method $this withIoOptimized($value)
1109
 * @method string getSecurityGroupId()
1110
 * @method $this withSecurityGroupId($value)
1111
 * @method string getEasEnable()
1112
 * @method $this withEasEnable($value)
1113
 * @method array getJobIdList()
1114
 * @method string getDayOfMonth()
1115
 * @method $this withDayOfMonth($value)
1116
 * @method string getUseLocalMetaDb()
1117
 * @method $this withUseLocalMetaDb($value)
1118
 * @method string getUserDefinedEmrEcsRole()
1119
 * @method $this withUserDefinedEmrEcsRole($value)
1120
 * @method string getClusterId()
1121
 * @method $this withClusterId($value)
1122
 * @method string getTimeUnit()
1123
 * @method $this withTimeUnit($value)
1124
 * @method string getVpcId()
1125
 * @method $this withVpcId($value)
1126
 * @method string getWorkflowDefinition()
1127
 * @method $this withWorkflowDefinition($value)
1128
 * @method string getDayOfWeek()
1129
 * @method $this withDayOfWeek($value)
1130
 * @method string getStrategy()
1131
 * @method $this withStrategy($value)
1132
 * @method array getConfig()
1133
 * @method string getHighAvailabilityEnable()
1134
 * @method $this withHighAvailabilityEnable($value)
1135
 * @method string getLogEnable()
1136
 * @method $this withLogEnable($value)
1137
 */
1138
class CreateExecutionPlan extends Rpc
1139
{
1140
1141
    /**
1142
     * @param array $bootstrapAction
1143
     *
1144
     * @return $this
1145
     */
1146
	public function withBootstrapAction(array $bootstrapAction)
1147
	{
1148
	    $this->data['BootstrapAction'] = $bootstrapAction;
1149
		foreach ($bootstrapAction as $depth1 => $depth1Value) {
1150
			if(isset($depth1Value['Path'])){
1151
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
1152
			}
1153
			if(isset($depth1Value['ExecutionTarget'])){
1154
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget'];
1155
			}
1156
			if(isset($depth1Value['ExecutionMoment'])){
1157
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment'];
1158
			}
1159
			if(isset($depth1Value['Arg'])){
1160
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
1161
			}
1162
			if(isset($depth1Value['Name'])){
1163
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
1164
			}
1165
			if(isset($depth1Value['ExecutionFailStrategy'])){
1166
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy'];
1167
			}
1168
		}
1169
1170
		return $this;
1171
    }
1172
1173
    /**
1174
     * @param array $optionSoftWareList
1175
     *
1176
     * @return $this
1177
     */
1178
	public function withOptionSoftWareList(array $optionSoftWareList)
1179
	{
1180
	    $this->data['OptionSoftWareList'] = $optionSoftWareList;
1181
		foreach ($optionSoftWareList as $i => $iValue) {
1182
			$this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
1183
		}
1184
1185
		return $this;
1186
    }
1187
1188
    /**
1189
     * @param array $ecsOrder
1190
     *
1191
     * @return $this
1192
     */
1193
	public function withEcsOrder(array $ecsOrder)
1194
	{
1195
	    $this->data['EcsOrder'] = $ecsOrder;
1196
		foreach ($ecsOrder as $depth1 => $depth1Value) {
1197
			if(isset($depth1Value['NodeType'])){
1198
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.NodeType'] = $depth1Value['NodeType'];
1199
			}
1200
			if(isset($depth1Value['DiskCount'])){
1201
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
1202
			}
1203
			if(isset($depth1Value['NodeCount'])){
1204
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
1205
			}
1206
			if(isset($depth1Value['DiskCapacity'])){
1207
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
1208
			}
1209
			if(isset($depth1Value['Index'])){
1210
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.Index'] = $depth1Value['Index'];
1211
			}
1212
			if(isset($depth1Value['InstanceType'])){
1213
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
1214
			}
1215
			if(isset($depth1Value['DiskType'])){
1216
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
1217
			}
1218
		}
1219
1220
		return $this;
1221
    }
1222
1223
    /**
1224
     * @param array $jobIdList
1225
     *
1226
     * @return $this
1227
     */
1228
	public function withJobIdList(array $jobIdList)
1229
	{
1230
	    $this->data['JobIdList'] = $jobIdList;
1231
		foreach ($jobIdList as $i => $iValue) {
1232
			$this->options['query']['JobIdList.' . ($i + 1)] = $iValue;
1233
		}
1234
1235
		return $this;
1236
    }
1237
1238
    /**
1239
     * @param array $config
1240
     *
1241
     * @return $this
1242
     */
1243
	public function withConfig(array $config)
1244
	{
1245
	    $this->data['Config'] = $config;
1246
		foreach ($config as $depth1 => $depth1Value) {
1247
			if(isset($depth1Value['ConfigKey'])){
1248
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
1249
			}
1250
			if(isset($depth1Value['FileName'])){
1251
				$this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
1252
			}
1253
			if(isset($depth1Value['Encrypt'])){
1254
				$this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
1255
			}
1256
			if(isset($depth1Value['Replace'])){
1257
				$this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
1258
			}
1259
			if(isset($depth1Value['ConfigValue'])){
1260
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
1261
			}
1262
			if(isset($depth1Value['ServiceName'])){
1263
				$this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
1264
			}
1265
		}
1266
1267
		return $this;
1268
    }
1269
}
1270
1271
/**
1272
 * @method string getCronExpr()
1273
 * @method $this withCronExpr($value)
1274
 * @method string getDescription()
1275
 * @method $this withDescription($value)
1276
 * @method string getAlertUserGroupBizId()
1277
 * @method $this withAlertUserGroupBizId($value)
1278
 * @method string getLifecycle()
1279
 * @method $this withLifecycle($value)
1280
 * @method string getHostName()
1281
 * @method $this withHostName($value)
1282
 * @method string getCreateCluster()
1283
 * @method $this withCreateCluster($value)
1284
 * @method string getEndSchedule()
1285
 * @method $this withEndSchedule($value)
1286
 * @method string getAlertConf()
1287
 * @method $this withAlertConf($value)
1288
 * @method string getProjectId()
1289
 * @method $this withProjectId($value)
1290
 * @method string getParentFlowList()
1291
 * @method $this withParentFlowList($value)
1292
 * @method string getLogArchiveLocation()
1293
 * @method $this withLogArchiveLocation($value)
1294
 * @method string getAlertDingDingGroupBizId()
1295
 * @method $this withAlertDingDingGroupBizId($value)
1296
 * @method string getStartSchedule()
1297
 * @method $this withStartSchedule($value)
1298
 * @method string getClusterId()
1299
 * @method $this withClusterId($value)
1300
 * @method string getApplication()
1301
 * @method $this withApplication($value)
1302
 * @method string getName()
1303
 * @method $this withName($value)
1304
 * @method string getNamespace()
1305
 * @method $this withNamespace($value)
1306
 * @method string getParentCategory()
1307
 * @method $this withParentCategory($value)
1308
 */
1309
class CreateFlow extends Rpc
1310
{
1311
}
1312
1313
/**
1314
 * @method string getType()
1315
 * @method $this withType($value)
1316
 * @method string getParentId()
1317
 * @method $this withParentId($value)
1318
 * @method string getName()
1319
 * @method $this withName($value)
1320
 * @method string getProjectId()
1321
 * @method $this withProjectId($value)
1322
 */
1323
class CreateFlowCategory extends Rpc
1324
{
1325
}
1326
1327
/**
1328
 * @method string getResourceOwnerId()
1329
 * @method $this withResourceOwnerId($value)
1330
 * @method string getEntityId()
1331
 * @method $this withEntityId($value)
1332
 * @method string getForce()
1333
 * @method $this withForce($value)
1334
 */
1335
class CreateFlowEditLock extends Rpc
1336
{
1337
}
1338
1339
/**
1340
 * @method string getCronExpr()
1341
 * @method $this withCronExpr($value)
1342
 * @method string getDescription()
1343
 * @method $this withDescription($value)
1344
 * @method string getAlertUserGroupBizId()
1345
 * @method $this withAlertUserGroupBizId($value)
1346
 * @method string getLifecycle()
1347
 * @method $this withLifecycle($value)
1348
 * @method string getHostName()
1349
 * @method $this withHostName($value)
1350
 * @method string getCreateCluster()
1351
 * @method $this withCreateCluster($value)
1352
 * @method string getEndSchedule()
1353
 * @method $this withEndSchedule($value)
1354
 * @method string getAlertConf()
1355
 * @method $this withAlertConf($value)
1356
 * @method string getProjectId()
1357
 * @method $this withProjectId($value)
1358
 * @method string getParentFlowList()
1359
 * @method $this withParentFlowList($value)
1360
 * @method string getLogArchiveLocation()
1361
 * @method $this withLogArchiveLocation($value)
1362
 * @method string getAlertDingDingGroupBizId()
1363
 * @method $this withAlertDingDingGroupBizId($value)
1364
 * @method string getStartSchedule()
1365
 * @method $this withStartSchedule($value)
1366
 * @method string getClusterId()
1367
 * @method $this withClusterId($value)
1368
 * @method string getGraph()
1369
 * @method $this withGraph($value)
1370
 * @method string getName()
1371
 * @method $this withName($value)
1372
 * @method string getNamespace()
1373
 * @method $this withNamespace($value)
1374
 * @method string getParentCategory()
1375
 * @method $this withParentCategory($value)
1376
 */
1377
class CreateFlowForWeb extends Rpc
1378
{
1379
}
1380
1381
/**
1382
 * @method string getRetryPolicy()
1383
 * @method $this withRetryPolicy($value)
1384
 * @method string getRunConf()
1385
 * @method $this withRunConf($value)
1386
 * @method string getDescription()
1387
 * @method $this withDescription($value)
1388
 * @method string getType()
1389
 * @method $this withType($value)
1390
 * @method string getParamConf()
1391
 * @method $this withParamConf($value)
1392
 * @method array getResourceList()
1393
 * @method string getFailAct()
1394
 * @method $this withFailAct($value)
1395
 * @method string getMode()
1396
 * @method $this withMode($value)
1397
 * @method string getMonitorConf()
1398
 * @method $this withMonitorConf($value)
1399
 * @method string getMaxRetry()
1400
 * @method $this withMaxRetry($value)
1401
 * @method string getAlertConf()
1402
 * @method $this withAlertConf($value)
1403
 * @method string getProjectId()
1404
 * @method $this withProjectId($value)
1405
 * @method string getEnvConf()
1406
 * @method $this withEnvConf($value)
1407
 * @method string getMaxRunningTimeSec()
1408
 * @method $this withMaxRunningTimeSec($value)
1409
 * @method string getClusterId()
1410
 * @method $this withClusterId($value)
1411
 * @method string getParams()
1412
 * @method $this withParams($value)
1413
 * @method string getCustomVariables()
1414
 * @method $this withCustomVariables($value)
1415
 * @method string getRetryInterval()
1416
 * @method $this withRetryInterval($value)
1417
 * @method string getName()
1418
 * @method $this withName($value)
1419
 * @method string getAdhoc()
1420
 * @method $this withAdhoc($value)
1421
 * @method string getParentCategory()
1422
 * @method $this withParentCategory($value)
1423
 */
1424
class CreateFlowJob extends Rpc
1425
{
1426
1427
    /**
1428
     * @param array $resourceList
1429
     *
1430
     * @return $this
1431
     */
1432
	public function withResourceList(array $resourceList)
1433
	{
1434
	    $this->data['ResourceList'] = $resourceList;
1435
		foreach ($resourceList as $depth1 => $depth1Value) {
1436
			if(isset($depth1Value['Path'])){
1437
				$this->options['query']['ResourceList.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
1438
			}
1439
			if(isset($depth1Value['Alias'])){
1440
				$this->options['query']['ResourceList.' . ($depth1 + 1) . '.Alias'] = $depth1Value['Alias'];
1441
			}
1442
		}
1443
1444
		return $this;
1445
    }
1446
}
1447
1448
/**
1449
 * @method string getDescription()
1450
 * @method $this withDescription($value)
1451
 * @method string getProductType()
1452
 * @method $this withProductType($value)
1453
 * @method string getResourceGroupId()
1454
 * @method $this withResourceGroupId($value)
1455
 * @method string getName()
1456
 * @method $this withName($value)
1457
 */
1458
class CreateFlowProject extends Rpc
1459
{
1460
}
1461
1462
/**
1463
 * @method array getUserList()
1464
 * @method array getHostList()
1465
 * @method string getClusterId()
1466
 * @method $this withClusterId($value)
1467
 * @method string getDefaultQueue()
1468
 * @method $this withDefaultQueue($value)
1469
 * @method string getDefaultUser()
1470
 * @method $this withDefaultUser($value)
1471
 * @method array getQueueList()
1472
 * @method string getProjectId()
1473
 * @method $this withProjectId($value)
1474
 */
1475
class CreateFlowProjectClusterSetting extends Rpc
1476
{
1477
1478
    /**
1479
     * @param array $userList
1480
     *
1481
     * @return $this
1482
     */
1483
	public function withUserList(array $userList)
1484
	{
1485
	    $this->data['UserList'] = $userList;
1486
		foreach ($userList as $i => $iValue) {
1487
			$this->options['query']['UserList.' . ($i + 1)] = $iValue;
1488
		}
1489
1490
		return $this;
1491
    }
1492
1493
    /**
1494
     * @param array $hostList
1495
     *
1496
     * @return $this
1497
     */
1498
	public function withHostList(array $hostList)
1499
	{
1500
	    $this->data['HostList'] = $hostList;
1501
		foreach ($hostList as $i => $iValue) {
1502
			$this->options['query']['HostList.' . ($i + 1)] = $iValue;
1503
		}
1504
1505
		return $this;
1506
    }
1507
1508
    /**
1509
     * @param array $queueList
1510
     *
1511
     * @return $this
1512
     */
1513
	public function withQueueList(array $queueList)
1514
	{
1515
	    $this->data['QueueList'] = $queueList;
1516
		foreach ($queueList as $i => $iValue) {
1517
			$this->options['query']['QueueList.' . ($i + 1)] = $iValue;
1518
		}
1519
1520
		return $this;
1521
    }
1522
}
1523
1524
/**
1525
 * @method string getProjectId()
1526
 * @method $this withProjectId($value)
1527
 * @method array getUser()
1528
 */
1529
class CreateFlowProjectUser extends Rpc
1530
{
1531
1532
    /**
1533
     * @param array $user
1534
     *
1535
     * @return $this
1536
     */
1537
	public function withUser(array $user)
1538
	{
1539
	    $this->data['User'] = $user;
1540
		foreach ($user as $depth1 => $depth1Value) {
1541
			if(isset($depth1Value['UserId'])){
1542
				$this->options['query']['User.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
1543
			}
1544
			if(isset($depth1Value['UserName'])){
1545
				$this->options['query']['User.' . ($depth1 + 1) . '.UserName'] = $depth1Value['UserName'];
1546
			}
1547
		}
1548
1549
		return $this;
1550
    }
1551
}
1552
1553
/**
1554
 * @method string getResourceOwnerId()
1555
 * @method $this withResourceOwnerId($value)
1556
 * @method string getType()
1557
 * @method $this withType($value)
1558
 * @method string getFailAct()
1559
 * @method $this withFailAct($value)
1560
 * @method string getRunParameter()
1561
 * @method $this withRunParameter($value)
1562
 * @method string getRetryInterval()
1563
 * @method $this withRetryInterval($value)
1564
 * @method string getResourceGroupId()
1565
 * @method $this withResourceGroupId($value)
1566
 * @method string getName()
1567
 * @method $this withName($value)
1568
 * @method string getMaxRetry()
1569
 * @method $this withMaxRetry($value)
1570
 */
1571
class CreateJob extends Rpc
1572
{
1573
}
1574
1575
/**
1576
 * @method string getResourceOwnerId()
1577
 * @method $this withResourceOwnerId($value)
1578
 * @method string getLibraryVersion()
1579
 * @method $this withLibraryVersion($value)
1580
 * @method string getType()
1581
 * @method $this withType($value)
1582
 * @method string getScope()
1583
 * @method $this withScope($value)
1584
 * @method string getName()
1585
 * @method $this withName($value)
1586
 * @method string getSourceType()
1587
 * @method $this withSourceType($value)
1588
 * @method string getProperties()
1589
 * @method $this withProperties($value)
1590
 * @method string getSourceLocation()
1591
 * @method $this withSourceLocation($value)
1592
 */
1593
class CreateLibrary extends Rpc
1594
{
1595
}
1596
1597
/**
1598
 * @method string getResourceOwnerId()
1599
 * @method $this withResourceOwnerId($value)
1600
 * @method string getClusterId()
1601
 * @method $this withClusterId($value)
1602
 * @method string getResourceGroupId()
1603
 * @method $this withResourceGroupId($value)
1604
 * @method string getPassword()
1605
 * @method $this withPassword($value)
1606
 * @method string getTableId()
1607
 * @method $this withTableId($value)
1608
 * @method string getDatabaseId()
1609
 * @method $this withDatabaseId($value)
1610
 * @method string getUser()
1611
 * @method $this withUser($value)
1612
 */
1613
class CreateMetaTablePreviewTask extends Rpc
1614
{
1615
}
1616
1617
/**
1618
 * @method string getResourceOwnerId()
1619
 * @method $this withResourceOwnerId($value)
1620
 * @method string getClusterId()
1621
 * @method $this withClusterId($value)
1622
 * @method string getType()
1623
 * @method $this withType($value)
1624
 * @method string getResourceGroupId()
1625
 * @method $this withResourceGroupId($value)
1626
 * @method string getName()
1627
 * @method $this withName($value)
1628
 */
1629
class CreateNote extends Rpc
1630
{
1631
}
1632
1633
/**
1634
 * @method string getResourceOwnerId()
1635
 * @method $this withResourceOwnerId($value)
1636
 * @method string getNoteId()
1637
 * @method $this withNoteId($value)
1638
 * @method string getText()
1639
 * @method $this withText($value)
1640
 */
1641
class CreateParagraph extends Rpc
1642
{
1643
}
1644
1645
/**
1646
 * @method string getNote()
1647
 * @method $this withNote($value)
1648
 * @method string getResourceOwnerId()
1649
 * @method $this withResourceOwnerId($value)
1650
 * @method string getActive()
1651
 * @method $this withActive($value)
1652
 * @method string getClusterId()
1653
 * @method $this withClusterId($value)
1654
 * @method string getYarnSiteConfig()
1655
 * @method $this withYarnSiteConfig($value)
1656
 * @method string getName()
1657
 * @method $this withName($value)
1658
 * @method array getConfig()
1659
 * @method string getPoolType()
1660
 * @method $this withPoolType($value)
1661
 */
1662
class CreateResourcePool extends Rpc
1663
{
1664
1665
    /**
1666
     * @param array $config
1667
     *
1668
     * @return $this
1669
     */
1670
	public function withConfig(array $config)
1671
	{
1672
	    $this->data['Config'] = $config;
1673
		foreach ($config as $depth1 => $depth1Value) {
1674
			if(isset($depth1Value['ConfigKey'])){
1675
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
1676
			}
1677
			if(isset($depth1Value['Note'])){
1678
				$this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note'];
1679
			}
1680
			if(isset($depth1Value['ConfigType'])){
1681
				$this->options['query']['Config.' . ($depth1 + 1) . '.configType'] = $depth1Value['ConfigType'];
1682
			}
1683
			if(isset($depth1Value['TargetId'])){
1684
				$this->options['query']['Config.' . ($depth1 + 1) . '.TargetId'] = $depth1Value['TargetId'];
1685
			}
1686
			if(isset($depth1Value['ConfigValue'])){
1687
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
1688
			}
1689
			if(isset($depth1Value['Category'])){
1690
				$this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
1691
			}
1692
		}
1693
1694
		return $this;
1695
    }
1696
}
1697
1698
/**
1699
 * @method string getResourceOwnerId()
1700
 * @method $this withResourceOwnerId($value)
1701
 * @method string getQualifiedName()
1702
 * @method $this withQualifiedName($value)
1703
 * @method string getResourcePoolId()
1704
 * @method $this withResourcePoolId($value)
1705
 * @method string getClusterId()
1706
 * @method $this withClusterId($value)
1707
 * @method string getLeaf()
1708
 * @method $this withLeaf($value)
1709
 * @method string getParentQueueId()
1710
 * @method $this withParentQueueId($value)
1711
 * @method string getName()
1712
 * @method $this withName($value)
1713
 * @method array getConfig()
1714
 */
1715
class CreateResourceQueue extends Rpc
1716
{
1717
1718
    /**
1719
     * @param array $config
1720
     *
1721
     * @return $this
1722
     */
1723
	public function withConfig(array $config)
1724
	{
1725
	    $this->data['Config'] = $config;
1726
		foreach ($config as $depth1 => $depth1Value) {
1727
			if(isset($depth1Value['ConfigKey'])){
1728
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
1729
			}
1730
			if(isset($depth1Value['Note'])){
1731
				$this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note'];
1732
			}
1733
			if(isset($depth1Value['ConfigValue'])){
1734
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
1735
			}
1736
			if(isset($depth1Value['Category'])){
1737
				$this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
1738
			}
1739
		}
1740
1741
		return $this;
1742
    }
1743
}
1744
1745
/**
1746
 * @method string getResourceOwnerId()
1747
 * @method $this withResourceOwnerId($value)
1748
 * @method string getDescription()
1749
 * @method $this withDescription($value)
1750
 * @method string getResourceGroupId()
1751
 * @method $this withResourceGroupId($value)
1752
 * @method string getHostGroupId()
1753
 * @method $this withHostGroupId($value)
1754
 * @method string getName()
1755
 * @method $this withName($value)
1756
 */
1757
class CreateScalingGroupV2 extends Rpc
1758
{
1759
}
1760
1761
/**
1762
 * @method string getResourceOwnerId()
1763
 * @method $this withResourceOwnerId($value)
1764
 * @method string getRuleName()
1765
 * @method $this withRuleName($value)
1766
 * @method string getRecurrenceEndTime()
1767
 * @method $this withRecurrenceEndTime($value)
1768
 * @method array getCloudWatchTrigger()
1769
 * @method string getTimeoutWithGrace()
1770
 * @method $this withTimeoutWithGrace($value)
1771
 * @method string getCooldown()
1772
 * @method $this withCooldown($value)
1773
 * @method string getLaunchTime()
1774
 * @method $this withLaunchTime($value)
1775
 * @method string getWithGrace()
1776
 * @method $this withWithGrace($value)
1777
 * @method string getRuleCategory()
1778
 * @method $this withRuleCategory($value)
1779
 * @method string getAdjustmentValue()
1780
 * @method $this withAdjustmentValue($value)
1781
 * @method string getAdjustmentType()
1782
 * @method $this withAdjustmentType($value)
1783
 * @method string getClusterId()
1784
 * @method $this withClusterId($value)
1785
 * @method string getLaunchExpirationTime()
1786
 * @method $this withLaunchExpirationTime($value)
1787
 * @method string getRecurrenceValue()
1788
 * @method $this withRecurrenceValue($value)
1789
 * @method string getHostGroupId()
1790
 * @method $this withHostGroupId($value)
1791
 * @method array getSchedulerTrigger()
1792
 * @method string getRecurrenceType()
1793
 * @method $this withRecurrenceType($value)
1794
 */
1795
class CreateScalingRule extends Rpc
1796
{
1797
1798
    /**
1799
     * @param array $cloudWatchTrigger
1800
     *
1801
     * @return $this
1802
     */
1803
	public function withCloudWatchTrigger(array $cloudWatchTrigger)
1804
	{
1805
	    $this->data['CloudWatchTrigger'] = $cloudWatchTrigger;
1806
		foreach ($cloudWatchTrigger as $depth1 => $depth1Value) {
1807
			if(isset($depth1Value['Period'])){
1808
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
1809
			}
1810
			if(isset($depth1Value['EvaluationCount'])){
1811
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.EvaluationCount'] = $depth1Value['EvaluationCount'];
1812
			}
1813
			if(isset($depth1Value['Threshold'])){
1814
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Threshold'] = $depth1Value['Threshold'];
1815
			}
1816
			if(isset($depth1Value['MetricName'])){
1817
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
1818
			}
1819
			if(isset($depth1Value['ComparisonOperator'])){
1820
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.ComparisonOperator'] = $depth1Value['ComparisonOperator'];
1821
			}
1822
			if(isset($depth1Value['Statistics'])){
1823
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Statistics'] = $depth1Value['Statistics'];
1824
			}
1825
		}
1826
1827
		return $this;
1828
    }
1829
1830
    /**
1831
     * @param array $schedulerTrigger
1832
     *
1833
     * @return $this
1834
     */
1835
	public function withSchedulerTrigger(array $schedulerTrigger)
1836
	{
1837
	    $this->data['SchedulerTrigger'] = $schedulerTrigger;
1838
		foreach ($schedulerTrigger as $depth1 => $depth1Value) {
1839
			if(isset($depth1Value['LaunchTime'])){
1840
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.LaunchTime'] = $depth1Value['LaunchTime'];
1841
			}
1842
			if(isset($depth1Value['LaunchExpirationTime'])){
1843
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.LaunchExpirationTime'] = $depth1Value['LaunchExpirationTime'];
1844
			}
1845
			if(isset($depth1Value['RecurrenceValue'])){
1846
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceValue'] = $depth1Value['RecurrenceValue'];
1847
			}
1848
			if(isset($depth1Value['RecurrenceEndTime'])){
1849
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceEndTime'] = $depth1Value['RecurrenceEndTime'];
1850
			}
1851
			if(isset($depth1Value['RecurrenceType'])){
1852
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceType'] = $depth1Value['RecurrenceType'];
1853
			}
1854
		}
1855
1856
		return $this;
1857
    }
1858
}
1859
1860
/**
1861
 * @method string getResourceOwnerId()
1862
 * @method $this withResourceOwnerId($value)
1863
 * @method string getDescription()
1864
 * @method $this withDescription($value)
1865
 * @method string getName()
1866
 * @method $this withName($value)
1867
 * @method string getId()
1868
 * @method $this withId($value)
1869
 * @method string getCategory()
1870
 * @method $this withCategory($value)
1871
 */
1872
class CreateTag extends Rpc
1873
{
1874
}
1875
1876
/**
1877
 * @method string getResourceOwnerId()
1878
 * @method $this withResourceOwnerId($value)
1879
 * @method string getUserType()
1880
 * @method $this withUserType($value)
1881
 * @method string getDescription()
1882
 * @method $this withDescription($value)
1883
 * @method array getUserAccountParamList()
1884
 * @method array getGroupIdList()
1885
 * @method array getRoleIdList()
1886
 * @method string getAliyunUserId()
1887
 * @method $this withAliyunUserId($value)
1888
 * @method string getUserName()
1889
 * @method $this withUserName($value)
1890
 * @method string getStatus()
1891
 * @method $this withStatus($value)
1892
 */
1893
class CreateUser extends Rpc
1894
{
1895
1896
    /**
1897
     * @param array $userAccountParamList
1898
     *
1899
     * @return $this
1900
     */
1901
	public function withUserAccountParamList(array $userAccountParamList)
1902
	{
1903
	    $this->data['UserAccountParamList'] = $userAccountParamList;
1904
		foreach ($userAccountParamList as $depth1 => $depth1Value) {
1905
			if(isset($depth1Value['AccountType'])){
1906
				$this->options['query']['UserAccountParamList.' . ($depth1 + 1) . '.AccountType'] = $depth1Value['AccountType'];
1907
			}
1908
			if(isset($depth1Value['AuthType'])){
1909
				$this->options['query']['UserAccountParamList.' . ($depth1 + 1) . '.AuthType'] = $depth1Value['AuthType'];
1910
			}
1911
			if(isset($depth1Value['AccountPassword'])){
1912
				$this->options['query']['UserAccountParamList.' . ($depth1 + 1) . '.AccountPassword'] = $depth1Value['AccountPassword'];
1913
			}
1914
		}
1915
1916
		return $this;
1917
    }
1918
1919
    /**
1920
     * @param array $groupIdList
1921
     *
1922
     * @return $this
1923
     */
1924
	public function withGroupIdList(array $groupIdList)
1925
	{
1926
	    $this->data['GroupIdList'] = $groupIdList;
1927
		foreach ($groupIdList as $i => $iValue) {
1928
			$this->options['query']['GroupIdList.' . ($i + 1)] = $iValue;
1929
		}
1930
1931
		return $this;
1932
    }
1933
1934
    /**
1935
     * @param array $roleIdList
1936
     *
1937
     * @return $this
1938
     */
1939
	public function withRoleIdList(array $roleIdList)
1940
	{
1941
	    $this->data['RoleIdList'] = $roleIdList;
1942
		foreach ($roleIdList as $i => $iValue) {
1943
			$this->options['query']['RoleIdList.' . ($i + 1)] = $iValue;
1944
		}
1945
1946
		return $this;
1947
    }
1948
}
1949
1950
/**
1951
 * @method string getResourceOwnerId()
1952
 * @method $this withResourceOwnerId($value)
1953
 * @method string getClusterId()
1954
 * @method $this withClusterId($value)
1955
 * @method array getUserInfo()
1956
 */
1957
class CreateUsers extends Rpc
1958
{
1959
1960
    /**
1961
     * @param array $userInfo
1962
     *
1963
     * @return $this
1964
     */
1965
	public function withUserInfo(array $userInfo)
1966
	{
1967
	    $this->data['UserInfo'] = $userInfo;
1968
		foreach ($userInfo as $depth1 => $depth1Value) {
1969
			if(isset($depth1Value['Type'])){
1970
				$this->options['query']['UserInfo.' . ($depth1 + 1) . '.Type'] = $depth1Value['Type'];
1971
			}
1972
			if(isset($depth1Value['UserId'])){
1973
				$this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
1974
			}
1975
			if(isset($depth1Value['UserName'])){
1976
				$this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserName'] = $depth1Value['UserName'];
1977
			}
1978
		}
1979
1980
		return $this;
1981
    }
1982
}
1983
1984
/**
1985
 * @method string getResourceOwnerId()
1986
 * @method $this withResourceOwnerId($value)
1987
 * @method string getHostInstanceId()
1988
 * @method $this withHostInstanceId($value)
1989
 * @method string getComponentName()
1990
 * @method $this withComponentName($value)
1991
 * @method string getClusterId()
1992
 * @method $this withClusterId($value)
1993
 * @method string getTimeoutSeconds()
1994
 * @method $this withTimeoutSeconds($value)
1995
 * @method string getServiceName()
1996
 * @method $this withServiceName($value)
1997
 */
1998
class DecommissionHostComponent extends Rpc
1999
{
2000
}
2001
2002
/**
2003
 * @method string getResourceOwnerId()
2004
 * @method $this withResourceOwnerId($value)
2005
 * @method string getResourceGroupId()
2006
 * @method $this withResourceGroupId($value)
2007
 * @method string getBizId()
2008
 * @method $this withBizId($value)
2009
 */
2010
class DeleteClusterTemplate extends Rpc
2011
{
2012
}
2013
2014
/**
2015
 * @method string getResourceOwnerId()
2016
 * @method $this withResourceOwnerId($value)
2017
 * @method string getId()
2018
 * @method $this withId($value)
2019
 */
2020
class DeleteExecutionPlan extends Rpc
2021
{
2022
}
2023
2024
/**
2025
 * @method string getId()
2026
 * @method $this withId($value)
2027
 * @method string getProjectId()
2028
 * @method $this withProjectId($value)
2029
 */
2030
class DeleteFlow extends Rpc
2031
{
2032
}
2033
2034
/**
2035
 * @method string getId()
2036
 * @method $this withId($value)
2037
 * @method string getProjectId()
2038
 * @method $this withProjectId($value)
2039
 */
2040
class DeleteFlowCategory extends Rpc
2041
{
2042
}
2043
2044
/**
2045
 * @method string getResourceOwnerId()
2046
 * @method $this withResourceOwnerId($value)
2047
 * @method string getEntityId()
2048
 * @method $this withEntityId($value)
2049
 */
2050
class DeleteFlowEditLock extends Rpc
2051
{
2052
}
2053
2054
/**
2055
 * @method string getId()
2056
 * @method $this withId($value)
2057
 * @method string getProjectId()
2058
 * @method $this withProjectId($value)
2059
 */
2060
class DeleteFlowJob extends Rpc
2061
{
2062
}
2063
2064
/**
2065
 * @method string getProjectId()
2066
 * @method $this withProjectId($value)
2067
 */
2068
class DeleteFlowProject extends Rpc
2069
{
2070
}
2071
2072
/**
2073
 * @method string getClusterId()
2074
 * @method $this withClusterId($value)
2075
 * @method string getProjectId()
2076
 * @method $this withProjectId($value)
2077
 */
2078
class DeleteFlowProjectClusterSetting extends Rpc
2079
{
2080
}
2081
2082
/**
2083
 * @method string getProjectId()
2084
 * @method $this withProjectId($value)
2085
 * @method string getUserName()
2086
 * @method $this withUserName($value)
2087
 */
2088
class DeleteFlowProjectUser extends Rpc
2089
{
2090
}
2091
2092
/**
2093
 * @method string getResourceOwnerId()
2094
 * @method $this withResourceOwnerId($value)
2095
 * @method string getResourceGroupId()
2096
 * @method $this withResourceGroupId($value)
2097
 * @method string getId()
2098
 * @method $this withId($value)
2099
 */
2100
class DeleteJob extends Rpc
2101
{
2102
}
2103
2104
/**
2105
 * @method string getResourceOwnerId()
2106
 * @method $this withResourceOwnerId($value)
2107
 * @method array getLibraryBizIdList()
2108
 */
2109
class DeleteLibraries extends Rpc
2110
{
2111
2112
    /**
2113
     * @param array $libraryBizIdList
2114
     *
2115
     * @return $this
2116
     */
2117
	public function withLibraryBizIdList(array $libraryBizIdList)
2118
	{
2119
	    $this->data['LibraryBizIdList'] = $libraryBizIdList;
2120
		foreach ($libraryBizIdList as $i => $iValue) {
2121
			$this->options['query']['LibraryBizIdList.' . ($i + 1)] = $iValue;
2122
		}
2123
2124
		return $this;
2125
    }
2126
}
2127
2128
/**
2129
 * @method string getResourceOwnerId()
2130
 * @method $this withResourceOwnerId($value)
2131
 * @method string getResourceGroupId()
2132
 * @method $this withResourceGroupId($value)
2133
 * @method string getId()
2134
 * @method $this withId($value)
2135
 */
2136
class DeleteNote extends Rpc
2137
{
2138
}
2139
2140
/**
2141
 * @method string getResourceOwnerId()
2142
 * @method $this withResourceOwnerId($value)
2143
 * @method string getResourcePoolId()
2144
 * @method $this withResourcePoolId($value)
2145
 * @method string getClusterId()
2146
 * @method $this withClusterId($value)
2147
 */
2148
class DeleteResourcePool extends Rpc
2149
{
2150
}
2151
2152
/**
2153
 * @method string getResourceOwnerId()
2154
 * @method $this withResourceOwnerId($value)
2155
 * @method string getClusterId()
2156
 * @method $this withClusterId($value)
2157
 * @method string getResourceQueueId()
2158
 * @method $this withResourceQueueId($value)
2159
 */
2160
class DeleteResourceQueue extends Rpc
2161
{
2162
}
2163
2164
/**
2165
 * @method string getResourceOwnerId()
2166
 * @method $this withResourceOwnerId($value)
2167
 * @method string getClusterId()
2168
 * @method $this withClusterId($value)
2169
 * @method string getScalingRuleId()
2170
 * @method $this withScalingRuleId($value)
2171
 * @method string getHostGroupId()
2172
 * @method $this withHostGroupId($value)
2173
 */
2174
class DeleteScalingRule extends Rpc
2175
{
2176
}
2177
2178
/**
2179
 * @method string getResourceOwnerId()
2180
 * @method $this withResourceOwnerId($value)
2181
 * @method string getDescription()
2182
 * @method $this withDescription($value)
2183
 * @method string getName()
2184
 * @method $this withName($value)
2185
 * @method string getId()
2186
 * @method $this withId($value)
2187
 * @method string getCategory()
2188
 * @method $this withCategory($value)
2189
 */
2190
class DeleteTag extends Rpc
2191
{
2192
}
2193
2194
/**
2195
 * @method string getResourceOwnerId()
2196
 * @method $this withResourceOwnerId($value)
2197
 * @method string getClusterId()
2198
 * @method $this withClusterId($value)
2199
 * @method string getType()
2200
 * @method $this withType($value)
2201
 * @method string getUserId()
2202
 * @method $this withUserId($value)
2203
 */
2204
class DeleteUser extends Rpc
2205
{
2206
}
2207
2208
/**
2209
 * @method string getResourceOwnerId()
2210
 * @method $this withResourceOwnerId($value)
2211
 * @method string getClusterId()
2212
 * @method $this withClusterId($value)
2213
 */
2214
class DescribeClusterBasicInfo extends Rpc
2215
{
2216
}
2217
2218
/**
2219
 * @method string getResourceOwnerId()
2220
 * @method $this withResourceOwnerId($value)
2221
 * @method string getClusterId()
2222
 * @method $this withClusterId($value)
2223
 */
2224
class DescribeClusterMetaCollect extends Rpc
2225
{
2226
}
2227
2228
/**
2229
 * @method string getResourceOwnerId()
2230
 * @method $this withResourceOwnerId($value)
2231
 * @method string getHostId()
2232
 * @method $this withHostId($value)
2233
 * @method string getClusterId()
2234
 * @method $this withClusterId($value)
2235
 * @method string getOperationId()
2236
 * @method $this withOperationId($value)
2237
 * @method string getTaskId()
2238
 * @method $this withTaskId($value)
2239
 * @method string getStatus()
2240
 * @method $this withStatus($value)
2241
 */
2242
class DescribeClusterOperationHostTaskLog extends Rpc
2243
{
2244
}
2245
2246
/**
2247
 * @method string getResourceOwnerId()
2248
 * @method $this withResourceOwnerId($value)
2249
 * @method string getClusterId()
2250
 * @method $this withClusterId($value)
2251
 */
2252
class DescribeClusterResourcePoolSchedulerType extends Rpc
2253
{
2254
}
2255
2256
/**
2257
 * @method string getResourceOwnerId()
2258
 * @method $this withResourceOwnerId($value)
2259
 * @method string getClusterId()
2260
 * @method $this withClusterId($value)
2261
 * @method string getServiceName()
2262
 * @method $this withServiceName($value)
2263
 */
2264
class DescribeClusterService extends Rpc
2265
{
2266
}
2267
2268
/**
2269
 * @method string getResourceOwnerId()
2270
 * @method $this withResourceOwnerId($value)
2271
 * @method string getHostInstanceId()
2272
 * @method $this withHostInstanceId($value)
2273
 * @method string getTagValue()
2274
 * @method $this withTagValue($value)
2275
 * @method string getGroupId()
2276
 * @method $this withGroupId($value)
2277
 * @method string getClusterId()
2278
 * @method $this withClusterId($value)
2279
 * @method string getConfigVersion()
2280
 * @method $this withConfigVersion($value)
2281
 * @method string getServiceName()
2282
 * @method $this withServiceName($value)
2283
 */
2284
class DescribeClusterServiceConfig extends Rpc
2285
{
2286
}
2287
2288
/**
2289
 * @method string getResourceOwnerId()
2290
 * @method $this withResourceOwnerId($value)
2291
 * @method string getClusterId()
2292
 * @method $this withClusterId($value)
2293
 * @method string getConfigVersion()
2294
 * @method $this withConfigVersion($value)
2295
 * @method string getServiceName()
2296
 * @method $this withServiceName($value)
2297
 */
2298
class DescribeClusterServiceConfigHistory extends Rpc
2299
{
2300
}
2301
2302
/**
2303
 * @method string getResourceOwnerId()
2304
 * @method $this withResourceOwnerId($value)
2305
 * @method string getClusterId()
2306
 * @method $this withClusterId($value)
2307
 * @method string getConfigTag()
2308
 * @method $this withConfigTag($value)
2309
 * @method string getServiceName()
2310
 * @method $this withServiceName($value)
2311
 */
2312
class DescribeClusterServiceConfigTag extends Rpc
2313
{
2314
}
2315
2316
/**
2317
 * @method string getResourceOwnerId()
2318
 * @method $this withResourceOwnerId($value)
2319
 * @method string getResourceGroupId()
2320
 * @method $this withResourceGroupId($value)
2321
 * @method string getBizId()
2322
 * @method $this withBizId($value)
2323
 */
2324
class DescribeClusterTemplate extends Rpc
2325
{
2326
}
2327
2328
/**
2329
 * @method string getResourceOwnerId()
2330
 * @method $this withResourceOwnerId($value)
2331
 * @method string getId()
2332
 * @method $this withId($value)
2333
 */
2334
class DescribeClusterV2 extends Rpc
2335
{
2336
}
2337
2338
/**
2339
 * @method string getResourceOwnerId()
2340
 * @method $this withResourceOwnerId($value)
2341
 * @method string getResourceGroupId()
2342
 * @method $this withResourceGroupId($value)
2343
 * @method string getId()
2344
 * @method $this withId($value)
2345
 */
2346
class DescribeDataSource extends Rpc
2347
{
2348
}
2349
2350
/**
2351
 * @method string getResourceOwnerId()
2352
 * @method $this withResourceOwnerId($value)
2353
 * @method string getId()
2354
 * @method $this withId($value)
2355
 */
2356
class DescribeExecutionPlan extends Rpc
2357
{
2358
}
2359
2360
/**
2361
 * @method string getId()
2362
 * @method $this withId($value)
2363
 * @method string getProjectId()
2364
 * @method $this withProjectId($value)
2365
 */
2366
class DescribeFlow extends Rpc
2367
{
2368
}
2369
2370
/**
2371
 * @method string getResourceOwnerId()
2372
 * @method $this withResourceOwnerId($value)
2373
 * @method string getClusterBizId()
2374
 * @method $this withClusterBizId($value)
2375
 * @method string getInnerIP()
2376
 * @method $this withInnerIP($value)
2377
 */
2378
class DescribeFlowAgentToken extends Rpc
2379
{
2380
}
2381
2382
/**
2383
 * @method string getResourceOwnerId()
2384
 * @method $this withResourceOwnerId($value)
2385
 * @method string getClusterBizId()
2386
 * @method $this withClusterBizId($value)
2387
 * @method string getUserId()
2388
 * @method $this withUserId($value)
2389
 */
2390
class DescribeFlowAgentUser extends Rpc
2391
{
2392
}
2393
2394
/**
2395
 * @method string getId()
2396
 * @method $this withId($value)
2397
 * @method string getProjectId()
2398
 * @method $this withProjectId($value)
2399
 */
2400
class DescribeFlowCategory extends Rpc
2401
{
2402
}
2403
2404
/**
2405
 * @method string getType()
2406
 * @method $this withType($value)
2407
 * @method string getMode()
2408
 * @method $this withMode($value)
2409
 * @method string getKeyword()
2410
 * @method $this withKeyword($value)
2411
 * @method string getProjectId()
2412
 * @method $this withProjectId($value)
2413
 * @method string getCategoryId()
2414
 * @method $this withCategoryId($value)
2415
 */
2416
class DescribeFlowCategoryTree extends Rpc
2417
{
2418
}
2419
2420
/**
2421
 * @method string getResourceOwnerId()
2422
 * @method $this withResourceOwnerId($value)
2423
 * @method string getPageCount()
2424
 * @method $this withPageCount($value)
2425
 * @method string getOrderMode()
2426
 * @method $this withOrderMode($value)
2427
 * @method string getEntityId()
2428
 * @method $this withEntityId($value)
2429
 * @method string getPageNumber()
2430
 * @method $this withPageNumber($value)
2431
 * @method string getLimit()
2432
 * @method $this withLimit($value)
2433
 * @method string getPageSize()
2434
 * @method $this withPageSize($value)
2435
 * @method string getCommitterId()
2436
 * @method $this withCommitterId($value)
2437
 * @method string getCurrentSize()
2438
 * @method $this withCurrentSize($value)
2439
 * @method string getOrderField()
2440
 * @method $this withOrderField($value)
2441
 * @method string getEntityGroupId()
2442
 * @method $this withEntityGroupId($value)
2443
 * @method string getRevision()
2444
 * @method $this withRevision($value)
2445
 * @method string getEntityType()
2446
 * @method $this withEntityType($value)
2447
 */
2448
class DescribeFlowEntitySnapshot extends Rpc
2449
{
2450
}
2451
2452
/**
2453
 * @method string getId()
2454
 * @method $this withId($value)
2455
 * @method string getProjectId()
2456
 * @method $this withProjectId($value)
2457
 */
2458
class DescribeFlowInstance extends Rpc
2459
{
2460
}
2461
2462
/**
2463
 * @method string getId()
2464
 * @method $this withId($value)
2465
 * @method string getProjectId()
2466
 * @method $this withProjectId($value)
2467
 */
2468
class DescribeFlowJob extends Rpc
2469
{
2470
}
2471
2472
/**
2473
 * @method string getId()
2474
 * @method $this withId($value)
2475
 * @method string getProjectId()
2476
 * @method $this withProjectId($value)
2477
 */
2478
class DescribeFlowNodeInstance extends Rpc
2479
{
2480
}
2481
2482
/**
2483
 * @method string getOffset()
2484
 * @method $this withOffset($value)
2485
 * @method string getLogName()
2486
 * @method $this withLogName($value)
2487
 * @method string getLength()
2488
 * @method $this withLength($value)
2489
 * @method string getNodeInstanceId()
2490
 * @method $this withNodeInstanceId($value)
2491
 * @method string getAppId()
2492
 * @method $this withAppId($value)
2493
 * @method string getContainerId()
2494
 * @method $this withContainerId($value)
2495
 * @method string getProjectId()
2496
 * @method $this withProjectId($value)
2497
 */
2498
class DescribeFlowNodeInstanceContainerLog extends Rpc
2499
{
2500
}
2501
2502
/**
2503
 * @method string getOffset()
2504
 * @method $this withOffset($value)
2505
 * @method string getStart()
2506
 * @method $this withStart($value)
2507
 * @method string getLength()
2508
 * @method $this withLength($value)
2509
 * @method string getEndTime()
2510
 * @method $this withEndTime($value)
2511
 * @method string getStartTime()
2512
 * @method $this withStartTime($value)
2513
 * @method string getReverse()
2514
 * @method $this withReverse($value)
2515
 * @method string getNodeInstanceId()
2516
 * @method $this withNodeInstanceId($value)
2517
 * @method string getLines()
2518
 * @method $this withLines($value)
2519
 * @method string getProjectId()
2520
 * @method $this withProjectId($value)
2521
 */
2522
class DescribeFlowNodeInstanceLauncherLog extends Rpc
2523
{
2524
}
2525
2526
/**
2527
 * @method string getProjectId()
2528
 * @method $this withProjectId($value)
2529
 */
2530
class DescribeFlowProject extends Rpc
2531
{
2532
}
2533
2534
/**
2535
 * @method string getClusterId()
2536
 * @method $this withClusterId($value)
2537
 * @method string getProjectId()
2538
 * @method $this withProjectId($value)
2539
 */
2540
class DescribeFlowProjectClusterSetting extends Rpc
2541
{
2542
}
2543
2544
/**
2545
 * @method string getResourceOwnerId()
2546
 * @method $this withResourceOwnerId($value)
2547
 * @method string getResourceGroupId()
2548
 * @method $this withResourceGroupId($value)
2549
 * @method string getId()
2550
 * @method $this withId($value)
2551
 */
2552
class DescribeJob extends Rpc
2553
{
2554
}
2555
2556
/**
2557
 * @method string getResourceOwnerId()
2558
 * @method $this withResourceOwnerId($value)
2559
 * @method string getLibraryBizId()
2560
 * @method $this withLibraryBizId($value)
2561
 */
2562
class DescribeLibraryDetail extends Rpc
2563
{
2564
}
2565
2566
/**
2567
 * @method string getResourceOwnerId()
2568
 * @method $this withResourceOwnerId($value)
2569
 * @method string getTaskBizId()
2570
 * @method $this withTaskBizId($value)
2571
 */
2572
class DescribeLibraryInstallTaskDetail extends Rpc
2573
{
2574
}
2575
2576
/**
2577
 * @method string getResourceOwnerId()
2578
 * @method $this withResourceOwnerId($value)
2579
 * @method string getResourceGroupId()
2580
 * @method $this withResourceGroupId($value)
2581
 * @method string getTaskId()
2582
 * @method $this withTaskId($value)
2583
 */
2584
class DescribeMetaTablePreviewTask extends Rpc
2585
{
2586
}
2587
2588
/**
2589
 * @method string getResourceOwnerId()
2590
 * @method $this withResourceOwnerId($value)
2591
 * @method string getClusterId()
2592
 * @method $this withClusterId($value)
2593
 * @method string getScalingActivityId()
2594
 * @method $this withScalingActivityId($value)
2595
 * @method string getHostGroupId()
2596
 * @method $this withHostGroupId($value)
2597
 */
2598
class DescribeScalingActivity extends Rpc
2599
{
2600
}
2601
2602
/**
2603
 * @method string getResourceOwnerId()
2604
 * @method $this withResourceOwnerId($value)
2605
 * @method string getResourceGroupId()
2606
 * @method $this withResourceGroupId($value)
2607
 */
2608
class DescribeScalingCommonConfig extends Rpc
2609
{
2610
}
2611
2612
/**
2613
 * @method string getConfigItemType()
2614
 * @method $this withConfigItemType($value)
2615
 * @method string getResourceOwnerId()
2616
 * @method $this withResourceOwnerId($value)
2617
 * @method string getScalingGroupBizId()
2618
 * @method $this withScalingGroupBizId($value)
2619
 * @method string getResourceGroupId()
2620
 * @method $this withResourceGroupId($value)
2621
 * @method string getScalingConfigItemId()
2622
 * @method $this withScalingConfigItemId($value)
2623
 */
2624
class DescribeScalingConfigItemV2 extends Rpc
2625
{
2626
}
2627
2628
/**
2629
 * @method string getResourceOwnerId()
2630
 * @method $this withResourceOwnerId($value)
2631
 * @method string getScalingGroupBizId()
2632
 * @method $this withScalingGroupBizId($value)
2633
 * @method string getResourceGroupId()
2634
 * @method $this withResourceGroupId($value)
2635
 * @method string getHostGroupBizId()
2636
 * @method $this withHostGroupBizId($value)
2637
 */
2638
class DescribeScalingGroupInstanceV2 extends Rpc
2639
{
2640
}
2641
2642
/**
2643
 * @method string getResourceOwnerId()
2644
 * @method $this withResourceOwnerId($value)
2645
 * @method string getScalingGroupBizId()
2646
 * @method $this withScalingGroupBizId($value)
2647
 * @method string getResourceGroupId()
2648
 * @method $this withResourceGroupId($value)
2649
 * @method string getHostGroupBizId()
2650
 * @method $this withHostGroupBizId($value)
2651
 */
2652
class DescribeScalingGroupV2 extends Rpc
2653
{
2654
}
2655
2656
/**
2657
 * @method string getResourceOwnerId()
2658
 * @method $this withResourceOwnerId($value)
2659
 * @method string getClusterId()
2660
 * @method $this withClusterId($value)
2661
 * @method string getScalingRuleId()
2662
 * @method $this withScalingRuleId($value)
2663
 * @method string getHostGroupId()
2664
 * @method $this withHostGroupId($value)
2665
 */
2666
class DescribeScalingRule extends Rpc
2667
{
2668
}
2669
2670
/**
2671
 * @method string getResourceOwnerId()
2672
 * @method $this withResourceOwnerId($value)
2673
 * @method string getClusterId()
2674
 * @method $this withClusterId($value)
2675
 * @method string getResourceGroupId()
2676
 * @method $this withResourceGroupId($value)
2677
 */
2678
class DescribeSecurityGroupAttribute extends Rpc
2679
{
2680
}
2681
2682
/**
2683
 * @method string getResourceOwnerId()
2684
 * @method $this withResourceOwnerId($value)
2685
 * @method string getTargetClusterId()
2686
 * @method $this withTargetClusterId($value)
2687
 * @method string getVswitchId()
2688
 * @method $this withVswitchId($value)
2689
 */
2690
class DetachAndReleaseClusterEni extends Rpc
2691
{
2692
}
2693
2694
/**
2695
 * @method string getResourceOwnerId()
2696
 * @method $this withResourceOwnerId($value)
2697
 * @method string getSrcRevision()
2698
 * @method $this withSrcRevision($value)
2699
 * @method string getEntityId()
2700
 * @method $this withEntityId($value)
2701
 * @method string getDstRevision()
2702
 * @method $this withDstRevision($value)
2703
 * @method string getEntityType()
2704
 * @method $this withEntityType($value)
2705
 */
2706
class DiffFlowEntitySnapshot extends Rpc
2707
{
2708
}
2709
2710
/**
2711
 * @method string getResourceOwnerId()
2712
 * @method $this withResourceOwnerId($value)
2713
 * @method string getDumpAllDatabase()
2714
 * @method $this withDumpAllDatabase($value)
2715
 * @method string getDumpLimit()
2716
 * @method $this withDumpLimit($value)
2717
 * @method string getClusterId()
2718
 * @method $this withClusterId($value)
2719
 * @method string getDumpAllTable()
2720
 * @method $this withDumpAllTable($value)
2721
 * @method array getPartitionValues()
2722
 * @method string getTableId()
2723
 * @method $this withTableId($value)
2724
 * @method string getDatabaseId()
2725
 * @method $this withDatabaseId($value)
2726
 * @method string getDumpAllPartition()
2727
 * @method $this withDumpAllPartition($value)
2728
 */
2729
class DumpMetaDataSourceForOuter extends Rpc
2730
{
2731
2732
    /**
2733
     * @param array $partitionValues
2734
     *
2735
     * @return $this
2736
     */
2737
	public function withPartitionValues(array $partitionValues)
2738
	{
2739
	    $this->data['PartitionValues'] = $partitionValues;
2740
		foreach ($partitionValues as $i => $iValue) {
2741
			$this->options['query']['PartitionValues.' . ($i + 1)] = $iValue;
2742
		}
2743
2744
		return $this;
2745
    }
2746
}
2747
2748
/**
2749
 * @method string getResourceOwnerId()
2750
 * @method $this withResourceOwnerId($value)
2751
 * @method string getPageCount()
2752
 * @method $this withPageCount($value)
2753
 * @method string getOrderMode()
2754
 * @method $this withOrderMode($value)
2755
 * @method string getEntityId()
2756
 * @method $this withEntityId($value)
2757
 * @method string getPageNumber()
2758
 * @method $this withPageNumber($value)
2759
 * @method string getLimit()
2760
 * @method $this withLimit($value)
2761
 * @method string getPageSize()
2762
 * @method $this withPageSize($value)
2763
 * @method string getRelationship()
2764
 * @method $this withRelationship($value)
2765
 * @method string getCurrentSize()
2766
 * @method $this withCurrentSize($value)
2767
 * @method string getOrderField()
2768
 * @method $this withOrderField($value)
2769
 * @method string getDirection()
2770
 * @method $this withDirection($value)
2771
 * @method string getEntityGroupId()
2772
 * @method $this withEntityGroupId($value)
2773
 * @method string getEntityType()
2774
 * @method $this withEntityType($value)
2775
 */
2776
class GetFlowEntityRelationGraph extends Rpc
2777
{
2778
}
2779
2780
/**
2781
 * @method string getFromDatetime()
2782
 * @method $this withFromDatetime($value)
2783
 * @method string getResourceOwnerId()
2784
 * @method $this withResourceOwnerId($value)
2785
 * @method string getClusterId()
2786
 * @method $this withClusterId($value)
2787
 * @method string getToDatetime()
2788
 * @method $this withToDatetime($value)
2789
 */
2790
class GetHdfsCapacityStatisticInfo extends Rpc
2791
{
2792
}
2793
2794
/**
2795
 * @method string getFromDatetime()
2796
 * @method $this withFromDatetime($value)
2797
 * @method string getResourceOwnerId()
2798
 * @method $this withResourceOwnerId($value)
2799
 * @method string getClusterId()
2800
 * @method $this withClusterId($value)
2801
 * @method string getToDatetime()
2802
 * @method $this withToDatetime($value)
2803
 * @method string getPageNumber()
2804
 * @method $this withPageNumber($value)
2805
 * @method string getPageSize()
2806
 * @method $this withPageSize($value)
2807
 */
2808
class GetJobInputStatisticInfo extends Rpc
2809
{
2810
}
2811
2812
/**
2813
 * @method string getFromDatetime()
2814
 * @method $this withFromDatetime($value)
2815
 * @method string getResourceOwnerId()
2816
 * @method $this withResourceOwnerId($value)
2817
 * @method string getClusterId()
2818
 * @method $this withClusterId($value)
2819
 * @method string getToDatetime()
2820
 * @method $this withToDatetime($value)
2821
 * @method string getPageNumber()
2822
 * @method $this withPageNumber($value)
2823
 * @method string getPageSize()
2824
 * @method $this withPageSize($value)
2825
 */
2826
class GetJobOutputStatisticInfo extends Rpc
2827
{
2828
}
2829
2830
/**
2831
 * @method string getFromDatetime()
2832
 * @method $this withFromDatetime($value)
2833
 * @method string getResourceOwnerId()
2834
 * @method $this withResourceOwnerId($value)
2835
 * @method string getClusterId()
2836
 * @method $this withClusterId($value)
2837
 * @method string getToDatetime()
2838
 * @method $this withToDatetime($value)
2839
 * @method string getPageNumber()
2840
 * @method $this withPageNumber($value)
2841
 * @method string getPageSize()
2842
 * @method $this withPageSize($value)
2843
 */
2844
class GetJobRunningTimeStatisticInfo extends Rpc
2845
{
2846
}
2847
2848
/**
2849
 * @method string getFromDatetime()
2850
 * @method $this withFromDatetime($value)
2851
 * @method string getResourceOwnerId()
2852
 * @method $this withResourceOwnerId($value)
2853
 * @method string getClusterId()
2854
 * @method $this withClusterId($value)
2855
 * @method string getToDatetime()
2856
 * @method $this withToDatetime($value)
2857
 */
2858
class GetQueueInputStatisticInfo extends Rpc
2859
{
2860
}
2861
2862
/**
2863
 * @method string getFromDatetime()
2864
 * @method $this withFromDatetime($value)
2865
 * @method string getResourceOwnerId()
2866
 * @method $this withResourceOwnerId($value)
2867
 * @method string getClusterId()
2868
 * @method $this withClusterId($value)
2869
 * @method string getToDatetime()
2870
 * @method $this withToDatetime($value)
2871
 */
2872
class GetQueueOutputStatisticInfo extends Rpc
2873
{
2874
}
2875
2876
/**
2877
 * @method string getFromDatetime()
2878
 * @method $this withFromDatetime($value)
2879
 * @method string getResourceOwnerId()
2880
 * @method $this withResourceOwnerId($value)
2881
 * @method string getClusterId()
2882
 * @method $this withClusterId($value)
2883
 * @method string getToDatetime()
2884
 * @method $this withToDatetime($value)
2885
 * @method string getFinalStatus()
2886
 * @method $this withFinalStatus($value)
2887
 * @method string getApplicationType()
2888
 * @method $this withApplicationType($value)
2889
 */
2890
class GetQueueSubmissionStatisticInfo extends Rpc
2891
{
2892
}
2893
2894
/**
2895
 * @method string getFromDatetime()
2896
 * @method $this withFromDatetime($value)
2897
 * @method string getResourceOwnerId()
2898
 * @method $this withResourceOwnerId($value)
2899
 * @method string getClusterId()
2900
 * @method $this withClusterId($value)
2901
 * @method string getToDatetime()
2902
 * @method $this withToDatetime($value)
2903
 */
2904
class GetUserInputStatisticInfo extends Rpc
2905
{
2906
}
2907
2908
/**
2909
 * @method string getFromDatetime()
2910
 * @method $this withFromDatetime($value)
2911
 * @method string getResourceOwnerId()
2912
 * @method $this withResourceOwnerId($value)
2913
 * @method string getClusterId()
2914
 * @method $this withClusterId($value)
2915
 * @method string getToDatetime()
2916
 * @method $this withToDatetime($value)
2917
 */
2918
class GetUserOutputStatisticInfo extends Rpc
2919
{
2920
}
2921
2922
/**
2923
 * @method string getFromDatetime()
2924
 * @method $this withFromDatetime($value)
2925
 * @method string getResourceOwnerId()
2926
 * @method $this withResourceOwnerId($value)
2927
 * @method string getClusterId()
2928
 * @method $this withClusterId($value)
2929
 * @method string getToDatetime()
2930
 * @method $this withToDatetime($value)
2931
 * @method string getFinalStatus()
2932
 * @method $this withFinalStatus($value)
2933
 * @method string getApplicationType()
2934
 * @method $this withApplicationType($value)
2935
 */
2936
class GetUserSubmissionStatisticInfo extends Rpc
2937
{
2938
}
2939
2940
/**
2941
 * @method string getResourceOwnerId()
2942
 * @method $this withResourceOwnerId($value)
2943
 * @method string getLibraryBizId()
2944
 * @method $this withLibraryBizId($value)
2945
 * @method array getClusterBizIdList()
2946
 */
2947
class InstallLibraries extends Rpc
2948
{
2949
2950
    /**
2951
     * @param array $clusterBizIdList
2952
     *
2953
     * @return $this
2954
     */
2955
	public function withClusterBizIdList(array $clusterBizIdList)
2956
	{
2957
	    $this->data['ClusterBizIdList'] = $clusterBizIdList;
2958
		foreach ($clusterBizIdList as $i => $iValue) {
2959
			$this->options['query']['ClusterBizIdList.' . ($i + 1)] = $iValue;
2960
		}
2961
2962
		return $this;
2963
    }
2964
}
2965
2966
/**
2967
 * @method string getResourceOwnerId()
2968
 * @method $this withResourceOwnerId($value)
2969
 * @method string getResourceId()
2970
 * @method $this withResourceId($value)
2971
 * @method string getResourceType()
2972
 * @method $this withResourceType($value)
2973
 * @method string getResourceGroupId()
2974
 * @method $this withResourceGroupId($value)
2975
 */
2976
class JoinResourceGroup extends Rpc
2977
{
2978
}
2979
2980
/**
2981
 * @method string getResourceOwnerId()
2982
 * @method $this withResourceOwnerId($value)
2983
 * @method string getJobInstanceId()
2984
 * @method $this withJobInstanceId($value)
2985
 */
2986
class KillExecutionJobInstance extends Rpc
2987
{
2988
}
2989
2990
/**
2991
 * @method string getJobInstanceId()
2992
 * @method $this withJobInstanceId($value)
2993
 * @method string getProjectId()
2994
 * @method $this withProjectId($value)
2995
 */
2996
class KillFlowJob extends Rpc
2997
{
2998
}
2999
3000
/**
3001
 * @method string getResourceOwnerId()
3002
 * @method $this withResourceOwnerId($value)
3003
 * @method string getClusterId()
3004
 * @method $this withClusterId($value)
3005
 * @method string getPageNumber()
3006
 * @method $this withPageNumber($value)
3007
 * @method string getComponent()
3008
 * @method $this withComponent($value)
3009
 * @method string getPageSize()
3010
 * @method $this withPageSize($value)
3011
 * @method string getServiceName()
3012
 * @method $this withServiceName($value)
3013
 */
3014
class ListAdviceAction extends Rpc
3015
{
3016
}
3017
3018
/**
3019
 * @method string getResourceOwnerId()
3020
 * @method $this withResourceOwnerId($value)
3021
 * @method string getPageNumber()
3022
 * @method $this withPageNumber($value)
3023
 * @method string getFinalStatus()
3024
 * @method $this withFinalStatus($value)
3025
 * @method string getPageSize()
3026
 * @method $this withPageSize($value)
3027
 * @method string getState()
3028
 * @method $this withState($value)
3029
 * @method string getStartTimeTo()
3030
 * @method $this withStartTimeTo($value)
3031
 * @method string getDiagnoseResult()
3032
 * @method $this withDiagnoseResult($value)
3033
 * @method string getEndTimeFrom()
3034
 * @method $this withEndTimeFrom($value)
3035
 * @method string getOrderBy()
3036
 * @method $this withOrderBy($value)
3037
 * @method string getClusterId()
3038
 * @method $this withClusterId($value)
3039
 * @method string getJobType()
3040
 * @method $this withJobType($value)
3041
 * @method string getStartTimeFrom()
3042
 * @method $this withStartTimeFrom($value)
3043
 * @method string getAppId()
3044
 * @method $this withAppId($value)
3045
 * @method string getName()
3046
 * @method $this withName($value)
3047
 * @method string getUser()
3048
 * @method $this withUser($value)
3049
 * @method string getEndTimeTo()
3050
 * @method $this withEndTimeTo($value)
3051
 * @method string getQueue()
3052
 * @method $this withQueue($value)
3053
 */
3054
class ListApmApplication extends Rpc
3055
{
3056
}
3057
3058
/**
3059
 * @method string getResourceOwnerId()
3060
 * @method $this withResourceOwnerId($value)
3061
 * @method string getPageCount()
3062
 * @method $this withPageCount($value)
3063
 * @method string getOrderMode()
3064
 * @method $this withOrderMode($value)
3065
 * @method string getBackupPlanId()
3066
 * @method $this withBackupPlanId($value)
3067
 * @method string getPageNumber()
3068
 * @method $this withPageNumber($value)
3069
 * @method string getLimit()
3070
 * @method $this withLimit($value)
3071
 * @method string getPageSize()
3072
 * @method $this withPageSize($value)
3073
 * @method string getServiceName()
3074
 * @method $this withServiceName($value)
3075
 * @method string getId()
3076
 * @method $this withId($value)
3077
 * @method string getCurrentSize()
3078
 * @method $this withCurrentSize($value)
3079
 * @method array getBackupId()
3080
 * @method string getClusterId()
3081
 * @method $this withClusterId($value)
3082
 * @method string getMetadataType()
3083
 * @method $this withMetadataType($value)
3084
 * @method string getBizId()
3085
 * @method $this withBizId($value)
3086
 * @method string getStatus()
3087
 * @method $this withStatus($value)
3088
 */
3089
class ListBackups extends Rpc
3090
{
3091
3092
    /**
3093
     * @param array $backupId
3094
     *
3095
     * @return $this
3096
     */
3097
	public function withBackupId(array $backupId)
3098
	{
3099
	    $this->data['BackupId'] = $backupId;
3100
		foreach ($backupId as $i => $iValue) {
3101
			$this->options['query']['BackupId.' . ($i + 1)] = $iValue;
3102
		}
3103
3104
		return $this;
3105
    }
3106
}
3107
3108
/**
3109
 * @method string getResourceOwnerId()
3110
 * @method $this withResourceOwnerId($value)
3111
 * @method string getHostInstanceId()
3112
 * @method $this withHostInstanceId($value)
3113
 * @method array getStatusList()
3114
 * @method string getComponentName()
3115
 * @method $this withComponentName($value)
3116
 * @method string getPublicIp()
3117
 * @method $this withPublicIp($value)
3118
 * @method string getPageNumber()
3119
 * @method $this withPageNumber($value)
3120
 * @method string getHostName()
3121
 * @method $this withHostName($value)
3122
 * @method string getGroupType()
3123
 * @method $this withGroupType($value)
3124
 * @method string getPageSize()
3125
 * @method $this withPageSize($value)
3126
 * @method string getPrivateIp()
3127
 * @method $this withPrivateIp($value)
3128
 * @method string getClusterId()
3129
 * @method $this withClusterId($value)
3130
 * @method string getHostGroupId()
3131
 * @method $this withHostGroupId($value)
3132
 */
3133
class ListClusterHost extends Rpc
3134
{
3135
3136
    /**
3137
     * @param array $statusList
3138
     *
3139
     * @return $this
3140
     */
3141
	public function withStatusList(array $statusList)
3142
	{
3143
	    $this->data['StatusList'] = $statusList;
3144
		foreach ($statusList as $i => $iValue) {
3145
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
3146
		}
3147
3148
		return $this;
3149
    }
3150
}
3151
3152
/**
3153
 * @method string getResourceOwnerId()
3154
 * @method $this withResourceOwnerId($value)
3155
 * @method string getHostInstanceId()
3156
 * @method $this withHostInstanceId($value)
3157
 * @method string getComponentName()
3158
 * @method $this withComponentName($value)
3159
 * @method string getPageNumber()
3160
 * @method $this withPageNumber($value)
3161
 * @method string getComponentStatus()
3162
 * @method $this withComponentStatus($value)
3163
 * @method string getHostName()
3164
 * @method $this withHostName($value)
3165
 * @method string getPageSize()
3166
 * @method $this withPageSize($value)
3167
 * @method string getServiceName()
3168
 * @method $this withServiceName($value)
3169
 * @method string getClusterId()
3170
 * @method $this withClusterId($value)
3171
 * @method string getHostRole()
3172
 * @method $this withHostRole($value)
3173
 */
3174
class ListClusterHostComponent extends Rpc
3175
{
3176
}
3177
3178
/**
3179
 * @method string getResourceOwnerId()
3180
 * @method $this withResourceOwnerId($value)
3181
 * @method array getStatusList()
3182
 * @method string getClusterId()
3183
 * @method $this withClusterId($value)
3184
 * @method string getHostGroupName()
3185
 * @method $this withHostGroupName($value)
3186
 * @method string getPageNumber()
3187
 * @method $this withPageNumber($value)
3188
 * @method string getHostGroupId()
3189
 * @method $this withHostGroupId($value)
3190
 * @method string getPageSize()
3191
 * @method $this withPageSize($value)
3192
 * @method string getHostGroupType()
3193
 * @method $this withHostGroupType($value)
3194
 */
3195
class ListClusterHostGroup extends Rpc
3196
{
3197
3198
    /**
3199
     * @param array $statusList
3200
     *
3201
     * @return $this
3202
     */
3203
	public function withStatusList(array $statusList)
3204
	{
3205
	    $this->data['StatusList'] = $statusList;
3206
		foreach ($statusList as $i => $iValue) {
3207
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
3208
		}
3209
3210
		return $this;
3211
    }
3212
}
3213
3214
/**
3215
 * @method string getResourceOwnerId()
3216
 * @method $this withResourceOwnerId($value)
3217
 * @method string getClusterId()
3218
 * @method $this withClusterId($value)
3219
 * @method string getPageNumber()
3220
 * @method $this withPageNumber($value)
3221
 * @method string getPageSize()
3222
 * @method $this withPageSize($value)
3223
 */
3224
class ListClusterInstalledService extends Rpc
3225
{
3226
}
3227
3228
/**
3229
 * @method string getResourceOwnerId()
3230
 * @method $this withResourceOwnerId($value)
3231
 * @method string getClusterId()
3232
 * @method $this withClusterId($value)
3233
 * @method string getPageNumber()
3234
 * @method $this withPageNumber($value)
3235
 * @method string getPageSize()
3236
 * @method $this withPageSize($value)
3237
 * @method string getServiceName()
3238
 * @method $this withServiceName($value)
3239
 * @method string getStatus()
3240
 * @method $this withStatus($value)
3241
 */
3242
class ListClusterOperation extends Rpc
3243
{
3244
}
3245
3246
/**
3247
 * @method string getResourceOwnerId()
3248
 * @method $this withResourceOwnerId($value)
3249
 * @method string getClusterId()
3250
 * @method $this withClusterId($value)
3251
 * @method string getPageNumber()
3252
 * @method $this withPageNumber($value)
3253
 * @method string getPageSize()
3254
 * @method $this withPageSize($value)
3255
 * @method string getOperationId()
3256
 * @method $this withOperationId($value)
3257
 * @method string getStatus()
3258
 * @method $this withStatus($value)
3259
 */
3260
class ListClusterOperationHost extends Rpc
3261
{
3262
}
3263
3264
/**
3265
 * @method string getResourceOwnerId()
3266
 * @method $this withResourceOwnerId($value)
3267
 * @method string getHostId()
3268
 * @method $this withHostId($value)
3269
 * @method string getClusterId()
3270
 * @method $this withClusterId($value)
3271
 * @method string getPageNumber()
3272
 * @method $this withPageNumber($value)
3273
 * @method string getPageSize()
3274
 * @method $this withPageSize($value)
3275
 * @method string getOperationId()
3276
 * @method $this withOperationId($value)
3277
 * @method string getStatus()
3278
 * @method $this withStatus($value)
3279
 */
3280
class ListClusterOperationHostTask extends Rpc
3281
{
3282
}
3283
3284
/**
3285
 * @method string getResourceOwnerId()
3286
 * @method $this withResourceOwnerId($value)
3287
 * @method string getClusterId()
3288
 * @method $this withClusterId($value)
3289
 * @method string getPageNumber()
3290
 * @method $this withPageNumber($value)
3291
 * @method string getPageSize()
3292
 * @method $this withPageSize($value)
3293
 * @method string getOperationId()
3294
 * @method $this withOperationId($value)
3295
 * @method string getStatus()
3296
 * @method $this withStatus($value)
3297
 */
3298
class ListClusterOperationTask extends Rpc
3299
{
3300
}
3301
3302
/**
3303
 * @method string getResourceOwnerId()
3304
 * @method $this withResourceOwnerId($value)
3305
 * @method array getStatusList()
3306
 * @method string getIsDesc()
3307
 * @method $this withIsDesc($value)
3308
 * @method string getDepositType()
3309
 * @method $this withDepositType($value)
3310
 * @method string getPageNumber()
3311
 * @method $this withPageNumber($value)
3312
 * @method string getMachineType()
3313
 * @method $this withMachineType($value)
3314
 * @method string getResourceGroupId()
3315
 * @method $this withResourceGroupId($value)
3316
 * @method string getPageSize()
3317
 * @method $this withPageSize($value)
3318
 * @method array getTag()
3319
 * @method string getCreateType()
3320
 * @method $this withCreateType($value)
3321
 * @method array getExpiredTagList()
3322
 * @method string getDefaultStatus()
3323
 * @method $this withDefaultStatus($value)
3324
 * @method string getName()
3325
 * @method $this withName($value)
3326
 * @method array getClusterTypeList()
3327
 */
3328
class ListClusters extends Rpc
3329
{
3330
3331
    /**
3332
     * @param array $statusList
3333
     *
3334
     * @return $this
3335
     */
3336
	public function withStatusList(array $statusList)
3337
	{
3338
	    $this->data['StatusList'] = $statusList;
3339
		foreach ($statusList as $i => $iValue) {
3340
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
3341
		}
3342
3343
		return $this;
3344
    }
3345
3346
    /**
3347
     * @param array $tag
3348
     *
3349
     * @return $this
3350
     */
3351
	public function withTag(array $tag)
3352
	{
3353
	    $this->data['Tag'] = $tag;
3354
		foreach ($tag as $depth1 => $depth1Value) {
3355
			if(isset($depth1Value['Value'])){
3356
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
3357
			}
3358
			if(isset($depth1Value['Key'])){
3359
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
3360
			}
3361
		}
3362
3363
		return $this;
3364
    }
3365
3366
    /**
3367
     * @param array $expiredTagList
3368
     *
3369
     * @return $this
3370
     */
3371
	public function withExpiredTagList(array $expiredTagList)
3372
	{
3373
	    $this->data['ExpiredTagList'] = $expiredTagList;
3374
		foreach ($expiredTagList as $i => $iValue) {
3375
			$this->options['query']['ExpiredTagList.' . ($i + 1)] = $iValue;
3376
		}
3377
3378
		return $this;
3379
    }
3380
3381
    /**
3382
     * @param array $clusterTypeList
3383
     *
3384
     * @return $this
3385
     */
3386
	public function withClusterTypeList(array $clusterTypeList)
3387
	{
3388
	    $this->data['ClusterTypeList'] = $clusterTypeList;
3389
		foreach ($clusterTypeList as $i => $iValue) {
3390
			$this->options['query']['ClusterTypeList.' . ($i + 1)] = $iValue;
3391
		}
3392
3393
		return $this;
3394
    }
3395
}
3396
3397
/**
3398
 * @method string getResourceOwnerId()
3399
 * @method $this withResourceOwnerId($value)
3400
 * @method string getClusterId()
3401
 * @method $this withClusterId($value)
3402
 * @method string getPageNumber()
3403
 * @method $this withPageNumber($value)
3404
 * @method string getPageSize()
3405
 * @method $this withPageSize($value)
3406
 */
3407
class ListClusterService extends Rpc
3408
{
3409
}
3410
3411
/**
3412
 * @method string getResourceOwnerId()
3413
 * @method $this withResourceOwnerId($value)
3414
 * @method string getPodName()
3415
 * @method $this withPodName($value)
3416
 * @method string getComponentName()
3417
 * @method $this withComponentName($value)
3418
 * @method string getClusterId()
3419
 * @method $this withClusterId($value)
3420
 * @method string getPageNumber()
3421
 * @method $this withPageNumber($value)
3422
 * @method string getComponentStatus()
3423
 * @method $this withComponentStatus($value)
3424
 * @method string getPageSize()
3425
 * @method $this withPageSize($value)
3426
 * @method string getServiceName()
3427
 * @method $this withServiceName($value)
3428
 */
3429
class ListClusterServiceComponent extends Rpc
3430
{
3431
}
3432
3433
/**
3434
 * @method string getResourceOwnerId()
3435
 * @method $this withResourceOwnerId($value)
3436
 * @method string getClusterId()
3437
 * @method $this withClusterId($value)
3438
 * @method string getServiceName()
3439
 * @method $this withServiceName($value)
3440
 */
3441
class ListClusterServiceComponentHealthInfo extends Rpc
3442
{
3443
}
3444
3445
/**
3446
 * @method string getResourceOwnerId()
3447
 * @method $this withResourceOwnerId($value)
3448
 * @method string getHostInstanceId()
3449
 * @method $this withHostInstanceId($value)
3450
 * @method string getPageNumber()
3451
 * @method $this withPageNumber($value)
3452
 * @method string getConfigVersion()
3453
 * @method $this withConfigVersion($value)
3454
 * @method string getPageSize()
3455
 * @method $this withPageSize($value)
3456
 * @method string getServiceName()
3457
 * @method $this withServiceName($value)
3458
 * @method string getAuthor()
3459
 * @method $this withAuthor($value)
3460
 * @method string getClusterId()
3461
 * @method $this withClusterId($value)
3462
 * @method string getConfigFileName()
3463
 * @method $this withConfigFileName($value)
3464
 * @method string getConfigItemKey()
3465
 * @method $this withConfigItemKey($value)
3466
 * @method string getHostGroupId()
3467
 * @method $this withHostGroupId($value)
3468
 * @method string getComment()
3469
 * @method $this withComment($value)
3470
 */
3471
class ListClusterServiceConfigHistory extends Rpc
3472
{
3473
}
3474
3475
/**
3476
 * @method string getResourceOwnerId()
3477
 * @method $this withResourceOwnerId($value)
3478
 * @method string getDirectType()
3479
 * @method $this withDirectType($value)
3480
 * @method string getClusterId()
3481
 * @method $this withClusterId($value)
3482
 * @method string getServiceName()
3483
 * @method $this withServiceName($value)
3484
 */
3485
class ListClusterServiceQuickLink extends Rpc
3486
{
3487
}
3488
3489
/**
3490
 * @method string getResourceOwnerId()
3491
 * @method $this withResourceOwnerId($value)
3492
 * @method string getPageNumber()
3493
 * @method $this withPageNumber($value)
3494
 * @method string getProductType()
3495
 * @method $this withProductType($value)
3496
 * @method string getResourceGroupId()
3497
 * @method $this withResourceGroupId($value)
3498
 * @method string getBizId()
3499
 * @method $this withBizId($value)
3500
 * @method string getPageSize()
3501
 * @method $this withPageSize($value)
3502
 */
3503
class ListClusterTemplates extends Rpc
3504
{
3505
}
3506
3507
/**
3508
 * @method string getResourceOwnerId()
3509
 * @method $this withResourceOwnerId($value)
3510
 * @method string getCreateFrom()
3511
 * @method $this withCreateFrom($value)
3512
 * @method string getPageNumber()
3513
 * @method $this withPageNumber($value)
3514
 * @method string getResourceGroupId()
3515
 * @method $this withResourceGroupId($value)
3516
 * @method string getPageSize()
3517
 * @method $this withPageSize($value)
3518
 * @method string getName()
3519
 * @method $this withName($value)
3520
 * @method string getSourceType()
3521
 * @method $this withSourceType($value)
3522
 * @method string getId()
3523
 * @method $this withId($value)
3524
 * @method string getProjectId()
3525
 * @method $this withProjectId($value)
3526
 */
3527
class ListDataSource extends Rpc
3528
{
3529
}
3530
3531
/**
3532
 * @method string getResourceOwnerId()
3533
 * @method $this withResourceOwnerId($value)
3534
 * @method string getResourceGroupId()
3535
 * @method $this withResourceGroupId($value)
3536
 */
3537
class ListEmrAvailableConfig extends Rpc
3538
{
3539
}
3540
3541
/**
3542
 * @method string getResourceOwnerId()
3543
 * @method $this withResourceOwnerId($value)
3544
 * @method string getDepositType()
3545
 * @method $this withDepositType($value)
3546
 * @method string getSystemDiskType()
3547
 * @method $this withSystemDiskType($value)
3548
 * @method string getResourceGroupId()
3549
 * @method $this withResourceGroupId($value)
3550
 * @method string getInstanceType()
3551
 * @method $this withInstanceType($value)
3552
 * @method string getInstanceChargeType()
3553
 * @method $this withInstanceChargeType($value)
3554
 * @method string getClusterId()
3555
 * @method $this withClusterId($value)
3556
 * @method string getDestinationResource()
3557
 * @method $this withDestinationResource($value)
3558
 * @method string getClusterType()
3559
 * @method $this withClusterType($value)
3560
 * @method string getSpotStrategy()
3561
 * @method $this withSpotStrategy($value)
3562
 * @method string getNetType()
3563
 * @method $this withNetType($value)
3564
 * @method string getZoneId()
3565
 * @method $this withZoneId($value)
3566
 * @method string getDataDiskType()
3567
 * @method $this withDataDiskType($value)
3568
 */
3569
class ListEmrAvailableResource extends Rpc
3570
{
3571
}
3572
3573
/**
3574
 * @method string getResourceOwnerId()
3575
 * @method $this withResourceOwnerId($value)
3576
 * @method string getPageNumber()
3577
 * @method $this withPageNumber($value)
3578
 * @method string getPageSize()
3579
 * @method $this withPageSize($value)
3580
 * @method string getEmrVersion()
3581
 * @method $this withEmrVersion($value)
3582
 * @method string getStackName()
3583
 * @method $this withStackName($value)
3584
 * @method string getStackVersion()
3585
 * @method $this withStackVersion($value)
3586
 */
3587
class ListEmrMainVersion extends Rpc
3588
{
3589
}
3590
3591
/**
3592
 * @method string getOnlyLastInstance()
3593
 * @method $this withOnlyLastInstance($value)
3594
 * @method string getResourceOwnerId()
3595
 * @method $this withResourceOwnerId($value)
3596
 * @method array getExecutionPlanIdList()
3597
 * @method array getStatusList()
3598
 * @method string getIsDesc()
3599
 * @method $this withIsDesc($value)
3600
 * @method string getPageNumber()
3601
 * @method $this withPageNumber($value)
3602
 * @method string getPageSize()
3603
 * @method $this withPageSize($value)
3604
 */
3605
class ListExecutionPlanInstances extends Rpc
3606
{
3607
3608
    /**
3609
     * @param array $executionPlanIdList
3610
     *
3611
     * @return $this
3612
     */
3613
	public function withExecutionPlanIdList(array $executionPlanIdList)
3614
	{
3615
	    $this->data['ExecutionPlanIdList'] = $executionPlanIdList;
3616
		foreach ($executionPlanIdList as $i => $iValue) {
3617
			$this->options['query']['ExecutionPlanIdList.' . ($i + 1)] = $iValue;
3618
		}
3619
3620
		return $this;
3621
    }
3622
3623
    /**
3624
     * @param array $statusList
3625
     *
3626
     * @return $this
3627
     */
3628
	public function withStatusList(array $statusList)
3629
	{
3630
	    $this->data['StatusList'] = $statusList;
3631
		foreach ($statusList as $i => $iValue) {
3632
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
3633
		}
3634
3635
		return $this;
3636
    }
3637
}
3638
3639
/**
3640
 * @method string getResourceOwnerId()
3641
 * @method $this withResourceOwnerId($value)
3642
 * @method array getStatusList()
3643
 * @method string getIsDesc()
3644
 * @method $this withIsDesc($value)
3645
 * @method string getPageNumber()
3646
 * @method $this withPageNumber($value)
3647
 * @method string getJobId()
3648
 * @method $this withJobId($value)
3649
 * @method string getPageSize()
3650
 * @method $this withPageSize($value)
3651
 * @method string getQueryType()
3652
 * @method $this withQueryType($value)
3653
 * @method string getQueryString()
3654
 * @method $this withQueryString($value)
3655
 * @method string getClusterId()
3656
 * @method $this withClusterId($value)
3657
 * @method string getStrategy()
3658
 * @method $this withStrategy($value)
3659
 */
3660
class ListExecutionPlans extends Rpc
3661
{
3662
3663
    /**
3664
     * @param array $statusList
3665
     *
3666
     * @return $this
3667
     */
3668
	public function withStatusList(array $statusList)
3669
	{
3670
	    $this->data['StatusList'] = $statusList;
3671
		foreach ($statusList as $i => $iValue) {
3672
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
3673
		}
3674
3675
		return $this;
3676
    }
3677
}
3678
3679
/**
3680
 * @method string getPeriodic()
3681
 * @method $this withPeriodic($value)
3682
 * @method string getClusterId()
3683
 * @method $this withClusterId($value)
3684
 * @method string getPageNumber()
3685
 * @method $this withPageNumber($value)
3686
 * @method string getJobId()
3687
 * @method $this withJobId($value)
3688
 * @method string getName()
3689
 * @method $this withName($value)
3690
 * @method string getPageSize()
3691
 * @method $this withPageSize($value)
3692
 * @method string getId()
3693
 * @method $this withId($value)
3694
 * @method string getProjectId()
3695
 * @method $this withProjectId($value)
3696
 * @method string getStatus()
3697
 * @method $this withStatus($value)
3698
 */
3699
class ListFlow extends Rpc
3700
{
3701
}
3702
3703
/**
3704
 * @method string getParentId()
3705
 * @method $this withParentId($value)
3706
 * @method string getPageNumber()
3707
 * @method $this withPageNumber($value)
3708
 * @method string getRoot()
3709
 * @method $this withRoot($value)
3710
 * @method string getPageSize()
3711
 * @method $this withPageSize($value)
3712
 * @method string getProjectId()
3713
 * @method $this withProjectId($value)
3714
 */
3715
class ListFlowCategory extends Rpc
3716
{
3717
}
3718
3719
/**
3720
 * @method string getPageNumber()
3721
 * @method $this withPageNumber($value)
3722
 * @method string getResourceGroupId()
3723
 * @method $this withResourceGroupId($value)
3724
 * @method string getPageSize()
3725
 * @method $this withPageSize($value)
3726
 * @method string getProjectId()
3727
 * @method $this withProjectId($value)
3728
 */
3729
class ListFlowCluster extends Rpc
3730
{
3731
}
3732
3733
/**
3734
 * @method string getProductType()
3735
 * @method $this withProductType($value)
3736
 * @method string getResourceGroupId()
3737
 * @method $this withResourceGroupId($value)
3738
 */
3739
class ListFlowClusterAll extends Rpc
3740
{
3741
}
3742
3743
/**
3744
 * @method string getClusterId()
3745
 * @method $this withClusterId($value)
3746
 * @method string getResourceGroupId()
3747
 * @method $this withResourceGroupId($value)
3748
 * @method string getProjectId()
3749
 * @method $this withProjectId($value)
3750
 */
3751
class ListFlowClusterAllHosts extends Rpc
3752
{
3753
}
3754
3755
/**
3756
 * @method string getClusterId()
3757
 * @method $this withClusterId($value)
3758
 * @method string getResourceGroupId()
3759
 * @method $this withResourceGroupId($value)
3760
 * @method string getProjectId()
3761
 * @method $this withProjectId($value)
3762
 */
3763
class ListFlowClusterHost extends Rpc
3764
{
3765
}
3766
3767
/**
3768
 * @method string getResourceOwnerId()
3769
 * @method $this withResourceOwnerId($value)
3770
 * @method string getPageCount()
3771
 * @method $this withPageCount($value)
3772
 * @method string getOrderMode()
3773
 * @method $this withOrderMode($value)
3774
 * @method string getEntityId()
3775
 * @method $this withEntityId($value)
3776
 * @method string getPageNumber()
3777
 * @method $this withPageNumber($value)
3778
 * @method string getLimit()
3779
 * @method $this withLimit($value)
3780
 * @method string getPageSize()
3781
 * @method $this withPageSize($value)
3782
 * @method string getCommitterId()
3783
 * @method $this withCommitterId($value)
3784
 * @method string getCurrentSize()
3785
 * @method $this withCurrentSize($value)
3786
 * @method string getOrderField()
3787
 * @method $this withOrderField($value)
3788
 * @method string getEntityGroupId()
3789
 * @method $this withEntityGroupId($value)
3790
 * @method string getRevision()
3791
 * @method $this withRevision($value)
3792
 * @method string getEntityType()
3793
 * @method $this withEntityType($value)
3794
 */
3795
class ListFlowEntitySnapshot extends Rpc
3796
{
3797
}
3798
3799
/**
3800
 * @method array getStatusList()
3801
 * @method string getNodeInstanceId()
3802
 * @method $this withNodeInstanceId($value)
3803
 * @method string getPageNumber()
3804
 * @method $this withPageNumber($value)
3805
 * @method string getPageSize()
3806
 * @method $this withPageSize($value)
3807
 * @method string getId()
3808
 * @method $this withId($value)
3809
 * @method string getProjectId()
3810
 * @method $this withProjectId($value)
3811
 * @method string getOwner()
3812
 * @method $this withOwner($value)
3813
 * @method string getTimeRange()
3814
 * @method $this withTimeRange($value)
3815
 * @method string getOrderBy()
3816
 * @method $this withOrderBy($value)
3817
 * @method string getInstanceId()
3818
 * @method $this withInstanceId($value)
3819
 * @method string getFlowName()
3820
 * @method $this withFlowName($value)
3821
 * @method string getFlowId()
3822
 * @method $this withFlowId($value)
3823
 * @method string getOrderType()
3824
 * @method $this withOrderType($value)
3825
 */
3826
class ListFlowInstance extends Rpc
3827
{
3828
3829
    /**
3830
     * @param array $statusList
3831
     *
3832
     * @return $this
3833
     */
3834
	public function withStatusList(array $statusList)
3835
	{
3836
	    $this->data['StatusList'] = $statusList;
3837
		foreach ($statusList as $i => $iValue) {
3838
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
3839
		}
3840
3841
		return $this;
3842
    }
3843
}
3844
3845
/**
3846
 * @method string getType()
3847
 * @method $this withType($value)
3848
 * @method string getPageNumber()
3849
 * @method $this withPageNumber($value)
3850
 * @method string getName()
3851
 * @method $this withName($value)
3852
 * @method string getPageSize()
3853
 * @method $this withPageSize($value)
3854
 * @method string getId()
3855
 * @method $this withId($value)
3856
 * @method string getAdhoc()
3857
 * @method $this withAdhoc($value)
3858
 * @method string getProjectId()
3859
 * @method $this withProjectId($value)
3860
 */
3861
class ListFlowJob extends Rpc
3862
{
3863
}
3864
3865
/**
3866
 * @method string getTimeRange()
3867
 * @method $this withTimeRange($value)
3868
 * @method array getStatusList()
3869
 * @method string getJobType()
3870
 * @method $this withJobType($value)
3871
 * @method string getPageNumber()
3872
 * @method $this withPageNumber($value)
3873
 * @method string getInstanceId()
3874
 * @method $this withInstanceId($value)
3875
 * @method string getPageSize()
3876
 * @method $this withPageSize($value)
3877
 * @method string getId()
3878
 * @method $this withId($value)
3879
 * @method string getProjectId()
3880
 * @method $this withProjectId($value)
3881
 */
3882
class ListFlowJobHistory extends Rpc
3883
{
3884
3885
    /**
3886
     * @param array $statusList
3887
     *
3888
     * @return $this
3889
     */
3890
	public function withStatusList(array $statusList)
3891
	{
3892
	    $this->data['StatusList'] = $statusList;
3893
		foreach ($statusList as $i => $iValue) {
3894
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
3895
		}
3896
3897
		return $this;
3898
    }
3899
}
3900
3901
/**
3902
 * @method array getStatusList()
3903
 * @method string getOrderBy()
3904
 * @method $this withOrderBy($value)
3905
 * @method string getStartTime()
3906
 * @method $this withStartTime($value)
3907
 * @method string getPageNumber()
3908
 * @method $this withPageNumber($value)
3909
 * @method string getResourceGroupId()
3910
 * @method $this withResourceGroupId($value)
3911
 * @method string getPageSize()
3912
 * @method $this withPageSize($value)
3913
 * @method string getProjectId()
3914
 * @method $this withProjectId($value)
3915
 * @method string getOrderType()
3916
 * @method $this withOrderType($value)
3917
 */
3918
class ListFlowNodeInstance extends Rpc
3919
{
3920
3921
    /**
3922
     * @param array $statusList
3923
     *
3924
     * @return $this
3925
     */
3926
	public function withStatusList(array $statusList)
3927
	{
3928
	    $this->data['StatusList'] = $statusList;
3929
		foreach ($statusList as $i => $iValue) {
3930
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
3931
		}
3932
3933
		return $this;
3934
    }
3935
}
3936
3937
/**
3938
 * @method string getNodeInstanceId()
3939
 * @method $this withNodeInstanceId($value)
3940
 * @method string getPageNumber()
3941
 * @method $this withPageNumber($value)
3942
 * @method string getPageSize()
3943
 * @method $this withPageSize($value)
3944
 * @method string getProjectId()
3945
 * @method $this withProjectId($value)
3946
 */
3947
class ListFlowNodeInstanceContainerStatus extends Rpc
3948
{
3949
}
3950
3951
/**
3952
 * @method string getOffset()
3953
 * @method $this withOffset($value)
3954
 * @method string getLength()
3955
 * @method $this withLength($value)
3956
 * @method string getSqlIndex()
3957
 * @method $this withSqlIndex($value)
3958
 * @method string getNodeInstanceId()
3959
 * @method $this withNodeInstanceId($value)
3960
 * @method string getProjectId()
3961
 * @method $this withProjectId($value)
3962
 */
3963
class ListFlowNodeSqlResult extends Rpc
3964
{
3965
}
3966
3967
/**
3968
 * @method string getPageNumber()
3969
 * @method $this withPageNumber($value)
3970
 * @method string getProductType()
3971
 * @method $this withProductType($value)
3972
 * @method string getResourceGroupId()
3973
 * @method $this withResourceGroupId($value)
3974
 * @method string getName()
3975
 * @method $this withName($value)
3976
 * @method string getPageSize()
3977
 * @method $this withPageSize($value)
3978
 * @method string getProjectId()
3979
 * @method $this withProjectId($value)
3980
 */
3981
class ListFlowProject extends Rpc
3982
{
3983
}
3984
3985
/**
3986
 * @method string getPageNumber()
3987
 * @method $this withPageNumber($value)
3988
 * @method string getPageSize()
3989
 * @method $this withPageSize($value)
3990
 * @method string getProjectId()
3991
 * @method $this withProjectId($value)
3992
 */
3993
class ListFlowProjectClusterSetting extends Rpc
3994
{
3995
}
3996
3997
/**
3998
 * @method string getPageNumber()
3999
 * @method $this withPageNumber($value)
4000
 * @method string getPageSize()
4001
 * @method $this withPageSize($value)
4002
 * @method string getProjectId()
4003
 * @method $this withProjectId($value)
4004
 */
4005
class ListFlowProjectUser extends Rpc
4006
{
4007
}
4008
4009
/**
4010
 * @method string getResourceOwnerId()
4011
 * @method $this withResourceOwnerId($value)
4012
 * @method string getIsDesc()
4013
 * @method $this withIsDesc($value)
4014
 * @method string getPageNumber()
4015
 * @method $this withPageNumber($value)
4016
 * @method string getExecutionPlanInstanceId()
4017
 * @method $this withExecutionPlanInstanceId($value)
4018
 * @method string getPageSize()
4019
 * @method $this withPageSize($value)
4020
 */
4021
class ListJobExecutionInstances extends Rpc
4022
{
4023
}
4024
4025
/**
4026
 * @method string getResourceOwnerId()
4027
 * @method $this withResourceOwnerId($value)
4028
 * @method string getJobInstanceId()
4029
 * @method $this withJobInstanceId($value)
4030
 */
4031
class ListJobInstanceWorkers extends Rpc
4032
{
4033
}
4034
4035
/**
4036
 * @method string getResourceOwnerId()
4037
 * @method $this withResourceOwnerId($value)
4038
 * @method string getQueryString()
4039
 * @method $this withQueryString($value)
4040
 * @method string getIsDesc()
4041
 * @method $this withIsDesc($value)
4042
 * @method string getPageNumber()
4043
 * @method $this withPageNumber($value)
4044
 * @method string getResourceGroupId()
4045
 * @method $this withResourceGroupId($value)
4046
 * @method string getPageSize()
4047
 * @method $this withPageSize($value)
4048
 * @method string getQueryType()
4049
 * @method $this withQueryType($value)
4050
 */
4051
class ListJobs extends Rpc
4052
{
4053
}
4054
4055
/**
4056
 * @method string getResourceOwnerId()
4057
 * @method $this withResourceOwnerId($value)
4058
 * @method string getPageCount()
4059
 * @method $this withPageCount($value)
4060
 * @method string getOrderMode()
4061
 * @method $this withOrderMode($value)
4062
 * @method string getClusterBizId()
4063
 * @method $this withClusterBizId($value)
4064
 * @method string getPageNumber()
4065
 * @method $this withPageNumber($value)
4066
 * @method string getLimit()
4067
 * @method $this withLimit($value)
4068
 * @method string getPageSize()
4069
 * @method $this withPageSize($value)
4070
 * @method string getCurrentSize()
4071
 * @method $this withCurrentSize($value)
4072
 * @method string getOrderField()
4073
 * @method $this withOrderField($value)
4074
 */
4075
class ListLibraries extends Rpc
4076
{
4077
}
4078
4079
/**
4080
 * @method string getResourceOwnerId()
4081
 * @method $this withResourceOwnerId($value)
4082
 * @method string getPageCount()
4083
 * @method $this withPageCount($value)
4084
 * @method string getOrderMode()
4085
 * @method $this withOrderMode($value)
4086
 * @method string getClusterBizId()
4087
 * @method $this withClusterBizId($value)
4088
 * @method string getPageNumber()
4089
 * @method $this withPageNumber($value)
4090
 * @method string getLimit()
4091
 * @method $this withLimit($value)
4092
 * @method string getPageSize()
4093
 * @method $this withPageSize($value)
4094
 * @method string getCurrentSize()
4095
 * @method $this withCurrentSize($value)
4096
 * @method string getOrderField()
4097
 * @method $this withOrderField($value)
4098
 * @method string getLibraryBizId()
4099
 * @method $this withLibraryBizId($value)
4100
 */
4101
class ListLibraryInstallTasks extends Rpc
4102
{
4103
}
4104
4105
/**
4106
 * @method string getResourceOwnerId()
4107
 * @method $this withResourceOwnerId($value)
4108
 * @method string getPageCount()
4109
 * @method $this withPageCount($value)
4110
 * @method string getOrderMode()
4111
 * @method $this withOrderMode($value)
4112
 * @method string getClusterBizId()
4113
 * @method $this withClusterBizId($value)
4114
 * @method string getPageNumber()
4115
 * @method $this withPageNumber($value)
4116
 * @method string getLimit()
4117
 * @method $this withLimit($value)
4118
 * @method string getPageSize()
4119
 * @method $this withPageSize($value)
4120
 * @method string getCurrentSize()
4121
 * @method $this withCurrentSize($value)
4122
 * @method string getOrderField()
4123
 * @method $this withOrderField($value)
4124
 * @method string getLibraryBizId()
4125
 * @method $this withLibraryBizId($value)
4126
 */
4127
class ListLibraryStatus extends Rpc
4128
{
4129
}
4130
4131
/**
4132
 * @method string getResourceOwnerId()
4133
 * @method $this withResourceOwnerId($value)
4134
 * @method string getPageNumber()
4135
 * @method $this withPageNumber($value)
4136
 * @method string getPageSize()
4137
 * @method $this withPageSize($value)
4138
 * @method string getSourceType()
4139
 * @method $this withSourceType($value)
4140
 */
4141
class ListMetaCluster extends Rpc
4142
{
4143
}
4144
4145
/**
4146
 * @method string getResourceOwnerId()
4147
 * @method $this withResourceOwnerId($value)
4148
 * @method array getClusterId()
4149
 * @method string getUserId()
4150
 * @method $this withUserId($value)
4151
 * @method string getPageNumber()
4152
 * @method $this withPageNumber($value)
4153
 * @method array getDataSourceId()
4154
 * @method string getPageSize()
4155
 * @method $this withPageSize($value)
4156
 */
4157
class ListMetaDataSourceClusterForOuter extends Rpc
4158
{
4159
4160
    /**
4161
     * @param array $clusterId
4162
     *
4163
     * @return $this
4164
     */
4165
	public function withClusterId(array $clusterId)
4166
	{
4167
	    $this->data['ClusterId'] = $clusterId;
4168
		foreach ($clusterId as $i => $iValue) {
4169
			$this->options['query']['ClusterId.' . ($i + 1)] = $iValue;
4170
		}
4171
4172
		return $this;
4173
    }
4174
4175
    /**
4176
     * @param array $dataSourceId
4177
     *
4178
     * @return $this
4179
     */
4180
	public function withDataSourceId(array $dataSourceId)
4181
	{
4182
	    $this->data['DataSourceId'] = $dataSourceId;
4183
		foreach ($dataSourceId as $i => $iValue) {
4184
			$this->options['query']['DataSourceId.' . ($i + 1)] = $iValue;
4185
		}
4186
4187
		return $this;
4188
    }
4189
}
4190
4191
/**
4192
 * @method string getResourceOwnerId()
4193
 * @method $this withResourceOwnerId($value)
4194
 * @method string getResourceGroupId()
4195
 * @method $this withResourceGroupId($value)
4196
 */
4197
class ListNotes extends Rpc
4198
{
4199
}
4200
4201
/**
4202
 * @method string getResourceOwnerId()
4203
 * @method $this withResourceOwnerId($value)
4204
 * @method string getClusterId()
4205
 * @method $this withClusterId($value)
4206
 * @method string getPageNumber()
4207
 * @method $this withPageNumber($value)
4208
 * @method string getPageSize()
4209
 * @method $this withPageSize($value)
4210
 * @method string getPoolType()
4211
 * @method $this withPoolType($value)
4212
 */
4213
class ListResourcePool extends Rpc
4214
{
4215
}
4216
4217
/**
4218
 * @method string getResourceOwnerId()
4219
 * @method $this withResourceOwnerId($value)
4220
 * @method string getResourceType()
4221
 * @method $this withResourceType($value)
4222
 */
4223
class ListRoles extends Rpc
4224
{
4225
}
4226
4227
/**
4228
 * @method string getResourceOwnerId()
4229
 * @method $this withResourceOwnerId($value)
4230
 * @method string getPageCount()
4231
 * @method $this withPageCount($value)
4232
 * @method string getOrderMode()
4233
 * @method $this withOrderMode($value)
4234
 * @method string getClusterBizId()
4235
 * @method $this withClusterBizId($value)
4236
 * @method string getPageNumber()
4237
 * @method $this withPageNumber($value)
4238
 * @method string getHostGroupName()
4239
 * @method $this withHostGroupName($value)
4240
 * @method string getScalingGroupBizId()
4241
 * @method $this withScalingGroupBizId($value)
4242
 * @method string getScalingRuleName()
4243
 * @method $this withScalingRuleName($value)
4244
 * @method string getResourceGroupId()
4245
 * @method $this withResourceGroupId($value)
4246
 * @method string getLimit()
4247
 * @method $this withLimit($value)
4248
 * @method string getPageSize()
4249
 * @method $this withPageSize($value)
4250
 * @method string getCurrentSize()
4251
 * @method $this withCurrentSize($value)
4252
 * @method string getOrderField()
4253
 * @method $this withOrderField($value)
4254
 * @method string getHostGroupId()
4255
 * @method $this withHostGroupId($value)
4256
 * @method string getStatus()
4257
 * @method $this withStatus($value)
4258
 */
4259
class ListScalingActivityV2 extends Rpc
4260
{
4261
}
4262
4263
/**
4264
 * @method string getResourceOwnerId()
4265
 * @method $this withResourceOwnerId($value)
4266
 * @method string getPageCount()
4267
 * @method $this withPageCount($value)
4268
 * @method string getOrderMode()
4269
 * @method $this withOrderMode($value)
4270
 * @method string getPageNumber()
4271
 * @method $this withPageNumber($value)
4272
 * @method string getScalingGroupBizId()
4273
 * @method $this withScalingGroupBizId($value)
4274
 * @method string getResourceGroupId()
4275
 * @method $this withResourceGroupId($value)
4276
 * @method string getLimit()
4277
 * @method $this withLimit($value)
4278
 * @method string getPageSize()
4279
 * @method $this withPageSize($value)
4280
 * @method string getCurrentSize()
4281
 * @method $this withCurrentSize($value)
4282
 * @method string getOrderField()
4283
 * @method $this withOrderField($value)
4284
 * @method string getConfigItemType()
4285
 * @method $this withConfigItemType($value)
4286
 */
4287
class ListScalingConfigItemV2 extends Rpc
4288
{
4289
}
4290
4291
/**
4292
 * @method string getResourceOwnerId()
4293
 * @method $this withResourceOwnerId($value)
4294
 * @method string getPageCount()
4295
 * @method $this withPageCount($value)
4296
 * @method string getOrderMode()
4297
 * @method $this withOrderMode($value)
4298
 * @method string getClusterBizId()
4299
 * @method $this withClusterBizId($value)
4300
 * @method string getPageNumber()
4301
 * @method $this withPageNumber($value)
4302
 * @method string getResourceGroupId()
4303
 * @method $this withResourceGroupId($value)
4304
 * @method string getLimit()
4305
 * @method $this withLimit($value)
4306
 * @method string getPageSize()
4307
 * @method $this withPageSize($value)
4308
 * @method string getCurrentSize()
4309
 * @method $this withCurrentSize($value)
4310
 * @method string getOrderField()
4311
 * @method $this withOrderField($value)
4312
 */
4313
class ListScalingGroupV2 extends Rpc
4314
{
4315
}
4316
4317
/**
4318
 * @method string getDepositType()
4319
 * @method $this withDepositType($value)
4320
 * @method string getProductType()
4321
 * @method $this withProductType($value)
4322
 * @method string getNetType()
4323
 * @method $this withNetType($value)
4324
 * @method string getVpcId()
4325
 * @method $this withVpcId($value)
4326
 */
4327
class ListSecurityGroup extends Rpc
4328
{
4329
}
4330
4331
/**
4332
 * @method string getResourceOwnerId()
4333
 * @method $this withResourceOwnerId($value)
4334
 * @method string getPageNumber()
4335
 * @method $this withPageNumber($value)
4336
 * @method string getPageSize()
4337
 * @method $this withPageSize($value)
4338
 * @method string getStackName()
4339
 * @method $this withStackName($value)
4340
 * @method string getStackVersion()
4341
 * @method $this withStackVersion($value)
4342
 */
4343
class ListStack extends Rpc
4344
{
4345
}
4346
4347
/**
4348
 * @method string getResourceOwnerId()
4349
 * @method $this withResourceOwnerId($value)
4350
 * @method string getResourceType()
4351
 * @method $this withResourceType($value)
4352
 * @method string getNextToken()
4353
 * @method $this withNextToken($value)
4354
 * @method string getScope()
4355
 * @method $this withScope($value)
4356
 * @method string getPageSize()
4357
 * @method $this withPageSize($value)
4358
 * @method string getCategory()
4359
 * @method $this withCategory($value)
4360
 */
4361
class ListTagKeys extends Rpc
4362
{
4363
}
4364
4365
/**
4366
 * @method string getResourceOwnerId()
4367
 * @method $this withResourceOwnerId($value)
4368
 * @method array getResourceId()
4369
 * @method string getResourceType()
4370
 * @method $this withResourceType($value)
4371
 * @method string getNextToken()
4372
 * @method $this withNextToken($value)
4373
 * @method array getTag()
4374
 */
4375
class ListTagResources extends Rpc
4376
{
4377
4378
    /**
4379
     * @param array $resourceId
4380
     *
4381
     * @return $this
4382
     */
4383
	public function withResourceId(array $resourceId)
4384
	{
4385
	    $this->data['ResourceId'] = $resourceId;
4386
		foreach ($resourceId as $i => $iValue) {
4387
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
4388
		}
4389
4390
		return $this;
4391
    }
4392
4393
    /**
4394
     * @param array $tag
4395
     *
4396
     * @return $this
4397
     */
4398
	public function withTag(array $tag)
4399
	{
4400
	    $this->data['Tag'] = $tag;
4401
		foreach ($tag as $depth1 => $depth1Value) {
4402
			if(isset($depth1Value['Key'])){
4403
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
4404
			}
4405
			if(isset($depth1Value['Value'])){
4406
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
4407
			}
4408
		}
4409
4410
		return $this;
4411
    }
4412
}
4413
4414
/**
4415
 * @method string getResourceOwnerId()
4416
 * @method $this withResourceOwnerId($value)
4417
 * @method string getResourceType()
4418
 * @method $this withResourceType($value)
4419
 * @method string getNextToken()
4420
 * @method $this withNextToken($value)
4421
 * @method string getScope()
4422
 * @method $this withScope($value)
4423
 * @method string getPageSize()
4424
 * @method $this withPageSize($value)
4425
 * @method string getKey()
4426
 * @method $this withKey($value)
4427
 */
4428
class ListTagValues extends Rpc
4429
{
4430
}
4431
4432
/**
4433
 * @method string getResourceOwnerId()
4434
 * @method $this withResourceOwnerId($value)
4435
 * @method string getClusterId()
4436
 * @method $this withClusterId($value)
4437
 * @method string getType()
4438
 * @method $this withType($value)
4439
 */
4440
class ListUsers extends Rpc
4441
{
4442
}
4443
4444
/**
4445
 * @method string getDepositType()
4446
 * @method $this withDepositType($value)
4447
 * @method string getProductType()
4448
 * @method $this withProductType($value)
4449
 * @method string getVpcId()
4450
 * @method $this withVpcId($value)
4451
 * @method string getZoneId()
4452
 * @method $this withZoneId($value)
4453
 */
4454
class ListVswitch extends Rpc
4455
{
4456
}
4457
4458
/**
4459
 * @method string getResourceOwnerId()
4460
 * @method $this withResourceOwnerId($value)
4461
 * @method string getClusterId()
4462
 * @method $this withClusterId($value)
4463
 * @method array getBootstrapAction()
4464
 * @method string getId()
4465
 * @method $this withId($value)
4466
 */
4467
class ModifyClusterBootstrapAction extends Rpc
4468
{
4469
4470
    /**
4471
     * @param array $bootstrapAction
4472
     *
4473
     * @return $this
4474
     */
4475
	public function withBootstrapAction(array $bootstrapAction)
4476
	{
4477
	    $this->data['BootstrapAction'] = $bootstrapAction;
4478
		foreach ($bootstrapAction as $depth1 => $depth1Value) {
4479
			if(isset($depth1Value['Path'])){
4480
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
4481
			}
4482
			if(isset($depth1Value['ExecutionTarget'])){
4483
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget'];
4484
			}
4485
			if(isset($depth1Value['ExecutionMoment'])){
4486
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment'];
4487
			}
4488
			if(isset($depth1Value['Arg'])){
4489
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
4490
			}
4491
			if(isset($depth1Value['Name'])){
4492
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
4493
			}
4494
			if(isset($depth1Value['ExecutionFailStrategy'])){
4495
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy'];
4496
			}
4497
		}
4498
4499
		return $this;
4500
    }
4501
}
4502
4503
/**
4504
 * @method string getResourceOwnerId()
4505
 * @method $this withResourceOwnerId($value)
4506
 * @method string getSecurityGroupId()
4507
 * @method $this withSecurityGroupId($value)
4508
 * @method string getClusterId()
4509
 * @method $this withClusterId($value)
4510
 * @method string getHostGroupName()
4511
 * @method $this withHostGroupName($value)
4512
 * @method string getVswitchId()
4513
 * @method $this withVswitchId($value)
4514
 * @method string getHostGroupId()
4515
 * @method $this withHostGroupId($value)
4516
 * @method string getComment()
4517
 * @method $this withComment($value)
4518
 */
4519
class ModifyClusterHostGroup extends Rpc
4520
{
4521
}
4522
4523
/**
4524
 * @method string getResourceOwnerId()
4525
 * @method $this withResourceOwnerId($value)
4526
 * @method string getClusterId()
4527
 * @method $this withClusterId($value)
4528
 * @method string getSwitchOn()
4529
 * @method $this withSwitchOn($value)
4530
 */
4531
class ModifyClusterMetaCollect extends Rpc
4532
{
4533
}
4534
4535
/**
4536
 * @method string getResourceOwnerId()
4537
 * @method $this withResourceOwnerId($value)
4538
 * @method string getName()
4539
 * @method $this withName($value)
4540
 * @method string getId()
4541
 * @method $this withId($value)
4542
 */
4543
class ModifyClusterName extends Rpc
4544
{
4545
}
4546
4547
/**
4548
 * @method string getNicType()
4549
 * @method $this withNicType($value)
4550
 * @method string getResourceOwnerId()
4551
 * @method $this withResourceOwnerId($value)
4552
 * @method string getPortRange()
4553
 * @method $this withPortRange($value)
4554
 * @method string getIpProtocol()
4555
 * @method $this withIpProtocol($value)
4556
 * @method string getClusterId()
4557
 * @method $this withClusterId($value)
4558
 * @method string getWhiteIp()
4559
 * @method $this withWhiteIp($value)
4560
 * @method string getModifyType()
4561
 * @method $this withModifyType($value)
4562
 */
4563
class ModifyClusterSecurityGroupRule extends Rpc
4564
{
4565
}
4566
4567
/**
4568
 * @method string getRefreshHostConfig()
4569
 * @method $this withRefreshHostConfig($value)
4570
 * @method string getResourceOwnerId()
4571
 * @method $this withResourceOwnerId($value)
4572
 * @method string getHostInstanceId()
4573
 * @method $this withHostInstanceId($value)
4574
 * @method string getServiceName()
4575
 * @method $this withServiceName($value)
4576
 * @method array getGatewayClusterIdList()
4577
 * @method string getConfigParams()
4578
 * @method $this withConfigParams($value)
4579
 * @method string getConfigType()
4580
 * @method $this withConfigType($value)
4581
 * @method string getGroupId()
4582
 * @method $this withGroupId($value)
4583
 * @method string getClusterId()
4584
 * @method $this withClusterId($value)
4585
 * @method string getCustomConfigParams()
4586
 * @method $this withCustomConfigParams($value)
4587
 * @method string getComment()
4588
 * @method $this withComment($value)
4589
 */
4590
class ModifyClusterServiceConfig extends Rpc
4591
{
4592
4593
    /**
4594
     * @param array $gatewayClusterIdList
4595
     *
4596
     * @return $this
4597
     */
4598
	public function withGatewayClusterIdList(array $gatewayClusterIdList)
4599
	{
4600
	    $this->data['GatewayClusterIdList'] = $gatewayClusterIdList;
4601
		foreach ($gatewayClusterIdList as $i => $iValue) {
4602
			$this->options['query']['GatewayClusterIdList.' . ($i + 1)] = $iValue;
4603
		}
4604
4605
		return $this;
4606
    }
4607
}
4608
4609
/**
4610
 * @method string getResourceOwnerId()
4611
 * @method $this withResourceOwnerId($value)
4612
 * @method string getLogPath()
4613
 * @method $this withLogPath($value)
4614
 * @method string getMasterPwd()
4615
 * @method $this withMasterPwd($value)
4616
 * @method string getConfigurations()
4617
 * @method $this withConfigurations($value)
4618
 * @method string getSshEnable()
4619
 * @method $this withSshEnable($value)
4620
 * @method string getKeyPairName()
4621
 * @method $this withKeyPairName($value)
4622
 * @method string getMetaStoreType()
4623
 * @method $this withMetaStoreType($value)
4624
 * @method string getSecurityGroupName()
4625
 * @method $this withSecurityGroupName($value)
4626
 * @method string getMachineType()
4627
 * @method $this withMachineType($value)
4628
 * @method string getResourceGroupId()
4629
 * @method $this withResourceGroupId($value)
4630
 * @method array getBootstrapAction()
4631
 * @method string getMetaStoreConf()
4632
 * @method $this withMetaStoreConf($value)
4633
 * @method string getEmrVer()
4634
 * @method $this withEmrVer($value)
4635
 * @method array getTag()
4636
 * @method string getIsOpenPublicIp()
4637
 * @method $this withIsOpenPublicIp($value)
4638
 * @method string getPeriod()
4639
 * @method $this withPeriod($value)
4640
 * @method string getInstanceGeneration()
4641
 * @method $this withInstanceGeneration($value)
4642
 * @method string getVSwitchId()
4643
 * @method $this withVSwitchId($value)
4644
 * @method string getClusterType()
4645
 * @method $this withClusterType($value)
4646
 * @method string getAutoRenew()
4647
 * @method $this withAutoRenew($value)
4648
 * @method array getOptionSoftWareList()
4649
 * @method string getNetType()
4650
 * @method $this withNetType($value)
4651
 * @method string getZoneId()
4652
 * @method $this withZoneId($value)
4653
 * @method string getUseCustomHiveMetaDb()
4654
 * @method $this withUseCustomHiveMetaDb($value)
4655
 * @method string getInitCustomHiveMetaDb()
4656
 * @method $this withInitCustomHiveMetaDb($value)
4657
 * @method string getIoOptimized()
4658
 * @method $this withIoOptimized($value)
4659
 * @method string getSecurityGroupId()
4660
 * @method $this withSecurityGroupId($value)
4661
 * @method string getEasEnable()
4662
 * @method $this withEasEnable($value)
4663
 * @method string getDepositType()
4664
 * @method $this withDepositType($value)
4665
 * @method string getUseLocalMetaDb()
4666
 * @method $this withUseLocalMetaDb($value)
4667
 * @method string getTemplateName()
4668
 * @method $this withTemplateName($value)
4669
 * @method string getUserDefinedEmrEcsRole()
4670
 * @method $this withUserDefinedEmrEcsRole($value)
4671
 * @method string getVpcId()
4672
 * @method $this withVpcId($value)
4673
 * @method string getBizId()
4674
 * @method $this withBizId($value)
4675
 * @method array getHostGroup()
4676
 * @method string getChargeType()
4677
 * @method $this withChargeType($value)
4678
 * @method array getConfig()
4679
 * @method string getHighAvailabilityEnable()
4680
 * @method $this withHighAvailabilityEnable($value)
4681
 */
4682
class ModifyClusterTemplate extends Rpc
4683
{
4684
4685
    /**
4686
     * @param array $bootstrapAction
4687
     *
4688
     * @return $this
4689
     */
4690
	public function withBootstrapAction(array $bootstrapAction)
4691
	{
4692
	    $this->data['BootstrapAction'] = $bootstrapAction;
4693
		foreach ($bootstrapAction as $depth1 => $depth1Value) {
4694
			if(isset($depth1Value['Path'])){
4695
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
4696
			}
4697
			if(isset($depth1Value['ExecutionTarget'])){
4698
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget'];
4699
			}
4700
			if(isset($depth1Value['ExecutionMoment'])){
4701
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment'];
4702
			}
4703
			if(isset($depth1Value['Arg'])){
4704
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
4705
			}
4706
			if(isset($depth1Value['Name'])){
4707
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
4708
			}
4709
			if(isset($depth1Value['ExecutionFailStrategy'])){
4710
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy'];
4711
			}
4712
		}
4713
4714
		return $this;
4715
    }
4716
4717
    /**
4718
     * @param array $tag
4719
     *
4720
     * @return $this
4721
     */
4722
	public function withTag(array $tag)
4723
	{
4724
	    $this->data['Tag'] = $tag;
4725
		foreach ($tag as $depth1 => $depth1Value) {
4726
			if(isset($depth1Value['Value'])){
4727
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
4728
			}
4729
			if(isset($depth1Value['Key'])){
4730
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
4731
			}
4732
		}
4733
4734
		return $this;
4735
    }
4736
4737
    /**
4738
     * @param array $optionSoftWareList
4739
     *
4740
     * @return $this
4741
     */
4742
	public function withOptionSoftWareList(array $optionSoftWareList)
4743
	{
4744
	    $this->data['OptionSoftWareList'] = $optionSoftWareList;
4745
		foreach ($optionSoftWareList as $i => $iValue) {
4746
			$this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
4747
		}
4748
4749
		return $this;
4750
    }
4751
4752
    /**
4753
     * @param array $hostGroup
4754
     *
4755
     * @return $this
4756
     */
4757
	public function withHostGroup(array $hostGroup)
4758
	{
4759
	    $this->data['HostGroup'] = $hostGroup;
4760
		foreach ($hostGroup as $depth1 => $depth1Value) {
4761
			if(isset($depth1Value['Period'])){
4762
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
4763
			}
4764
			if(isset($depth1Value['SysDiskCapacity'])){
4765
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity'];
4766
			}
4767
			if(isset($depth1Value['DiskCapacity'])){
4768
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
4769
			}
4770
			if(isset($depth1Value['SysDiskType'])){
4771
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType'];
4772
			}
4773
			if(isset($depth1Value['ClusterId'])){
4774
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId'];
4775
			}
4776
			if(isset($depth1Value['DiskType'])){
4777
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
4778
			}
4779
			if(isset($depth1Value['HostGroupName'])){
4780
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
4781
			}
4782
			if(isset($depth1Value['VSwitchId'])){
4783
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
4784
			}
4785
			if(isset($depth1Value['DiskCount'])){
4786
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
4787
			}
4788
			if(isset($depth1Value['AutoRenew'])){
4789
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew'];
4790
			}
4791
			if(isset($depth1Value['HostGroupId'])){
4792
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId'];
4793
			}
4794
			if(isset($depth1Value['NodeCount'])){
4795
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
4796
			}
4797
			if(isset($depth1Value['InstanceType'])){
4798
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
4799
			}
4800
			if(isset($depth1Value['Comment'])){
4801
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
4802
			}
4803
			if(isset($depth1Value['ChargeType'])){
4804
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType'];
4805
			}
4806
			if(isset($depth1Value['MultiInstanceTypes'])){
4807
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.MultiInstanceTypes'] = $depth1Value['MultiInstanceTypes'];
4808
			}
4809
			if(isset($depth1Value['CreateType'])){
4810
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType'];
4811
			}
4812
			if(isset($depth1Value['HostGroupType'])){
4813
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType'];
4814
			}
4815
		}
4816
4817
		return $this;
4818
    }
4819
4820
    /**
4821
     * @param array $config
4822
     *
4823
     * @return $this
4824
     */
4825
	public function withConfig(array $config)
4826
	{
4827
	    $this->data['Config'] = $config;
4828
		foreach ($config as $depth1 => $depth1Value) {
4829
			if(isset($depth1Value['ConfigKey'])){
4830
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
4831
			}
4832
			if(isset($depth1Value['FileName'])){
4833
				$this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
4834
			}
4835
			if(isset($depth1Value['Encrypt'])){
4836
				$this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
4837
			}
4838
			if(isset($depth1Value['Replace'])){
4839
				$this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
4840
			}
4841
			if(isset($depth1Value['ConfigValue'])){
4842
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
4843
			}
4844
			if(isset($depth1Value['ServiceName'])){
4845
				$this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
4846
			}
4847
		}
4848
4849
		return $this;
4850
    }
4851
}
4852
4853
/**
4854
 * @method string getResourceOwnerId()
4855
 * @method $this withResourceOwnerId($value)
4856
 * @method string getLogPath()
4857
 * @method $this withLogPath($value)
4858
 * @method string getTimeInterval()
4859
 * @method $this withTimeInterval($value)
4860
 * @method string getClusterName()
4861
 * @method $this withClusterName($value)
4862
 * @method string getConfigurations()
4863
 * @method $this withConfigurations($value)
4864
 * @method string getCreateClusterOnDemand()
4865
 * @method $this withCreateClusterOnDemand($value)
4866
 * @method string getStartTime()
4867
 * @method $this withStartTime($value)
4868
 * @method array getBootstrapAction()
4869
 * @method string getEmrVer()
4870
 * @method $this withEmrVer($value)
4871
 * @method string getId()
4872
 * @method $this withId($value)
4873
 * @method string getIsOpenPublicIp()
4874
 * @method $this withIsOpenPublicIp($value)
4875
 * @method string getExecutionPlanVersion()
4876
 * @method $this withExecutionPlanVersion($value)
4877
 * @method string getInstanceGeneration()
4878
 * @method $this withInstanceGeneration($value)
4879
 * @method string getClusterType()
4880
 * @method $this withClusterType($value)
4881
 * @method string getVSwitchId()
4882
 * @method $this withVSwitchId($value)
4883
 * @method array getOptionSoftWareList()
4884
 * @method string getNetType()
4885
 * @method $this withNetType($value)
4886
 * @method array getEcsOrder()
4887
 * @method string getName()
4888
 * @method $this withName($value)
4889
 * @method string getZoneId()
4890
 * @method $this withZoneId($value)
4891
 * @method string getUseCustomHiveMetaDB()
4892
 * @method $this withUseCustomHiveMetaDB($value)
4893
 * @method string getInitCustomHiveMetaDB()
4894
 * @method $this withInitCustomHiveMetaDB($value)
4895
 * @method string getIoOptimized()
4896
 * @method $this withIoOptimized($value)
4897
 * @method string getSecurityGroupId()
4898
 * @method $this withSecurityGroupId($value)
4899
 * @method string getEasEnable()
4900
 * @method $this withEasEnable($value)
4901
 * @method array getJobIdList()
4902
 * @method string getDayOfMonth()
4903
 * @method $this withDayOfMonth($value)
4904
 * @method string getUseLocalMetaDb()
4905
 * @method $this withUseLocalMetaDb($value)
4906
 * @method string getUserDefinedEmrEcsRole()
4907
 * @method $this withUserDefinedEmrEcsRole($value)
4908
 * @method string getClusterId()
4909
 * @method $this withClusterId($value)
4910
 * @method string getTimeUnit()
4911
 * @method $this withTimeUnit($value)
4912
 * @method string getVpcId()
4913
 * @method $this withVpcId($value)
4914
 * @method string getWorkflowDefinition()
4915
 * @method $this withWorkflowDefinition($value)
4916
 * @method string getDayOfWeek()
4917
 * @method $this withDayOfWeek($value)
4918
 * @method string getStrategy()
4919
 * @method $this withStrategy($value)
4920
 * @method array getConfig()
4921
 * @method string getHighAvailabilityEnable()
4922
 * @method $this withHighAvailabilityEnable($value)
4923
 * @method string getLogEnable()
4924
 * @method $this withLogEnable($value)
4925
 */
4926
class ModifyExecutionPlan extends Rpc
4927
{
4928
4929
    /**
4930
     * @param array $bootstrapAction
4931
     *
4932
     * @return $this
4933
     */
4934
	public function withBootstrapAction(array $bootstrapAction)
4935
	{
4936
	    $this->data['BootstrapAction'] = $bootstrapAction;
4937
		foreach ($bootstrapAction as $depth1 => $depth1Value) {
4938
			if(isset($depth1Value['Path'])){
4939
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
4940
			}
4941
			if(isset($depth1Value['ExecutionTarget'])){
4942
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget'];
4943
			}
4944
			if(isset($depth1Value['ExecutionMoment'])){
4945
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment'];
4946
			}
4947
			if(isset($depth1Value['Arg'])){
4948
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
4949
			}
4950
			if(isset($depth1Value['Name'])){
4951
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
4952
			}
4953
			if(isset($depth1Value['ExecutionFailStrategy'])){
4954
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy'];
4955
			}
4956
		}
4957
4958
		return $this;
4959
    }
4960
4961
    /**
4962
     * @param array $optionSoftWareList
4963
     *
4964
     * @return $this
4965
     */
4966
	public function withOptionSoftWareList(array $optionSoftWareList)
4967
	{
4968
	    $this->data['OptionSoftWareList'] = $optionSoftWareList;
4969
		foreach ($optionSoftWareList as $i => $iValue) {
4970
			$this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
4971
		}
4972
4973
		return $this;
4974
    }
4975
4976
    /**
4977
     * @param array $ecsOrder
4978
     *
4979
     * @return $this
4980
     */
4981
	public function withEcsOrder(array $ecsOrder)
4982
	{
4983
	    $this->data['EcsOrder'] = $ecsOrder;
4984
		foreach ($ecsOrder as $depth1 => $depth1Value) {
4985
			if(isset($depth1Value['NodeType'])){
4986
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.NodeType'] = $depth1Value['NodeType'];
4987
			}
4988
			if(isset($depth1Value['DiskCount'])){
4989
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
4990
			}
4991
			if(isset($depth1Value['NodeCount'])){
4992
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
4993
			}
4994
			if(isset($depth1Value['DiskCapacity'])){
4995
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
4996
			}
4997
			if(isset($depth1Value['Index'])){
4998
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.Index'] = $depth1Value['Index'];
4999
			}
5000
			if(isset($depth1Value['InstanceType'])){
5001
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
5002
			}
5003
			if(isset($depth1Value['DiskType'])){
5004
				$this->options['query']['EcsOrder.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
5005
			}
5006
		}
5007
5008
		return $this;
5009
    }
5010
5011
    /**
5012
     * @param array $jobIdList
5013
     *
5014
     * @return $this
5015
     */
5016
	public function withJobIdList(array $jobIdList)
5017
	{
5018
	    $this->data['JobIdList'] = $jobIdList;
5019
		foreach ($jobIdList as $i => $iValue) {
5020
			$this->options['query']['JobIdList.' . ($i + 1)] = $iValue;
5021
		}
5022
5023
		return $this;
5024
    }
5025
5026
    /**
5027
     * @param array $config
5028
     *
5029
     * @return $this
5030
     */
5031
	public function withConfig(array $config)
5032
	{
5033
	    $this->data['Config'] = $config;
5034
		foreach ($config as $depth1 => $depth1Value) {
5035
			if(isset($depth1Value['ConfigKey'])){
5036
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
5037
			}
5038
			if(isset($depth1Value['FileName'])){
5039
				$this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
5040
			}
5041
			if(isset($depth1Value['Encrypt'])){
5042
				$this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
5043
			}
5044
			if(isset($depth1Value['Replace'])){
5045
				$this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
5046
			}
5047
			if(isset($depth1Value['ConfigValue'])){
5048
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
5049
			}
5050
			if(isset($depth1Value['ServiceName'])){
5051
				$this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
5052
			}
5053
		}
5054
5055
		return $this;
5056
    }
5057
}
5058
5059
/**
5060
 * @method string getCronExpr()
5061
 * @method $this withCronExpr($value)
5062
 * @method string getPeriodic()
5063
 * @method $this withPeriodic($value)
5064
 * @method string getDescription()
5065
 * @method $this withDescription($value)
5066
 * @method string getAlertUserGroupBizId()
5067
 * @method $this withAlertUserGroupBizId($value)
5068
 * @method string getLifecycle()
5069
 * @method $this withLifecycle($value)
5070
 * @method string getHostName()
5071
 * @method $this withHostName($value)
5072
 * @method string getCreateCluster()
5073
 * @method $this withCreateCluster($value)
5074
 * @method string getEndSchedule()
5075
 * @method $this withEndSchedule($value)
5076
 * @method string getId()
5077
 * @method $this withId($value)
5078
 * @method string getAlertConf()
5079
 * @method $this withAlertConf($value)
5080
 * @method string getProjectId()
5081
 * @method $this withProjectId($value)
5082
 * @method string getParentFlowList()
5083
 * @method $this withParentFlowList($value)
5084
 * @method string getLogArchiveLocation()
5085
 * @method $this withLogArchiveLocation($value)
5086
 * @method string getAlertDingDingGroupBizId()
5087
 * @method $this withAlertDingDingGroupBizId($value)
5088
 * @method string getStartSchedule()
5089
 * @method $this withStartSchedule($value)
5090
 * @method string getClusterId()
5091
 * @method $this withClusterId($value)
5092
 * @method string getApplication()
5093
 * @method $this withApplication($value)
5094
 * @method string getName()
5095
 * @method $this withName($value)
5096
 * @method string getNamespace()
5097
 * @method $this withNamespace($value)
5098
 * @method string getStatus()
5099
 * @method $this withStatus($value)
5100
 * @method string getParentCategory()
5101
 * @method $this withParentCategory($value)
5102
 */
5103
class ModifyFlow extends Rpc
5104
{
5105
}
5106
5107
/**
5108
 * @method string getParentId()
5109
 * @method $this withParentId($value)
5110
 * @method string getName()
5111
 * @method $this withName($value)
5112
 * @method string getId()
5113
 * @method $this withId($value)
5114
 * @method string getProjectId()
5115
 * @method $this withProjectId($value)
5116
 */
5117
class ModifyFlowCategory extends Rpc
5118
{
5119
}
5120
5121
/**
5122
 * @method string getCronExpr()
5123
 * @method $this withCronExpr($value)
5124
 * @method string getPeriodic()
5125
 * @method $this withPeriodic($value)
5126
 * @method string getDescription()
5127
 * @method $this withDescription($value)
5128
 * @method string getAlertUserGroupBizId()
5129
 * @method $this withAlertUserGroupBizId($value)
5130
 * @method string getLifecycle()
5131
 * @method $this withLifecycle($value)
5132
 * @method string getHostName()
5133
 * @method $this withHostName($value)
5134
 * @method string getCreateCluster()
5135
 * @method $this withCreateCluster($value)
5136
 * @method string getEndSchedule()
5137
 * @method $this withEndSchedule($value)
5138
 * @method string getId()
5139
 * @method $this withId($value)
5140
 * @method string getAlertConf()
5141
 * @method $this withAlertConf($value)
5142
 * @method string getProjectId()
5143
 * @method $this withProjectId($value)
5144
 * @method string getParentFlowList()
5145
 * @method $this withParentFlowList($value)
5146
 * @method string getLogArchiveLocation()
5147
 * @method $this withLogArchiveLocation($value)
5148
 * @method string getAlertDingDingGroupBizId()
5149
 * @method $this withAlertDingDingGroupBizId($value)
5150
 * @method string getStartSchedule()
5151
 * @method $this withStartSchedule($value)
5152
 * @method string getClusterId()
5153
 * @method $this withClusterId($value)
5154
 * @method string getGraph()
5155
 * @method $this withGraph($value)
5156
 * @method string getName()
5157
 * @method $this withName($value)
5158
 * @method string getNamespace()
5159
 * @method $this withNamespace($value)
5160
 * @method string getStatus()
5161
 * @method $this withStatus($value)
5162
 * @method string getParentCategory()
5163
 * @method $this withParentCategory($value)
5164
 */
5165
class ModifyFlowForWeb extends Rpc
5166
{
5167
}
5168
5169
/**
5170
 * @method string getRetryPolicy()
5171
 * @method $this withRetryPolicy($value)
5172
 * @method string getRunConf()
5173
 * @method $this withRunConf($value)
5174
 * @method string getDescription()
5175
 * @method $this withDescription($value)
5176
 * @method string getParamConf()
5177
 * @method $this withParamConf($value)
5178
 * @method array getResourceList()
5179
 * @method string getFailAct()
5180
 * @method $this withFailAct($value)
5181
 * @method string getMode()
5182
 * @method $this withMode($value)
5183
 * @method string getMonitorConf()
5184
 * @method $this withMonitorConf($value)
5185
 * @method string getId()
5186
 * @method $this withId($value)
5187
 * @method string getMaxRetry()
5188
 * @method $this withMaxRetry($value)
5189
 * @method string getAlertConf()
5190
 * @method $this withAlertConf($value)
5191
 * @method string getProjectId()
5192
 * @method $this withProjectId($value)
5193
 * @method string getEnvConf()
5194
 * @method $this withEnvConf($value)
5195
 * @method string getMaxRunningTimeSec()
5196
 * @method $this withMaxRunningTimeSec($value)
5197
 * @method string getClusterId()
5198
 * @method $this withClusterId($value)
5199
 * @method string getParams()
5200
 * @method $this withParams($value)
5201
 * @method string getCustomVariables()
5202
 * @method $this withCustomVariables($value)
5203
 * @method string getRetryInterval()
5204
 * @method $this withRetryInterval($value)
5205
 * @method string getName()
5206
 * @method $this withName($value)
5207
 */
5208
class ModifyFlowJob extends Rpc
5209
{
5210
5211
    /**
5212
     * @param array $resourceList
5213
     *
5214
     * @return $this
5215
     */
5216
	public function withResourceList(array $resourceList)
5217
	{
5218
	    $this->data['ResourceList'] = $resourceList;
5219
		foreach ($resourceList as $depth1 => $depth1Value) {
5220
			if(isset($depth1Value['Path'])){
5221
				$this->options['query']['ResourceList.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
5222
			}
5223
			if(isset($depth1Value['Alias'])){
5224
				$this->options['query']['ResourceList.' . ($depth1 + 1) . '.Alias'] = $depth1Value['Alias'];
5225
			}
5226
		}
5227
5228
		return $this;
5229
    }
5230
}
5231
5232
/**
5233
 * @method string getDescription()
5234
 * @method $this withDescription($value)
5235
 * @method string getName()
5236
 * @method $this withName($value)
5237
 * @method string getProjectId()
5238
 * @method $this withProjectId($value)
5239
 */
5240
class ModifyFlowProject extends Rpc
5241
{
5242
}
5243
5244
/**
5245
 * @method array getUserList()
5246
 * @method array getHostList()
5247
 * @method string getClusterId()
5248
 * @method $this withClusterId($value)
5249
 * @method string getDefaultQueue()
5250
 * @method $this withDefaultQueue($value)
5251
 * @method string getDefaultUser()
5252
 * @method $this withDefaultUser($value)
5253
 * @method array getQueueList()
5254
 * @method string getProjectId()
5255
 * @method $this withProjectId($value)
5256
 */
5257
class ModifyFlowProjectClusterSetting extends Rpc
5258
{
5259
5260
    /**
5261
     * @param array $userList
5262
     *
5263
     * @return $this
5264
     */
5265
	public function withUserList(array $userList)
5266
	{
5267
	    $this->data['UserList'] = $userList;
5268
		foreach ($userList as $i => $iValue) {
5269
			$this->options['query']['UserList.' . ($i + 1)] = $iValue;
5270
		}
5271
5272
		return $this;
5273
    }
5274
5275
    /**
5276
     * @param array $hostList
5277
     *
5278
     * @return $this
5279
     */
5280
	public function withHostList(array $hostList)
5281
	{
5282
	    $this->data['HostList'] = $hostList;
5283
		foreach ($hostList as $i => $iValue) {
5284
			$this->options['query']['HostList.' . ($i + 1)] = $iValue;
5285
		}
5286
5287
		return $this;
5288
    }
5289
5290
    /**
5291
     * @param array $queueList
5292
     *
5293
     * @return $this
5294
     */
5295
	public function withQueueList(array $queueList)
5296
	{
5297
	    $this->data['QueueList'] = $queueList;
5298
		foreach ($queueList as $i => $iValue) {
5299
			$this->options['query']['QueueList.' . ($i + 1)] = $iValue;
5300
		}
5301
5302
		return $this;
5303
    }
5304
}
5305
5306
/**
5307
 * @method string getResourceOwnerId()
5308
 * @method $this withResourceOwnerId($value)
5309
 * @method string getType()
5310
 * @method $this withType($value)
5311
 * @method string getFailAct()
5312
 * @method $this withFailAct($value)
5313
 * @method string getRunParameter()
5314
 * @method $this withRunParameter($value)
5315
 * @method string getRetryInterval()
5316
 * @method $this withRetryInterval($value)
5317
 * @method string getResourceGroupId()
5318
 * @method $this withResourceGroupId($value)
5319
 * @method string getName()
5320
 * @method $this withName($value)
5321
 * @method string getId()
5322
 * @method $this withId($value)
5323
 * @method string getMaxRetry()
5324
 * @method $this withMaxRetry($value)
5325
 */
5326
class ModifyJob extends Rpc
5327
{
5328
}
5329
5330
/**
5331
 * @method string getResourceOwnerId()
5332
 * @method $this withResourceOwnerId($value)
5333
 * @method string getActive()
5334
 * @method $this withActive($value)
5335
 * @method string getClusterId()
5336
 * @method $this withClusterId($value)
5337
 * @method string getYarnsiteconfig()
5338
 * @method $this withYarnsiteconfig($value)
5339
 * @method string getName()
5340
 * @method $this withName($value)
5341
 * @method string getId()
5342
 * @method $this withId($value)
5343
 * @method array getConfig()
5344
 */
5345
class ModifyResourcePool extends Rpc
5346
{
5347
5348
    /**
5349
     * @param array $config
5350
     *
5351
     * @return $this
5352
     */
5353
	public function withConfig(array $config)
5354
	{
5355
	    $this->data['Config'] = $config;
5356
		foreach ($config as $depth1 => $depth1Value) {
5357
			if(isset($depth1Value['ConfigKey'])){
5358
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
5359
			}
5360
			if(isset($depth1Value['Note'])){
5361
				$this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note'];
5362
			}
5363
			if(isset($depth1Value['ConfigValue'])){
5364
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
5365
			}
5366
			if(isset($depth1Value['Id'])){
5367
				$this->options['query']['Config.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
5368
			}
5369
			if(isset($depth1Value['Category'])){
5370
				$this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
5371
			}
5372
		}
5373
5374
		return $this;
5375
    }
5376
}
5377
5378
/**
5379
 * @method string getResourceOwnerId()
5380
 * @method $this withResourceOwnerId($value)
5381
 * @method string getClusterId()
5382
 * @method $this withClusterId($value)
5383
 * @method string getSchedulerType()
5384
 * @method $this withSchedulerType($value)
5385
 */
5386
class ModifyResourcePoolSchedulerType extends Rpc
5387
{
5388
}
5389
5390
/**
5391
 * @method string getResourceOwnerId()
5392
 * @method $this withResourceOwnerId($value)
5393
 * @method string getQualifiedName()
5394
 * @method $this withQualifiedName($value)
5395
 * @method string getResourcePoolId()
5396
 * @method $this withResourcePoolId($value)
5397
 * @method string getClusterId()
5398
 * @method $this withClusterId($value)
5399
 * @method string getLeaf()
5400
 * @method $this withLeaf($value)
5401
 * @method string getParentQueueId()
5402
 * @method $this withParentQueueId($value)
5403
 * @method string getName()
5404
 * @method $this withName($value)
5405
 * @method string getId()
5406
 * @method $this withId($value)
5407
 * @method array getConfig()
5408
 */
5409
class ModifyResourceQueue extends Rpc
5410
{
5411
5412
    /**
5413
     * @param array $config
5414
     *
5415
     * @return $this
5416
     */
5417
	public function withConfig(array $config)
5418
	{
5419
	    $this->data['Config'] = $config;
5420
		foreach ($config as $depth1 => $depth1Value) {
5421
			if(isset($depth1Value['ConfigKey'])){
5422
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
5423
			}
5424
			if(isset($depth1Value['Note'])){
5425
				$this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note'];
5426
			}
5427
			if(isset($depth1Value['ConfigValue'])){
5428
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
5429
			}
5430
			if(isset($depth1Value['Id'])){
5431
				$this->options['query']['Config.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
5432
			}
5433
			if(isset($depth1Value['Category'])){
5434
				$this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
5435
			}
5436
		}
5437
5438
		return $this;
5439
    }
5440
}
5441
5442
/**
5443
 * @method string getConfigItemBizId()
5444
 * @method $this withConfigItemBizId($value)
5445
 * @method string getConfigItemType()
5446
 * @method $this withConfigItemType($value)
5447
 * @method string getResourceOwnerId()
5448
 * @method $this withResourceOwnerId($value)
5449
 * @method string getScalingGroupBizId()
5450
 * @method $this withScalingGroupBizId($value)
5451
 * @method string getResourceGroupId()
5452
 * @method $this withResourceGroupId($value)
5453
 * @method string getConfigItemInformation()
5454
 * @method $this withConfigItemInformation($value)
5455
 */
5456
class ModifyScalingConfigItemV2 extends Rpc
5457
{
5458
}
5459
5460
/**
5461
 * @method string getResourceOwnerId()
5462
 * @method $this withResourceOwnerId($value)
5463
 * @method string getDescription()
5464
 * @method $this withDescription($value)
5465
 * @method string getScalingGroupBizId()
5466
 * @method $this withScalingGroupBizId($value)
5467
 * @method string getResourceGroupId()
5468
 * @method $this withResourceGroupId($value)
5469
 * @method string getName()
5470
 * @method $this withName($value)
5471
 */
5472
class ModifyScalingGroupV2 extends Rpc
5473
{
5474
}
5475
5476
/**
5477
 * @method string getResourceOwnerId()
5478
 * @method $this withResourceOwnerId($value)
5479
 * @method string getRuleName()
5480
 * @method $this withRuleName($value)
5481
 * @method string getScalingRuleId()
5482
 * @method $this withScalingRuleId($value)
5483
 * @method string getRecurrenceEndTime()
5484
 * @method $this withRecurrenceEndTime($value)
5485
 * @method array getCloudWatchTrigger()
5486
 * @method string getTimeoutWithGrace()
5487
 * @method $this withTimeoutWithGrace($value)
5488
 * @method string getCooldown()
5489
 * @method $this withCooldown($value)
5490
 * @method string getLaunchTime()
5491
 * @method $this withLaunchTime($value)
5492
 * @method string getWithGrace()
5493
 * @method $this withWithGrace($value)
5494
 * @method string getAdjustmentValue()
5495
 * @method $this withAdjustmentValue($value)
5496
 * @method string getAdjustmentType()
5497
 * @method $this withAdjustmentType($value)
5498
 * @method string getClusterId()
5499
 * @method $this withClusterId($value)
5500
 * @method string getLaunchExpirationTime()
5501
 * @method $this withLaunchExpirationTime($value)
5502
 * @method string getRecurrenceValue()
5503
 * @method $this withRecurrenceValue($value)
5504
 * @method string getHostGroupId()
5505
 * @method $this withHostGroupId($value)
5506
 * @method array getSchedulerTrigger()
5507
 * @method string getRecurrenceType()
5508
 * @method $this withRecurrenceType($value)
5509
 */
5510
class ModifyScalingRule extends Rpc
5511
{
5512
5513
    /**
5514
     * @param array $cloudWatchTrigger
5515
     *
5516
     * @return $this
5517
     */
5518
	public function withCloudWatchTrigger(array $cloudWatchTrigger)
5519
	{
5520
	    $this->data['CloudWatchTrigger'] = $cloudWatchTrigger;
5521
		foreach ($cloudWatchTrigger as $depth1 => $depth1Value) {
5522
			if(isset($depth1Value['Period'])){
5523
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
5524
			}
5525
			if(isset($depth1Value['EvaluationCount'])){
5526
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.EvaluationCount'] = $depth1Value['EvaluationCount'];
5527
			}
5528
			if(isset($depth1Value['Threshold'])){
5529
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Threshold'] = $depth1Value['Threshold'];
5530
			}
5531
			if(isset($depth1Value['MetricName'])){
5532
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.MetricName'] = $depth1Value['MetricName'];
5533
			}
5534
			if(isset($depth1Value['ComparisonOperator'])){
5535
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.ComparisonOperator'] = $depth1Value['ComparisonOperator'];
5536
			}
5537
			if(isset($depth1Value['Statistics'])){
5538
				$this->options['query']['CloudWatchTrigger.' . ($depth1 + 1) . '.Statistics'] = $depth1Value['Statistics'];
5539
			}
5540
		}
5541
5542
		return $this;
5543
    }
5544
5545
    /**
5546
     * @param array $schedulerTrigger
5547
     *
5548
     * @return $this
5549
     */
5550
	public function withSchedulerTrigger(array $schedulerTrigger)
5551
	{
5552
	    $this->data['SchedulerTrigger'] = $schedulerTrigger;
5553
		foreach ($schedulerTrigger as $depth1 => $depth1Value) {
5554
			if(isset($depth1Value['LaunchTime'])){
5555
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.LaunchTime'] = $depth1Value['LaunchTime'];
5556
			}
5557
			if(isset($depth1Value['LaunchExpirationTime'])){
5558
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.LaunchExpirationTime'] = $depth1Value['LaunchExpirationTime'];
5559
			}
5560
			if(isset($depth1Value['RecurrenceValue'])){
5561
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceValue'] = $depth1Value['RecurrenceValue'];
5562
			}
5563
			if(isset($depth1Value['RecurrenceEndTime'])){
5564
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceEndTime'] = $depth1Value['RecurrenceEndTime'];
5565
			}
5566
			if(isset($depth1Value['RecurrenceType'])){
5567
				$this->options['query']['SchedulerTrigger.' . ($depth1 + 1) . '.RecurrenceType'] = $depth1Value['RecurrenceType'];
5568
			}
5569
		}
5570
5571
		return $this;
5572
    }
5573
}
5574
5575
/**
5576
 * @method string getResourceOwnerId()
5577
 * @method $this withResourceOwnerId($value)
5578
 * @method string getWithGrace()
5579
 * @method $this withWithGrace($value)
5580
 * @method string getClusterId()
5581
 * @method $this withClusterId($value)
5582
 * @method string getMinSize()
5583
 * @method $this withMinSize($value)
5584
 * @method string getTimeoutWithGrace()
5585
 * @method $this withTimeoutWithGrace($value)
5586
 * @method string getHostGroupId()
5587
 * @method $this withHostGroupId($value)
5588
 * @method string getActiveRuleCategory()
5589
 * @method $this withActiveRuleCategory($value)
5590
 * @method string getMaxSize()
5591
 * @method $this withMaxSize($value)
5592
 * @method string getDefaultCooldown()
5593
 * @method $this withDefaultCooldown($value)
5594
 */
5595
class ModifyScalingTaskGroup extends Rpc
5596
{
5597
}
5598
5599
/**
5600
 * @method string getCursor()
5601
 * @method $this withCursor($value)
5602
 * @method string getResourceOwnerId()
5603
 * @method $this withResourceOwnerId($value)
5604
 * @method string getClusterId()
5605
 * @method $this withClusterId($value)
5606
 * @method string getStartTimeStamp()
5607
 * @method $this withStartTimeStamp($value)
5608
 * @method string getEndTimeStamp()
5609
 * @method $this withEndTimeStamp($value)
5610
 * @method string getSize()
5611
 * @method $this withSize($value)
5612
 */
5613
class QueryAlarmHistory extends Rpc
5614
{
5615
}
5616
5617
/**
5618
 * @method string getResourceOwnerId()
5619
 * @method $this withResourceOwnerId($value)
5620
 * @method string getDescription()
5621
 * @method $this withDescription($value)
5622
 * @method string getName()
5623
 * @method $this withName($value)
5624
 * @method string getId()
5625
 * @method $this withId($value)
5626
 * @method string getCategory()
5627
 * @method $this withCategory($value)
5628
 */
5629
class QueryEntity extends Rpc
5630
{
5631
}
5632
5633
/**
5634
 * @method string getResourceOwnerId()
5635
 * @method $this withResourceOwnerId($value)
5636
 * @method string getPayload()
5637
 * @method $this withPayload($value)
5638
 */
5639
class QueryTableData extends Rpc
5640
{
5641
}
5642
5643
/**
5644
 * @method string getResourceOwnerId()
5645
 * @method $this withResourceOwnerId($value)
5646
 * @method string getTagId()
5647
 * @method $this withTagId($value)
5648
 * @method string getEntityId()
5649
 * @method $this withEntityId($value)
5650
 * @method string getEntityType()
5651
 * @method $this withEntityType($value)
5652
 */
5653
class QueryTag extends Rpc
5654
{
5655
}
5656
5657
/**
5658
 * @method string getResourceOwnerId()
5659
 * @method $this withResourceOwnerId($value)
5660
 * @method string getPayload()
5661
 * @method $this withPayload($value)
5662
 */
5663
class QueryTrendData extends Rpc
5664
{
5665
}
5666
5667
/**
5668
 * @method string getResourceOwnerId()
5669
 * @method $this withResourceOwnerId($value)
5670
 * @method string getResourcePoolId()
5671
 * @method $this withResourcePoolId($value)
5672
 * @method string getClusterId()
5673
 * @method $this withClusterId($value)
5674
 */
5675
class RefreshClusterResourcePool extends Rpc
5676
{
5677
}
5678
5679
/**
5680
 * @method string getResourceOwnerId()
5681
 * @method $this withResourceOwnerId($value)
5682
 * @method string getForceRelease()
5683
 * @method $this withForceRelease($value)
5684
 * @method string getId()
5685
 * @method $this withId($value)
5686
 */
5687
class ReleaseCluster extends Rpc
5688
{
5689
}
5690
5691
/**
5692
 * @method array getTemplateTagSet()
5693
 * @method string getResourceOwnerId()
5694
 * @method $this withResourceOwnerId($value)
5695
 */
5696
class ReleaseClusterByTemplateTagForInternal extends Rpc
5697
{
5698
5699
    /**
5700
     * @param array $templateTagSet
5701
     *
5702
     * @return $this
5703
     */
5704
	public function withTemplateTagSet(array $templateTagSet)
5705
	{
5706
	    $this->data['TemplateTagSet'] = $templateTagSet;
5707
		foreach ($templateTagSet as $i => $iValue) {
5708
			$this->options['query']['TemplateTagSet.' . ($i + 1)] = $iValue;
5709
		}
5710
5711
		return $this;
5712
    }
5713
}
5714
5715
/**
5716
 * @method string getResourceOwnerId()
5717
 * @method $this withResourceOwnerId($value)
5718
 * @method string getClusterId()
5719
 * @method $this withClusterId($value)
5720
 * @method string getHostGroupId()
5721
 * @method $this withHostGroupId($value)
5722
 * @method string getInstanceIdList()
5723
 * @method $this withInstanceIdList($value)
5724
 */
5725
class ReleaseClusterHostGroup extends Rpc
5726
{
5727
}
5728
5729
/**
5730
 * @method string getConfigItemType()
5731
 * @method $this withConfigItemType($value)
5732
 * @method string getConfigItemBizId()
5733
 * @method $this withConfigItemBizId($value)
5734
 * @method string getResourceOwnerId()
5735
 * @method $this withResourceOwnerId($value)
5736
 * @method string getScalingGroupBizId()
5737
 * @method $this withScalingGroupBizId($value)
5738
 * @method string getResourceGroupId()
5739
 * @method $this withResourceGroupId($value)
5740
 */
5741
class RemoveScalingConfigItemV2 extends Rpc
5742
{
5743
}
5744
5745
/**
5746
 * @method string getFlowInstanceId()
5747
 * @method $this withFlowInstanceId($value)
5748
 * @method string getReRunFail()
5749
 * @method $this withReRunFail($value)
5750
 * @method string getProjectId()
5751
 * @method $this withProjectId($value)
5752
 */
5753
class RerunFlow extends Rpc
5754
{
5755
}
5756
5757
/**
5758
 * @method string getIsOpenPublicIp()
5759
 * @method $this withIsOpenPublicIp($value)
5760
 * @method string getAutoPayOrder()
5761
 * @method $this withAutoPayOrder($value)
5762
 * @method string getClusterId()
5763
 * @method $this withClusterId($value)
5764
 * @method string getVswitchId()
5765
 * @method $this withVswitchId($value)
5766
 * @method array getHostComponentInfo()
5767
 * @method array getHostGroup()
5768
 * @method array getPromotionInfo()
5769
 */
5770
class ResizeClusterV2 extends Rpc
5771
{
5772
5773
    /**
5774
     * @param array $hostComponentInfo
5775
     *
5776
     * @return $this
5777
     */
5778
	public function withHostComponentInfo(array $hostComponentInfo)
5779
	{
5780
	    $this->data['HostComponentInfo'] = $hostComponentInfo;
5781
		foreach ($hostComponentInfo as $depth1 => $depth1Value) {
5782
			if(isset($depth1Value['HostName'])){
5783
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.HostName'] = $depth1Value['HostName'];
5784
			}
5785
			foreach ($depth1Value['ComponentNameList'] as $i => $iValue) {
5786
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ComponentNameList.' . ($i + 1)] = $iValue;
5787
			}
5788
			if(isset($depth1Value['ServiceName'])){
5789
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
5790
			}
5791
		}
5792
5793
		return $this;
5794
    }
5795
5796
    /**
5797
     * @param array $hostGroup
5798
     *
5799
     * @return $this
5800
     */
5801
	public function withHostGroup(array $hostGroup)
5802
	{
5803
	    $this->data['HostGroup'] = $hostGroup;
5804
		foreach ($hostGroup as $depth1 => $depth1Value) {
5805
			if(isset($depth1Value['Period'])){
5806
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
5807
			}
5808
			if(isset($depth1Value['SysDiskCapacity'])){
5809
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity'];
5810
			}
5811
			if(isset($depth1Value['HostKeyPairName'])){
5812
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostKeyPairName'] = $depth1Value['HostKeyPairName'];
5813
			}
5814
			if(isset($depth1Value['DiskCapacity'])){
5815
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
5816
			}
5817
			if(isset($depth1Value['SysDiskType'])){
5818
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType'];
5819
			}
5820
			if(isset($depth1Value['ClusterId'])){
5821
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId'];
5822
			}
5823
			if(isset($depth1Value['DiskType'])){
5824
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
5825
			}
5826
			if(isset($depth1Value['HostGroupName'])){
5827
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
5828
			}
5829
			if(isset($depth1Value['VswitchId'])){
5830
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.VswitchId'] = $depth1Value['VswitchId'];
5831
			}
5832
			if(isset($depth1Value['DiskCount'])){
5833
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
5834
			}
5835
			if(isset($depth1Value['AutoRenew'])){
5836
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew'];
5837
			}
5838
			if(isset($depth1Value['HostGroupId'])){
5839
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId'];
5840
			}
5841
			if(isset($depth1Value['NodeCount'])){
5842
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
5843
			}
5844
			if(isset($depth1Value['InstanceType'])){
5845
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
5846
			}
5847
			if(isset($depth1Value['Comment'])){
5848
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
5849
			}
5850
			if(isset($depth1Value['ChargeType'])){
5851
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType'];
5852
			}
5853
			if(isset($depth1Value['CreateType'])){
5854
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType'];
5855
			}
5856
			if(isset($depth1Value['HostPassword'])){
5857
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostPassword'] = $depth1Value['HostPassword'];
5858
			}
5859
			if(isset($depth1Value['HostGroupType'])){
5860
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType'];
5861
			}
5862
		}
5863
5864
		return $this;
5865
    }
5866
5867
    /**
5868
     * @param array $promotionInfo
5869
     *
5870
     * @return $this
5871
     */
5872
	public function withPromotionInfo(array $promotionInfo)
5873
	{
5874
	    $this->data['PromotionInfo'] = $promotionInfo;
5875
		foreach ($promotionInfo as $depth1 => $depth1Value) {
5876
			if(isset($depth1Value['PromotionOptionCode'])){
5877
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.PromotionOptionCode'] = $depth1Value['PromotionOptionCode'];
5878
			}
5879
			if(isset($depth1Value['ProductCode'])){
5880
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.ProductCode'] = $depth1Value['ProductCode'];
5881
			}
5882
			if(isset($depth1Value['PromotionOptionNo'])){
5883
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.PromotionOptionNo'] = $depth1Value['PromotionOptionNo'];
5884
			}
5885
		}
5886
5887
		return $this;
5888
    }
5889
}
5890
5891
/**
5892
 * @method string getResourceOwnerId()
5893
 * @method $this withResourceOwnerId($value)
5894
 * @method string getBackupPlanId()
5895
 * @method $this withBackupPlanId($value)
5896
 * @method string getBackupId()
5897
 * @method $this withBackupId($value)
5898
 */
5899
class RestoreBackup extends Rpc
5900
{
5901
}
5902
5903
/**
5904
 * @method string getResourceOwnerId()
5905
 * @method $this withResourceOwnerId($value)
5906
 * @method string getEntityId()
5907
 * @method $this withEntityId($value)
5908
 * @method string getRevision()
5909
 * @method $this withRevision($value)
5910
 * @method string getEntityType()
5911
 * @method $this withEntityType($value)
5912
 * @method string getOperatorId()
5913
 * @method $this withOperatorId($value)
5914
 */
5915
class RestoreFlowEntitySnapshot extends Rpc
5916
{
5917
}
5918
5919
/**
5920
 * @method string getResourceOwnerId()
5921
 * @method $this withResourceOwnerId($value)
5922
 * @method string getId()
5923
 * @method $this withId($value)
5924
 */
5925
class ResumeExecutionPlanScheduler extends Rpc
5926
{
5927
}
5928
5929
/**
5930
 * @method string getFlowInstanceId()
5931
 * @method $this withFlowInstanceId($value)
5932
 * @method string getProjectId()
5933
 * @method $this withProjectId($value)
5934
 */
5935
class ResumeFlow extends Rpc
5936
{
5937
}
5938
5939
/**
5940
 * @method string getResourceOwnerId()
5941
 * @method $this withResourceOwnerId($value)
5942
 * @method string getOperationId()
5943
 * @method $this withOperationId($value)
5944
 */
5945
class RetryOperation extends Rpc
5946
{
5947
}
5948
5949
/**
5950
 * @method array getHostGroupIdList()
5951
 * @method string getResourceOwnerId()
5952
 * @method $this withResourceOwnerId($value)
5953
 * @method string getServiceActionName()
5954
 * @method $this withServiceActionName($value)
5955
 * @method string getIsRolling()
5956
 * @method $this withIsRolling($value)
5957
 * @method string getTotlerateFailCount()
5958
 * @method $this withTotlerateFailCount($value)
5959
 * @method string getServiceName()
5960
 * @method $this withServiceName($value)
5961
 * @method string getExecuteStrategy()
5962
 * @method $this withExecuteStrategy($value)
5963
 * @method string getOnlyRestartStaleConfigNodes()
5964
 * @method $this withOnlyRestartStaleConfigNodes($value)
5965
 * @method string getNodeCountPerBatch()
5966
 * @method $this withNodeCountPerBatch($value)
5967
 * @method string getClusterId()
5968
 * @method $this withClusterId($value)
5969
 * @method string getCustomCommand()
5970
 * @method $this withCustomCommand($value)
5971
 * @method string getComponentNameList()
5972
 * @method $this withComponentNameList($value)
5973
 * @method string getComment()
5974
 * @method $this withComment($value)
5975
 * @method string getCustomParams()
5976
 * @method $this withCustomParams($value)
5977
 * @method string getInterval()
5978
 * @method $this withInterval($value)
5979
 * @method string getHostIdList()
5980
 * @method $this withHostIdList($value)
5981
 * @method string getTurnOnMaintenanceMode()
5982
 * @method $this withTurnOnMaintenanceMode($value)
5983
 */
5984
class RunClusterServiceAction extends Rpc
5985
{
5986
5987
    /**
5988
     * @param array $hostGroupIdList
5989
     *
5990
     * @return $this
5991
     */
5992
	public function withHostGroupIdList(array $hostGroupIdList)
5993
	{
5994
	    $this->data['HostGroupIdList'] = $hostGroupIdList;
5995
		foreach ($hostGroupIdList as $i => $iValue) {
5996
			$this->options['query']['HostGroupIdList.' . ($i + 1)] = $iValue;
5997
		}
5998
5999
		return $this;
6000
    }
6001
}
6002
6003
/**
6004
 * @method string getResourceOwnerId()
6005
 * @method $this withResourceOwnerId($value)
6006
 * @method string getArguments()
6007
 * @method $this withArguments($value)
6008
 * @method string getId()
6009
 * @method $this withId($value)
6010
 */
6011
class RunExecutionPlan extends Rpc
6012
{
6013
}
6014
6015
/**
6016
 * @method string getResourceOwnerId()
6017
 * @method $this withResourceOwnerId($value)
6018
 * @method string getScalingActionType()
6019
 * @method $this withScalingActionType($value)
6020
 * @method string getScalingGroupBizId()
6021
 * @method $this withScalingGroupBizId($value)
6022
 * @method string getResourceGroupId()
6023
 * @method $this withResourceGroupId($value)
6024
 * @method string getActionParam()
6025
 * @method $this withActionParam($value)
6026
 */
6027
class RunScalingActionV2 extends Rpc
6028
{
6029
}
6030
6031
/**
6032
 * @method string getResourceOwnerId()
6033
 * @method $this withResourceOwnerId($value)
6034
 * @method string getLine()
6035
 * @method $this withLine($value)
6036
 * @method string getHostName()
6037
 * @method $this withHostName($value)
6038
 * @method string getLogstoreName()
6039
 * @method $this withLogstoreName($value)
6040
 * @method string getFromTimestamp()
6041
 * @method $this withFromTimestamp($value)
6042
 * @method string getOffset()
6043
 * @method $this withOffset($value)
6044
 * @method string getClusterId()
6045
 * @method $this withClusterId($value)
6046
 * @method string getReverse()
6047
 * @method $this withReverse($value)
6048
 * @method string getHostInnerIp()
6049
 * @method $this withHostInnerIp($value)
6050
 * @method string getToTimestamp()
6051
 * @method $this withToTimestamp($value)
6052
 * @method string getSlsQueryString()
6053
 * @method $this withSlsQueryString($value)
6054
 */
6055
class SearchLog extends Rpc
6056
{
6057
}
6058
6059
/**
6060
 * @method string getFlowInstanceId()
6061
 * @method $this withFlowInstanceId($value)
6062
 * @method string getProjectId()
6063
 * @method $this withProjectId($value)
6064
 */
6065
class StartFlow extends Rpc
6066
{
6067
}
6068
6069
/**
6070
 * @method string getConf()
6071
 * @method $this withConf($value)
6072
 * @method string getProjectId()
6073
 * @method $this withProjectId($value)
6074
 * @method string getFlowId()
6075
 * @method $this withFlowId($value)
6076
 */
6077
class SubmitFlow extends Rpc
6078
{
6079
}
6080
6081
/**
6082
 * @method string getConf()
6083
 * @method $this withConf($value)
6084
 * @method string getClusterId()
6085
 * @method $this withClusterId($value)
6086
 * @method string getJobId()
6087
 * @method $this withJobId($value)
6088
 * @method string getHostName()
6089
 * @method $this withHostName($value)
6090
 * @method string getNamespace()
6091
 * @method $this withNamespace($value)
6092
 * @method string getJobInstanceId()
6093
 * @method $this withJobInstanceId($value)
6094
 * @method string getProjectId()
6095
 * @method $this withProjectId($value)
6096
 */
6097
class SubmitFlowJob extends Rpc
6098
{
6099
}
6100
6101
/**
6102
 * @method string getResourceOwnerId()
6103
 * @method $this withResourceOwnerId($value)
6104
 * @method string getId()
6105
 * @method $this withId($value)
6106
 */
6107
class SuspendExecutionPlanScheduler extends Rpc
6108
{
6109
}
6110
6111
/**
6112
 * @method string getFlowInstanceId()
6113
 * @method $this withFlowInstanceId($value)
6114
 * @method string getProjectId()
6115
 * @method $this withProjectId($value)
6116
 */
6117
class SuspendFlow extends Rpc
6118
{
6119
}
6120
6121
/**
6122
 * @method string getResourceOwnerId()
6123
 * @method $this withResourceOwnerId($value)
6124
 * @method array getResourceId()
6125
 * @method string getResourceType()
6126
 * @method $this withResourceType($value)
6127
 * @method array getTag()
6128
 */
6129
class TagResources extends Rpc
6130
{
6131
6132
    /**
6133
     * @param array $resourceId
6134
     *
6135
     * @return $this
6136
     */
6137
	public function withResourceId(array $resourceId)
6138
	{
6139
	    $this->data['ResourceId'] = $resourceId;
6140
		foreach ($resourceId as $i => $iValue) {
6141
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
6142
		}
6143
6144
		return $this;
6145
    }
6146
6147
    /**
6148
     * @param array $tag
6149
     *
6150
     * @return $this
6151
     */
6152
	public function withTag(array $tag)
6153
	{
6154
	    $this->data['Tag'] = $tag;
6155
		foreach ($tag as $depth1 => $depth1Value) {
6156
			if(isset($depth1Value['Key'])){
6157
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
6158
			}
6159
			if(isset($depth1Value['Value'])){
6160
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
6161
			}
6162
		}
6163
6164
		return $this;
6165
    }
6166
}
6167
6168
/**
6169
 * @method string getResourceOwnerId()
6170
 * @method $this withResourceOwnerId($value)
6171
 * @method array getResourceId()
6172
 * @method string getTagOwnerUid()
6173
 * @method $this withTagOwnerUid($value)
6174
 * @method string getResourceType()
6175
 * @method $this withResourceType($value)
6176
 * @method string getScope()
6177
 * @method $this withScope($value)
6178
 * @method array getTag()
6179
 */
6180
class TagResourcesSystemTags extends Rpc
6181
{
6182
6183
    /**
6184
     * @param array $resourceId
6185
     *
6186
     * @return $this
6187
     */
6188
	public function withResourceId(array $resourceId)
6189
	{
6190
	    $this->data['ResourceId'] = $resourceId;
6191
		foreach ($resourceId as $i => $iValue) {
6192
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
6193
		}
6194
6195
		return $this;
6196
    }
6197
6198
    /**
6199
     * @param array $tag
6200
     *
6201
     * @return $this
6202
     */
6203
	public function withTag(array $tag)
6204
	{
6205
	    $this->data['Tag'] = $tag;
6206
		foreach ($tag as $depth1 => $depth1Value) {
6207
			if(isset($depth1Value['Key'])){
6208
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
6209
			}
6210
			if(isset($depth1Value['Value'])){
6211
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
6212
			}
6213
		}
6214
6215
		return $this;
6216
    }
6217
}
6218
6219
/**
6220
 * @method string getResourceOwnerId()
6221
 * @method $this withResourceOwnerId($value)
6222
 * @method string getLibraryBizId()
6223
 * @method $this withLibraryBizId($value)
6224
 * @method array getClusterBizIdList()
6225
 */
6226
class UninstallLibraries extends Rpc
6227
{
6228
6229
    /**
6230
     * @param array $clusterBizIdList
6231
     *
6232
     * @return $this
6233
     */
6234
	public function withClusterBizIdList(array $clusterBizIdList)
6235
	{
6236
	    $this->data['ClusterBizIdList'] = $clusterBizIdList;
6237
		foreach ($clusterBizIdList as $i => $iValue) {
6238
			$this->options['query']['ClusterBizIdList.' . ($i + 1)] = $iValue;
6239
		}
6240
6241
		return $this;
6242
    }
6243
}
6244
6245
/**
6246
 * @method string getAll()
6247
 * @method $this withAll($value)
6248
 * @method string getResourceOwnerId()
6249
 * @method $this withResourceOwnerId($value)
6250
 * @method array getResourceId()
6251
 * @method string getResourceType()
6252
 * @method $this withResourceType($value)
6253
 * @method array getTagKey()
6254
 */
6255
class UntagResources extends Rpc
6256
{
6257
6258
    /**
6259
     * @param array $resourceId
6260
     *
6261
     * @return $this
6262
     */
6263
	public function withResourceId(array $resourceId)
6264
	{
6265
	    $this->data['ResourceId'] = $resourceId;
6266
		foreach ($resourceId as $i => $iValue) {
6267
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
6268
		}
6269
6270
		return $this;
6271
    }
6272
6273
    /**
6274
     * @param array $tagKey
6275
     *
6276
     * @return $this
6277
     */
6278
	public function withTagKey(array $tagKey)
6279
	{
6280
	    $this->data['TagKey'] = $tagKey;
6281
		foreach ($tagKey as $i => $iValue) {
6282
			$this->options['query']['TagKey.' . ($i + 1)] = $iValue;
6283
		}
6284
6285
		return $this;
6286
    }
6287
}
6288
6289
/**
6290
 * @method string getAll()
6291
 * @method $this withAll($value)
6292
 * @method string getResourceOwnerId()
6293
 * @method $this withResourceOwnerId($value)
6294
 * @method array getResourceId()
6295
 * @method string getTagOwnerUid()
6296
 * @method $this withTagOwnerUid($value)
6297
 * @method string getResourceType()
6298
 * @method $this withResourceType($value)
6299
 * @method array getTagKey()
6300
 */
6301
class UntagResourcesSystemTags extends Rpc
6302
{
6303
6304
    /**
6305
     * @param array $resourceId
6306
     *
6307
     * @return $this
6308
     */
6309
	public function withResourceId(array $resourceId)
6310
	{
6311
	    $this->data['ResourceId'] = $resourceId;
6312
		foreach ($resourceId as $i => $iValue) {
6313
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
6314
		}
6315
6316
		return $this;
6317
    }
6318
6319
    /**
6320
     * @param array $tagKey
6321
     *
6322
     * @return $this
6323
     */
6324
	public function withTagKey(array $tagKey)
6325
	{
6326
	    $this->data['TagKey'] = $tagKey;
6327
		foreach ($tagKey as $i => $iValue) {
6328
			$this->options['query']['TagKey.' . ($i + 1)] = $iValue;
6329
		}
6330
6331
		return $this;
6332
    }
6333
}
6334
6335
/**
6336
 * @method string getResourceOwnerId()
6337
 * @method $this withResourceOwnerId($value)
6338
 * @method string getDescription()
6339
 * @method $this withDescription($value)
6340
 * @method string getConf()
6341
 * @method $this withConf($value)
6342
 * @method string getResourceGroupId()
6343
 * @method $this withResourceGroupId($value)
6344
 * @method string getName()
6345
 * @method $this withName($value)
6346
 * @method string getId()
6347
 * @method $this withId($value)
6348
 */
6349
class UpdateDataSource extends Rpc
6350
{
6351
}
6352
6353
/**
6354
 * @method string getResourceOwnerId()
6355
 * @method $this withResourceOwnerId($value)
6356
 * @method string getTaskBizId()
6357
 * @method $this withTaskBizId($value)
6358
 * @method string getStatus()
6359
 * @method $this withStatus($value)
6360
 */
6361
class UpdateLibraryInstallTaskStatus extends Rpc
6362
{
6363
}
6364
6365
/**
6366
 * @method string getResourceOwnerId()
6367
 * @method $this withResourceOwnerId($value)
6368
 * @method string getDescription()
6369
 * @method $this withDescription($value)
6370
 * @method string getName()
6371
 * @method $this withName($value)
6372
 * @method string getId()
6373
 * @method $this withId($value)
6374
 * @method string getCategory()
6375
 * @method $this withCategory($value)
6376
 */
6377
class UpdateTag extends Rpc
6378
{
6379
}
6380
6381
/**
6382
 * @method string getResourceOwnerId()
6383
 * @method $this withResourceOwnerId($value)
6384
 * @method string getUserType()
6385
 * @method $this withUserType($value)
6386
 * @method string getDescription()
6387
 * @method $this withDescription($value)
6388
 * @method array getUserAccountParamList()
6389
 * @method array getGroupIdList()
6390
 * @method array getRoleIdList()
6391
 * @method string getAliyunUserId()
6392
 * @method $this withAliyunUserId($value)
6393
 * @method string getUserName()
6394
 * @method $this withUserName($value)
6395
 * @method string getStatus()
6396
 * @method $this withStatus($value)
6397
 */
6398
class UpdateUser extends Rpc
6399
{
6400
6401
    /**
6402
     * @param array $userAccountParamList
6403
     *
6404
     * @return $this
6405
     */
6406
	public function withUserAccountParamList(array $userAccountParamList)
6407
	{
6408
	    $this->data['UserAccountParamList'] = $userAccountParamList;
6409
		foreach ($userAccountParamList as $depth1 => $depth1Value) {
6410
			if(isset($depth1Value['AccountType'])){
6411
				$this->options['query']['UserAccountParamList.' . ($depth1 + 1) . '.AccountType'] = $depth1Value['AccountType'];
6412
			}
6413
			if(isset($depth1Value['AuthType'])){
6414
				$this->options['query']['UserAccountParamList.' . ($depth1 + 1) . '.AuthType'] = $depth1Value['AuthType'];
6415
			}
6416
			if(isset($depth1Value['AccountPassword'])){
6417
				$this->options['query']['UserAccountParamList.' . ($depth1 + 1) . '.AccountPassword'] = $depth1Value['AccountPassword'];
6418
			}
6419
		}
6420
6421
		return $this;
6422
    }
6423
6424
    /**
6425
     * @param array $groupIdList
6426
     *
6427
     * @return $this
6428
     */
6429
	public function withGroupIdList(array $groupIdList)
6430
	{
6431
	    $this->data['GroupIdList'] = $groupIdList;
6432
		foreach ($groupIdList as $i => $iValue) {
6433
			$this->options['query']['GroupIdList.' . ($i + 1)] = $iValue;
6434
		}
6435
6436
		return $this;
6437
    }
6438
6439
    /**
6440
     * @param array $roleIdList
6441
     *
6442
     * @return $this
6443
     */
6444
	public function withRoleIdList(array $roleIdList)
6445
	{
6446
	    $this->data['RoleIdList'] = $roleIdList;
6447
		foreach ($roleIdList as $i => $iValue) {
6448
			$this->options['query']['RoleIdList.' . ($i + 1)] = $iValue;
6449
		}
6450
6451
		return $this;
6452
    }
6453
}
6454