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 ( 6587c5...6f6c7e )
by
unknown
06:30
created

CreateFlowProjectClusterSetting::withUserList()   A

Complexity

Conditions 2
Paths 2

Size

Total Lines 8
Code Lines 4

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 4
c 1
b 0
f 0
dl 0
loc 8
rs 10
cc 2
nc 2
nop 1
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 CloneFlow cloneFlow(array $options = [])
11
 * @method CloneFlowJob cloneFlowJob(array $options = [])
12
 * @method CreateClusterTemplate createClusterTemplate(array $options = [])
13
 * @method CreateClusterV2 createClusterV2(array $options = [])
14
 * @method CreateClusterWithTemplate createClusterWithTemplate(array $options = [])
15
 * @method CreateFlow createFlow(array $options = [])
16
 * @method CreateFlowCategory createFlowCategory(array $options = [])
17
 * @method CreateFlowForWeb createFlowForWeb(array $options = [])
18
 * @method CreateFlowJob createFlowJob(array $options = [])
19
 * @method CreateFlowProject createFlowProject(array $options = [])
20
 * @method CreateFlowProjectClusterSetting createFlowProjectClusterSetting(array $options = [])
21
 * @method CreateFlowProjectUser createFlowProjectUser(array $options = [])
22
 * @method CreateResourcePool createResourcePool(array $options = [])
23
 * @method CreateResourceQueue createResourceQueue(array $options = [])
24
 * @method CreateScalingGroupV2 createScalingGroupV2(array $options = [])
25
 * @method DeleteClusterTemplate deleteClusterTemplate(array $options = [])
26
 * @method DeleteFlow deleteFlow(array $options = [])
27
 * @method DeleteFlowCategory deleteFlowCategory(array $options = [])
28
 * @method DeleteFlowJob deleteFlowJob(array $options = [])
29
 * @method DeleteFlowProject deleteFlowProject(array $options = [])
30
 * @method DeleteFlowProjectClusterSetting deleteFlowProjectClusterSetting(array $options = [])
31
 * @method DeleteFlowProjectUser deleteFlowProjectUser(array $options = [])
32
 * @method DeleteResourcePool deleteResourcePool(array $options = [])
33
 * @method DeleteResourceQueue deleteResourceQueue(array $options = [])
34
 * @method DescribeClusterBasicInfo describeClusterBasicInfo(array $options = [])
35
 * @method DescribeClusterOperationHostTaskLog describeClusterOperationHostTaskLog(array $options = [])
36
 * @method DescribeClusterResourcePoolSchedulerType describeClusterResourcePoolSchedulerType(array $options = [])
37
 * @method DescribeClusterService describeClusterService(array $options = [])
38
 * @method DescribeClusterServiceConfig describeClusterServiceConfig(array $options = [])
39
 * @method DescribeClusterServiceConfigTag describeClusterServiceConfigTag(array $options = [])
40
 * @method DescribeClusterTemplate describeClusterTemplate(array $options = [])
41
 * @method DescribeClusterV2 describeClusterV2(array $options = [])
42
 * @method DescribeFlow describeFlow(array $options = [])
43
 * @method DescribeFlowCategory describeFlowCategory(array $options = [])
44
 * @method DescribeFlowCategoryTree describeFlowCategoryTree(array $options = [])
45
 * @method DescribeFlowInstance describeFlowInstance(array $options = [])
46
 * @method DescribeFlowJob describeFlowJob(array $options = [])
47
 * @method DescribeFlowNodeInstance describeFlowNodeInstance(array $options = [])
48
 * @method DescribeFlowNodeInstanceContainerLog describeFlowNodeInstanceContainerLog(array $options = [])
49
 * @method DescribeFlowNodeInstanceLauncherLog describeFlowNodeInstanceLauncherLog(array $options = [])
50
 * @method DescribeFlowProject describeFlowProject(array $options = [])
51
 * @method DescribeFlowProjectClusterSetting describeFlowProjectClusterSetting(array $options = [])
52
 * @method DescribeScalingCommonConfig describeScalingCommonConfig(array $options = [])
53
 * @method DescribeScalingConfigItemV2 describeScalingConfigItemV2(array $options = [])
54
 * @method DescribeScalingGroupInstanceV2 describeScalingGroupInstanceV2(array $options = [])
55
 * @method DescribeScalingGroupV2 describeScalingGroupV2(array $options = [])
56
 * @method JoinResourceGroup joinResourceGroup(array $options = [])
57
 * @method KillFlowJob killFlowJob(array $options = [])
58
 * @method ListApmApplication listApmApplication(array $options = [])
59
 * @method ListClusterHost listClusterHost(array $options = [])
60
 * @method ListClusterHostComponent listClusterHostComponent(array $options = [])
61
 * @method ListClusterHostGroup listClusterHostGroup(array $options = [])
62
 * @method ListClusterInstalledService listClusterInstalledService(array $options = [])
63
 * @method ListClusterOperation listClusterOperation(array $options = [])
64
 * @method ListClusterOperationHost listClusterOperationHost(array $options = [])
65
 * @method ListClusterOperationHostTask listClusterOperationHostTask(array $options = [])
66
 * @method ListClusterOperationTask listClusterOperationTask(array $options = [])
67
 * @method ListClusters listClusters(array $options = [])
68
 * @method ListClusterService listClusterService(array $options = [])
69
 * @method ListClusterServiceComponent listClusterServiceComponent(array $options = [])
70
 * @method ListClusterServiceComponentHealthInfo listClusterServiceComponentHealthInfo(array $options = [])
71
 * @method ListClusterServiceConfigHistory listClusterServiceConfigHistory(array $options = [])
72
 * @method ListClusterServiceQuickLink listClusterServiceQuickLink(array $options = [])
73
 * @method ListClusterTemplates listClusterTemplates(array $options = [])
74
 * @method ListEmrAvailableConfig listEmrAvailableConfig(array $options = [])
75
 * @method ListEmrAvailableResource listEmrAvailableResource(array $options = [])
76
 * @method ListEmrMainVersion listEmrMainVersion(array $options = [])
77
 * @method ListFlow listFlow(array $options = [])
78
 * @method ListFlowCategory listFlowCategory(array $options = [])
79
 * @method ListFlowCluster listFlowCluster(array $options = [])
80
 * @method ListFlowClusterAll listFlowClusterAll(array $options = [])
81
 * @method ListFlowClusterAllHosts listFlowClusterAllHosts(array $options = [])
82
 * @method ListFlowClusterHost listFlowClusterHost(array $options = [])
83
 * @method ListFlowInstance listFlowInstance(array $options = [])
84
 * @method ListFlowJob listFlowJob(array $options = [])
85
 * @method ListFlowJobHistory listFlowJobHistory(array $options = [])
86
 * @method ListFlowNodeInstance listFlowNodeInstance(array $options = [])
87
 * @method ListFlowNodeInstanceContainerStatus listFlowNodeInstanceContainerStatus(array $options = [])
88
 * @method ListFlowNodeSqlResult listFlowNodeSqlResult(array $options = [])
89
 * @method ListFlowProject listFlowProject(array $options = [])
90
 * @method ListFlowProjectClusterSetting listFlowProjectClusterSetting(array $options = [])
91
 * @method ListFlowProjectUser listFlowProjectUser(array $options = [])
92
 * @method ListResourcePool listResourcePool(array $options = [])
93
 * @method ListScalingActivityV2 listScalingActivityV2(array $options = [])
94
 * @method ListScalingConfigItemV2 listScalingConfigItemV2(array $options = [])
95
 * @method ListScalingGroupV2 listScalingGroupV2(array $options = [])
96
 * @method ListTagResources listTagResources(array $options = [])
97
 * @method ModifyClusterName modifyClusterName(array $options = [])
98
 * @method ModifyClusterServiceConfig modifyClusterServiceConfig(array $options = [])
99
 * @method ModifyClusterTemplate modifyClusterTemplate(array $options = [])
100
 * @method ModifyFlowCategory modifyFlowCategory(array $options = [])
101
 * @method ModifyFlowForWeb modifyFlowForWeb(array $options = [])
102
 * @method ModifyFlowProject modifyFlowProject(array $options = [])
103
 * @method ModifyFlowProjectClusterSetting modifyFlowProjectClusterSetting(array $options = [])
104
 * @method ModifyResourcePool modifyResourcePool(array $options = [])
105
 * @method ModifyResourcePoolSchedulerType modifyResourcePoolSchedulerType(array $options = [])
106
 * @method ModifyResourceQueue modifyResourceQueue(array $options = [])
107
 * @method ModifyScalingConfigItemV2 modifyScalingConfigItemV2(array $options = [])
108
 * @method ModifyScalingGroupV2 modifyScalingGroupV2(array $options = [])
109
 * @method RefreshClusterResourcePool refreshClusterResourcePool(array $options = [])
110
 * @method ReleaseCluster releaseCluster(array $options = [])
111
 * @method ReleaseClusterHostGroup releaseClusterHostGroup(array $options = [])
112
 * @method RemoveScalingConfigItemV2 removeScalingConfigItemV2(array $options = [])
113
 * @method RerunFlow rerunFlow(array $options = [])
114
 * @method ResizeClusterV2 resizeClusterV2(array $options = [])
115
 * @method ResumeFlow resumeFlow(array $options = [])
116
 * @method RunClusterServiceAction runClusterServiceAction(array $options = [])
117
 * @method RunScalingActionV2 runScalingActionV2(array $options = [])
118
 * @method StartFlow startFlow(array $options = [])
119
 * @method SubmitFlow submitFlow(array $options = [])
120
 * @method SubmitFlowJob submitFlowJob(array $options = [])
121
 * @method SuspendFlow suspendFlow(array $options = [])
122
 * @method TagResources tagResources(array $options = [])
123
 * @method UntagResources untagResources(array $options = [])
124
 */
125
class EmrApiResolver extends ApiResolver
126
{
127
}
128
129
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
130
{
131
    /** @var string */
132
    public $product = 'Emr';
133
134
    /** @var string */
135
    public $version = '2016-04-08';
136
137
    /** @var string */
138
    public $method = 'POST';
139
140
    /** @var string */
141
    public $serviceCode = 'emr';
142
}
143
144
/**
145
 * @method string getResourceOwnerId()
146
 * @method $this withResourceOwnerId($value)
147
 * @method string getClusterId()
148
 * @method $this withClusterId($value)
149
 * @method array getService()
150
 * @method string getComment()
151
 * @method $this withComment($value)
152
 */
153
class AddClusterService extends Rpc
154
{
155
156
    /**
157
     * @param array $service
158
     *
159
     * @return $this
160
     */
161
	public function withService(array $service)
162
	{
163
	    $this->data['Service'] = $service;
164
		foreach ($service as $depth1 => $depth1Value) {
165
			if(isset($depth1Value['ServiceVersion'])){
166
				$this->options['query']['Service.' . ($depth1 + 1) . '.ServiceVersion'] = $depth1Value['ServiceVersion'];
167
			}
168
			if(isset($depth1Value['ServiceName'])){
169
				$this->options['query']['Service.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
170
			}
171
		}
172
173
		return $this;
174
    }
175
}
176
177
/**
178
 * @method string getConfigItemType()
179
 * @method $this withConfigItemType($value)
180
 * @method string getResourceOwnerId()
181
 * @method $this withResourceOwnerId($value)
182
 * @method string getScalingGroupBizId()
183
 * @method $this withScalingGroupBizId($value)
184
 * @method string getResourceGroupId()
185
 * @method $this withResourceGroupId($value)
186
 * @method string getConfigItemInformation()
187
 * @method $this withConfigItemInformation($value)
188
 */
189
class AddScalingConfigItemV2 extends Rpc
190
{
191
}
192
193
/**
194
 * @method string getId()
195
 * @method $this withId($value)
196
 * @method string getProjectId()
197
 * @method $this withProjectId($value)
198
 */
199
class CloneFlow extends Rpc
200
{
201
}
202
203
/**
204
 * @method string getName()
205
 * @method $this withName($value)
206
 * @method string getId()
207
 * @method $this withId($value)
208
 * @method string getProjectId()
209
 * @method $this withProjectId($value)
210
 */
211
class CloneFlowJob extends Rpc
212
{
213
}
214
215
/**
216
 * @method string getResourceOwnerId()
217
 * @method $this withResourceOwnerId($value)
218
 * @method string getLogPath()
219
 * @method $this withLogPath($value)
220
 * @method string getMasterPwd()
221
 * @method $this withMasterPwd($value)
222
 * @method string getConfigurations()
223
 * @method $this withConfigurations($value)
224
 * @method string getSshEnable()
225
 * @method $this withSshEnable($value)
226
 * @method string getKeyPairName()
227
 * @method $this withKeyPairName($value)
228
 * @method string getMetaStoreType()
229
 * @method $this withMetaStoreType($value)
230
 * @method string getSecurityGroupName()
231
 * @method $this withSecurityGroupName($value)
232
 * @method string getMachineType()
233
 * @method $this withMachineType($value)
234
 * @method string getResourceGroupId()
235
 * @method $this withResourceGroupId($value)
236
 * @method array getBootstrapAction()
237
 * @method string getMetaStoreConf()
238
 * @method $this withMetaStoreConf($value)
239
 * @method string getEmrVer()
240
 * @method $this withEmrVer($value)
241
 * @method array getTag()
242
 * @method string getIsOpenPublicIp()
243
 * @method $this withIsOpenPublicIp($value)
244
 * @method string getPeriod()
245
 * @method $this withPeriod($value)
246
 * @method string getInstanceGeneration()
247
 * @method $this withInstanceGeneration($value)
248
 * @method string getVSwitchId()
249
 * @method $this withVSwitchId($value)
250
 * @method string getClusterType()
251
 * @method $this withClusterType($value)
252
 * @method string getAutoRenew()
253
 * @method $this withAutoRenew($value)
254
 * @method array getOptionSoftWareList()
255
 * @method string getNetType()
256
 * @method $this withNetType($value)
257
 * @method string getZoneId()
258
 * @method $this withZoneId($value)
259
 * @method string getUseCustomHiveMetaDb()
260
 * @method $this withUseCustomHiveMetaDb($value)
261
 * @method string getInitCustomHiveMetaDb()
262
 * @method $this withInitCustomHiveMetaDb($value)
263
 * @method string getClientToken()
264
 * @method $this withClientToken($value)
265
 * @method string getIoOptimized()
266
 * @method $this withIoOptimized($value)
267
 * @method string getSecurityGroupId()
268
 * @method $this withSecurityGroupId($value)
269
 * @method string getEasEnable()
270
 * @method $this withEasEnable($value)
271
 * @method string getDepositType()
272
 * @method $this withDepositType($value)
273
 * @method string getDataDiskKMSKeyId()
274
 * @method $this withDataDiskKMSKeyId($value)
275
 * @method string getUseLocalMetaDb()
276
 * @method $this withUseLocalMetaDb($value)
277
 * @method string getTemplateName()
278
 * @method $this withTemplateName($value)
279
 * @method string getUserDefinedEmrEcsRole()
280
 * @method $this withUserDefinedEmrEcsRole($value)
281
 * @method string getDataDiskEncrypted()
282
 * @method $this withDataDiskEncrypted($value)
283
 * @method string getVpcId()
284
 * @method $this withVpcId($value)
285
 * @method array getHostGroup()
286
 * @method array getConfig()
287
 * @method string getHighAvailabilityEnable()
288
 * @method $this withHighAvailabilityEnable($value)
289
 */
290
class CreateClusterTemplate extends Rpc
291
{
292
293
    /**
294
     * @param array $bootstrapAction
295
     *
296
     * @return $this
297
     */
298
	public function withBootstrapAction(array $bootstrapAction)
299
	{
300
	    $this->data['BootstrapAction'] = $bootstrapAction;
301
		foreach ($bootstrapAction as $depth1 => $depth1Value) {
302
			if(isset($depth1Value['Path'])){
303
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
304
			}
305
			if(isset($depth1Value['ExecutionTarget'])){
306
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget'];
307
			}
308
			if(isset($depth1Value['ExecutionMoment'])){
309
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment'];
310
			}
311
			if(isset($depth1Value['Arg'])){
312
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
313
			}
314
			if(isset($depth1Value['Name'])){
315
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
316
			}
317
			if(isset($depth1Value['ExecutionFailStrategy'])){
318
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy'];
319
			}
320
		}
321
322
		return $this;
323
    }
324
325
    /**
326
     * @param array $tag
327
     *
328
     * @return $this
329
     */
330
	public function withTag(array $tag)
331
	{
332
	    $this->data['Tag'] = $tag;
333
		foreach ($tag as $depth1 => $depth1Value) {
334
			if(isset($depth1Value['Value'])){
335
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
336
			}
337
			if(isset($depth1Value['Key'])){
338
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
339
			}
340
		}
341
342
		return $this;
343
    }
344
345
    /**
346
     * @param array $optionSoftWareList
347
     *
348
     * @return $this
349
     */
350
	public function withOptionSoftWareList(array $optionSoftWareList)
351
	{
352
	    $this->data['OptionSoftWareList'] = $optionSoftWareList;
353
		foreach ($optionSoftWareList as $i => $iValue) {
354
			$this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
355
		}
356
357
		return $this;
358
    }
359
360
    /**
361
     * @param array $hostGroup
362
     *
363
     * @return $this
364
     */
365
	public function withHostGroup(array $hostGroup)
366
	{
367
	    $this->data['HostGroup'] = $hostGroup;
368
		foreach ($hostGroup as $depth1 => $depth1Value) {
369
			if(isset($depth1Value['Period'])){
370
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
371
			}
372
			if(isset($depth1Value['SysDiskCapacity'])){
373
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity'];
374
			}
375
			if(isset($depth1Value['PrivatePoolOptionsId'])){
376
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsId'] = $depth1Value['PrivatePoolOptionsId'];
377
			}
378
			if(isset($depth1Value['DiskCapacity'])){
379
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
380
			}
381
			if(isset($depth1Value['SysDiskType'])){
382
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType'];
383
			}
384
			if(isset($depth1Value['ClusterId'])){
385
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId'];
386
			}
387
			if(isset($depth1Value['DiskType'])){
388
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
389
			}
390
			if(isset($depth1Value['HostGroupName'])){
391
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
392
			}
393
			if(isset($depth1Value['VSwitchId'])){
394
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
395
			}
396
			if(isset($depth1Value['DiskCount'])){
397
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
398
			}
399
			if(isset($depth1Value['AutoRenew'])){
400
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew'];
401
			}
402
			if(isset($depth1Value['HostGroupId'])){
403
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId'];
404
			}
405
			if(isset($depth1Value['NodeCount'])){
406
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
407
			}
408
			if(isset($depth1Value['InstanceType'])){
409
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
410
			}
411
			if(isset($depth1Value['Comment'])){
412
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
413
			}
414
			if(isset($depth1Value['ChargeType'])){
415
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType'];
416
			}
417
			if(isset($depth1Value['MultiInstanceTypes'])){
418
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.MultiInstanceTypes'] = $depth1Value['MultiInstanceTypes'];
419
			}
420
			if(isset($depth1Value['CreateType'])){
421
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType'];
422
			}
423
			if(isset($depth1Value['HostGroupType'])){
424
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType'];
425
			}
426
			if(isset($depth1Value['PrivatePoolOptionsMatchCriteria'])){
427
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsMatchCriteria'] = $depth1Value['PrivatePoolOptionsMatchCriteria'];
428
			}
429
		}
430
431
		return $this;
432
    }
433
434
    /**
435
     * @param array $config
436
     *
437
     * @return $this
438
     */
439
	public function withConfig(array $config)
440
	{
441
	    $this->data['Config'] = $config;
442
		foreach ($config as $depth1 => $depth1Value) {
443
			if(isset($depth1Value['ConfigKey'])){
444
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
445
			}
446
			if(isset($depth1Value['FileName'])){
447
				$this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
448
			}
449
			if(isset($depth1Value['Encrypt'])){
450
				$this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
451
			}
452
			if(isset($depth1Value['Replace'])){
453
				$this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
454
			}
455
			if(isset($depth1Value['ConfigValue'])){
456
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
457
			}
458
			if(isset($depth1Value['ServiceName'])){
459
				$this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
460
			}
461
		}
462
463
		return $this;
464
    }
465
}
466
467
/**
468
 * @method string getAutoPayOrder()
469
 * @method $this withAutoPayOrder($value)
470
 * @method string getResourceOwnerId()
471
 * @method $this withResourceOwnerId($value)
472
 * @method string getLogPath()
473
 * @method $this withLogPath($value)
474
 * @method string getMasterPwd()
475
 * @method $this withMasterPwd($value)
476
 * @method string getConfigurations()
477
 * @method $this withConfigurations($value)
478
 * @method string getSshEnable()
479
 * @method $this withSshEnable($value)
480
 * @method string getKeyPairName()
481
 * @method $this withKeyPairName($value)
482
 * @method string getMetaStoreType()
483
 * @method $this withMetaStoreType($value)
484
 * @method string getSecurityGroupName()
485
 * @method $this withSecurityGroupName($value)
486
 * @method string getMachineType()
487
 * @method $this withMachineType($value)
488
 * @method string getResourceGroupId()
489
 * @method $this withResourceGroupId($value)
490
 * @method array getHostComponentInfo()
491
 * @method string getClickHouseConf()
492
 * @method $this withClickHouseConf($value)
493
 * @method array getBootstrapAction()
494
 * @method string getMetaStoreConf()
495
 * @method $this withMetaStoreConf($value)
496
 * @method string getEmrVer()
497
 * @method $this withEmrVer($value)
498
 * @method array getTag()
499
 * @method string getAuthorizeContent()
500
 * @method $this withAuthorizeContent($value)
501
 * @method string getIsOpenPublicIp()
502
 * @method $this withIsOpenPublicIp($value)
503
 * @method string getPeriod()
504
 * @method $this withPeriod($value)
505
 * @method string getInstanceGeneration()
506
 * @method $this withInstanceGeneration($value)
507
 * @method string getVSwitchId()
508
 * @method $this withVSwitchId($value)
509
 * @method string getClusterType()
510
 * @method $this withClusterType($value)
511
 * @method string getExtraAttributes()
512
 * @method $this withExtraAttributes($value)
513
 * @method string getAutoRenew()
514
 * @method $this withAutoRenew($value)
515
 * @method array getOptionSoftWareList()
516
 * @method string getNetType()
517
 * @method $this withNetType($value)
518
 * @method string getName()
519
 * @method $this withName($value)
520
 * @method string getZoneId()
521
 * @method $this withZoneId($value)
522
 * @method string getUseCustomHiveMetaDB()
523
 * @method $this withUseCustomHiveMetaDB($value)
524
 * @method string getInitCustomHiveMetaDB()
525
 * @method $this withInitCustomHiveMetaDB($value)
526
 * @method string getClientToken()
527
 * @method $this withClientToken($value)
528
 * @method string getIoOptimized()
529
 * @method $this withIoOptimized($value)
530
 * @method string getSecurityGroupId()
531
 * @method $this withSecurityGroupId($value)
532
 * @method string getEasEnable()
533
 * @method $this withEasEnable($value)
534
 * @method string getDepositType()
535
 * @method $this withDepositType($value)
536
 * @method string getDataDiskKMSKeyId()
537
 * @method $this withDataDiskKMSKeyId($value)
538
 * @method string getUseLocalMetaDb()
539
 * @method $this withUseLocalMetaDb($value)
540
 * @method array getUserInfo()
541
 * @method string getUserDefinedEmrEcsRole()
542
 * @method $this withUserDefinedEmrEcsRole($value)
543
 * @method string getDataDiskEncrypted()
544
 * @method $this withDataDiskEncrypted($value)
545
 * @method string getWhiteListType()
546
 * @method $this withWhiteListType($value)
547
 * @method string getRelatedClusterId()
548
 * @method $this withRelatedClusterId($value)
549
 * @method string getVpcId()
550
 * @method $this withVpcId($value)
551
 * @method array getPromotionInfo()
552
 * @method array getHostGroup()
553
 * @method string getChargeType()
554
 * @method $this withChargeType($value)
555
 * @method array getServiceInfo()
556
 * @method array getConfig()
557
 * @method string getHighAvailabilityEnable()
558
 * @method $this withHighAvailabilityEnable($value)
559
 */
560
class CreateClusterV2 extends Rpc
561
{
562
563
    /**
564
     * @param array $hostComponentInfo
565
     *
566
     * @return $this
567
     */
568
	public function withHostComponentInfo(array $hostComponentInfo)
569
	{
570
	    $this->data['HostComponentInfo'] = $hostComponentInfo;
571
		foreach ($hostComponentInfo as $depth1 => $depth1Value) {
572
			if(isset($depth1Value['HostName'])){
573
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.HostName'] = $depth1Value['HostName'];
574
			}
575
			foreach ($depth1Value['ComponentNameList'] as $i => $iValue) {
576
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ComponentNameList.' . ($i + 1)] = $iValue;
577
			}
578
			if(isset($depth1Value['ServiceName'])){
579
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
580
			}
581
		}
582
583
		return $this;
584
    }
585
586
    /**
587
     * @param array $bootstrapAction
588
     *
589
     * @return $this
590
     */
591
	public function withBootstrapAction(array $bootstrapAction)
592
	{
593
	    $this->data['BootstrapAction'] = $bootstrapAction;
594
		foreach ($bootstrapAction as $depth1 => $depth1Value) {
595
			if(isset($depth1Value['Path'])){
596
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
597
			}
598
			if(isset($depth1Value['ExecutionTarget'])){
599
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget'];
600
			}
601
			if(isset($depth1Value['ExecutionMoment'])){
602
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment'];
603
			}
604
			if(isset($depth1Value['Arg'])){
605
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
606
			}
607
			if(isset($depth1Value['Name'])){
608
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
609
			}
610
			if(isset($depth1Value['ExecutionFailStrategy'])){
611
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy'];
612
			}
613
		}
614
615
		return $this;
616
    }
617
618
    /**
619
     * @param array $tag
620
     *
621
     * @return $this
622
     */
623
	public function withTag(array $tag)
624
	{
625
	    $this->data['Tag'] = $tag;
626
		foreach ($tag as $depth1 => $depth1Value) {
627
			if(isset($depth1Value['Value'])){
628
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
629
			}
630
			if(isset($depth1Value['Key'])){
631
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
632
			}
633
		}
634
635
		return $this;
636
    }
637
638
    /**
639
     * @param array $optionSoftWareList
640
     *
641
     * @return $this
642
     */
643
	public function withOptionSoftWareList(array $optionSoftWareList)
644
	{
645
	    $this->data['OptionSoftWareList'] = $optionSoftWareList;
646
		foreach ($optionSoftWareList as $i => $iValue) {
647
			$this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
648
		}
649
650
		return $this;
651
    }
652
653
    /**
654
     * @param array $userInfo
655
     *
656
     * @return $this
657
     */
658
	public function withUserInfo(array $userInfo)
659
	{
660
	    $this->data['UserInfo'] = $userInfo;
661
		foreach ($userInfo as $depth1 => $depth1Value) {
662
			if(isset($depth1Value['Password'])){
663
				$this->options['query']['UserInfo.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password'];
664
			}
665
			if(isset($depth1Value['UserId'])){
666
				$this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
667
			}
668
			if(isset($depth1Value['UserName'])){
669
				$this->options['query']['UserInfo.' . ($depth1 + 1) . '.UserName'] = $depth1Value['UserName'];
670
			}
671
		}
672
673
		return $this;
674
    }
675
676
    /**
677
     * @param array $promotionInfo
678
     *
679
     * @return $this
680
     */
681
	public function withPromotionInfo(array $promotionInfo)
682
	{
683
	    $this->data['PromotionInfo'] = $promotionInfo;
684
		foreach ($promotionInfo as $depth1 => $depth1Value) {
685
			if(isset($depth1Value['PromotionOptionCode'])){
686
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.PromotionOptionCode'] = $depth1Value['PromotionOptionCode'];
687
			}
688
			if(isset($depth1Value['ProductCode'])){
689
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.ProductCode'] = $depth1Value['ProductCode'];
690
			}
691
			if(isset($depth1Value['PromotionOptionNo'])){
692
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.PromotionOptionNo'] = $depth1Value['PromotionOptionNo'];
693
			}
694
		}
695
696
		return $this;
697
    }
698
699
    /**
700
     * @param array $hostGroup
701
     *
702
     * @return $this
703
     */
704
	public function withHostGroup(array $hostGroup)
705
	{
706
	    $this->data['HostGroup'] = $hostGroup;
707
		foreach ($hostGroup as $depth1 => $depth1Value) {
708
			if(isset($depth1Value['Period'])){
709
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
710
			}
711
			if(isset($depth1Value['SysDiskCapacity'])){
712
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity'];
713
			}
714
			if(isset($depth1Value['PrivatePoolOptionsId'])){
715
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsId'] = $depth1Value['PrivatePoolOptionsId'];
716
			}
717
			if(isset($depth1Value['DiskCapacity'])){
718
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
719
			}
720
			if(isset($depth1Value['SysDiskType'])){
721
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType'];
722
			}
723
			if(isset($depth1Value['ClusterId'])){
724
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId'];
725
			}
726
			if(isset($depth1Value['DiskType'])){
727
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
728
			}
729
			if(isset($depth1Value['HostGroupName'])){
730
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
731
			}
732
			if(isset($depth1Value['VSwitchId'])){
733
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
734
			}
735
			if(isset($depth1Value['DiskCount'])){
736
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
737
			}
738
			if(isset($depth1Value['AutoRenew'])){
739
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew'];
740
			}
741
			if(isset($depth1Value['GpuDriver'])){
742
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.GpuDriver'] = $depth1Value['GpuDriver'];
743
			}
744
			if(isset($depth1Value['HostGroupId'])){
745
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId'];
746
			}
747
			if(isset($depth1Value['NodeCount'])){
748
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
749
			}
750
			if(isset($depth1Value['InstanceType'])){
751
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
752
			}
753
			if(isset($depth1Value['Comment'])){
754
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
755
			}
756
			if(isset($depth1Value['ChargeType'])){
757
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType'];
758
			}
759
			if(isset($depth1Value['CreateType'])){
760
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType'];
761
			}
762
			if(isset($depth1Value['HostGroupType'])){
763
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType'];
764
			}
765
			if(isset($depth1Value['PrivatePoolOptionsMatchCriteria'])){
766
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsMatchCriteria'] = $depth1Value['PrivatePoolOptionsMatchCriteria'];
767
			}
768
		}
769
770
		return $this;
771
    }
772
773
    /**
774
     * @param array $serviceInfo
775
     *
776
     * @return $this
777
     */
778
	public function withServiceInfo(array $serviceInfo)
779
	{
780
	    $this->data['ServiceInfo'] = $serviceInfo;
781
		foreach ($serviceInfo as $depth1 => $depth1Value) {
782
			if(isset($depth1Value['ServiceVersion'])){
783
				$this->options['query']['ServiceInfo.' . ($depth1 + 1) . '.ServiceVersion'] = $depth1Value['ServiceVersion'];
784
			}
785
			if(isset($depth1Value['ServiceName'])){
786
				$this->options['query']['ServiceInfo.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
787
			}
788
		}
789
790
		return $this;
791
    }
792
793
    /**
794
     * @param array $config
795
     *
796
     * @return $this
797
     */
798
	public function withConfig(array $config)
799
	{
800
	    $this->data['Config'] = $config;
801
		foreach ($config as $depth1 => $depth1Value) {
802
			if(isset($depth1Value['ConfigKey'])){
803
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
804
			}
805
			if(isset($depth1Value['FileName'])){
806
				$this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
807
			}
808
			if(isset($depth1Value['Encrypt'])){
809
				$this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
810
			}
811
			if(isset($depth1Value['Replace'])){
812
				$this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
813
			}
814
			if(isset($depth1Value['ConfigValue'])){
815
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
816
			}
817
			if(isset($depth1Value['ServiceName'])){
818
				$this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
819
			}
820
		}
821
822
		return $this;
823
    }
824
}
825
826
/**
827
 * @method string getResourceOwnerId()
828
 * @method $this withResourceOwnerId($value)
829
 * @method string getUniqueTag()
830
 * @method $this withUniqueTag($value)
831
 * @method string getClusterName()
832
 * @method $this withClusterName($value)
833
 * @method string getResourceGroupId()
834
 * @method $this withResourceGroupId($value)
835
 * @method string getTemplateBizId()
836
 * @method $this withTemplateBizId($value)
837
 */
838
class CreateClusterWithTemplate extends Rpc
839
{
840
}
841
842
/**
843
 * @method string getCronExpr()
844
 * @method $this withCronExpr($value)
845
 * @method string getDescription()
846
 * @method $this withDescription($value)
847
 * @method string getAlertUserGroupBizId()
848
 * @method $this withAlertUserGroupBizId($value)
849
 * @method string getLifecycle()
850
 * @method $this withLifecycle($value)
851
 * @method string getHostName()
852
 * @method $this withHostName($value)
853
 * @method string getCreateCluster()
854
 * @method $this withCreateCluster($value)
855
 * @method string getEndSchedule()
856
 * @method $this withEndSchedule($value)
857
 * @method string getAlertConf()
858
 * @method $this withAlertConf($value)
859
 * @method string getProjectId()
860
 * @method $this withProjectId($value)
861
 * @method string getParentFlowList()
862
 * @method $this withParentFlowList($value)
863
 * @method string getLogArchiveLocation()
864
 * @method $this withLogArchiveLocation($value)
865
 * @method string getAlertDingDingGroupBizId()
866
 * @method $this withAlertDingDingGroupBizId($value)
867
 * @method string getStartSchedule()
868
 * @method $this withStartSchedule($value)
869
 * @method string getClusterId()
870
 * @method $this withClusterId($value)
871
 * @method string getApplication()
872
 * @method $this withApplication($value)
873
 * @method string getName()
874
 * @method $this withName($value)
875
 * @method string getNamespace()
876
 * @method $this withNamespace($value)
877
 * @method string getParentCategory()
878
 * @method $this withParentCategory($value)
879
 */
880
class CreateFlow extends Rpc
881
{
882
}
883
884
/**
885
 * @method string getType()
886
 * @method $this withType($value)
887
 * @method string getParentId()
888
 * @method $this withParentId($value)
889
 * @method string getName()
890
 * @method $this withName($value)
891
 * @method string getProjectId()
892
 * @method $this withProjectId($value)
893
 */
894
class CreateFlowCategory extends Rpc
895
{
896
}
897
898
/**
899
 * @method string getCronExpr()
900
 * @method $this withCronExpr($value)
901
 * @method string getDescription()
902
 * @method $this withDescription($value)
903
 * @method string getAlertUserGroupBizId()
904
 * @method $this withAlertUserGroupBizId($value)
905
 * @method string getLifecycle()
906
 * @method $this withLifecycle($value)
907
 * @method string getHostName()
908
 * @method $this withHostName($value)
909
 * @method string getCreateCluster()
910
 * @method $this withCreateCluster($value)
911
 * @method string getEndSchedule()
912
 * @method $this withEndSchedule($value)
913
 * @method string getAlertConf()
914
 * @method $this withAlertConf($value)
915
 * @method string getProjectId()
916
 * @method $this withProjectId($value)
917
 * @method string getParentFlowList()
918
 * @method $this withParentFlowList($value)
919
 * @method string getLogArchiveLocation()
920
 * @method $this withLogArchiveLocation($value)
921
 * @method string getAlertDingDingGroupBizId()
922
 * @method $this withAlertDingDingGroupBizId($value)
923
 * @method string getStartSchedule()
924
 * @method $this withStartSchedule($value)
925
 * @method string getClusterId()
926
 * @method $this withClusterId($value)
927
 * @method string getGraph()
928
 * @method $this withGraph($value)
929
 * @method string getName()
930
 * @method $this withName($value)
931
 * @method string getNamespace()
932
 * @method $this withNamespace($value)
933
 * @method string getParentCategory()
934
 * @method $this withParentCategory($value)
935
 */
936
class CreateFlowForWeb extends Rpc
937
{
938
}
939
940
/**
941
 * @method string getRetryPolicy()
942
 * @method $this withRetryPolicy($value)
943
 * @method string getRunConf()
944
 * @method string getDescription()
945
 * @method string getType()
946
 * @method $this withType($value)
947
 * @method string getParamConf()
948
 * @method array getResourceList()
949
 * @method string getFailAct()
950
 * @method $this withFailAct($value)
951
 * @method string getMode()
952
 * @method $this withMode($value)
953
 * @method string getMonitorConf()
954
 * @method string getMaxRetry()
955
 * @method $this withMaxRetry($value)
956
 * @method string getAlertConf()
957
 * @method $this withAlertConf($value)
958
 * @method string getProjectId()
959
 * @method $this withProjectId($value)
960
 * @method string getEnvConf()
961
 * @method string getMaxRunningTimeSec()
962
 * @method $this withMaxRunningTimeSec($value)
963
 * @method string getClusterId()
964
 * @method $this withClusterId($value)
965
 * @method string getParams()
966
 * @method string getCustomVariables()
967
 * @method string getRetryInterval()
968
 * @method $this withRetryInterval($value)
969
 * @method string getName()
970
 * @method $this withName($value)
971
 * @method string getAdhoc()
972
 * @method $this withAdhoc($value)
973
 * @method string getParentCategory()
974
 * @method $this withParentCategory($value)
975
 */
976
class CreateFlowJob extends Rpc
977
{
978
979
    /**
980
     * @param string $value
981
     *
982
     * @return $this
983
     */
984
    public function withRunConf($value)
985
    {
986
        $this->data['RunConf'] = $value;
987
        $this->options['form_params']['RunConf'] = $value;
988
989
        return $this;
990
    }
991
992
    /**
993
     * @param string $value
994
     *
995
     * @return $this
996
     */
997
    public function withDescription($value)
998
    {
999
        $this->data['Description'] = $value;
1000
        $this->options['form_params']['Description'] = $value;
1001
1002
        return $this;
1003
    }
1004
1005
    /**
1006
     * @param string $value
1007
     *
1008
     * @return $this
1009
     */
1010
    public function withParamConf($value)
1011
    {
1012
        $this->data['ParamConf'] = $value;
1013
        $this->options['form_params']['ParamConf'] = $value;
1014
1015
        return $this;
1016
    }
1017
1018
    /**
1019
     * @param array $resourceList
1020
     *
1021
     * @return $this
1022
     */
1023
	public function withResourceList(array $resourceList)
1024
	{
1025
	    $this->data['ResourceList'] = $resourceList;
1026
		foreach ($resourceList as $depth1 => $depth1Value) {
1027
			if(isset($depth1Value['Path'])){
1028
				$this->options['form_params']['ResourceList.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
1029
			}
1030
			if(isset($depth1Value['Alias'])){
1031
				$this->options['form_params']['ResourceList.' . ($depth1 + 1) . '.Alias'] = $depth1Value['Alias'];
1032
			}
1033
		}
1034
1035
		return $this;
1036
    }
1037
1038
    /**
1039
     * @param string $value
1040
     *
1041
     * @return $this
1042
     */
1043
    public function withMonitorConf($value)
1044
    {
1045
        $this->data['MonitorConf'] = $value;
1046
        $this->options['form_params']['MonitorConf'] = $value;
1047
1048
        return $this;
1049
    }
1050
1051
    /**
1052
     * @param string $value
1053
     *
1054
     * @return $this
1055
     */
1056
    public function withEnvConf($value)
1057
    {
1058
        $this->data['EnvConf'] = $value;
1059
        $this->options['form_params']['EnvConf'] = $value;
1060
1061
        return $this;
1062
    }
1063
1064
    /**
1065
     * @param string $value
1066
     *
1067
     * @return $this
1068
     */
1069
    public function withParams($value)
1070
    {
1071
        $this->data['Params'] = $value;
1072
        $this->options['form_params']['Params'] = $value;
1073
1074
        return $this;
1075
    }
1076
1077
    /**
1078
     * @param string $value
1079
     *
1080
     * @return $this
1081
     */
1082
    public function withCustomVariables($value)
1083
    {
1084
        $this->data['CustomVariables'] = $value;
1085
        $this->options['form_params']['CustomVariables'] = $value;
1086
1087
        return $this;
1088
    }
1089
}
1090
1091
/**
1092
 * @method string getDescription()
1093
 * @method $this withDescription($value)
1094
 * @method string getProductType()
1095
 * @method $this withProductType($value)
1096
 * @method string getResourceGroupId()
1097
 * @method $this withResourceGroupId($value)
1098
 * @method string getName()
1099
 * @method $this withName($value)
1100
 */
1101
class CreateFlowProject extends Rpc
1102
{
1103
}
1104
1105
/**
1106
 * @method array getUserList()
1107
 * @method array getHostList()
1108
 * @method string getClusterId()
1109
 * @method $this withClusterId($value)
1110
 * @method string getDefaultQueue()
1111
 * @method $this withDefaultQueue($value)
1112
 * @method string getDefaultUser()
1113
 * @method $this withDefaultUser($value)
1114
 * @method array getQueueList()
1115
 * @method string getProjectId()
1116
 * @method $this withProjectId($value)
1117
 */
1118
class CreateFlowProjectClusterSetting extends Rpc
1119
{
1120
1121
    /**
1122
     * @param array $userList
1123
     *
1124
     * @return $this
1125
     */
1126
	public function withUserList(array $userList)
1127
	{
1128
	    $this->data['UserList'] = $userList;
1129
		foreach ($userList as $i => $iValue) {
1130
			$this->options['query']['UserList.' . ($i + 1)] = $iValue;
1131
		}
1132
1133
		return $this;
1134
    }
1135
1136
    /**
1137
     * @param array $hostList
1138
     *
1139
     * @return $this
1140
     */
1141
	public function withHostList(array $hostList)
1142
	{
1143
	    $this->data['HostList'] = $hostList;
1144
		foreach ($hostList as $i => $iValue) {
1145
			$this->options['query']['HostList.' . ($i + 1)] = $iValue;
1146
		}
1147
1148
		return $this;
1149
    }
1150
1151
    /**
1152
     * @param array $queueList
1153
     *
1154
     * @return $this
1155
     */
1156
	public function withQueueList(array $queueList)
1157
	{
1158
	    $this->data['QueueList'] = $queueList;
1159
		foreach ($queueList as $i => $iValue) {
1160
			$this->options['query']['QueueList.' . ($i + 1)] = $iValue;
1161
		}
1162
1163
		return $this;
1164
    }
1165
}
1166
1167
/**
1168
 * @method string getProjectId()
1169
 * @method $this withProjectId($value)
1170
 * @method array getUser()
1171
 */
1172
class CreateFlowProjectUser extends Rpc
1173
{
1174
1175
    /**
1176
     * @param array $user
1177
     *
1178
     * @return $this
1179
     */
1180
	public function withUser(array $user)
1181
	{
1182
	    $this->data['User'] = $user;
1183
		foreach ($user as $depth1 => $depth1Value) {
1184
			if(isset($depth1Value['UserId'])){
1185
				$this->options['query']['User.' . ($depth1 + 1) . '.UserId'] = $depth1Value['UserId'];
1186
			}
1187
			if(isset($depth1Value['UserName'])){
1188
				$this->options['query']['User.' . ($depth1 + 1) . '.UserName'] = $depth1Value['UserName'];
1189
			}
1190
		}
1191
1192
		return $this;
1193
    }
1194
}
1195
1196
/**
1197
 * @method string getNote()
1198
 * @method $this withNote($value)
1199
 * @method string getResourceOwnerId()
1200
 * @method $this withResourceOwnerId($value)
1201
 * @method string getActive()
1202
 * @method $this withActive($value)
1203
 * @method string getClusterId()
1204
 * @method $this withClusterId($value)
1205
 * @method string getYarnSiteConfig()
1206
 * @method $this withYarnSiteConfig($value)
1207
 * @method string getName()
1208
 * @method $this withName($value)
1209
 * @method array getConfig()
1210
 * @method string getPoolType()
1211
 * @method $this withPoolType($value)
1212
 */
1213
class CreateResourcePool extends Rpc
1214
{
1215
1216
    /**
1217
     * @param array $config
1218
     *
1219
     * @return $this
1220
     */
1221
	public function withConfig(array $config)
1222
	{
1223
	    $this->data['Config'] = $config;
1224
		foreach ($config as $depth1 => $depth1Value) {
1225
			if(isset($depth1Value['ConfigKey'])){
1226
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
1227
			}
1228
			if(isset($depth1Value['Note'])){
1229
				$this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note'];
1230
			}
1231
			if(isset($depth1Value['ConfigType'])){
1232
				$this->options['query']['Config.' . ($depth1 + 1) . '.configType'] = $depth1Value['ConfigType'];
1233
			}
1234
			if(isset($depth1Value['TargetId'])){
1235
				$this->options['query']['Config.' . ($depth1 + 1) . '.TargetId'] = $depth1Value['TargetId'];
1236
			}
1237
			if(isset($depth1Value['ConfigValue'])){
1238
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
1239
			}
1240
			if(isset($depth1Value['Category'])){
1241
				$this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
1242
			}
1243
		}
1244
1245
		return $this;
1246
    }
1247
}
1248
1249
/**
1250
 * @method string getResourceOwnerId()
1251
 * @method $this withResourceOwnerId($value)
1252
 * @method string getQualifiedName()
1253
 * @method $this withQualifiedName($value)
1254
 * @method string getResourcePoolId()
1255
 * @method $this withResourcePoolId($value)
1256
 * @method string getClusterId()
1257
 * @method $this withClusterId($value)
1258
 * @method string getLeaf()
1259
 * @method $this withLeaf($value)
1260
 * @method string getParentQueueId()
1261
 * @method $this withParentQueueId($value)
1262
 * @method string getName()
1263
 * @method $this withName($value)
1264
 * @method array getConfig()
1265
 */
1266
class CreateResourceQueue extends Rpc
1267
{
1268
1269
    /**
1270
     * @param array $config
1271
     *
1272
     * @return $this
1273
     */
1274
	public function withConfig(array $config)
1275
	{
1276
	    $this->data['Config'] = $config;
1277
		foreach ($config as $depth1 => $depth1Value) {
1278
			if(isset($depth1Value['ConfigKey'])){
1279
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
1280
			}
1281
			if(isset($depth1Value['Note'])){
1282
				$this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note'];
1283
			}
1284
			if(isset($depth1Value['ConfigValue'])){
1285
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
1286
			}
1287
			if(isset($depth1Value['Category'])){
1288
				$this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
1289
			}
1290
		}
1291
1292
		return $this;
1293
    }
1294
}
1295
1296
/**
1297
 * @method string getResourceOwnerId()
1298
 * @method $this withResourceOwnerId($value)
1299
 * @method string getDescription()
1300
 * @method $this withDescription($value)
1301
 * @method string getResourceGroupId()
1302
 * @method $this withResourceGroupId($value)
1303
 * @method string getHostGroupId()
1304
 * @method $this withHostGroupId($value)
1305
 * @method string getName()
1306
 * @method $this withName($value)
1307
 */
1308
class CreateScalingGroupV2 extends Rpc
1309
{
1310
}
1311
1312
/**
1313
 * @method string getResourceOwnerId()
1314
 * @method $this withResourceOwnerId($value)
1315
 * @method string getResourceGroupId()
1316
 * @method $this withResourceGroupId($value)
1317
 * @method string getBizId()
1318
 * @method $this withBizId($value)
1319
 */
1320
class DeleteClusterTemplate extends Rpc
1321
{
1322
}
1323
1324
/**
1325
 * @method string getId()
1326
 * @method $this withId($value)
1327
 * @method string getProjectId()
1328
 * @method $this withProjectId($value)
1329
 */
1330
class DeleteFlow extends Rpc
1331
{
1332
}
1333
1334
/**
1335
 * @method string getId()
1336
 * @method $this withId($value)
1337
 * @method string getProjectId()
1338
 * @method $this withProjectId($value)
1339
 */
1340
class DeleteFlowCategory extends Rpc
1341
{
1342
}
1343
1344
/**
1345
 * @method string getId()
1346
 * @method $this withId($value)
1347
 * @method string getProjectId()
1348
 * @method $this withProjectId($value)
1349
 */
1350
class DeleteFlowJob extends Rpc
1351
{
1352
}
1353
1354
/**
1355
 * @method string getProjectId()
1356
 * @method $this withProjectId($value)
1357
 */
1358
class DeleteFlowProject extends Rpc
1359
{
1360
}
1361
1362
/**
1363
 * @method string getClusterId()
1364
 * @method $this withClusterId($value)
1365
 * @method string getProjectId()
1366
 * @method $this withProjectId($value)
1367
 */
1368
class DeleteFlowProjectClusterSetting extends Rpc
1369
{
1370
}
1371
1372
/**
1373
 * @method string getProjectId()
1374
 * @method $this withProjectId($value)
1375
 * @method string getUserName()
1376
 * @method $this withUserName($value)
1377
 */
1378
class DeleteFlowProjectUser extends Rpc
1379
{
1380
}
1381
1382
/**
1383
 * @method string getResourceOwnerId()
1384
 * @method $this withResourceOwnerId($value)
1385
 * @method string getResourcePoolId()
1386
 * @method $this withResourcePoolId($value)
1387
 * @method string getClusterId()
1388
 * @method $this withClusterId($value)
1389
 */
1390
class DeleteResourcePool extends Rpc
1391
{
1392
}
1393
1394
/**
1395
 * @method string getResourceOwnerId()
1396
 * @method $this withResourceOwnerId($value)
1397
 * @method string getClusterId()
1398
 * @method $this withClusterId($value)
1399
 * @method string getResourceQueueId()
1400
 * @method $this withResourceQueueId($value)
1401
 */
1402
class DeleteResourceQueue extends Rpc
1403
{
1404
}
1405
1406
/**
1407
 * @method string getResourceOwnerId()
1408
 * @method $this withResourceOwnerId($value)
1409
 * @method string getClusterId()
1410
 * @method $this withClusterId($value)
1411
 */
1412
class DescribeClusterBasicInfo extends Rpc
1413
{
1414
}
1415
1416
/**
1417
 * @method string getResourceOwnerId()
1418
 * @method $this withResourceOwnerId($value)
1419
 * @method string getHostId()
1420
 * @method $this withHostId($value)
1421
 * @method string getClusterId()
1422
 * @method $this withClusterId($value)
1423
 * @method string getOperationId()
1424
 * @method $this withOperationId($value)
1425
 * @method string getTaskId()
1426
 * @method $this withTaskId($value)
1427
 * @method string getStatus()
1428
 * @method $this withStatus($value)
1429
 */
1430
class DescribeClusterOperationHostTaskLog extends Rpc
1431
{
1432
}
1433
1434
/**
1435
 * @method string getResourceOwnerId()
1436
 * @method $this withResourceOwnerId($value)
1437
 * @method string getClusterId()
1438
 * @method $this withClusterId($value)
1439
 */
1440
class DescribeClusterResourcePoolSchedulerType extends Rpc
1441
{
1442
}
1443
1444
/**
1445
 * @method string getResourceOwnerId()
1446
 * @method $this withResourceOwnerId($value)
1447
 * @method string getClusterId()
1448
 * @method $this withClusterId($value)
1449
 * @method string getServiceName()
1450
 * @method $this withServiceName($value)
1451
 */
1452
class DescribeClusterService extends Rpc
1453
{
1454
}
1455
1456
/**
1457
 * @method string getResourceOwnerId()
1458
 * @method $this withResourceOwnerId($value)
1459
 * @method string getHostInstanceId()
1460
 * @method $this withHostInstanceId($value)
1461
 * @method string getTagValue()
1462
 * @method $this withTagValue($value)
1463
 * @method string getGroupId()
1464
 * @method $this withGroupId($value)
1465
 * @method string getClusterId()
1466
 * @method $this withClusterId($value)
1467
 * @method string getConfigVersion()
1468
 * @method $this withConfigVersion($value)
1469
 * @method string getServiceName()
1470
 * @method $this withServiceName($value)
1471
 */
1472
class DescribeClusterServiceConfig extends Rpc
1473
{
1474
}
1475
1476
/**
1477
 * @method string getResourceOwnerId()
1478
 * @method $this withResourceOwnerId($value)
1479
 * @method string getClusterId()
1480
 * @method $this withClusterId($value)
1481
 * @method string getConfigTag()
1482
 * @method $this withConfigTag($value)
1483
 * @method string getServiceName()
1484
 * @method $this withServiceName($value)
1485
 */
1486
class DescribeClusterServiceConfigTag extends Rpc
1487
{
1488
}
1489
1490
/**
1491
 * @method string getResourceOwnerId()
1492
 * @method $this withResourceOwnerId($value)
1493
 * @method string getResourceGroupId()
1494
 * @method $this withResourceGroupId($value)
1495
 * @method string getBizId()
1496
 * @method $this withBizId($value)
1497
 */
1498
class DescribeClusterTemplate extends Rpc
1499
{
1500
}
1501
1502
/**
1503
 * @method string getResourceOwnerId()
1504
 * @method $this withResourceOwnerId($value)
1505
 * @method string getId()
1506
 * @method $this withId($value)
1507
 */
1508
class DescribeClusterV2 extends Rpc
1509
{
1510
}
1511
1512
/**
1513
 * @method string getId()
1514
 * @method $this withId($value)
1515
 * @method string getProjectId()
1516
 * @method $this withProjectId($value)
1517
 */
1518
class DescribeFlow extends Rpc
1519
{
1520
}
1521
1522
/**
1523
 * @method string getId()
1524
 * @method $this withId($value)
1525
 * @method string getProjectId()
1526
 * @method $this withProjectId($value)
1527
 */
1528
class DescribeFlowCategory extends Rpc
1529
{
1530
}
1531
1532
/**
1533
 * @method string getType()
1534
 * @method $this withType($value)
1535
 * @method string getMode()
1536
 * @method $this withMode($value)
1537
 * @method string getKeyword()
1538
 * @method $this withKeyword($value)
1539
 * @method string getProjectId()
1540
 * @method $this withProjectId($value)
1541
 * @method string getCategoryId()
1542
 * @method $this withCategoryId($value)
1543
 */
1544
class DescribeFlowCategoryTree extends Rpc
1545
{
1546
}
1547
1548
/**
1549
 * @method string getId()
1550
 * @method $this withId($value)
1551
 * @method string getProjectId()
1552
 * @method $this withProjectId($value)
1553
 */
1554
class DescribeFlowInstance extends Rpc
1555
{
1556
}
1557
1558
/**
1559
 * @method string getId()
1560
 * @method $this withId($value)
1561
 * @method string getProjectId()
1562
 * @method $this withProjectId($value)
1563
 */
1564
class DescribeFlowJob extends Rpc
1565
{
1566
}
1567
1568
/**
1569
 * @method string getId()
1570
 * @method $this withId($value)
1571
 * @method string getProjectId()
1572
 * @method $this withProjectId($value)
1573
 */
1574
class DescribeFlowNodeInstance extends Rpc
1575
{
1576
}
1577
1578
/**
1579
 * @method string getOffset()
1580
 * @method $this withOffset($value)
1581
 * @method string getLogName()
1582
 * @method $this withLogName($value)
1583
 * @method string getLength()
1584
 * @method $this withLength($value)
1585
 * @method string getNodeInstanceId()
1586
 * @method $this withNodeInstanceId($value)
1587
 * @method string getAppId()
1588
 * @method $this withAppId($value)
1589
 * @method string getContainerId()
1590
 * @method $this withContainerId($value)
1591
 * @method string getProjectId()
1592
 * @method $this withProjectId($value)
1593
 */
1594
class DescribeFlowNodeInstanceContainerLog extends Rpc
1595
{
1596
}
1597
1598
/**
1599
 * @method string getOffset()
1600
 * @method $this withOffset($value)
1601
 * @method string getStart()
1602
 * @method $this withStart($value)
1603
 * @method string getLength()
1604
 * @method $this withLength($value)
1605
 * @method string getEndTime()
1606
 * @method $this withEndTime($value)
1607
 * @method string getStartTime()
1608
 * @method $this withStartTime($value)
1609
 * @method string getReverse()
1610
 * @method $this withReverse($value)
1611
 * @method string getNodeInstanceId()
1612
 * @method $this withNodeInstanceId($value)
1613
 * @method string getLines()
1614
 * @method $this withLines($value)
1615
 * @method string getProjectId()
1616
 * @method $this withProjectId($value)
1617
 */
1618
class DescribeFlowNodeInstanceLauncherLog extends Rpc
1619
{
1620
}
1621
1622
/**
1623
 * @method string getProjectId()
1624
 * @method $this withProjectId($value)
1625
 */
1626
class DescribeFlowProject extends Rpc
1627
{
1628
}
1629
1630
/**
1631
 * @method string getClusterId()
1632
 * @method $this withClusterId($value)
1633
 * @method string getProjectId()
1634
 * @method $this withProjectId($value)
1635
 */
1636
class DescribeFlowProjectClusterSetting extends Rpc
1637
{
1638
}
1639
1640
/**
1641
 * @method string getResourceOwnerId()
1642
 * @method $this withResourceOwnerId($value)
1643
 * @method string getResourceGroupId()
1644
 * @method $this withResourceGroupId($value)
1645
 */
1646
class DescribeScalingCommonConfig extends Rpc
1647
{
1648
}
1649
1650
/**
1651
 * @method string getConfigItemType()
1652
 * @method $this withConfigItemType($value)
1653
 * @method string getResourceOwnerId()
1654
 * @method $this withResourceOwnerId($value)
1655
 * @method string getScalingGroupBizId()
1656
 * @method $this withScalingGroupBizId($value)
1657
 * @method string getResourceGroupId()
1658
 * @method $this withResourceGroupId($value)
1659
 * @method string getScalingConfigItemId()
1660
 * @method $this withScalingConfigItemId($value)
1661
 */
1662
class DescribeScalingConfigItemV2 extends Rpc
1663
{
1664
}
1665
1666
/**
1667
 * @method string getResourceOwnerId()
1668
 * @method $this withResourceOwnerId($value)
1669
 * @method string getScalingGroupBizId()
1670
 * @method $this withScalingGroupBizId($value)
1671
 * @method string getResourceGroupId()
1672
 * @method $this withResourceGroupId($value)
1673
 * @method string getHostGroupBizId()
1674
 * @method $this withHostGroupBizId($value)
1675
 */
1676
class DescribeScalingGroupInstanceV2 extends Rpc
1677
{
1678
}
1679
1680
/**
1681
 * @method string getResourceOwnerId()
1682
 * @method $this withResourceOwnerId($value)
1683
 * @method string getScalingGroupBizId()
1684
 * @method $this withScalingGroupBizId($value)
1685
 * @method string getResourceGroupId()
1686
 * @method $this withResourceGroupId($value)
1687
 * @method string getHostGroupBizId()
1688
 * @method $this withHostGroupBizId($value)
1689
 */
1690
class DescribeScalingGroupV2 extends Rpc
1691
{
1692
}
1693
1694
/**
1695
 * @method string getResourceOwnerId()
1696
 * @method $this withResourceOwnerId($value)
1697
 * @method string getResourceId()
1698
 * @method $this withResourceId($value)
1699
 * @method string getResourceType()
1700
 * @method $this withResourceType($value)
1701
 * @method string getResourceGroupId()
1702
 * @method $this withResourceGroupId($value)
1703
 */
1704
class JoinResourceGroup extends Rpc
1705
{
1706
}
1707
1708
/**
1709
 * @method string getJobInstanceId()
1710
 * @method $this withJobInstanceId($value)
1711
 * @method string getProjectId()
1712
 * @method $this withProjectId($value)
1713
 */
1714
class KillFlowJob extends Rpc
1715
{
1716
}
1717
1718
/**
1719
 * @method string getResourceOwnerId()
1720
 * @method $this withResourceOwnerId($value)
1721
 * @method string getPageNumber()
1722
 * @method $this withPageNumber($value)
1723
 * @method string getFinalStatus()
1724
 * @method $this withFinalStatus($value)
1725
 * @method string getPageSize()
1726
 * @method $this withPageSize($value)
1727
 * @method string getState()
1728
 * @method $this withState($value)
1729
 * @method string getStartTimeTo()
1730
 * @method $this withStartTimeTo($value)
1731
 * @method string getDiagnoseResult()
1732
 * @method $this withDiagnoseResult($value)
1733
 * @method string getEndTimeFrom()
1734
 * @method $this withEndTimeFrom($value)
1735
 * @method string getOrderBy()
1736
 * @method $this withOrderBy($value)
1737
 * @method string getClusterId()
1738
 * @method $this withClusterId($value)
1739
 * @method string getJobType()
1740
 * @method $this withJobType($value)
1741
 * @method string getStartTimeFrom()
1742
 * @method $this withStartTimeFrom($value)
1743
 * @method string getAppId()
1744
 * @method $this withAppId($value)
1745
 * @method string getName()
1746
 * @method $this withName($value)
1747
 * @method string getUser()
1748
 * @method $this withUser($value)
1749
 * @method string getEndTimeTo()
1750
 * @method $this withEndTimeTo($value)
1751
 * @method string getQueue()
1752
 * @method $this withQueue($value)
1753
 */
1754
class ListApmApplication extends Rpc
1755
{
1756
}
1757
1758
/**
1759
 * @method string getResourceOwnerId()
1760
 * @method $this withResourceOwnerId($value)
1761
 * @method string getHostInstanceId()
1762
 * @method $this withHostInstanceId($value)
1763
 * @method array getStatusList()
1764
 * @method string getComponentName()
1765
 * @method $this withComponentName($value)
1766
 * @method string getPublicIp()
1767
 * @method $this withPublicIp($value)
1768
 * @method string getPageNumber()
1769
 * @method $this withPageNumber($value)
1770
 * @method string getHostName()
1771
 * @method $this withHostName($value)
1772
 * @method string getGroupType()
1773
 * @method $this withGroupType($value)
1774
 * @method string getPageSize()
1775
 * @method $this withPageSize($value)
1776
 * @method string getPrivateIp()
1777
 * @method $this withPrivateIp($value)
1778
 * @method string getClusterId()
1779
 * @method $this withClusterId($value)
1780
 * @method string getHostGroupId()
1781
 * @method $this withHostGroupId($value)
1782
 */
1783
class ListClusterHost extends Rpc
1784
{
1785
1786
    /**
1787
     * @param array $statusList
1788
     *
1789
     * @return $this
1790
     */
1791
	public function withStatusList(array $statusList)
1792
	{
1793
	    $this->data['StatusList'] = $statusList;
1794
		foreach ($statusList as $i => $iValue) {
1795
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
1796
		}
1797
1798
		return $this;
1799
    }
1800
}
1801
1802
/**
1803
 * @method string getResourceOwnerId()
1804
 * @method $this withResourceOwnerId($value)
1805
 * @method string getHostInstanceId()
1806
 * @method $this withHostInstanceId($value)
1807
 * @method string getComponentName()
1808
 * @method $this withComponentName($value)
1809
 * @method string getPageNumber()
1810
 * @method $this withPageNumber($value)
1811
 * @method string getComponentStatus()
1812
 * @method $this withComponentStatus($value)
1813
 * @method string getHostName()
1814
 * @method $this withHostName($value)
1815
 * @method string getPageSize()
1816
 * @method $this withPageSize($value)
1817
 * @method string getServiceName()
1818
 * @method $this withServiceName($value)
1819
 * @method string getClusterId()
1820
 * @method $this withClusterId($value)
1821
 * @method string getHostRole()
1822
 * @method $this withHostRole($value)
1823
 */
1824
class ListClusterHostComponent extends Rpc
1825
{
1826
}
1827
1828
/**
1829
 * @method string getResourceOwnerId()
1830
 * @method $this withResourceOwnerId($value)
1831
 * @method array getStatusList()
1832
 * @method string getClusterId()
1833
 * @method $this withClusterId($value)
1834
 * @method string getHostGroupName()
1835
 * @method $this withHostGroupName($value)
1836
 * @method string getPageNumber()
1837
 * @method $this withPageNumber($value)
1838
 * @method string getHostGroupId()
1839
 * @method $this withHostGroupId($value)
1840
 * @method string getPageSize()
1841
 * @method $this withPageSize($value)
1842
 * @method string getHostGroupType()
1843
 * @method $this withHostGroupType($value)
1844
 */
1845
class ListClusterHostGroup extends Rpc
1846
{
1847
1848
    /**
1849
     * @param array $statusList
1850
     *
1851
     * @return $this
1852
     */
1853
	public function withStatusList(array $statusList)
1854
	{
1855
	    $this->data['StatusList'] = $statusList;
1856
		foreach ($statusList as $i => $iValue) {
1857
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
1858
		}
1859
1860
		return $this;
1861
    }
1862
}
1863
1864
/**
1865
 * @method string getResourceOwnerId()
1866
 * @method $this withResourceOwnerId($value)
1867
 * @method string getClusterId()
1868
 * @method $this withClusterId($value)
1869
 * @method string getPageNumber()
1870
 * @method $this withPageNumber($value)
1871
 * @method string getPageSize()
1872
 * @method $this withPageSize($value)
1873
 */
1874
class ListClusterInstalledService extends Rpc
1875
{
1876
}
1877
1878
/**
1879
 * @method string getResourceOwnerId()
1880
 * @method $this withResourceOwnerId($value)
1881
 * @method string getClusterId()
1882
 * @method $this withClusterId($value)
1883
 * @method string getPageNumber()
1884
 * @method $this withPageNumber($value)
1885
 * @method string getPageSize()
1886
 * @method $this withPageSize($value)
1887
 * @method string getOperationId()
1888
 * @method $this withOperationId($value)
1889
 * @method string getServiceName()
1890
 * @method $this withServiceName($value)
1891
 * @method string getStatus()
1892
 * @method $this withStatus($value)
1893
 */
1894
class ListClusterOperation extends Rpc
1895
{
1896
}
1897
1898
/**
1899
 * @method string getResourceOwnerId()
1900
 * @method $this withResourceOwnerId($value)
1901
 * @method string getClusterId()
1902
 * @method $this withClusterId($value)
1903
 * @method string getPageNumber()
1904
 * @method $this withPageNumber($value)
1905
 * @method string getPageSize()
1906
 * @method $this withPageSize($value)
1907
 * @method string getOperationId()
1908
 * @method $this withOperationId($value)
1909
 * @method string getStatus()
1910
 * @method $this withStatus($value)
1911
 */
1912
class ListClusterOperationHost extends Rpc
1913
{
1914
}
1915
1916
/**
1917
 * @method string getResourceOwnerId()
1918
 * @method $this withResourceOwnerId($value)
1919
 * @method string getHostId()
1920
 * @method $this withHostId($value)
1921
 * @method string getClusterId()
1922
 * @method $this withClusterId($value)
1923
 * @method string getPageNumber()
1924
 * @method $this withPageNumber($value)
1925
 * @method string getPageSize()
1926
 * @method $this withPageSize($value)
1927
 * @method string getOperationId()
1928
 * @method $this withOperationId($value)
1929
 * @method string getStatus()
1930
 * @method $this withStatus($value)
1931
 */
1932
class ListClusterOperationHostTask extends Rpc
1933
{
1934
}
1935
1936
/**
1937
 * @method string getResourceOwnerId()
1938
 * @method $this withResourceOwnerId($value)
1939
 * @method string getClusterId()
1940
 * @method $this withClusterId($value)
1941
 * @method string getPageNumber()
1942
 * @method $this withPageNumber($value)
1943
 * @method string getPageSize()
1944
 * @method $this withPageSize($value)
1945
 * @method string getOperationId()
1946
 * @method $this withOperationId($value)
1947
 * @method string getStatus()
1948
 * @method $this withStatus($value)
1949
 */
1950
class ListClusterOperationTask extends Rpc
1951
{
1952
}
1953
1954
/**
1955
 * @method string getResourceOwnerId()
1956
 * @method $this withResourceOwnerId($value)
1957
 * @method array getStatusList()
1958
 * @method string getIsDesc()
1959
 * @method $this withIsDesc($value)
1960
 * @method string getDepositType()
1961
 * @method $this withDepositType($value)
1962
 * @method string getPageNumber()
1963
 * @method $this withPageNumber($value)
1964
 * @method string getMachineType()
1965
 * @method $this withMachineType($value)
1966
 * @method string getResourceGroupId()
1967
 * @method $this withResourceGroupId($value)
1968
 * @method string getPageSize()
1969
 * @method $this withPageSize($value)
1970
 * @method array getTag()
1971
 * @method string getCreateType()
1972
 * @method $this withCreateType($value)
1973
 * @method array getExpiredTagList()
1974
 * @method string getDefaultStatus()
1975
 * @method $this withDefaultStatus($value)
1976
 * @method string getVpcId()
1977
 * @method $this withVpcId($value)
1978
 * @method string getName()
1979
 * @method $this withName($value)
1980
 * @method array getClusterTypeList()
1981
 */
1982
class ListClusters extends Rpc
1983
{
1984
1985
    /**
1986
     * @param array $statusList
1987
     *
1988
     * @return $this
1989
     */
1990
	public function withStatusList(array $statusList)
1991
	{
1992
	    $this->data['StatusList'] = $statusList;
1993
		foreach ($statusList as $i => $iValue) {
1994
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
1995
		}
1996
1997
		return $this;
1998
    }
1999
2000
    /**
2001
     * @param array $tag
2002
     *
2003
     * @return $this
2004
     */
2005
	public function withTag(array $tag)
2006
	{
2007
	    $this->data['Tag'] = $tag;
2008
		foreach ($tag as $depth1 => $depth1Value) {
2009
			if(isset($depth1Value['Value'])){
2010
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2011
			}
2012
			if(isset($depth1Value['Key'])){
2013
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2014
			}
2015
		}
2016
2017
		return $this;
2018
    }
2019
2020
    /**
2021
     * @param array $expiredTagList
2022
     *
2023
     * @return $this
2024
     */
2025
	public function withExpiredTagList(array $expiredTagList)
2026
	{
2027
	    $this->data['ExpiredTagList'] = $expiredTagList;
2028
		foreach ($expiredTagList as $i => $iValue) {
2029
			$this->options['query']['ExpiredTagList.' . ($i + 1)] = $iValue;
2030
		}
2031
2032
		return $this;
2033
    }
2034
2035
    /**
2036
     * @param array $clusterTypeList
2037
     *
2038
     * @return $this
2039
     */
2040
	public function withClusterTypeList(array $clusterTypeList)
2041
	{
2042
	    $this->data['ClusterTypeList'] = $clusterTypeList;
2043
		foreach ($clusterTypeList as $i => $iValue) {
2044
			$this->options['query']['ClusterTypeList.' . ($i + 1)] = $iValue;
2045
		}
2046
2047
		return $this;
2048
    }
2049
}
2050
2051
/**
2052
 * @method string getResourceOwnerId()
2053
 * @method $this withResourceOwnerId($value)
2054
 * @method string getClusterId()
2055
 * @method $this withClusterId($value)
2056
 * @method string getPageNumber()
2057
 * @method $this withPageNumber($value)
2058
 * @method string getPageSize()
2059
 * @method $this withPageSize($value)
2060
 */
2061
class ListClusterService extends Rpc
2062
{
2063
}
2064
2065
/**
2066
 * @method string getResourceOwnerId()
2067
 * @method $this withResourceOwnerId($value)
2068
 * @method string getPodName()
2069
 * @method $this withPodName($value)
2070
 * @method string getComponentName()
2071
 * @method $this withComponentName($value)
2072
 * @method string getClusterId()
2073
 * @method $this withClusterId($value)
2074
 * @method string getPageNumber()
2075
 * @method $this withPageNumber($value)
2076
 * @method string getComponentStatus()
2077
 * @method $this withComponentStatus($value)
2078
 * @method string getPageSize()
2079
 * @method $this withPageSize($value)
2080
 * @method string getServiceName()
2081
 * @method $this withServiceName($value)
2082
 */
2083
class ListClusterServiceComponent extends Rpc
2084
{
2085
}
2086
2087
/**
2088
 * @method string getResourceOwnerId()
2089
 * @method $this withResourceOwnerId($value)
2090
 * @method string getComponentName()
2091
 * @method $this withComponentName($value)
2092
 * @method string getClusterId()
2093
 * @method $this withClusterId($value)
2094
 * @method string getServiceName()
2095
 * @method $this withServiceName($value)
2096
 */
2097
class ListClusterServiceComponentHealthInfo extends Rpc
2098
{
2099
}
2100
2101
/**
2102
 * @method string getResourceOwnerId()
2103
 * @method $this withResourceOwnerId($value)
2104
 * @method string getHostInstanceId()
2105
 * @method $this withHostInstanceId($value)
2106
 * @method string getPageNumber()
2107
 * @method $this withPageNumber($value)
2108
 * @method string getConfigVersion()
2109
 * @method $this withConfigVersion($value)
2110
 * @method string getPageSize()
2111
 * @method $this withPageSize($value)
2112
 * @method string getServiceName()
2113
 * @method $this withServiceName($value)
2114
 * @method string getAuthor()
2115
 * @method $this withAuthor($value)
2116
 * @method string getClusterId()
2117
 * @method $this withClusterId($value)
2118
 * @method string getConfigFileName()
2119
 * @method $this withConfigFileName($value)
2120
 * @method string getConfigItemKey()
2121
 * @method $this withConfigItemKey($value)
2122
 * @method string getHostGroupId()
2123
 * @method $this withHostGroupId($value)
2124
 * @method string getComment()
2125
 * @method $this withComment($value)
2126
 */
2127
class ListClusterServiceConfigHistory extends Rpc
2128
{
2129
}
2130
2131
/**
2132
 * @method string getResourceOwnerId()
2133
 * @method $this withResourceOwnerId($value)
2134
 * @method string getDirectType()
2135
 * @method $this withDirectType($value)
2136
 * @method string getClusterId()
2137
 * @method $this withClusterId($value)
2138
 * @method string getServiceName()
2139
 * @method $this withServiceName($value)
2140
 */
2141
class ListClusterServiceQuickLink extends Rpc
2142
{
2143
}
2144
2145
/**
2146
 * @method string getResourceOwnerId()
2147
 * @method $this withResourceOwnerId($value)
2148
 * @method string getPageNumber()
2149
 * @method $this withPageNumber($value)
2150
 * @method string getProductType()
2151
 * @method $this withProductType($value)
2152
 * @method string getResourceGroupId()
2153
 * @method $this withResourceGroupId($value)
2154
 * @method string getBizId()
2155
 * @method $this withBizId($value)
2156
 * @method string getPageSize()
2157
 * @method $this withPageSize($value)
2158
 */
2159
class ListClusterTemplates extends Rpc
2160
{
2161
}
2162
2163
/**
2164
 * @method string getResourceOwnerId()
2165
 * @method $this withResourceOwnerId($value)
2166
 * @method string getResourceGroupId()
2167
 * @method $this withResourceGroupId($value)
2168
 */
2169
class ListEmrAvailableConfig extends Rpc
2170
{
2171
}
2172
2173
/**
2174
 * @method string getResourceOwnerId()
2175
 * @method $this withResourceOwnerId($value)
2176
 * @method string getDepositType()
2177
 * @method $this withDepositType($value)
2178
 * @method string getSystemDiskType()
2179
 * @method $this withSystemDiskType($value)
2180
 * @method string getResourceGroupId()
2181
 * @method $this withResourceGroupId($value)
2182
 * @method string getInstanceType()
2183
 * @method $this withInstanceType($value)
2184
 * @method string getEmrVersion()
2185
 * @method $this withEmrVersion($value)
2186
 * @method string getInstanceChargeType()
2187
 * @method $this withInstanceChargeType($value)
2188
 * @method string getClusterId()
2189
 * @method $this withClusterId($value)
2190
 * @method string getDestinationResource()
2191
 * @method $this withDestinationResource($value)
2192
 * @method string getClusterType()
2193
 * @method $this withClusterType($value)
2194
 * @method string getSpotStrategy()
2195
 * @method $this withSpotStrategy($value)
2196
 * @method string getNetType()
2197
 * @method $this withNetType($value)
2198
 * @method string getZoneId()
2199
 * @method $this withZoneId($value)
2200
 * @method string getDataDiskType()
2201
 * @method $this withDataDiskType($value)
2202
 */
2203
class ListEmrAvailableResource extends Rpc
2204
{
2205
}
2206
2207
/**
2208
 * @method string getResourceOwnerId()
2209
 * @method $this withResourceOwnerId($value)
2210
 * @method string getPageNumber()
2211
 * @method $this withPageNumber($value)
2212
 * @method string getPageSize()
2213
 * @method $this withPageSize($value)
2214
 * @method string getEmrVersion()
2215
 * @method $this withEmrVersion($value)
2216
 * @method string getStackName()
2217
 * @method $this withStackName($value)
2218
 * @method string getStackVersion()
2219
 * @method $this withStackVersion($value)
2220
 */
2221
class ListEmrMainVersion extends Rpc
2222
{
2223
}
2224
2225
/**
2226
 * @method string getPeriodic()
2227
 * @method $this withPeriodic($value)
2228
 * @method string getClusterId()
2229
 * @method $this withClusterId($value)
2230
 * @method string getPageNumber()
2231
 * @method $this withPageNumber($value)
2232
 * @method string getJobId()
2233
 * @method $this withJobId($value)
2234
 * @method string getName()
2235
 * @method $this withName($value)
2236
 * @method string getPageSize()
2237
 * @method $this withPageSize($value)
2238
 * @method string getId()
2239
 * @method $this withId($value)
2240
 * @method string getProjectId()
2241
 * @method $this withProjectId($value)
2242
 * @method string getStatus()
2243
 * @method $this withStatus($value)
2244
 */
2245
class ListFlow extends Rpc
2246
{
2247
}
2248
2249
/**
2250
 * @method string getParentId()
2251
 * @method $this withParentId($value)
2252
 * @method string getPageNumber()
2253
 * @method $this withPageNumber($value)
2254
 * @method string getRoot()
2255
 * @method $this withRoot($value)
2256
 * @method string getPageSize()
2257
 * @method $this withPageSize($value)
2258
 * @method string getProjectId()
2259
 * @method $this withProjectId($value)
2260
 */
2261
class ListFlowCategory extends Rpc
2262
{
2263
}
2264
2265
/**
2266
 * @method string getPageNumber()
2267
 * @method $this withPageNumber($value)
2268
 * @method string getResourceGroupId()
2269
 * @method $this withResourceGroupId($value)
2270
 * @method string getPageSize()
2271
 * @method $this withPageSize($value)
2272
 * @method string getProjectId()
2273
 * @method $this withProjectId($value)
2274
 */
2275
class ListFlowCluster extends Rpc
2276
{
2277
}
2278
2279
/**
2280
 * @method string getProductType()
2281
 * @method $this withProductType($value)
2282
 * @method string getResourceGroupId()
2283
 * @method $this withResourceGroupId($value)
2284
 */
2285
class ListFlowClusterAll extends Rpc
2286
{
2287
}
2288
2289
/**
2290
 * @method string getClusterId()
2291
 * @method $this withClusterId($value)
2292
 * @method string getResourceGroupId()
2293
 * @method $this withResourceGroupId($value)
2294
 * @method string getProjectId()
2295
 * @method $this withProjectId($value)
2296
 */
2297
class ListFlowClusterAllHosts extends Rpc
2298
{
2299
}
2300
2301
/**
2302
 * @method string getClusterId()
2303
 * @method $this withClusterId($value)
2304
 * @method string getResourceGroupId()
2305
 * @method $this withResourceGroupId($value)
2306
 * @method string getProjectId()
2307
 * @method $this withProjectId($value)
2308
 */
2309
class ListFlowClusterHost extends Rpc
2310
{
2311
}
2312
2313
/**
2314
 * @method array getStatusList()
2315
 * @method string getNodeInstanceId()
2316
 * @method $this withNodeInstanceId($value)
2317
 * @method string getPageNumber()
2318
 * @method $this withPageNumber($value)
2319
 * @method string getPageSize()
2320
 * @method $this withPageSize($value)
2321
 * @method string getId()
2322
 * @method $this withId($value)
2323
 * @method string getProjectId()
2324
 * @method $this withProjectId($value)
2325
 * @method string getOwner()
2326
 * @method $this withOwner($value)
2327
 * @method string getTimeRange()
2328
 * @method $this withTimeRange($value)
2329
 * @method string getOrderBy()
2330
 * @method $this withOrderBy($value)
2331
 * @method string getInstanceId()
2332
 * @method $this withInstanceId($value)
2333
 * @method string getFlowName()
2334
 * @method $this withFlowName($value)
2335
 * @method string getFlowId()
2336
 * @method $this withFlowId($value)
2337
 * @method string getOrderType()
2338
 * @method $this withOrderType($value)
2339
 */
2340
class ListFlowInstance extends Rpc
2341
{
2342
2343
    /**
2344
     * @param array $statusList
2345
     *
2346
     * @return $this
2347
     */
2348
	public function withStatusList(array $statusList)
2349
	{
2350
	    $this->data['StatusList'] = $statusList;
2351
		foreach ($statusList as $i => $iValue) {
2352
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
2353
		}
2354
2355
		return $this;
2356
    }
2357
}
2358
2359
/**
2360
 * @method string getType()
2361
 * @method $this withType($value)
2362
 * @method string getPageNumber()
2363
 * @method $this withPageNumber($value)
2364
 * @method string getName()
2365
 * @method $this withName($value)
2366
 * @method string getPageSize()
2367
 * @method $this withPageSize($value)
2368
 * @method string getId()
2369
 * @method $this withId($value)
2370
 * @method string getAdhoc()
2371
 * @method $this withAdhoc($value)
2372
 * @method string getProjectId()
2373
 * @method $this withProjectId($value)
2374
 */
2375
class ListFlowJob extends Rpc
2376
{
2377
}
2378
2379
/**
2380
 * @method string getTimeRange()
2381
 * @method $this withTimeRange($value)
2382
 * @method array getStatusList()
2383
 * @method string getJobType()
2384
 * @method $this withJobType($value)
2385
 * @method string getPageNumber()
2386
 * @method $this withPageNumber($value)
2387
 * @method string getInstanceId()
2388
 * @method $this withInstanceId($value)
2389
 * @method string getPageSize()
2390
 * @method $this withPageSize($value)
2391
 * @method string getId()
2392
 * @method $this withId($value)
2393
 * @method string getProjectId()
2394
 * @method $this withProjectId($value)
2395
 */
2396
class ListFlowJobHistory extends Rpc
2397
{
2398
2399
    /**
2400
     * @param array $statusList
2401
     *
2402
     * @return $this
2403
     */
2404
	public function withStatusList(array $statusList)
2405
	{
2406
	    $this->data['StatusList'] = $statusList;
2407
		foreach ($statusList as $i => $iValue) {
2408
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
2409
		}
2410
2411
		return $this;
2412
    }
2413
}
2414
2415
/**
2416
 * @method array getStatusList()
2417
 * @method string getOrderBy()
2418
 * @method $this withOrderBy($value)
2419
 * @method string getStartTime()
2420
 * @method $this withStartTime($value)
2421
 * @method string getPageNumber()
2422
 * @method $this withPageNumber($value)
2423
 * @method string getResourceGroupId()
2424
 * @method $this withResourceGroupId($value)
2425
 * @method string getPageSize()
2426
 * @method $this withPageSize($value)
2427
 * @method string getProjectId()
2428
 * @method $this withProjectId($value)
2429
 * @method string getOrderType()
2430
 * @method $this withOrderType($value)
2431
 */
2432
class ListFlowNodeInstance extends Rpc
2433
{
2434
2435
    /**
2436
     * @param array $statusList
2437
     *
2438
     * @return $this
2439
     */
2440
	public function withStatusList(array $statusList)
2441
	{
2442
	    $this->data['StatusList'] = $statusList;
2443
		foreach ($statusList as $i => $iValue) {
2444
			$this->options['query']['StatusList.' . ($i + 1)] = $iValue;
2445
		}
2446
2447
		return $this;
2448
    }
2449
}
2450
2451
/**
2452
 * @method string getNodeInstanceId()
2453
 * @method $this withNodeInstanceId($value)
2454
 * @method string getPageNumber()
2455
 * @method $this withPageNumber($value)
2456
 * @method string getPageSize()
2457
 * @method $this withPageSize($value)
2458
 * @method string getProjectId()
2459
 * @method $this withProjectId($value)
2460
 */
2461
class ListFlowNodeInstanceContainerStatus extends Rpc
2462
{
2463
}
2464
2465
/**
2466
 * @method string getOffset()
2467
 * @method $this withOffset($value)
2468
 * @method string getLength()
2469
 * @method $this withLength($value)
2470
 * @method string getSqlIndex()
2471
 * @method $this withSqlIndex($value)
2472
 * @method string getNodeInstanceId()
2473
 * @method $this withNodeInstanceId($value)
2474
 * @method string getProjectId()
2475
 * @method $this withProjectId($value)
2476
 */
2477
class ListFlowNodeSqlResult extends Rpc
2478
{
2479
}
2480
2481
/**
2482
 * @method string getPageNumber()
2483
 * @method $this withPageNumber($value)
2484
 * @method string getProductType()
2485
 * @method $this withProductType($value)
2486
 * @method string getResourceGroupId()
2487
 * @method $this withResourceGroupId($value)
2488
 * @method string getName()
2489
 * @method $this withName($value)
2490
 * @method string getPageSize()
2491
 * @method $this withPageSize($value)
2492
 * @method string getProjectId()
2493
 * @method $this withProjectId($value)
2494
 */
2495
class ListFlowProject extends Rpc
2496
{
2497
}
2498
2499
/**
2500
 * @method string getPageNumber()
2501
 * @method $this withPageNumber($value)
2502
 * @method string getPageSize()
2503
 * @method $this withPageSize($value)
2504
 * @method string getProjectId()
2505
 * @method $this withProjectId($value)
2506
 */
2507
class ListFlowProjectClusterSetting extends Rpc
2508
{
2509
}
2510
2511
/**
2512
 * @method string getPageNumber()
2513
 * @method $this withPageNumber($value)
2514
 * @method string getPageSize()
2515
 * @method $this withPageSize($value)
2516
 * @method string getProjectId()
2517
 * @method $this withProjectId($value)
2518
 */
2519
class ListFlowProjectUser extends Rpc
2520
{
2521
}
2522
2523
/**
2524
 * @method string getResourceOwnerId()
2525
 * @method $this withResourceOwnerId($value)
2526
 * @method string getClusterId()
2527
 * @method $this withClusterId($value)
2528
 * @method string getPageNumber()
2529
 * @method $this withPageNumber($value)
2530
 * @method string getPageSize()
2531
 * @method $this withPageSize($value)
2532
 * @method string getPoolType()
2533
 * @method $this withPoolType($value)
2534
 */
2535
class ListResourcePool extends Rpc
2536
{
2537
}
2538
2539
/**
2540
 * @method string getResourceOwnerId()
2541
 * @method $this withResourceOwnerId($value)
2542
 * @method string getPageCount()
2543
 * @method $this withPageCount($value)
2544
 * @method string getOrderMode()
2545
 * @method $this withOrderMode($value)
2546
 * @method string getClusterBizId()
2547
 * @method $this withClusterBizId($value)
2548
 * @method string getPageNumber()
2549
 * @method $this withPageNumber($value)
2550
 * @method string getHostGroupName()
2551
 * @method $this withHostGroupName($value)
2552
 * @method string getScalingGroupBizId()
2553
 * @method $this withScalingGroupBizId($value)
2554
 * @method string getScalingRuleName()
2555
 * @method $this withScalingRuleName($value)
2556
 * @method string getResourceGroupId()
2557
 * @method $this withResourceGroupId($value)
2558
 * @method string getLimit()
2559
 * @method $this withLimit($value)
2560
 * @method string getPageSize()
2561
 * @method $this withPageSize($value)
2562
 * @method string getCurrentSize()
2563
 * @method $this withCurrentSize($value)
2564
 * @method string getOrderField()
2565
 * @method $this withOrderField($value)
2566
 * @method string getHostGroupId()
2567
 * @method $this withHostGroupId($value)
2568
 * @method string getStatus()
2569
 * @method $this withStatus($value)
2570
 */
2571
class ListScalingActivityV2 extends Rpc
2572
{
2573
}
2574
2575
/**
2576
 * @method string getConfigItemType()
2577
 * @method $this withConfigItemType($value)
2578
 * @method string getResourceOwnerId()
2579
 * @method $this withResourceOwnerId($value)
2580
 * @method string getPageNumber()
2581
 * @method $this withPageNumber($value)
2582
 * @method string getScalingGroupBizId()
2583
 * @method $this withScalingGroupBizId($value)
2584
 * @method string getResourceGroupId()
2585
 * @method $this withResourceGroupId($value)
2586
 * @method string getPageSize()
2587
 * @method $this withPageSize($value)
2588
 */
2589
class ListScalingConfigItemV2 extends Rpc
2590
{
2591
}
2592
2593
/**
2594
 * @method string getResourceOwnerId()
2595
 * @method $this withResourceOwnerId($value)
2596
 * @method string getPageCount()
2597
 * @method $this withPageCount($value)
2598
 * @method string getOrderMode()
2599
 * @method $this withOrderMode($value)
2600
 * @method string getClusterBizId()
2601
 * @method $this withClusterBizId($value)
2602
 * @method string getPageNumber()
2603
 * @method $this withPageNumber($value)
2604
 * @method string getResourceGroupId()
2605
 * @method $this withResourceGroupId($value)
2606
 * @method string getLimit()
2607
 * @method $this withLimit($value)
2608
 * @method string getPageSize()
2609
 * @method $this withPageSize($value)
2610
 * @method string getCurrentSize()
2611
 * @method $this withCurrentSize($value)
2612
 * @method string getOrderField()
2613
 * @method $this withOrderField($value)
2614
 */
2615
class ListScalingGroupV2 extends Rpc
2616
{
2617
}
2618
2619
/**
2620
 * @method string getResourceOwnerId()
2621
 * @method $this withResourceOwnerId($value)
2622
 * @method array getResourceId()
2623
 * @method string getResourceType()
2624
 * @method $this withResourceType($value)
2625
 * @method string getNextToken()
2626
 * @method $this withNextToken($value)
2627
 * @method array getTag()
2628
 */
2629
class ListTagResources extends Rpc
2630
{
2631
2632
    /**
2633
     * @param array $resourceId
2634
     *
2635
     * @return $this
2636
     */
2637
	public function withResourceId(array $resourceId)
2638
	{
2639
	    $this->data['ResourceId'] = $resourceId;
2640
		foreach ($resourceId as $i => $iValue) {
2641
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
2642
		}
2643
2644
		return $this;
2645
    }
2646
2647
    /**
2648
     * @param array $tag
2649
     *
2650
     * @return $this
2651
     */
2652
	public function withTag(array $tag)
2653
	{
2654
	    $this->data['Tag'] = $tag;
2655
		foreach ($tag as $depth1 => $depth1Value) {
2656
			if(isset($depth1Value['Key'])){
2657
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2658
			}
2659
			if(isset($depth1Value['Value'])){
2660
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2661
			}
2662
		}
2663
2664
		return $this;
2665
    }
2666
}
2667
2668
/**
2669
 * @method string getResourceOwnerId()
2670
 * @method $this withResourceOwnerId($value)
2671
 * @method string getName()
2672
 * @method $this withName($value)
2673
 * @method string getId()
2674
 * @method $this withId($value)
2675
 */
2676
class ModifyClusterName extends Rpc
2677
{
2678
}
2679
2680
/**
2681
 * @method string getRefreshHostConfig()
2682
 * @method $this withRefreshHostConfig($value)
2683
 * @method string getResourceOwnerId()
2684
 * @method $this withResourceOwnerId($value)
2685
 * @method string getHostInstanceId()
2686
 * @method $this withHostInstanceId($value)
2687
 * @method string getServiceName()
2688
 * @method $this withServiceName($value)
2689
 * @method array getGatewayClusterIdList()
2690
 * @method string getConfigParams()
2691
 * @method $this withConfigParams($value)
2692
 * @method string getConfigType()
2693
 * @method $this withConfigType($value)
2694
 * @method string getGroupId()
2695
 * @method $this withGroupId($value)
2696
 * @method string getClusterId()
2697
 * @method $this withClusterId($value)
2698
 * @method string getCustomConfigParams()
2699
 * @method $this withCustomConfigParams($value)
2700
 * @method string getComment()
2701
 * @method $this withComment($value)
2702
 */
2703
class ModifyClusterServiceConfig extends Rpc
2704
{
2705
2706
    /**
2707
     * @param array $gatewayClusterIdList
2708
     *
2709
     * @return $this
2710
     */
2711
	public function withGatewayClusterIdList(array $gatewayClusterIdList)
2712
	{
2713
	    $this->data['GatewayClusterIdList'] = $gatewayClusterIdList;
2714
		foreach ($gatewayClusterIdList as $i => $iValue) {
2715
			$this->options['query']['GatewayClusterIdList.' . ($i + 1)] = $iValue;
2716
		}
2717
2718
		return $this;
2719
    }
2720
}
2721
2722
/**
2723
 * @method string getResourceOwnerId()
2724
 * @method $this withResourceOwnerId($value)
2725
 * @method string getLogPath()
2726
 * @method $this withLogPath($value)
2727
 * @method string getMasterPwd()
2728
 * @method $this withMasterPwd($value)
2729
 * @method string getConfigurations()
2730
 * @method $this withConfigurations($value)
2731
 * @method string getSshEnable()
2732
 * @method $this withSshEnable($value)
2733
 * @method string getKeyPairName()
2734
 * @method $this withKeyPairName($value)
2735
 * @method string getMetaStoreType()
2736
 * @method $this withMetaStoreType($value)
2737
 * @method string getSecurityGroupName()
2738
 * @method $this withSecurityGroupName($value)
2739
 * @method string getMachineType()
2740
 * @method $this withMachineType($value)
2741
 * @method string getResourceGroupId()
2742
 * @method $this withResourceGroupId($value)
2743
 * @method array getBootstrapAction()
2744
 * @method string getMetaStoreConf()
2745
 * @method $this withMetaStoreConf($value)
2746
 * @method string getEmrVer()
2747
 * @method $this withEmrVer($value)
2748
 * @method array getTag()
2749
 * @method string getIsOpenPublicIp()
2750
 * @method $this withIsOpenPublicIp($value)
2751
 * @method string getPeriod()
2752
 * @method $this withPeriod($value)
2753
 * @method string getInstanceGeneration()
2754
 * @method $this withInstanceGeneration($value)
2755
 * @method string getVSwitchId()
2756
 * @method $this withVSwitchId($value)
2757
 * @method string getClusterType()
2758
 * @method $this withClusterType($value)
2759
 * @method string getAutoRenew()
2760
 * @method $this withAutoRenew($value)
2761
 * @method array getOptionSoftWareList()
2762
 * @method string getNetType()
2763
 * @method $this withNetType($value)
2764
 * @method string getZoneId()
2765
 * @method $this withZoneId($value)
2766
 * @method string getUseCustomHiveMetaDb()
2767
 * @method $this withUseCustomHiveMetaDb($value)
2768
 * @method string getInitCustomHiveMetaDb()
2769
 * @method $this withInitCustomHiveMetaDb($value)
2770
 * @method string getIoOptimized()
2771
 * @method $this withIoOptimized($value)
2772
 * @method string getSecurityGroupId()
2773
 * @method $this withSecurityGroupId($value)
2774
 * @method string getEasEnable()
2775
 * @method $this withEasEnable($value)
2776
 * @method string getDepositType()
2777
 * @method $this withDepositType($value)
2778
 * @method string getDataDiskKMSKeyId()
2779
 * @method $this withDataDiskKMSKeyId($value)
2780
 * @method string getUseLocalMetaDb()
2781
 * @method $this withUseLocalMetaDb($value)
2782
 * @method string getTemplateName()
2783
 * @method $this withTemplateName($value)
2784
 * @method string getUserDefinedEmrEcsRole()
2785
 * @method $this withUserDefinedEmrEcsRole($value)
2786
 * @method string getDataDiskEncrypted()
2787
 * @method $this withDataDiskEncrypted($value)
2788
 * @method string getVpcId()
2789
 * @method $this withVpcId($value)
2790
 * @method string getBizId()
2791
 * @method $this withBizId($value)
2792
 * @method array getHostGroup()
2793
 * @method string getChargeType()
2794
 * @method $this withChargeType($value)
2795
 * @method array getConfig()
2796
 * @method string getHighAvailabilityEnable()
2797
 * @method $this withHighAvailabilityEnable($value)
2798
 */
2799
class ModifyClusterTemplate extends Rpc
2800
{
2801
2802
    /**
2803
     * @param array $bootstrapAction
2804
     *
2805
     * @return $this
2806
     */
2807
	public function withBootstrapAction(array $bootstrapAction)
2808
	{
2809
	    $this->data['BootstrapAction'] = $bootstrapAction;
2810
		foreach ($bootstrapAction as $depth1 => $depth1Value) {
2811
			if(isset($depth1Value['Path'])){
2812
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Path'] = $depth1Value['Path'];
2813
			}
2814
			if(isset($depth1Value['ExecutionTarget'])){
2815
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionTarget'] = $depth1Value['ExecutionTarget'];
2816
			}
2817
			if(isset($depth1Value['ExecutionMoment'])){
2818
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionMoment'] = $depth1Value['ExecutionMoment'];
2819
			}
2820
			if(isset($depth1Value['Arg'])){
2821
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Arg'] = $depth1Value['Arg'];
2822
			}
2823
			if(isset($depth1Value['Name'])){
2824
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
2825
			}
2826
			if(isset($depth1Value['ExecutionFailStrategy'])){
2827
				$this->options['query']['BootstrapAction.' . ($depth1 + 1) . '.ExecutionFailStrategy'] = $depth1Value['ExecutionFailStrategy'];
2828
			}
2829
		}
2830
2831
		return $this;
2832
    }
2833
2834
    /**
2835
     * @param array $tag
2836
     *
2837
     * @return $this
2838
     */
2839
	public function withTag(array $tag)
2840
	{
2841
	    $this->data['Tag'] = $tag;
2842
		foreach ($tag as $depth1 => $depth1Value) {
2843
			if(isset($depth1Value['Value'])){
2844
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
2845
			}
2846
			if(isset($depth1Value['Key'])){
2847
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
2848
			}
2849
		}
2850
2851
		return $this;
2852
    }
2853
2854
    /**
2855
     * @param array $optionSoftWareList
2856
     *
2857
     * @return $this
2858
     */
2859
	public function withOptionSoftWareList(array $optionSoftWareList)
2860
	{
2861
	    $this->data['OptionSoftWareList'] = $optionSoftWareList;
2862
		foreach ($optionSoftWareList as $i => $iValue) {
2863
			$this->options['query']['OptionSoftWareList.' . ($i + 1)] = $iValue;
2864
		}
2865
2866
		return $this;
2867
    }
2868
2869
    /**
2870
     * @param array $hostGroup
2871
     *
2872
     * @return $this
2873
     */
2874
	public function withHostGroup(array $hostGroup)
2875
	{
2876
	    $this->data['HostGroup'] = $hostGroup;
2877
		foreach ($hostGroup as $depth1 => $depth1Value) {
2878
			if(isset($depth1Value['Period'])){
2879
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
2880
			}
2881
			if(isset($depth1Value['SysDiskCapacity'])){
2882
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity'];
2883
			}
2884
			if(isset($depth1Value['DiskCapacity'])){
2885
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
2886
			}
2887
			if(isset($depth1Value['SysDiskType'])){
2888
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType'];
2889
			}
2890
			if(isset($depth1Value['ClusterId'])){
2891
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId'];
2892
			}
2893
			if(isset($depth1Value['DiskType'])){
2894
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
2895
			}
2896
			if(isset($depth1Value['HostGroupName'])){
2897
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
2898
			}
2899
			if(isset($depth1Value['VSwitchId'])){
2900
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
2901
			}
2902
			if(isset($depth1Value['DiskCount'])){
2903
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
2904
			}
2905
			if(isset($depth1Value['AutoRenew'])){
2906
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew'];
2907
			}
2908
			if(isset($depth1Value['HostGroupId'])){
2909
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId'];
2910
			}
2911
			if(isset($depth1Value['NodeCount'])){
2912
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
2913
			}
2914
			if(isset($depth1Value['InstanceType'])){
2915
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
2916
			}
2917
			if(isset($depth1Value['Comment'])){
2918
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
2919
			}
2920
			if(isset($depth1Value['ChargeType'])){
2921
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType'];
2922
			}
2923
			if(isset($depth1Value['MultiInstanceTypes'])){
2924
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.MultiInstanceTypes'] = $depth1Value['MultiInstanceTypes'];
2925
			}
2926
			if(isset($depth1Value['CreateType'])){
2927
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType'];
2928
			}
2929
			if(isset($depth1Value['HostGroupType'])){
2930
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType'];
2931
			}
2932
		}
2933
2934
		return $this;
2935
    }
2936
2937
    /**
2938
     * @param array $config
2939
     *
2940
     * @return $this
2941
     */
2942
	public function withConfig(array $config)
2943
	{
2944
	    $this->data['Config'] = $config;
2945
		foreach ($config as $depth1 => $depth1Value) {
2946
			if(isset($depth1Value['ConfigKey'])){
2947
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
2948
			}
2949
			if(isset($depth1Value['FileName'])){
2950
				$this->options['query']['Config.' . ($depth1 + 1) . '.FileName'] = $depth1Value['FileName'];
2951
			}
2952
			if(isset($depth1Value['Encrypt'])){
2953
				$this->options['query']['Config.' . ($depth1 + 1) . '.Encrypt'] = $depth1Value['Encrypt'];
2954
			}
2955
			if(isset($depth1Value['Replace'])){
2956
				$this->options['query']['Config.' . ($depth1 + 1) . '.Replace'] = $depth1Value['Replace'];
2957
			}
2958
			if(isset($depth1Value['ConfigValue'])){
2959
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
2960
			}
2961
			if(isset($depth1Value['ServiceName'])){
2962
				$this->options['query']['Config.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
2963
			}
2964
		}
2965
2966
		return $this;
2967
    }
2968
}
2969
2970
/**
2971
 * @method string getParentId()
2972
 * @method $this withParentId($value)
2973
 * @method string getName()
2974
 * @method $this withName($value)
2975
 * @method string getId()
2976
 * @method $this withId($value)
2977
 * @method string getProjectId()
2978
 * @method $this withProjectId($value)
2979
 */
2980
class ModifyFlowCategory extends Rpc
2981
{
2982
}
2983
2984
/**
2985
 * @method string getCronExpr()
2986
 * @method $this withCronExpr($value)
2987
 * @method string getPeriodic()
2988
 * @method $this withPeriodic($value)
2989
 * @method string getDescription()
2990
 * @method $this withDescription($value)
2991
 * @method string getAlertUserGroupBizId()
2992
 * @method $this withAlertUserGroupBizId($value)
2993
 * @method string getLifecycle()
2994
 * @method $this withLifecycle($value)
2995
 * @method string getHostName()
2996
 * @method $this withHostName($value)
2997
 * @method string getCreateCluster()
2998
 * @method $this withCreateCluster($value)
2999
 * @method string getEndSchedule()
3000
 * @method $this withEndSchedule($value)
3001
 * @method string getId()
3002
 * @method $this withId($value)
3003
 * @method string getAlertConf()
3004
 * @method $this withAlertConf($value)
3005
 * @method string getProjectId()
3006
 * @method $this withProjectId($value)
3007
 * @method string getParentFlowList()
3008
 * @method $this withParentFlowList($value)
3009
 * @method string getLogArchiveLocation()
3010
 * @method $this withLogArchiveLocation($value)
3011
 * @method string getAlertDingDingGroupBizId()
3012
 * @method $this withAlertDingDingGroupBizId($value)
3013
 * @method string getStartSchedule()
3014
 * @method $this withStartSchedule($value)
3015
 * @method string getClusterId()
3016
 * @method $this withClusterId($value)
3017
 * @method string getGraph()
3018
 * @method $this withGraph($value)
3019
 * @method string getName()
3020
 * @method $this withName($value)
3021
 * @method string getNamespace()
3022
 * @method $this withNamespace($value)
3023
 * @method string getStatus()
3024
 * @method $this withStatus($value)
3025
 * @method string getParentCategory()
3026
 * @method $this withParentCategory($value)
3027
 */
3028
class ModifyFlowForWeb extends Rpc
3029
{
3030
}
3031
3032
/**
3033
 * @method string getDescription()
3034
 * @method $this withDescription($value)
3035
 * @method string getName()
3036
 * @method $this withName($value)
3037
 * @method string getProjectId()
3038
 * @method $this withProjectId($value)
3039
 */
3040
class ModifyFlowProject extends Rpc
3041
{
3042
}
3043
3044
/**
3045
 * @method array getUserList()
3046
 * @method array getHostList()
3047
 * @method string getClusterId()
3048
 * @method $this withClusterId($value)
3049
 * @method string getDefaultQueue()
3050
 * @method $this withDefaultQueue($value)
3051
 * @method string getDefaultUser()
3052
 * @method $this withDefaultUser($value)
3053
 * @method array getQueueList()
3054
 * @method string getProjectId()
3055
 * @method $this withProjectId($value)
3056
 */
3057
class ModifyFlowProjectClusterSetting extends Rpc
3058
{
3059
3060
    /**
3061
     * @param array $userList
3062
     *
3063
     * @return $this
3064
     */
3065
	public function withUserList(array $userList)
3066
	{
3067
	    $this->data['UserList'] = $userList;
3068
		foreach ($userList as $i => $iValue) {
3069
			$this->options['query']['UserList.' . ($i + 1)] = $iValue;
3070
		}
3071
3072
		return $this;
3073
    }
3074
3075
    /**
3076
     * @param array $hostList
3077
     *
3078
     * @return $this
3079
     */
3080
	public function withHostList(array $hostList)
3081
	{
3082
	    $this->data['HostList'] = $hostList;
3083
		foreach ($hostList as $i => $iValue) {
3084
			$this->options['query']['HostList.' . ($i + 1)] = $iValue;
3085
		}
3086
3087
		return $this;
3088
    }
3089
3090
    /**
3091
     * @param array $queueList
3092
     *
3093
     * @return $this
3094
     */
3095
	public function withQueueList(array $queueList)
3096
	{
3097
	    $this->data['QueueList'] = $queueList;
3098
		foreach ($queueList as $i => $iValue) {
3099
			$this->options['query']['QueueList.' . ($i + 1)] = $iValue;
3100
		}
3101
3102
		return $this;
3103
    }
3104
}
3105
3106
/**
3107
 * @method string getResourceOwnerId()
3108
 * @method $this withResourceOwnerId($value)
3109
 * @method string getActive()
3110
 * @method $this withActive($value)
3111
 * @method string getClusterId()
3112
 * @method $this withClusterId($value)
3113
 * @method string getYarnsiteconfig()
3114
 * @method $this withYarnsiteconfig($value)
3115
 * @method string getName()
3116
 * @method $this withName($value)
3117
 * @method string getId()
3118
 * @method $this withId($value)
3119
 * @method array getConfig()
3120
 */
3121
class ModifyResourcePool extends Rpc
3122
{
3123
3124
    /**
3125
     * @param array $config
3126
     *
3127
     * @return $this
3128
     */
3129
	public function withConfig(array $config)
3130
	{
3131
	    $this->data['Config'] = $config;
3132
		foreach ($config as $depth1 => $depth1Value) {
3133
			if(isset($depth1Value['ConfigKey'])){
3134
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
3135
			}
3136
			if(isset($depth1Value['Note'])){
3137
				$this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note'];
3138
			}
3139
			if(isset($depth1Value['ConfigValue'])){
3140
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
3141
			}
3142
			if(isset($depth1Value['Id'])){
3143
				$this->options['query']['Config.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
3144
			}
3145
			if(isset($depth1Value['Category'])){
3146
				$this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
3147
			}
3148
		}
3149
3150
		return $this;
3151
    }
3152
}
3153
3154
/**
3155
 * @method string getResourceOwnerId()
3156
 * @method $this withResourceOwnerId($value)
3157
 * @method string getClusterId()
3158
 * @method $this withClusterId($value)
3159
 * @method string getSchedulerType()
3160
 * @method $this withSchedulerType($value)
3161
 */
3162
class ModifyResourcePoolSchedulerType extends Rpc
3163
{
3164
}
3165
3166
/**
3167
 * @method string getResourceOwnerId()
3168
 * @method $this withResourceOwnerId($value)
3169
 * @method string getQualifiedName()
3170
 * @method $this withQualifiedName($value)
3171
 * @method string getResourcePoolId()
3172
 * @method $this withResourcePoolId($value)
3173
 * @method string getClusterId()
3174
 * @method $this withClusterId($value)
3175
 * @method string getLeaf()
3176
 * @method $this withLeaf($value)
3177
 * @method string getParentQueueId()
3178
 * @method $this withParentQueueId($value)
3179
 * @method string getName()
3180
 * @method $this withName($value)
3181
 * @method string getId()
3182
 * @method $this withId($value)
3183
 * @method array getConfig()
3184
 */
3185
class ModifyResourceQueue extends Rpc
3186
{
3187
3188
    /**
3189
     * @param array $config
3190
     *
3191
     * @return $this
3192
     */
3193
	public function withConfig(array $config)
3194
	{
3195
	    $this->data['Config'] = $config;
3196
		foreach ($config as $depth1 => $depth1Value) {
3197
			if(isset($depth1Value['ConfigKey'])){
3198
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigKey'] = $depth1Value['ConfigKey'];
3199
			}
3200
			if(isset($depth1Value['Note'])){
3201
				$this->options['query']['Config.' . ($depth1 + 1) . '.Note'] = $depth1Value['Note'];
3202
			}
3203
			if(isset($depth1Value['ConfigValue'])){
3204
				$this->options['query']['Config.' . ($depth1 + 1) . '.ConfigValue'] = $depth1Value['ConfigValue'];
3205
			}
3206
			if(isset($depth1Value['Id'])){
3207
				$this->options['query']['Config.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
3208
			}
3209
			if(isset($depth1Value['Category'])){
3210
				$this->options['query']['Config.' . ($depth1 + 1) . '.Category'] = $depth1Value['Category'];
3211
			}
3212
		}
3213
3214
		return $this;
3215
    }
3216
}
3217
3218
/**
3219
 * @method string getConfigItemBizId()
3220
 * @method $this withConfigItemBizId($value)
3221
 * @method string getConfigItemType()
3222
 * @method $this withConfigItemType($value)
3223
 * @method string getResourceOwnerId()
3224
 * @method $this withResourceOwnerId($value)
3225
 * @method string getScalingGroupBizId()
3226
 * @method $this withScalingGroupBizId($value)
3227
 * @method string getResourceGroupId()
3228
 * @method $this withResourceGroupId($value)
3229
 * @method string getConfigItemInformation()
3230
 * @method $this withConfigItemInformation($value)
3231
 */
3232
class ModifyScalingConfigItemV2 extends Rpc
3233
{
3234
}
3235
3236
/**
3237
 * @method string getResourceOwnerId()
3238
 * @method $this withResourceOwnerId($value)
3239
 * @method string getDescription()
3240
 * @method $this withDescription($value)
3241
 * @method string getScalingGroupBizId()
3242
 * @method $this withScalingGroupBizId($value)
3243
 * @method string getResourceGroupId()
3244
 * @method $this withResourceGroupId($value)
3245
 * @method string getName()
3246
 * @method $this withName($value)
3247
 */
3248
class ModifyScalingGroupV2 extends Rpc
3249
{
3250
}
3251
3252
/**
3253
 * @method string getResourceOwnerId()
3254
 * @method $this withResourceOwnerId($value)
3255
 * @method string getResourcePoolId()
3256
 * @method $this withResourcePoolId($value)
3257
 * @method string getClusterId()
3258
 * @method $this withClusterId($value)
3259
 */
3260
class RefreshClusterResourcePool extends Rpc
3261
{
3262
}
3263
3264
/**
3265
 * @method string getResourceOwnerId()
3266
 * @method $this withResourceOwnerId($value)
3267
 * @method string getForceRelease()
3268
 * @method $this withForceRelease($value)
3269
 * @method string getId()
3270
 * @method $this withId($value)
3271
 */
3272
class ReleaseCluster extends Rpc
3273
{
3274
}
3275
3276
/**
3277
 * @method string getResourceOwnerId()
3278
 * @method $this withResourceOwnerId($value)
3279
 * @method string getClusterId()
3280
 * @method $this withClusterId($value)
3281
 * @method string getHostGroupId()
3282
 * @method $this withHostGroupId($value)
3283
 * @method string getInstanceIdList()
3284
 * @method $this withInstanceIdList($value)
3285
 */
3286
class ReleaseClusterHostGroup extends Rpc
3287
{
3288
}
3289
3290
/**
3291
 * @method string getConfigItemType()
3292
 * @method $this withConfigItemType($value)
3293
 * @method string getConfigItemBizId()
3294
 * @method $this withConfigItemBizId($value)
3295
 * @method string getResourceOwnerId()
3296
 * @method $this withResourceOwnerId($value)
3297
 * @method string getScalingGroupBizId()
3298
 * @method $this withScalingGroupBizId($value)
3299
 * @method string getResourceGroupId()
3300
 * @method $this withResourceGroupId($value)
3301
 */
3302
class RemoveScalingConfigItemV2 extends Rpc
3303
{
3304
}
3305
3306
/**
3307
 * @method string getFlowInstanceId()
3308
 * @method $this withFlowInstanceId($value)
3309
 * @method string getReRunFail()
3310
 * @method $this withReRunFail($value)
3311
 * @method string getProjectId()
3312
 * @method $this withProjectId($value)
3313
 */
3314
class RerunFlow extends Rpc
3315
{
3316
}
3317
3318
/**
3319
 * @method string getIsOpenPublicIp()
3320
 * @method $this withIsOpenPublicIp($value)
3321
 * @method string getAutoPayOrder()
3322
 * @method $this withAutoPayOrder($value)
3323
 * @method string getClusterId()
3324
 * @method $this withClusterId($value)
3325
 * @method string getVswitchId()
3326
 * @method $this withVswitchId($value)
3327
 * @method array getHostComponentInfo()
3328
 * @method string getClickhouseConf()
3329
 * @method $this withClickhouseConf($value)
3330
 * @method array getHostGroup()
3331
 * @method array getPromotionInfo()
3332
 */
3333
class ResizeClusterV2 extends Rpc
3334
{
3335
3336
    /**
3337
     * @param array $hostComponentInfo
3338
     *
3339
     * @return $this
3340
     */
3341
	public function withHostComponentInfo(array $hostComponentInfo)
3342
	{
3343
	    $this->data['HostComponentInfo'] = $hostComponentInfo;
3344
		foreach ($hostComponentInfo as $depth1 => $depth1Value) {
3345
			if(isset($depth1Value['HostName'])){
3346
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.HostName'] = $depth1Value['HostName'];
3347
			}
3348
			foreach ($depth1Value['ComponentNameList'] as $i => $iValue) {
3349
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ComponentNameList.' . ($i + 1)] = $iValue;
3350
			}
3351
			if(isset($depth1Value['ServiceName'])){
3352
				$this->options['query']['HostComponentInfo.' . ($depth1 + 1) . '.ServiceName'] = $depth1Value['ServiceName'];
3353
			}
3354
		}
3355
3356
		return $this;
3357
    }
3358
3359
    /**
3360
     * @param array $hostGroup
3361
     *
3362
     * @return $this
3363
     */
3364
	public function withHostGroup(array $hostGroup)
3365
	{
3366
	    $this->data['HostGroup'] = $hostGroup;
3367
		foreach ($hostGroup as $depth1 => $depth1Value) {
3368
			if(isset($depth1Value['Period'])){
3369
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
3370
			}
3371
			if(isset($depth1Value['SysDiskCapacity'])){
3372
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskCapacity'] = $depth1Value['SysDiskCapacity'];
3373
			}
3374
			if(isset($depth1Value['HostKeyPairName'])){
3375
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostKeyPairName'] = $depth1Value['HostKeyPairName'];
3376
			}
3377
			if(isset($depth1Value['PrivatePoolOptionsId'])){
3378
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsId'] = $depth1Value['PrivatePoolOptionsId'];
3379
			}
3380
			if(isset($depth1Value['DiskCapacity'])){
3381
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCapacity'] = $depth1Value['DiskCapacity'];
3382
			}
3383
			if(isset($depth1Value['SysDiskType'])){
3384
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.SysDiskType'] = $depth1Value['SysDiskType'];
3385
			}
3386
			if(isset($depth1Value['ClusterId'])){
3387
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ClusterId'] = $depth1Value['ClusterId'];
3388
			}
3389
			if(isset($depth1Value['DiskType'])){
3390
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskType'] = $depth1Value['DiskType'];
3391
			}
3392
			if(isset($depth1Value['HostGroupName'])){
3393
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupName'] = $depth1Value['HostGroupName'];
3394
			}
3395
			if(isset($depth1Value['VswitchId'])){
3396
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.VswitchId'] = $depth1Value['VswitchId'];
3397
			}
3398
			if(isset($depth1Value['DiskCount'])){
3399
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.DiskCount'] = $depth1Value['DiskCount'];
3400
			}
3401
			if(isset($depth1Value['AutoRenew'])){
3402
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.AutoRenew'] = $depth1Value['AutoRenew'];
3403
			}
3404
			if(isset($depth1Value['HostGroupId'])){
3405
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupId'] = $depth1Value['HostGroupId'];
3406
			}
3407
			if(isset($depth1Value['NodeCount'])){
3408
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.NodeCount'] = $depth1Value['NodeCount'];
3409
			}
3410
			if(isset($depth1Value['InstanceType'])){
3411
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
3412
			}
3413
			if(isset($depth1Value['Comment'])){
3414
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.Comment'] = $depth1Value['Comment'];
3415
			}
3416
			if(isset($depth1Value['ChargeType'])){
3417
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.ChargeType'] = $depth1Value['ChargeType'];
3418
			}
3419
			if(isset($depth1Value['CreateType'])){
3420
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.CreateType'] = $depth1Value['CreateType'];
3421
			}
3422
			if(isset($depth1Value['HostPassword'])){
3423
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostPassword'] = $depth1Value['HostPassword'];
3424
			}
3425
			if(isset($depth1Value['HostGroupType'])){
3426
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.HostGroupType'] = $depth1Value['HostGroupType'];
3427
			}
3428
			if(isset($depth1Value['PrivatePoolOptionsMatchCriteria'])){
3429
				$this->options['query']['HostGroup.' . ($depth1 + 1) . '.PrivatePoolOptionsMatchCriteria'] = $depth1Value['PrivatePoolOptionsMatchCriteria'];
3430
			}
3431
		}
3432
3433
		return $this;
3434
    }
3435
3436
    /**
3437
     * @param array $promotionInfo
3438
     *
3439
     * @return $this
3440
     */
3441
	public function withPromotionInfo(array $promotionInfo)
3442
	{
3443
	    $this->data['PromotionInfo'] = $promotionInfo;
3444
		foreach ($promotionInfo as $depth1 => $depth1Value) {
3445
			if(isset($depth1Value['PromotionOptionCode'])){
3446
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.PromotionOptionCode'] = $depth1Value['PromotionOptionCode'];
3447
			}
3448
			if(isset($depth1Value['ProductCode'])){
3449
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.ProductCode'] = $depth1Value['ProductCode'];
3450
			}
3451
			if(isset($depth1Value['PromotionOptionNo'])){
3452
				$this->options['query']['PromotionInfo.' . ($depth1 + 1) . '.PromotionOptionNo'] = $depth1Value['PromotionOptionNo'];
3453
			}
3454
		}
3455
3456
		return $this;
3457
    }
3458
}
3459
3460
/**
3461
 * @method string getFlowInstanceId()
3462
 * @method $this withFlowInstanceId($value)
3463
 * @method string getProjectId()
3464
 * @method $this withProjectId($value)
3465
 */
3466
class ResumeFlow extends Rpc
3467
{
3468
}
3469
3470
/**
3471
 * @method array getHostGroupIdList()
3472
 * @method string getResourceOwnerId()
3473
 * @method $this withResourceOwnerId($value)
3474
 * @method string getServiceActionName()
3475
 * @method $this withServiceActionName($value)
3476
 * @method string getIsRolling()
3477
 * @method $this withIsRolling($value)
3478
 * @method string getTotlerateFailCount()
3479
 * @method $this withTotlerateFailCount($value)
3480
 * @method string getServiceName()
3481
 * @method $this withServiceName($value)
3482
 * @method string getExecuteStrategy()
3483
 * @method $this withExecuteStrategy($value)
3484
 * @method string getOnlyRestartStaleConfigNodes()
3485
 * @method $this withOnlyRestartStaleConfigNodes($value)
3486
 * @method string getNodeCountPerBatch()
3487
 * @method $this withNodeCountPerBatch($value)
3488
 * @method string getClusterId()
3489
 * @method $this withClusterId($value)
3490
 * @method string getCustomCommand()
3491
 * @method $this withCustomCommand($value)
3492
 * @method string getComponentNameList()
3493
 * @method $this withComponentNameList($value)
3494
 * @method string getComment()
3495
 * @method $this withComment($value)
3496
 * @method string getCustomParams()
3497
 * @method $this withCustomParams($value)
3498
 * @method string getInterval()
3499
 * @method $this withInterval($value)
3500
 * @method string getHostIdList()
3501
 * @method $this withHostIdList($value)
3502
 * @method string getTurnOnMaintenanceMode()
3503
 * @method $this withTurnOnMaintenanceMode($value)
3504
 */
3505
class RunClusterServiceAction extends Rpc
3506
{
3507
3508
    /**
3509
     * @param array $hostGroupIdList
3510
     *
3511
     * @return $this
3512
     */
3513
	public function withHostGroupIdList(array $hostGroupIdList)
3514
	{
3515
	    $this->data['HostGroupIdList'] = $hostGroupIdList;
3516
		foreach ($hostGroupIdList as $i => $iValue) {
3517
			$this->options['query']['HostGroupIdList.' . ($i + 1)] = $iValue;
3518
		}
3519
3520
		return $this;
3521
    }
3522
}
3523
3524
/**
3525
 * @method string getResourceOwnerId()
3526
 * @method $this withResourceOwnerId($value)
3527
 * @method string getScalingActionType()
3528
 * @method $this withScalingActionType($value)
3529
 * @method string getScalingGroupBizId()
3530
 * @method $this withScalingGroupBizId($value)
3531
 * @method string getResourceGroupId()
3532
 * @method $this withResourceGroupId($value)
3533
 * @method string getActionParam()
3534
 * @method $this withActionParam($value)
3535
 */
3536
class RunScalingActionV2 extends Rpc
3537
{
3538
}
3539
3540
/**
3541
 * @method string getFlowInstanceId()
3542
 * @method $this withFlowInstanceId($value)
3543
 * @method string getProjectId()
3544
 * @method $this withProjectId($value)
3545
 */
3546
class StartFlow extends Rpc
3547
{
3548
}
3549
3550
/**
3551
 * @method string getConf()
3552
 * @method $this withConf($value)
3553
 * @method string getProjectId()
3554
 * @method $this withProjectId($value)
3555
 * @method string getFlowId()
3556
 * @method $this withFlowId($value)
3557
 */
3558
class SubmitFlow extends Rpc
3559
{
3560
}
3561
3562
/**
3563
 * @method string getConf()
3564
 * @method $this withConf($value)
3565
 * @method string getClusterId()
3566
 * @method $this withClusterId($value)
3567
 * @method string getJobId()
3568
 * @method $this withJobId($value)
3569
 * @method string getHostName()
3570
 * @method $this withHostName($value)
3571
 * @method string getNamespace()
3572
 * @method $this withNamespace($value)
3573
 * @method string getJobInstanceId()
3574
 * @method $this withJobInstanceId($value)
3575
 * @method string getProjectId()
3576
 * @method $this withProjectId($value)
3577
 */
3578
class SubmitFlowJob extends Rpc
3579
{
3580
}
3581
3582
/**
3583
 * @method string getFlowInstanceId()
3584
 * @method $this withFlowInstanceId($value)
3585
 * @method string getProjectId()
3586
 * @method $this withProjectId($value)
3587
 */
3588
class SuspendFlow extends Rpc
3589
{
3590
}
3591
3592
/**
3593
 * @method string getResourceOwnerId()
3594
 * @method $this withResourceOwnerId($value)
3595
 * @method array getResourceId()
3596
 * @method string getResourceType()
3597
 * @method $this withResourceType($value)
3598
 * @method array getTag()
3599
 */
3600
class TagResources extends Rpc
3601
{
3602
3603
    /**
3604
     * @param array $resourceId
3605
     *
3606
     * @return $this
3607
     */
3608
	public function withResourceId(array $resourceId)
3609
	{
3610
	    $this->data['ResourceId'] = $resourceId;
3611
		foreach ($resourceId as $i => $iValue) {
3612
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
3613
		}
3614
3615
		return $this;
3616
    }
3617
3618
    /**
3619
     * @param array $tag
3620
     *
3621
     * @return $this
3622
     */
3623
	public function withTag(array $tag)
3624
	{
3625
	    $this->data['Tag'] = $tag;
3626
		foreach ($tag as $depth1 => $depth1Value) {
3627
			if(isset($depth1Value['Key'])){
3628
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Key'] = $depth1Value['Key'];
3629
			}
3630
			if(isset($depth1Value['Value'])){
3631
				$this->options['query']['Tag.' . ($depth1 + 1) . '.Value'] = $depth1Value['Value'];
3632
			}
3633
		}
3634
3635
		return $this;
3636
    }
3637
}
3638
3639
/**
3640
 * @method string getAll()
3641
 * @method $this withAll($value)
3642
 * @method string getResourceOwnerId()
3643
 * @method $this withResourceOwnerId($value)
3644
 * @method array getResourceId()
3645
 * @method string getResourceType()
3646
 * @method $this withResourceType($value)
3647
 * @method array getTagKey()
3648
 */
3649
class UntagResources extends Rpc
3650
{
3651
3652
    /**
3653
     * @param array $resourceId
3654
     *
3655
     * @return $this
3656
     */
3657
	public function withResourceId(array $resourceId)
3658
	{
3659
	    $this->data['ResourceId'] = $resourceId;
3660
		foreach ($resourceId as $i => $iValue) {
3661
			$this->options['query']['ResourceId.' . ($i + 1)] = $iValue;
3662
		}
3663
3664
		return $this;
3665
    }
3666
3667
    /**
3668
     * @param array $tagKey
3669
     *
3670
     * @return $this
3671
     */
3672
	public function withTagKey(array $tagKey)
3673
	{
3674
	    $this->data['TagKey'] = $tagKey;
3675
		foreach ($tagKey as $i => $iValue) {
3676
			$this->options['query']['TagKey.' . ($i + 1)] = $iValue;
3677
		}
3678
3679
		return $this;
3680
    }
3681
}
3682