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 ( 0728a3...1c139a )
by
unknown
09:33
created

GetSchedulerInfo   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 18
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 3
eloc 6
dl 0
loc 18
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A withScheduler() 0 10 3
1
<?php
2
3
namespace AlibabaCloud\EHPC\V20180412;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddContainerApp addContainerApp(array $options = [])
9
 * @method AddExistedNodes addExistedNodes(array $options = [])
10
 * @method AddLocalNodes addLocalNodes(array $options = [])
11
 * @method AddNodes addNodes(array $options = [])
12
 * @method AddQueue addQueue(array $options = [])
13
 * @method AddSecurityGroup addSecurityGroup(array $options = [])
14
 * @method AddUsers addUsers(array $options = [])
15
 * @method ApplyNodes applyNodes(array $options = [])
16
 * @method CreateCluster createCluster(array $options = [])
17
 * @method CreateGWSCluster createGWSCluster(array $options = [])
18
 * @method CreateGWSImage createGWSImage(array $options = [])
19
 * @method CreateGWSInstance createGWSInstance(array $options = [])
20
 * @method CreateHybridCluster createHybridCluster(array $options = [])
21
 * @method CreateJobFile createJobFile(array $options = [])
22
 * @method CreateJobTemplate createJobTemplate(array $options = [])
23
 * @method DeleteCluster deleteCluster(array $options = [])
24
 * @method DeleteContainerApps deleteContainerApps(array $options = [])
25
 * @method DeleteGWSCluster deleteGWSCluster(array $options = [])
26
 * @method DeleteGWSInstance deleteGWSInstance(array $options = [])
27
 * @method DeleteImage deleteImage(array $options = [])
28
 * @method DeleteJobs deleteJobs(array $options = [])
29
 * @method DeleteJobTemplates deleteJobTemplates(array $options = [])
30
 * @method DeleteNodes deleteNodes(array $options = [])
31
 * @method DeleteQueue deleteQueue(array $options = [])
32
 * @method DeleteSecurityGroup deleteSecurityGroup(array $options = [])
33
 * @method DeleteUsers deleteUsers(array $options = [])
34
 * @method DescribeAutoScaleConfig describeAutoScaleConfig(array $options = [])
35
 * @method DescribeCluster describeCluster(array $options = [])
36
 * @method DescribeContainerApp describeContainerApp(array $options = [])
37
 * @method DescribeGWSClusterPolicy describeGWSClusterPolicy(array $options = [])
38
 * @method DescribeGWSClusters describeGWSClusters(array $options = [])
39
 * @method DescribeGWSImages describeGWSImages(array $options = [])
40
 * @method DescribeGWSInstances describeGWSInstances(array $options = [])
41
 * @method DescribeImage describeImage(array $options = [])
42
 * @method DescribeImageGatewayConfig describeImageGatewayConfig(array $options = [])
43
 * @method DescribeImagePrice describeImagePrice(array $options = [])
44
 * @method DescribeJob describeJob(array $options = [])
45
 * @method DescribeNFSClientStatus describeNFSClientStatus(array $options = [])
46
 * @method DescribePrice describePrice(array $options = [])
47
 * @method EcdDeleteDesktops ecdDeleteDesktops(array $options = [])
48
 * @method EditJobTemplate editJobTemplate(array $options = [])
49
 * @method GetAccountingReport getAccountingReport(array $options = [])
50
 * @method GetAutoScaleConfig getAutoScaleConfig(array $options = [])
51
 * @method GetCloudMetricLogs getCloudMetricLogs(array $options = [])
52
 * @method GetCloudMetricProfiling getCloudMetricProfiling(array $options = [])
53
 * @method GetClusterVolumes getClusterVolumes(array $options = [])
54
 * @method GetGWSConnectTicket getGWSConnectTicket(array $options = [])
55
 * @method GetHealthMonitorLogs getHealthMonitorLogs(array $options = [])
56
 * @method GetHybridClusterConfig getHybridClusterConfig(array $options = [])
57
 * @method GetIfEcsTypeSupportHtConfig getIfEcsTypeSupportHtConfig(array $options = [])
58
 * @method GetSchedulerInfo getSchedulerInfo(array $options = [])
59
 * @method GetVisualServiceStatus getVisualServiceStatus(array $options = [])
60
 * @method GetWorkbenchToken getWorkbenchToken(array $options = [])
61
 * @method InitializeEHPC initializeEHPC(array $options = [])
62
 * @method InstallSoftware installSoftware(array $options = [])
63
 * @method InvokeShellCommand invokeShellCommand(array $options = [])
64
 * @method ListAvailableEcsTypes listAvailableEcsTypes(array $options = [])
65
 * @method ListCloudMetricProfilings listCloudMetricProfilings(array $options = [])
66
 * @method ListClusterLogs listClusterLogs(array $options = [])
67
 * @method ListClusters listClusters(array $options = [])
68
 * @method ListClustersMeta listClustersMeta(array $options = [])
69
 * @method ListCommands listCommands(array $options = [])
70
 * @method ListContainerApps listContainerApps(array $options = [])
71
 * @method ListContainerImages listContainerImages(array $options = [])
72
 * @method ListCpfsFileSystems listCpfsFileSystems(array $options = [])
73
 * @method ListCurrentClientVersion listCurrentClientVersion(array $options = [])
74
 * @method ListCustomImages listCustomImages(array $options = [])
75
 * @method ListFileSystemWithMountTargets listFileSystemWithMountTargets(array $options = [])
76
 * @method ListImages listImages(array $options = [])
77
 * @method ListInstalledSoftware listInstalledSoftware(array $options = [])
78
 * @method ListInvocationResults listInvocationResults(array $options = [])
79
 * @method ListInvocationStatus listInvocationStatus(array $options = [])
80
 * @method ListJobs listJobs(array $options = [])
81
 * @method ListJobTemplates listJobTemplates(array $options = [])
82
 * @method ListNodes listNodes(array $options = [])
83
 * @method ListNodesByQueue listNodesByQueue(array $options = [])
84
 * @method ListNodesNoPaging listNodesNoPaging(array $options = [])
85
 * @method ListPreferredEcsTypes listPreferredEcsTypes(array $options = [])
86
 * @method ListQueues listQueues(array $options = [])
87
 * @method ListRegions listRegions(array $options = [])
88
 * @method ListSecurityGroups listSecurityGroups(array $options = [])
89
 * @method ListSoftwares listSoftwares(array $options = [])
90
 * @method ListTasks listTasks(array $options = [])
91
 * @method ListUsers listUsers(array $options = [])
92
 * @method ListVolumes listVolumes(array $options = [])
93
 * @method ModifyClusterAttributes modifyClusterAttributes(array $options = [])
94
 * @method ModifyContainerAppAttributes modifyContainerAppAttributes(array $options = [])
95
 * @method ModifyImageGatewayConfig modifyImageGatewayConfig(array $options = [])
96
 * @method ModifyUserGroups modifyUserGroups(array $options = [])
97
 * @method ModifyUserPasswords modifyUserPasswords(array $options = [])
98
 * @method ModifyVisualServicePasswd modifyVisualServicePasswd(array $options = [])
99
 * @method MountNFS mountNFS(array $options = [])
100
 * @method PullImage pullImage(array $options = [])
101
 * @method QueryServicePackAndPrice queryServicePackAndPrice(array $options = [])
102
 * @method RecoverCluster recoverCluster(array $options = [])
103
 * @method RerunJobs rerunJobs(array $options = [])
104
 * @method ResetNodes resetNodes(array $options = [])
105
 * @method RunCloudMetricProfiling runCloudMetricProfiling(array $options = [])
106
 * @method SetAutoScaleConfig setAutoScaleConfig(array $options = [])
107
 * @method SetGWSClusterPolicy setGWSClusterPolicy(array $options = [])
108
 * @method SetGWSInstanceName setGWSInstanceName(array $options = [])
109
 * @method SetGWSInstanceUser setGWSInstanceUser(array $options = [])
110
 * @method SetQueue setQueue(array $options = [])
111
 * @method SetSchedulerInfo setSchedulerInfo(array $options = [])
112
 * @method StartCluster startCluster(array $options = [])
113
 * @method StartGWSInstance startGWSInstance(array $options = [])
114
 * @method StartNodes startNodes(array $options = [])
115
 * @method StartVisualService startVisualService(array $options = [])
116
 * @method StopCluster stopCluster(array $options = [])
117
 * @method StopGWSInstance stopGWSInstance(array $options = [])
118
 * @method StopJobs stopJobs(array $options = [])
119
 * @method StopNodes stopNodes(array $options = [])
120
 * @method StopVisualService stopVisualService(array $options = [])
121
 * @method SubmitJob submitJob(array $options = [])
122
 * @method UninstallSoftware uninstallSoftware(array $options = [])
123
 * @method UpdateClusterVolumes updateClusterVolumes(array $options = [])
124
 * @method UpdateQueueConfig updateQueueConfig(array $options = [])
125
 * @method UpgradeClient upgradeClient(array $options = [])
126
 */
127
class EHPCApiResolver extends ApiResolver
128
{
129
}
130
131
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
132
{
133
    /** @var string */
134
    public $product = 'EHPC';
135
136
    /** @var string */
137
    public $version = '2018-04-12';
138
}
139
140
/**
141
 * @method string getDescription()
142
 * @method $this withDescription($value)
143
 * @method string getRepository()
144
 * @method $this withRepository($value)
145
 * @method string getContainerType()
146
 * @method $this withContainerType($value)
147
 * @method string getName()
148
 * @method $this withName($value)
149
 * @method string getImageTag()
150
 * @method $this withImageTag($value)
151
 */
152
class AddContainerApp extends Rpc
153
{
154
}
155
156
/**
157
 * @method string getImageId()
158
 * @method $this withImageId($value)
159
 * @method array getInstance()
160
 * @method string getClientToken()
161
 * @method $this withClientToken($value)
162
 * @method string getClusterId()
163
 * @method $this withClusterId($value)
164
 * @method string getJobQueue()
165
 * @method $this withJobQueue($value)
166
 * @method string getImageOwnerAlias()
167
 * @method $this withImageOwnerAlias($value)
168
 */
169
class AddExistedNodes extends Rpc
170
{
171
172
    /**
173
     * @param array $instance
174
     *
175
     * @return $this
176
     */
177
	public function withInstance(array $instance)
178
	{
179
	    $this->data['Instance'] = $instance;
180
		foreach ($instance as $depth1 => $depth1Value) {
181
			if(isset($depth1Value['Id'])){
182
				$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
183
			}
184
		}
185
186
		return $this;
187
    }
188
}
189
190
/**
191
 * @method string getClusterId()
192
 * @method $this withClusterId($value)
193
 * @method string getNodes()
194
 * @method $this withNodes($value)
195
 */
196
class AddLocalNodes extends Rpc
197
{
198
}
199
200
/**
201
 * @method string getImageId()
202
 * @method $this withImageId($value)
203
 * @method string getSystemDiskLevel()
204
 * @method $this withSystemDiskLevel($value)
205
 * @method string getClientToken()
206
 * @method $this withClientToken($value)
207
 * @method string getAllocatePublicAddress()
208
 * @method $this withAllocatePublicAddress($value)
209
 * @method string getInternetMaxBandWidthOut()
210
 * @method $this withInternetMaxBandWidthOut($value)
211
 * @method string getJobQueue()
212
 * @method $this withJobQueue($value)
213
 * @method string getImageOwnerAlias()
214
 * @method $this withImageOwnerAlias($value)
215
 * @method string getSystemDiskType()
216
 * @method $this withSystemDiskType($value)
217
 * @method string getMinCount()
218
 * @method $this withMinCount($value)
219
 * @method string getSystemDiskSize()
220
 * @method $this withSystemDiskSize($value)
221
 * @method string getInstanceType()
222
 * @method $this withInstanceType($value)
223
 * @method string getHostNamePrefix()
224
 * @method $this withHostNamePrefix($value)
225
 * @method string getComputeSpotPriceLimit()
226
 * @method $this withComputeSpotPriceLimit($value)
227
 * @method string getAutoRenewPeriod()
228
 * @method $this withAutoRenewPeriod($value)
229
 * @method string getPeriod()
230
 * @method $this withPeriod($value)
231
 * @method string getCount()
232
 * @method $this withCount($value)
233
 * @method string getClusterId()
234
 * @method $this withClusterId($value)
235
 * @method string getComputeSpotStrategy()
236
 * @method $this withComputeSpotStrategy($value)
237
 * @method string getHostNameSuffix()
238
 * @method $this withHostNameSuffix($value)
239
 * @method string getSync()
240
 * @method $this withSync($value)
241
 * @method string getVSwitchId()
242
 * @method $this withVSwitchId($value)
243
 * @method string getPeriodUnit()
244
 * @method $this withPeriodUnit($value)
245
 * @method string getComputeEnableHt()
246
 * @method $this withComputeEnableHt($value)
247
 * @method string getAutoRenew()
248
 * @method $this withAutoRenew($value)
249
 * @method string getEcsChargeType()
250
 * @method $this withEcsChargeType($value)
251
 * @method string getInternetChargeType()
252
 * @method $this withInternetChargeType($value)
253
 * @method string getCreateMode()
254
 * @method $this withCreateMode($value)
255
 * @method string getZoneId()
256
 * @method $this withZoneId($value)
257
 * @method string getInternetMaxBandWidthIn()
258
 * @method $this withInternetMaxBandWidthIn($value)
259
 */
260
class AddNodes extends Rpc
261
{
262
}
263
264
/**
265
 * @method string getQueueName()
266
 * @method $this withQueueName($value)
267
 * @method string getClusterId()
268
 * @method $this withClusterId($value)
269
 */
270
class AddQueue extends Rpc
271
{
272
}
273
274
/**
275
 * @method string getClientToken()
276
 * @method $this withClientToken($value)
277
 * @method string getSecurityGroupId()
278
 * @method $this withSecurityGroupId($value)
279
 * @method string getClusterId()
280
 * @method $this withClusterId($value)
281
 */
282
class AddSecurityGroup extends Rpc
283
{
284
}
285
286
/**
287
 * @method string getClusterId()
288
 * @method $this withClusterId($value)
289
 * @method array getUser()
290
 */
291
class AddUsers extends Rpc
292
{
293
294
    /**
295
     * @param array $user
296
     *
297
     * @return $this
298
     */
299
	public function withUser(array $user)
300
	{
301
	    $this->data['User'] = $user;
302
		foreach ($user as $depth1 => $depth1Value) {
303
			if(isset($depth1Value['Password'])){
304
				$this->options['query']['User.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password'];
305
			}
306
			if(isset($depth1Value['Name'])){
307
				$this->options['query']['User.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
308
			}
309
			if(isset($depth1Value['Group'])){
310
				$this->options['query']['User.' . ($depth1 + 1) . '.Group'] = $depth1Value['Group'];
311
			}
312
		}
313
314
		return $this;
315
    }
316
}
317
318
/**
319
 * @method string getImageId()
320
 * @method $this withImageId($value)
321
 * @method string getMemory()
322
 * @method $this withMemory($value)
323
 * @method string getSystemDiskLevel()
324
 * @method $this withSystemDiskLevel($value)
325
 * @method string getAllocatePublicAddress()
326
 * @method $this withAllocatePublicAddress($value)
327
 * @method string getInternetMaxBandWidthOut()
328
 * @method $this withInternetMaxBandWidthOut($value)
329
 * @method string getResourceAmountType()
330
 * @method $this withResourceAmountType($value)
331
 * @method string getStrictResourceProvision()
332
 * @method $this withStrictResourceProvision($value)
333
 * @method string getSystemDiskType()
334
 * @method $this withSystemDiskType($value)
335
 * @method string getCores()
336
 * @method $this withCores($value)
337
 * @method string getSystemDiskSize()
338
 * @method $this withSystemDiskSize($value)
339
 * @method array getZoneInfos()
340
 * @method string getHostNamePrefix()
341
 * @method $this withHostNamePrefix($value)
342
 * @method string getComputeSpotPriceLimit()
343
 * @method $this withComputeSpotPriceLimit($value)
344
 * @method string getClusterId()
345
 * @method $this withClusterId($value)
346
 * @method string getComputeSpotStrategy()
347
 * @method $this withComputeSpotStrategy($value)
348
 * @method string getHostNameSuffix()
349
 * @method $this withHostNameSuffix($value)
350
 * @method string getPriorityStrategy()
351
 * @method $this withPriorityStrategy($value)
352
 * @method string getInstanceFamilyLevel()
353
 * @method $this withInstanceFamilyLevel($value)
354
 * @method string getRound()
355
 * @method $this withRound($value)
356
 * @method string getInternetChargeType()
357
 * @method $this withInternetChargeType($value)
358
 * @method string getInterval()
359
 * @method $this withInterval($value)
360
 * @method array getInstanceTypeModel()
361
 * @method string getInternetMaxBandWidthIn()
362
 * @method $this withInternetMaxBandWidthIn($value)
363
 * @method string getTargetCapacity()
364
 * @method $this withTargetCapacity($value)
365
 * @method string getStrictSatisfiedTargetCapacity()
366
 * @method $this withStrictSatisfiedTargetCapacity($value)
367
 */
368
class ApplyNodes extends Rpc
369
{
370
371
    /**
372
     * @param array $zoneInfos
373
     *
374
     * @return $this
375
     */
376
	public function withZoneInfos(array $zoneInfos)
377
	{
378
	    $this->data['ZoneInfos'] = $zoneInfos;
379
		foreach ($zoneInfos as $depth1 => $depth1Value) {
380
			if(isset($depth1Value['VSwitchId'])){
381
				$this->options['query']['ZoneInfos.' . ($depth1 + 1) . '.VSwitchId'] = $depth1Value['VSwitchId'];
382
			}
383
			if(isset($depth1Value['ZoneId'])){
384
				$this->options['query']['ZoneInfos.' . ($depth1 + 1) . '.ZoneId'] = $depth1Value['ZoneId'];
385
			}
386
		}
387
388
		return $this;
389
    }
390
391
    /**
392
     * @param array $instanceTypeModel
393
     *
394
     * @return $this
395
     */
396
	public function withInstanceTypeModel(array $instanceTypeModel)
397
	{
398
	    $this->data['InstanceTypeModel'] = $instanceTypeModel;
399
		foreach ($instanceTypeModel as $depth1 => $depth1Value) {
400
			if(isset($depth1Value['MaxPrice'])){
401
				$this->options['query']['InstanceTypeModel.' . ($depth1 + 1) . '.MaxPrice'] = $depth1Value['MaxPrice'];
402
			}
403
			if(isset($depth1Value['TargetImageId'])){
404
				$this->options['query']['InstanceTypeModel.' . ($depth1 + 1) . '.TargetImageId'] = $depth1Value['TargetImageId'];
405
			}
406
			if(isset($depth1Value['InstanceType'])){
407
				$this->options['query']['InstanceTypeModel.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
408
			}
409
		}
410
411
		return $this;
412
    }
413
}
414
415
/**
416
 * @method array getAdditionalVolumes()
417
 * @method string getEcsOrderManagerInstanceType()
418
 * @method string getKeyPairName()
419
 * @method $this withKeyPairName($value)
420
 * @method string getSecurityGroupName()
421
 * @method $this withSecurityGroupName($value)
422
 * @method string getImageOwnerAlias()
423
 * @method $this withImageOwnerAlias($value)
424
 * @method string getDeployMode()
425
 * @method $this withDeployMode($value)
426
 * @method string getEcsOrderManagerCount()
427
 * @method string getResourceGroupId()
428
 * @method $this withResourceGroupId($value)
429
 * @method string getPassword()
430
 * @method $this withPassword($value)
431
 * @method string getEcsOrderLoginCount()
432
 * @method string getWithoutElasticIp()
433
 * @method $this withWithoutElasticIp($value)
434
 * @method string getRemoteVisEnable()
435
 * @method $this withRemoteVisEnable($value)
436
 * @method string getSystemDiskSize()
437
 * @method $this withSystemDiskSize($value)
438
 * @method string getComputeSpotPriceLimit()
439
 * @method $this withComputeSpotPriceLimit($value)
440
 * @method string getAutoRenewPeriod()
441
 * @method $this withAutoRenewPeriod($value)
442
 * @method string getPeriod()
443
 * @method $this withPeriod($value)
444
 * @method string getRemoteDirectory()
445
 * @method $this withRemoteDirectory($value)
446
 * @method string getEcsOrderComputeCount()
447
 * @method string getComputeSpotStrategy()
448
 * @method $this withComputeSpotStrategy($value)
449
 * @method array getPostInstallScript()
450
 * @method string getVSwitchId()
451
 * @method $this withVSwitchId($value)
452
 * @method string getPeriodUnit()
453
 * @method $this withPeriodUnit($value)
454
 * @method string getComputeEnableHt()
455
 * @method $this withComputeEnableHt($value)
456
 * @method string getAutoRenew()
457
 * @method $this withAutoRenew($value)
458
 * @method string getName()
459
 * @method $this withName($value)
460
 * @method string getVolumeId()
461
 * @method $this withVolumeId($value)
462
 * @method string getZoneId()
463
 * @method $this withZoneId($value)
464
 * @method string getSccClusterId()
465
 * @method $this withSccClusterId($value)
466
 * @method string getImageId()
467
 * @method $this withImageId($value)
468
 * @method string getSystemDiskLevel()
469
 * @method $this withSystemDiskLevel($value)
470
 * @method string getClientToken()
471
 * @method $this withClientToken($value)
472
 * @method string getEhpcVersion()
473
 * @method $this withEhpcVersion($value)
474
 * @method string getAccountType()
475
 * @method $this withAccountType($value)
476
 * @method string getSecurityGroupId()
477
 * @method $this withSecurityGroupId($value)
478
 * @method string getDescription()
479
 * @method $this withDescription($value)
480
 * @method string getEcsOrderComputeInstanceType()
481
 * @method string getJobQueue()
482
 * @method $this withJobQueue($value)
483
 * @method string getVolumeType()
484
 * @method $this withVolumeType($value)
485
 * @method string getSystemDiskType()
486
 * @method $this withSystemDiskType($value)
487
 * @method string getVolumeProtocol()
488
 * @method $this withVolumeProtocol($value)
489
 * @method string getClientVersion()
490
 * @method $this withClientVersion($value)
491
 * @method string getOsTag()
492
 * @method $this withOsTag($value)
493
 * @method string getClusterVersion()
494
 * @method $this withClusterVersion($value)
495
 * @method string getIsComputeEss()
496
 * @method $this withIsComputeEss($value)
497
 * @method array getApplication()
498
 * @method string getEcsChargeType()
499
 * @method $this withEcsChargeType($value)
500
 * @method string getInputFileUrl()
501
 * @method $this withInputFileUrl($value)
502
 * @method string getVpcId()
503
 * @method $this withVpcId($value)
504
 * @method string getHaEnable()
505
 * @method $this withHaEnable($value)
506
 * @method string getSchedulerType()
507
 * @method $this withSchedulerType($value)
508
 * @method string getVolumeMountpoint()
509
 * @method $this withVolumeMountpoint($value)
510
 * @method string getEcsOrderLoginInstanceType()
511
 */
512
class CreateCluster extends Rpc
513
{
514
515
    /**
516
     * @param array $additionalVolumes
517
     *
518
     * @return $this
519
     */
520
	public function withAdditionalVolumes(array $additionalVolumes)
521
	{
522
	    $this->data['AdditionalVolumes'] = $additionalVolumes;
523
		foreach ($additionalVolumes as $depth1 => $depth1Value) {
524
			if(isset($depth1Value['VolumeType'])){
525
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeType'] = $depth1Value['VolumeType'];
526
			}
527
			if(isset($depth1Value['VolumeProtocol'])){
528
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeProtocol'] = $depth1Value['VolumeProtocol'];
529
			}
530
			if(isset($depth1Value['LocalDirectory'])){
531
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.LocalDirectory'] = $depth1Value['LocalDirectory'];
532
			}
533
			if(isset($depth1Value['RemoteDirectory'])){
534
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.RemoteDirectory'] = $depth1Value['RemoteDirectory'];
535
			}
536
			foreach ($depth1Value['Roles'] as $depth2 => $depth2Value) {
537
				if(isset($depth2Value['Name'])){
538
					$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.Roles.' . ($depth2 + 1) . '.Name'] = $depth2Value['Name'];
539
				}
540
			}
541
			if(isset($depth1Value['VolumeId'])){
542
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeId'] = $depth1Value['VolumeId'];
543
			}
544
			if(isset($depth1Value['VolumeMountpoint'])){
545
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeMountpoint'] = $depth1Value['VolumeMountpoint'];
546
			}
547
			if(isset($depth1Value['Location'])){
548
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.Location'] = $depth1Value['Location'];
549
			}
550
			if(isset($depth1Value['JobQueue'])){
551
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.JobQueue'] = $depth1Value['JobQueue'];
552
			}
553
		}
554
555
		return $this;
556
    }
557
558
    /**
559
     * @param string $value
560
     *
561
     * @return $this
562
     */
563
    public function withEcsOrderManagerInstanceType($value)
564
    {
565
        $this->data['EcsOrderManagerInstanceType'] = $value;
566
        $this->options['query']['EcsOrder.Manager.InstanceType'] = $value;
567
568
        return $this;
569
    }
570
571
    /**
572
     * @param string $value
573
     *
574
     * @return $this
575
     */
576
    public function withEcsOrderManagerCount($value)
577
    {
578
        $this->data['EcsOrderManagerCount'] = $value;
579
        $this->options['query']['EcsOrder.Manager.Count'] = $value;
580
581
        return $this;
582
    }
583
584
    /**
585
     * @param string $value
586
     *
587
     * @return $this
588
     */
589
    public function withEcsOrderLoginCount($value)
590
    {
591
        $this->data['EcsOrderLoginCount'] = $value;
592
        $this->options['query']['EcsOrder.Login.Count'] = $value;
593
594
        return $this;
595
    }
596
597
    /**
598
     * @param string $value
599
     *
600
     * @return $this
601
     */
602
    public function withEcsOrderComputeCount($value)
603
    {
604
        $this->data['EcsOrderComputeCount'] = $value;
605
        $this->options['query']['EcsOrder.Compute.Count'] = $value;
606
607
        return $this;
608
    }
609
610
    /**
611
     * @param array $postInstallScript
612
     *
613
     * @return $this
614
     */
615
	public function withPostInstallScript(array $postInstallScript)
616
	{
617
	    $this->data['PostInstallScript'] = $postInstallScript;
618
		foreach ($postInstallScript as $depth1 => $depth1Value) {
619
			if(isset($depth1Value['Args'])){
620
				$this->options['query']['PostInstallScript.' . ($depth1 + 1) . '.Args'] = $depth1Value['Args'];
621
			}
622
			if(isset($depth1Value['Url'])){
623
				$this->options['query']['PostInstallScript.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
624
			}
625
		}
626
627
		return $this;
628
    }
629
630
    /**
631
     * @param string $value
632
     *
633
     * @return $this
634
     */
635
    public function withEcsOrderComputeInstanceType($value)
636
    {
637
        $this->data['EcsOrderComputeInstanceType'] = $value;
638
        $this->options['query']['EcsOrder.Compute.InstanceType'] = $value;
639
640
        return $this;
641
    }
642
643
    /**
644
     * @param array $application
645
     *
646
     * @return $this
647
     */
648
	public function withApplication(array $application)
649
	{
650
	    $this->data['Application'] = $application;
651
		foreach ($application as $depth1 => $depth1Value) {
652
			if(isset($depth1Value['Tag'])){
653
				$this->options['query']['Application.' . ($depth1 + 1) . '.Tag'] = $depth1Value['Tag'];
654
			}
655
		}
656
657
		return $this;
658
    }
659
660
    /**
661
     * @param string $value
662
     *
663
     * @return $this
664
     */
665
    public function withEcsOrderLoginInstanceType($value)
666
    {
667
        $this->data['EcsOrderLoginInstanceType'] = $value;
668
        $this->options['query']['EcsOrder.Login.InstanceType'] = $value;
669
670
        return $this;
671
    }
672
}
673
674
/**
675
 * @method string getClusterType()
676
 * @method $this withClusterType($value)
677
 * @method string getVSwitchId()
678
 * @method $this withVSwitchId($value)
679
 * @method string getVpcId()
680
 * @method $this withVpcId($value)
681
 * @method string getName()
682
 * @method $this withName($value)
683
 */
684
class CreateGWSCluster extends Rpc
685
{
686
}
687
688
/**
689
 * @method string getInstanceId()
690
 * @method $this withInstanceId($value)
691
 * @method string getName()
692
 * @method $this withName($value)
693
 */
694
class CreateGWSImage extends Rpc
695
{
696
}
697
698
/**
699
 * @method string getImageId()
700
 * @method $this withImageId($value)
701
 * @method string getAllocatePublicAddress()
702
 * @method $this withAllocatePublicAddress($value)
703
 * @method string getAppList()
704
 * @method $this withAppList($value)
705
 * @method string getInternetMaxBandwidthOut()
706
 * @method $this withInternetMaxBandwidthOut($value)
707
 * @method string getSystemDiskCategory()
708
 * @method $this withSystemDiskCategory($value)
709
 * @method string getSystemDiskSize()
710
 * @method $this withSystemDiskSize($value)
711
 * @method string getInstanceType()
712
 * @method $this withInstanceType($value)
713
 * @method string getInstanceChargeType()
714
 * @method $this withInstanceChargeType($value)
715
 * @method string getPeriod()
716
 * @method $this withPeriod($value)
717
 * @method string getClusterId()
718
 * @method $this withClusterId($value)
719
 * @method string getWorkMode()
720
 * @method $this withWorkMode($value)
721
 * @method string getVSwitchId()
722
 * @method $this withVSwitchId($value)
723
 * @method string getPeriodUnit()
724
 * @method $this withPeriodUnit($value)
725
 * @method string getAutoRenew()
726
 * @method $this withAutoRenew($value)
727
 * @method string getInternetChargeType()
728
 * @method $this withInternetChargeType($value)
729
 * @method string getName()
730
 * @method $this withName($value)
731
 * @method string getInternetMaxBandwidthIn()
732
 * @method $this withInternetMaxBandwidthIn($value)
733
 */
734
class CreateGWSInstance extends Rpc
735
{
736
}
737
738
/**
739
 * @method string getKeyPairName()
740
 * @method $this withKeyPairName($value)
741
 * @method string getMultiOs()
742
 * @method $this withMultiOs($value)
743
 * @method string getSecurityGroupName()
744
 * @method $this withSecurityGroupName($value)
745
 * @method string getOnPremiseVolumeRemotePath()
746
 * @method $this withOnPremiseVolumeRemotePath($value)
747
 * @method string getImageOwnerAlias()
748
 * @method $this withImageOwnerAlias($value)
749
 * @method string getResourceGroupId()
750
 * @method $this withResourceGroupId($value)
751
 * @method string getPassword()
752
 * @method $this withPassword($value)
753
 * @method string getComputeSpotPriceLimit()
754
 * @method $this withComputeSpotPriceLimit($value)
755
 * @method string getOnPremiseVolumeLocalPath()
756
 * @method $this withOnPremiseVolumeLocalPath($value)
757
 * @method string getRemoteDirectory()
758
 * @method $this withRemoteDirectory($value)
759
 * @method string getComputeSpotStrategy()
760
 * @method $this withComputeSpotStrategy($value)
761
 * @method array getPostInstallScript()
762
 * @method string getVSwitchId()
763
 * @method $this withVSwitchId($value)
764
 * @method string getDomain()
765
 * @method $this withDomain($value)
766
 * @method string getName()
767
 * @method $this withName($value)
768
 * @method string getVolumeId()
769
 * @method $this withVolumeId($value)
770
 * @method string getZoneId()
771
 * @method $this withZoneId($value)
772
 * @method string getImageId()
773
 * @method $this withImageId($value)
774
 * @method string getClientToken()
775
 * @method $this withClientToken($value)
776
 * @method string getEhpcVersion()
777
 * @method $this withEhpcVersion($value)
778
 * @method string getSecurityGroupId()
779
 * @method $this withSecurityGroupId($value)
780
 * @method string getDescription()
781
 * @method $this withDescription($value)
782
 * @method string getEcsOrderComputeInstanceType()
783
 * @method string getJobQueue()
784
 * @method $this withJobQueue($value)
785
 * @method string getVolumeType()
786
 * @method $this withVolumeType($value)
787
 * @method string getOnPremiseVolumeMountPoint()
788
 * @method $this withOnPremiseVolumeMountPoint($value)
789
 * @method string getOnPremiseVolumeProtocol()
790
 * @method $this withOnPremiseVolumeProtocol($value)
791
 * @method string getVolumeProtocol()
792
 * @method $this withVolumeProtocol($value)
793
 * @method string getClientVersion()
794
 * @method $this withClientVersion($value)
795
 * @method string getOsTag()
796
 * @method $this withOsTag($value)
797
 * @method array getNodes()
798
 * @method array getApplication()
799
 * @method string getVpcId()
800
 * @method $this withVpcId($value)
801
 * @method string getVolumeMountpoint()
802
 * @method $this withVolumeMountpoint($value)
803
 * @method string getSchedulerPreInstall()
804
 * @method $this withSchedulerPreInstall($value)
805
 * @method string getLocation()
806
 * @method $this withLocation($value)
807
 */
808
class CreateHybridCluster extends Rpc
809
{
810
811
    /**
812
     * @param array $postInstallScript
813
     *
814
     * @return $this
815
     */
816
	public function withPostInstallScript(array $postInstallScript)
817
	{
818
	    $this->data['PostInstallScript'] = $postInstallScript;
819
		foreach ($postInstallScript as $depth1 => $depth1Value) {
820
			if(isset($depth1Value['Args'])){
821
				$this->options['query']['PostInstallScript.' . ($depth1 + 1) . '.Args'] = $depth1Value['Args'];
822
			}
823
			if(isset($depth1Value['Url'])){
824
				$this->options['query']['PostInstallScript.' . ($depth1 + 1) . '.Url'] = $depth1Value['Url'];
825
			}
826
		}
827
828
		return $this;
829
    }
830
831
    /**
832
     * @param string $value
833
     *
834
     * @return $this
835
     */
836
    public function withEcsOrderComputeInstanceType($value)
837
    {
838
        $this->data['EcsOrderComputeInstanceType'] = $value;
839
        $this->options['query']['EcsOrder.Compute.InstanceType'] = $value;
840
841
        return $this;
842
    }
843
844
    /**
845
     * @param array $nodes
846
     *
847
     * @return $this
848
     */
849
	public function withNodes(array $nodes)
850
	{
851
	    $this->data['Nodes'] = $nodes;
852
		foreach ($nodes as $depth1 => $depth1Value) {
853
			if(isset($depth1Value['IpAddress'])){
854
				$this->options['query']['Nodes.' . ($depth1 + 1) . '.IpAddress'] = $depth1Value['IpAddress'];
855
			}
856
			if(isset($depth1Value['HostName'])){
857
				$this->options['query']['Nodes.' . ($depth1 + 1) . '.HostName'] = $depth1Value['HostName'];
858
			}
859
			if(isset($depth1Value['Role'])){
860
				$this->options['query']['Nodes.' . ($depth1 + 1) . '.Role'] = $depth1Value['Role'];
861
			}
862
			if(isset($depth1Value['AccountType'])){
863
				$this->options['query']['Nodes.' . ($depth1 + 1) . '.AccountType'] = $depth1Value['AccountType'];
864
			}
865
			if(isset($depth1Value['SchedulerType'])){
866
				$this->options['query']['Nodes.' . ($depth1 + 1) . '.SchedulerType'] = $depth1Value['SchedulerType'];
867
			}
868
		}
869
870
		return $this;
871
    }
872
873
    /**
874
     * @param array $application
875
     *
876
     * @return $this
877
     */
878
	public function withApplication(array $application)
879
	{
880
	    $this->data['Application'] = $application;
881
		foreach ($application as $depth1 => $depth1Value) {
882
			if(isset($depth1Value['Tag'])){
883
				$this->options['query']['Application.' . ($depth1 + 1) . '.Tag'] = $depth1Value['Tag'];
884
			}
885
		}
886
887
		return $this;
888
    }
889
}
890
891
/**
892
 * @method string getTargetFile()
893
 * @method $this withTargetFile($value)
894
 * @method string getRunasUserPassword()
895
 * @method $this withRunasUserPassword($value)
896
 * @method string getRunasUser()
897
 * @method $this withRunasUser($value)
898
 * @method string getClusterId()
899
 * @method $this withClusterId($value)
900
 * @method string getContent()
901
 * @method $this withContent($value)
902
 */
903
class CreateJobFile extends Rpc
904
{
905
}
906
907
/**
908
 * @method string getStderrRedirectPath()
909
 * @method $this withStderrRedirectPath($value)
910
 * @method string getClockTime()
911
 * @method $this withClockTime($value)
912
 * @method string getCommandLine()
913
 * @method $this withCommandLine($value)
914
 * @method string getArrayRequest()
915
 * @method $this withArrayRequest($value)
916
 * @method string getPackagePath()
917
 * @method $this withPackagePath($value)
918
 * @method string getMem()
919
 * @method $this withMem($value)
920
 * @method string getStdoutRedirectPath()
921
 * @method $this withStdoutRedirectPath($value)
922
 * @method string getVariables()
923
 * @method $this withVariables($value)
924
 * @method string getRunasUser()
925
 * @method $this withRunasUser($value)
926
 * @method string getReRunable()
927
 * @method $this withReRunable($value)
928
 * @method string getThread()
929
 * @method $this withThread($value)
930
 * @method string getPriority()
931
 * @method $this withPriority($value)
932
 * @method string getGpu()
933
 * @method $this withGpu($value)
934
 * @method string getNode()
935
 * @method $this withNode($value)
936
 * @method string getTask()
937
 * @method $this withTask($value)
938
 * @method string getName()
939
 * @method $this withName($value)
940
 * @method string getQueue()
941
 * @method $this withQueue($value)
942
 */
943
class CreateJobTemplate extends Rpc
944
{
945
}
946
947
/**
948
 * @method string getClusterId()
949
 * @method $this withClusterId($value)
950
 * @method string getReleaseInstance()
951
 * @method $this withReleaseInstance($value)
952
 */
953
class DeleteCluster extends Rpc
954
{
955
}
956
957
/**
958
 * @method array getContainerApp()
959
 */
960
class DeleteContainerApps extends Rpc
961
{
962
963
    /**
964
     * @param array $containerApp
965
     *
966
     * @return $this
967
     */
968
	public function withContainerApp(array $containerApp)
969
	{
970
	    $this->data['ContainerApp'] = $containerApp;
971
		foreach ($containerApp as $depth1 => $depth1Value) {
972
			if(isset($depth1Value['Id'])){
973
				$this->options['query']['ContainerApp.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
974
			}
975
		}
976
977
		return $this;
978
    }
979
}
980
981
/**
982
 * @method string getClusterId()
983
 * @method $this withClusterId($value)
984
 */
985
class DeleteGWSCluster extends Rpc
986
{
987
}
988
989
/**
990
 * @method string getInstanceId()
991
 * @method $this withInstanceId($value)
992
 */
993
class DeleteGWSInstance extends Rpc
994
{
995
}
996
997
/**
998
 * @method string getClusterId()
999
 * @method $this withClusterId($value)
1000
 * @method string getRepository()
1001
 * @method $this withRepository($value)
1002
 * @method string getContainerType()
1003
 * @method $this withContainerType($value)
1004
 * @method string getImageTag()
1005
 * @method $this withImageTag($value)
1006
 */
1007
class DeleteImage extends Rpc
1008
{
1009
}
1010
1011
/**
1012
 * @method string getJobs()
1013
 * @method $this withJobs($value)
1014
 * @method string getClusterId()
1015
 * @method $this withClusterId($value)
1016
 */
1017
class DeleteJobs extends Rpc
1018
{
1019
}
1020
1021
/**
1022
 * @method string getTemplates()
1023
 * @method $this withTemplates($value)
1024
 */
1025
class DeleteJobTemplates extends Rpc
1026
{
1027
}
1028
1029
/**
1030
 * @method array getInstance()
1031
 * @method string getClusterId()
1032
 * @method $this withClusterId($value)
1033
 * @method string getSync()
1034
 * @method $this withSync($value)
1035
 * @method string getReleaseInstance()
1036
 * @method $this withReleaseInstance($value)
1037
 */
1038
class DeleteNodes extends Rpc
1039
{
1040
1041
    /**
1042
     * @param array $instance
1043
     *
1044
     * @return $this
1045
     */
1046
	public function withInstance(array $instance)
1047
	{
1048
	    $this->data['Instance'] = $instance;
1049
		foreach ($instance as $depth1 => $depth1Value) {
1050
			if(isset($depth1Value['Id'])){
1051
				$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
1052
			}
1053
		}
1054
1055
		return $this;
1056
    }
1057
}
1058
1059
/**
1060
 * @method string getQueueName()
1061
 * @method $this withQueueName($value)
1062
 * @method string getClusterId()
1063
 * @method $this withClusterId($value)
1064
 */
1065
class DeleteQueue extends Rpc
1066
{
1067
}
1068
1069
/**
1070
 * @method string getSecurityGroupId()
1071
 * @method $this withSecurityGroupId($value)
1072
 * @method string getClusterId()
1073
 * @method $this withClusterId($value)
1074
 */
1075
class DeleteSecurityGroup extends Rpc
1076
{
1077
}
1078
1079
/**
1080
 * @method string getClusterId()
1081
 * @method $this withClusterId($value)
1082
 * @method array getUser()
1083
 */
1084
class DeleteUsers extends Rpc
1085
{
1086
1087
    /**
1088
     * @param array $user
1089
     *
1090
     * @return $this
1091
     */
1092
	public function withUser(array $user)
1093
	{
1094
	    $this->data['User'] = $user;
1095
		foreach ($user as $depth1 => $depth1Value) {
1096
			if(isset($depth1Value['Name'])){
1097
				$this->options['query']['User.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
1098
			}
1099
		}
1100
1101
		return $this;
1102
    }
1103
}
1104
1105
/**
1106
 * @method string getClusterId()
1107
 * @method $this withClusterId($value)
1108
 */
1109
class DescribeAutoScaleConfig extends Rpc
1110
{
1111
}
1112
1113
/**
1114
 * @method string getClusterId()
1115
 * @method $this withClusterId($value)
1116
 */
1117
class DescribeCluster extends Rpc
1118
{
1119
}
1120
1121
/**
1122
 * @method string getContainerId()
1123
 * @method $this withContainerId($value)
1124
 */
1125
class DescribeContainerApp extends Rpc
1126
{
1127
}
1128
1129
/**
1130
 * @method string getClusterId()
1131
 * @method $this withClusterId($value)
1132
 * @method string getAsyncMode()
1133
 * @method $this withAsyncMode($value)
1134
 * @method string getTaskId()
1135
 * @method $this withTaskId($value)
1136
 */
1137
class DescribeGWSClusterPolicy extends Rpc
1138
{
1139
1140
    /** @var string */
1141
    public $method = 'POST';
1142
}
1143
1144
/**
1145
 * @method string getClusterId()
1146
 * @method $this withClusterId($value)
1147
 * @method string getPageNumber()
1148
 * @method $this withPageNumber($value)
1149
 * @method string getPageSize()
1150
 * @method $this withPageSize($value)
1151
 */
1152
class DescribeGWSClusters extends Rpc
1153
{
1154
}
1155
1156
/**
1157
 * @method string getPageNumber()
1158
 * @method $this withPageNumber($value)
1159
 * @method string getPageSize()
1160
 * @method $this withPageSize($value)
1161
 */
1162
class DescribeGWSImages extends Rpc
1163
{
1164
}
1165
1166
/**
1167
 * @method string getClusterId()
1168
 * @method $this withClusterId($value)
1169
 * @method string getPageNumber()
1170
 * @method $this withPageNumber($value)
1171
 * @method string getInstanceId()
1172
 * @method $this withInstanceId($value)
1173
 * @method string getPageSize()
1174
 * @method $this withPageSize($value)
1175
 * @method string getUserUid()
1176
 * @method $this withUserUid($value)
1177
 * @method string getUserName()
1178
 * @method $this withUserName($value)
1179
 */
1180
class DescribeGWSInstances extends Rpc
1181
{
1182
}
1183
1184
/**
1185
 * @method string getClusterId()
1186
 * @method $this withClusterId($value)
1187
 * @method string getRepository()
1188
 * @method $this withRepository($value)
1189
 * @method string getContainerType()
1190
 * @method $this withContainerType($value)
1191
 * @method string getImageTag()
1192
 * @method $this withImageTag($value)
1193
 */
1194
class DescribeImage extends Rpc
1195
{
1196
}
1197
1198
/**
1199
 * @method string getClusterId()
1200
 * @method $this withClusterId($value)
1201
 */
1202
class DescribeImageGatewayConfig extends Rpc
1203
{
1204
}
1205
1206
/**
1207
 * @method string getPeriod()
1208
 * @method $this withPeriod($value)
1209
 * @method string getAmount()
1210
 * @method $this withAmount($value)
1211
 * @method string getImageId()
1212
 * @method $this withImageId($value)
1213
 * @method string getSkuCode()
1214
 * @method $this withSkuCode($value)
1215
 * @method string getPriceUnit()
1216
 * @method $this withPriceUnit($value)
1217
 * @method string getOrderType()
1218
 * @method $this withOrderType($value)
1219
 */
1220
class DescribeImagePrice extends Rpc
1221
{
1222
}
1223
1224
/**
1225
 * @method string getClusterId()
1226
 * @method $this withClusterId($value)
1227
 * @method string getJobId()
1228
 * @method $this withJobId($value)
1229
 */
1230
class DescribeJob extends Rpc
1231
{
1232
}
1233
1234
/**
1235
 * @method string getInstanceId()
1236
 * @method $this withInstanceId($value)
1237
 */
1238
class DescribeNFSClientStatus extends Rpc
1239
{
1240
}
1241
1242
/**
1243
 * @method array getCommodities()
1244
 * @method string getPriceUnit()
1245
 * @method $this withPriceUnit($value)
1246
 * @method string getChargeType()
1247
 * @method $this withChargeType($value)
1248
 * @method string getOrderType()
1249
 * @method $this withOrderType($value)
1250
 */
1251
class DescribePrice extends Rpc
1252
{
1253
1254
    /**
1255
     * @param array $commodities
1256
     *
1257
     * @return $this
1258
     */
1259
	public function withCommodities(array $commodities)
1260
	{
1261
	    $this->data['Commodities'] = $commodities;
1262
		foreach ($commodities as $depth1 => $depth1Value) {
1263
			if(isset($depth1Value['Amount'])){
1264
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.Amount'] = $depth1Value['Amount'];
1265
			}
1266
			if(isset($depth1Value['Period'])){
1267
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.Period'] = $depth1Value['Period'];
1268
			}
1269
			if(isset($depth1Value['NodeType'])){
1270
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.NodeType'] = $depth1Value['NodeType'];
1271
			}
1272
			if(isset($depth1Value['SystemDiskCategory'])){
1273
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.SystemDiskCategory'] = $depth1Value['SystemDiskCategory'];
1274
			}
1275
			if(isset($depth1Value['InternetChargeType'])){
1276
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.InternetChargeType'] = $depth1Value['InternetChargeType'];
1277
			}
1278
			if(isset($depth1Value['SystemDiskPerformanceLevel'])){
1279
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.SystemDiskPerformanceLevel'] = $depth1Value['SystemDiskPerformanceLevel'];
1280
			}
1281
			if(isset($depth1Value['SystemDiskSize'])){
1282
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.SystemDiskSize'] = $depth1Value['SystemDiskSize'];
1283
			}
1284
			if(isset($depth1Value['InternetMaxBandWidthOut'])){
1285
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.InternetMaxBandWidthOut'] = $depth1Value['InternetMaxBandWidthOut'];
1286
			}
1287
			if(isset($depth1Value['InstanceType'])){
1288
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
1289
			}
1290
			if(isset($depth1Value['NetworkType'])){
1291
				$this->options['query']['Commodities.' . ($depth1 + 1) . '.NetworkType'] = $depth1Value['NetworkType'];
1292
			}
1293
		}
1294
1295
		return $this;
1296
    }
1297
}
1298
1299
/**
1300
 * @method array getDesktopId()
1301
 */
1302
class EcdDeleteDesktops extends Rpc
1303
{
1304
1305
    /**
1306
     * @param array $desktopId
1307
     *
1308
     * @return $this
1309
     */
1310
	public function withDesktopId(array $desktopId)
1311
	{
1312
	    $this->data['DesktopId'] = $desktopId;
1313
		foreach ($desktopId as $i => $iValue) {
1314
			$this->options['query']['DesktopId.' . ($i + 1)] = $iValue;
1315
		}
1316
1317
		return $this;
1318
    }
1319
}
1320
1321
/**
1322
 * @method string getStderrRedirectPath()
1323
 * @method $this withStderrRedirectPath($value)
1324
 * @method string getClockTime()
1325
 * @method $this withClockTime($value)
1326
 * @method string getCommandLine()
1327
 * @method $this withCommandLine($value)
1328
 * @method string getArrayRequest()
1329
 * @method $this withArrayRequest($value)
1330
 * @method string getPackagePath()
1331
 * @method $this withPackagePath($value)
1332
 * @method string getMem()
1333
 * @method $this withMem($value)
1334
 * @method string getStdoutRedirectPath()
1335
 * @method $this withStdoutRedirectPath($value)
1336
 * @method string getVariables()
1337
 * @method $this withVariables($value)
1338
 * @method string getRunasUser()
1339
 * @method $this withRunasUser($value)
1340
 * @method string getReRunable()
1341
 * @method $this withReRunable($value)
1342
 * @method string getThread()
1343
 * @method $this withThread($value)
1344
 * @method string getTemplateId()
1345
 * @method $this withTemplateId($value)
1346
 * @method string getPriority()
1347
 * @method $this withPriority($value)
1348
 * @method string getGpu()
1349
 * @method $this withGpu($value)
1350
 * @method string getNode()
1351
 * @method $this withNode($value)
1352
 * @method string getTask()
1353
 * @method $this withTask($value)
1354
 * @method string getName()
1355
 * @method $this withName($value)
1356
 * @method string getQueue()
1357
 * @method $this withQueue($value)
1358
 */
1359
class EditJobTemplate extends Rpc
1360
{
1361
}
1362
1363
/**
1364
 * @method string getReportType()
1365
 * @method $this withReportType($value)
1366
 * @method string getEndTime()
1367
 * @method $this withEndTime($value)
1368
 * @method string getFilterValue()
1369
 * @method $this withFilterValue($value)
1370
 * @method string getDim()
1371
 * @method $this withDim($value)
1372
 * @method string getClusterId()
1373
 * @method $this withClusterId($value)
1374
 * @method string getStartTime()
1375
 * @method $this withStartTime($value)
1376
 * @method string getPageNumber()
1377
 * @method $this withPageNumber($value)
1378
 * @method string getJobId()
1379
 * @method $this withJobId($value)
1380
 * @method string getPageSize()
1381
 * @method $this withPageSize($value)
1382
 */
1383
class GetAccountingReport extends Rpc
1384
{
1385
}
1386
1387
/**
1388
 * @method string getClusterId()
1389
 * @method $this withClusterId($value)
1390
 */
1391
class GetAutoScaleConfig extends Rpc
1392
{
1393
}
1394
1395
/**
1396
 * @method string getMetricScope()
1397
 * @method $this withMetricScope($value)
1398
 * @method string getClusterId()
1399
 * @method $this withClusterId($value)
1400
 * @method string getAggregationInterval()
1401
 * @method $this withAggregationInterval($value)
1402
 * @method string getReverse()
1403
 * @method $this withReverse($value)
1404
 * @method string getAggregationType()
1405
 * @method $this withAggregationType($value)
1406
 * @method string getFilter()
1407
 * @method $this withFilter($value)
1408
 * @method string getMetricCategories()
1409
 * @method $this withMetricCategories($value)
1410
 * @method string getFrom()
1411
 * @method $this withFrom($value)
1412
 * @method string getTo()
1413
 * @method $this withTo($value)
1414
 */
1415
class GetCloudMetricLogs extends Rpc
1416
{
1417
}
1418
1419
/**
1420
 * @method string getClusterId()
1421
 * @method $this withClusterId($value)
1422
 * @method string getProfilingId()
1423
 * @method $this withProfilingId($value)
1424
 */
1425
class GetCloudMetricProfiling extends Rpc
1426
{
1427
}
1428
1429
/**
1430
 * @method string getClusterId()
1431
 * @method $this withClusterId($value)
1432
 */
1433
class GetClusterVolumes extends Rpc
1434
{
1435
}
1436
1437
/**
1438
 * @method string getInstanceId()
1439
 * @method $this withInstanceId($value)
1440
 * @method string getAppName()
1441
 * @method $this withAppName($value)
1442
 */
1443
class GetGWSConnectTicket extends Rpc
1444
{
1445
}
1446
1447
/**
1448
 * @method string getEndTime()
1449
 * @method $this withEndTime($value)
1450
 * @method string getClusterId()
1451
 * @method $this withClusterId($value)
1452
 * @method string getStartTime()
1453
 * @method $this withStartTime($value)
1454
 * @method string getEnableReverse()
1455
 * @method $this withEnableReverse($value)
1456
 * @method string getFilter()
1457
 * @method $this withFilter($value)
1458
 */
1459
class GetHealthMonitorLogs extends Rpc
1460
{
1461
}
1462
1463
/**
1464
 * @method string getClusterId()
1465
 * @method $this withClusterId($value)
1466
 * @method string getNode()
1467
 * @method $this withNode($value)
1468
 */
1469
class GetHybridClusterConfig extends Rpc
1470
{
1471
}
1472
1473
/**
1474
 * @method string getInstanceType()
1475
 * @method $this withInstanceType($value)
1476
 */
1477
class GetIfEcsTypeSupportHtConfig extends Rpc
1478
{
1479
}
1480
1481
/**
1482
 * @method string getClusterId()
1483
 * @method $this withClusterId($value)
1484
 * @method array getScheduler()
1485
 */
1486
class GetSchedulerInfo extends Rpc
1487
{
1488
1489
    /**
1490
     * @param array $scheduler
1491
     *
1492
     * @return $this
1493
     */
1494
	public function withScheduler(array $scheduler)
1495
	{
1496
	    $this->data['Scheduler'] = $scheduler;
1497
		foreach ($scheduler as $depth1 => $depth1Value) {
1498
			if(isset($depth1Value['SchedName'])){
1499
				$this->options['query']['Scheduler.' . ($depth1 + 1) . '.SchedName'] = $depth1Value['SchedName'];
1500
			}
1501
		}
1502
1503
		return $this;
1504
    }
1505
}
1506
1507
/**
1508
 * @method string getClusterId()
1509
 * @method $this withClusterId($value)
1510
 */
1511
class GetVisualServiceStatus extends Rpc
1512
{
1513
}
1514
1515
/**
1516
 * @method string getClusterId()
1517
 * @method $this withClusterId($value)
1518
 * @method string getUserPassword()
1519
 * @method $this withUserPassword($value)
1520
 * @method string getInstanceId()
1521
 * @method $this withInstanceId($value)
1522
 * @method string getPort()
1523
 * @method $this withPort($value)
1524
 * @method string getAccountSessionTicket()
1525
 * @method $this withAccountSessionTicket($value)
1526
 * @method string getAccountUid()
1527
 * @method $this withAccountUid($value)
1528
 * @method string getUserName()
1529
 * @method $this withUserName($value)
1530
 */
1531
class GetWorkbenchToken extends Rpc
1532
{
1533
}
1534
1535
class InitializeEHPC extends Rpc
1536
{
1537
}
1538
1539
/**
1540
 * @method string getClusterId()
1541
 * @method $this withClusterId($value)
1542
 * @method string getApplication()
1543
 * @method $this withApplication($value)
1544
 */
1545
class InstallSoftware extends Rpc
1546
{
1547
}
1548
1549
/**
1550
 * @method array getInstance()
1551
 * @method string getWorkingDir()
1552
 * @method $this withWorkingDir($value)
1553
 * @method string getClusterId()
1554
 * @method $this withClusterId($value)
1555
 * @method string getCommand()
1556
 * @method $this withCommand($value)
1557
 * @method string getTimeout()
1558
 * @method $this withTimeout($value)
1559
 */
1560
class InvokeShellCommand extends Rpc
1561
{
1562
1563
    /**
1564
     * @param array $instance
1565
     *
1566
     * @return $this
1567
     */
1568
	public function withInstance(array $instance)
1569
	{
1570
	    $this->data['Instance'] = $instance;
1571
		foreach ($instance as $depth1 => $depth1Value) {
1572
			if(isset($depth1Value['Id'])){
1573
				$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
1574
			}
1575
		}
1576
1577
		return $this;
1578
    }
1579
}
1580
1581
/**
1582
 * @method string getSpotStrategy()
1583
 * @method $this withSpotStrategy($value)
1584
 * @method string getZoneId()
1585
 * @method $this withZoneId($value)
1586
 * @method string getShowSoldOut()
1587
 * @method $this withShowSoldOut($value)
1588
 * @method string getInstanceChargeType()
1589
 * @method $this withInstanceChargeType($value)
1590
 */
1591
class ListAvailableEcsTypes extends Rpc
1592
{
1593
}
1594
1595
/**
1596
 * @method string getClusterId()
1597
 * @method $this withClusterId($value)
1598
 * @method string getPageNumber()
1599
 * @method $this withPageNumber($value)
1600
 * @method string getPageSize()
1601
 * @method $this withPageSize($value)
1602
 */
1603
class ListCloudMetricProfilings extends Rpc
1604
{
1605
}
1606
1607
/**
1608
 * @method string getClusterId()
1609
 * @method $this withClusterId($value)
1610
 * @method string getPageNumber()
1611
 * @method $this withPageNumber($value)
1612
 * @method string getPageSize()
1613
 * @method $this withPageSize($value)
1614
 */
1615
class ListClusterLogs extends Rpc
1616
{
1617
}
1618
1619
/**
1620
 * @method string getPageNumber()
1621
 * @method $this withPageNumber($value)
1622
 * @method string getPageSize()
1623
 * @method $this withPageSize($value)
1624
 */
1625
class ListClusters extends Rpc
1626
{
1627
}
1628
1629
/**
1630
 * @method string getPageNumber()
1631
 * @method $this withPageNumber($value)
1632
 * @method string getPageSize()
1633
 * @method $this withPageSize($value)
1634
 */
1635
class ListClustersMeta extends Rpc
1636
{
1637
}
1638
1639
/**
1640
 * @method string getClusterId()
1641
 * @method $this withClusterId($value)
1642
 * @method string getCommandId()
1643
 * @method $this withCommandId($value)
1644
 * @method string getPageNumber()
1645
 * @method $this withPageNumber($value)
1646
 * @method string getPageSize()
1647
 * @method $this withPageSize($value)
1648
 */
1649
class ListCommands extends Rpc
1650
{
1651
}
1652
1653
/**
1654
 * @method string getPageNumber()
1655
 * @method $this withPageNumber($value)
1656
 * @method string getPageSize()
1657
 * @method $this withPageSize($value)
1658
 */
1659
class ListContainerApps extends Rpc
1660
{
1661
}
1662
1663
/**
1664
 * @method string getClusterId()
1665
 * @method $this withClusterId($value)
1666
 * @method string getPageNumber()
1667
 * @method $this withPageNumber($value)
1668
 * @method string getContainerType()
1669
 * @method $this withContainerType($value)
1670
 * @method string getPageSize()
1671
 * @method $this withPageSize($value)
1672
 */
1673
class ListContainerImages extends Rpc
1674
{
1675
}
1676
1677
/**
1678
 * @method string getPageNumber()
1679
 * @method $this withPageNumber($value)
1680
 * @method string getPageSize()
1681
 * @method $this withPageSize($value)
1682
 * @method string getFileSystemId()
1683
 * @method $this withFileSystemId($value)
1684
 */
1685
class ListCpfsFileSystems extends Rpc
1686
{
1687
}
1688
1689
class ListCurrentClientVersion extends Rpc
1690
{
1691
}
1692
1693
/**
1694
 * @method string getClusterId()
1695
 * @method $this withClusterId($value)
1696
 * @method string getImageOwnerAlias()
1697
 * @method $this withImageOwnerAlias($value)
1698
 * @method string getBaseOsTag()
1699
 * @method $this withBaseOsTag($value)
1700
 * @method string getInstanceType()
1701
 * @method $this withInstanceType($value)
1702
 */
1703
class ListCustomImages extends Rpc
1704
{
1705
}
1706
1707
/**
1708
 * @method string getPageNumber()
1709
 * @method $this withPageNumber($value)
1710
 * @method string getPageSize()
1711
 * @method $this withPageSize($value)
1712
 */
1713
class ListFileSystemWithMountTargets extends Rpc
1714
{
1715
}
1716
1717
/**
1718
 * @method string getBaseOsTag()
1719
 * @method $this withBaseOsTag($value)
1720
 * @method string getInstanceType()
1721
 * @method $this withInstanceType($value)
1722
 */
1723
class ListImages extends Rpc
1724
{
1725
}
1726
1727
/**
1728
 * @method string getClusterId()
1729
 * @method $this withClusterId($value)
1730
 */
1731
class ListInstalledSoftware extends Rpc
1732
{
1733
}
1734
1735
/**
1736
 * @method array getInstance()
1737
 * @method string getClusterId()
1738
 * @method $this withClusterId($value)
1739
 * @method string getCommandId()
1740
 * @method $this withCommandId($value)
1741
 * @method string getPageNumber()
1742
 * @method $this withPageNumber($value)
1743
 * @method string getInvokeRecordStatus()
1744
 * @method $this withInvokeRecordStatus($value)
1745
 * @method string getPageSize()
1746
 * @method $this withPageSize($value)
1747
 */
1748
class ListInvocationResults extends Rpc
1749
{
1750
1751
    /**
1752
     * @param array $instance
1753
     *
1754
     * @return $this
1755
     */
1756
	public function withInstance(array $instance)
1757
	{
1758
	    $this->data['Instance'] = $instance;
1759
		foreach ($instance as $depth1 => $depth1Value) {
1760
			if(isset($depth1Value['Id'])){
1761
				$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
1762
			}
1763
		}
1764
1765
		return $this;
1766
    }
1767
}
1768
1769
/**
1770
 * @method string getClusterId()
1771
 * @method $this withClusterId($value)
1772
 * @method string getCommandId()
1773
 * @method $this withCommandId($value)
1774
 */
1775
class ListInvocationStatus extends Rpc
1776
{
1777
}
1778
1779
/**
1780
 * @method string getOwner()
1781
 * @method $this withOwner($value)
1782
 * @method string getClusterId()
1783
 * @method $this withClusterId($value)
1784
 * @method string getRerunable()
1785
 * @method $this withRerunable($value)
1786
 * @method string getPageNumber()
1787
 * @method $this withPageNumber($value)
1788
 * @method string getPageSize()
1789
 * @method $this withPageSize($value)
1790
 * @method string getState()
1791
 * @method $this withState($value)
1792
 */
1793
class ListJobs extends Rpc
1794
{
1795
}
1796
1797
/**
1798
 * @method string getPageNumber()
1799
 * @method $this withPageNumber($value)
1800
 * @method string getName()
1801
 * @method $this withName($value)
1802
 * @method string getPageSize()
1803
 * @method $this withPageSize($value)
1804
 */
1805
class ListJobTemplates extends Rpc
1806
{
1807
}
1808
1809
/**
1810
 * @method string getRole()
1811
 * @method $this withRole($value)
1812
 * @method string getPageNumber()
1813
 * @method $this withPageNumber($value)
1814
 * @method string getHostName()
1815
 * @method $this withHostName($value)
1816
 * @method string getPageSize()
1817
 * @method $this withPageSize($value)
1818
 * @method string getHostNamePrefix()
1819
 * @method $this withHostNamePrefix($value)
1820
 * @method string getClusterId()
1821
 * @method $this withClusterId($value)
1822
 * @method string getHostNameSuffix()
1823
 * @method $this withHostNameSuffix($value)
1824
 * @method string getFilter()
1825
 * @method $this withFilter($value)
1826
 * @method string getPrivateIpAddress()
1827
 * @method $this withPrivateIpAddress($value)
1828
 * @method string getSequence()
1829
 * @method $this withSequence($value)
1830
 * @method string getSortBy()
1831
 * @method $this withSortBy($value)
1832
 */
1833
class ListNodes extends Rpc
1834
{
1835
}
1836
1837
/**
1838
 * @method string getQueueName()
1839
 * @method $this withQueueName($value)
1840
 * @method string getClusterId()
1841
 * @method $this withClusterId($value)
1842
 * @method string getPageNumber()
1843
 * @method $this withPageNumber($value)
1844
 * @method string getPageSize()
1845
 * @method $this withPageSize($value)
1846
 */
1847
class ListNodesByQueue extends Rpc
1848
{
1849
}
1850
1851
/**
1852
 * @method string getRole()
1853
 * @method $this withRole($value)
1854
 * @method string getClusterId()
1855
 * @method $this withClusterId($value)
1856
 * @method string getSequence()
1857
 * @method $this withSequence($value)
1858
 * @method string getHostName()
1859
 * @method $this withHostName($value)
1860
 * @method string getOnlyDetached()
1861
 * @method $this withOnlyDetached($value)
1862
 */
1863
class ListNodesNoPaging extends Rpc
1864
{
1865
}
1866
1867
/**
1868
 * @method string getSpotStrategy()
1869
 * @method $this withSpotStrategy($value)
1870
 * @method string getZoneId()
1871
 * @method $this withZoneId($value)
1872
 * @method string getInstanceChargeType()
1873
 * @method $this withInstanceChargeType($value)
1874
 */
1875
class ListPreferredEcsTypes extends Rpc
1876
{
1877
}
1878
1879
/**
1880
 * @method string getClusterId()
1881
 * @method $this withClusterId($value)
1882
 */
1883
class ListQueues extends Rpc
1884
{
1885
}
1886
1887
class ListRegions extends Rpc
1888
{
1889
}
1890
1891
/**
1892
 * @method string getClusterId()
1893
 * @method $this withClusterId($value)
1894
 */
1895
class ListSecurityGroups extends Rpc
1896
{
1897
}
1898
1899
/**
1900
 * @method string getOsTag()
1901
 * @method $this withOsTag($value)
1902
 * @method string getEhpcVersion()
1903
 * @method $this withEhpcVersion($value)
1904
 */
1905
class ListSoftwares extends Rpc
1906
{
1907
}
1908
1909
/**
1910
 * @method string getClusterId()
1911
 * @method $this withClusterId($value)
1912
 * @method string getPageNumber()
1913
 * @method $this withPageNumber($value)
1914
 * @method string getArchived()
1915
 * @method $this withArchived($value)
1916
 * @method string getPageSize()
1917
 * @method $this withPageSize($value)
1918
 * @method string getTaskId()
1919
 * @method $this withTaskId($value)
1920
 */
1921
class ListTasks extends Rpc
1922
{
1923
}
1924
1925
/**
1926
 * @method string getClusterId()
1927
 * @method $this withClusterId($value)
1928
 * @method string getPageNumber()
1929
 * @method $this withPageNumber($value)
1930
 * @method string getPageSize()
1931
 * @method $this withPageSize($value)
1932
 */
1933
class ListUsers extends Rpc
1934
{
1935
}
1936
1937
/**
1938
 * @method string getPageNumber()
1939
 * @method $this withPageNumber($value)
1940
 * @method string getPageSize()
1941
 * @method $this withPageSize($value)
1942
 */
1943
class ListVolumes extends Rpc
1944
{
1945
}
1946
1947
/**
1948
 * @method string getImageId()
1949
 * @method $this withImageId($value)
1950
 * @method string getDescription()
1951
 * @method $this withDescription($value)
1952
 * @method string getClusterId()
1953
 * @method $this withClusterId($value)
1954
 * @method string getImageOwnerAlias()
1955
 * @method $this withImageOwnerAlias($value)
1956
 * @method string getName()
1957
 * @method $this withName($value)
1958
 */
1959
class ModifyClusterAttributes extends Rpc
1960
{
1961
}
1962
1963
/**
1964
 * @method string getDescription()
1965
 * @method $this withDescription($value)
1966
 * @method string getContainerId()
1967
 * @method $this withContainerId($value)
1968
 */
1969
class ModifyContainerAppAttributes extends Rpc
1970
{
1971
}
1972
1973
/**
1974
 * @method array getRepo()
1975
 * @method string getDBServerInfo()
1976
 * @method $this withDBServerInfo($value)
1977
 * @method string getClusterId()
1978
 * @method $this withClusterId($value)
1979
 * @method string getDefaultRepoLocation()
1980
 * @method $this withDefaultRepoLocation($value)
1981
 * @method string getDBPassword()
1982
 * @method $this withDBPassword($value)
1983
 * @method string getDBType()
1984
 * @method $this withDBType($value)
1985
 * @method string getDBUsername()
1986
 * @method $this withDBUsername($value)
1987
 * @method string getPullUpdateTimeout()
1988
 * @method $this withPullUpdateTimeout($value)
1989
 * @method string getImageExpirationTimeout()
1990
 * @method $this withImageExpirationTimeout($value)
1991
 */
1992
class ModifyImageGatewayConfig extends Rpc
1993
{
1994
1995
    /**
1996
     * @param array $repo
1997
     *
1998
     * @return $this
1999
     */
2000
	public function withRepo(array $repo)
2001
	{
2002
	    $this->data['Repo'] = $repo;
2003
		foreach ($repo as $depth1 => $depth1Value) {
2004
			if(isset($depth1Value['Auth'])){
2005
				$this->options['query']['Repo.' . ($depth1 + 1) . '.Auth'] = $depth1Value['Auth'];
2006
			}
2007
			if(isset($depth1Value['Location'])){
2008
				$this->options['query']['Repo.' . ($depth1 + 1) . '.Location'] = $depth1Value['Location'];
2009
			}
2010
			if(isset($depth1Value['URL'])){
2011
				$this->options['query']['Repo.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
2012
			}
2013
		}
2014
2015
		return $this;
2016
    }
2017
}
2018
2019
/**
2020
 * @method string getClusterId()
2021
 * @method $this withClusterId($value)
2022
 * @method array getUser()
2023
 */
2024
class ModifyUserGroups extends Rpc
2025
{
2026
2027
    /**
2028
     * @param array $user
2029
     *
2030
     * @return $this
2031
     */
2032
	public function withUser(array $user)
2033
	{
2034
	    $this->data['User'] = $user;
2035
		foreach ($user as $depth1 => $depth1Value) {
2036
			if(isset($depth1Value['Name'])){
2037
				$this->options['query']['User.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
2038
			}
2039
			if(isset($depth1Value['Group'])){
2040
				$this->options['query']['User.' . ($depth1 + 1) . '.Group'] = $depth1Value['Group'];
2041
			}
2042
		}
2043
2044
		return $this;
2045
    }
2046
}
2047
2048
/**
2049
 * @method string getClusterId()
2050
 * @method $this withClusterId($value)
2051
 * @method array getUser()
2052
 */
2053
class ModifyUserPasswords extends Rpc
2054
{
2055
2056
    /**
2057
     * @param array $user
2058
     *
2059
     * @return $this
2060
     */
2061
	public function withUser(array $user)
2062
	{
2063
	    $this->data['User'] = $user;
2064
		foreach ($user as $depth1 => $depth1Value) {
2065
			if(isset($depth1Value['Password'])){
2066
				$this->options['query']['User.' . ($depth1 + 1) . '.Password'] = $depth1Value['Password'];
2067
			}
2068
			if(isset($depth1Value['Name'])){
2069
				$this->options['query']['User.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
2070
			}
2071
		}
2072
2073
		return $this;
2074
    }
2075
}
2076
2077
/**
2078
 * @method string getRunasUserPassword()
2079
 * @method $this withRunasUserPassword($value)
2080
 * @method string getRunasUser()
2081
 * @method $this withRunasUser($value)
2082
 * @method string getClusterId()
2083
 * @method $this withClusterId($value)
2084
 * @method string getPasswd()
2085
 * @method $this withPasswd($value)
2086
 */
2087
class ModifyVisualServicePasswd extends Rpc
2088
{
2089
}
2090
2091
/**
2092
 * @method string getMountDir()
2093
 * @method $this withMountDir($value)
2094
 * @method string getInstanceId()
2095
 * @method $this withInstanceId($value)
2096
 * @method string getRemoteDir()
2097
 * @method $this withRemoteDir($value)
2098
 * @method string getNfsDir()
2099
 * @method $this withNfsDir($value)
2100
 * @method string getProtocolType()
2101
 * @method $this withProtocolType($value)
2102
 */
2103
class MountNFS extends Rpc
2104
{
2105
}
2106
2107
/**
2108
 * @method string getClusterId()
2109
 * @method $this withClusterId($value)
2110
 * @method string getRepository()
2111
 * @method $this withRepository($value)
2112
 * @method string getContainerType()
2113
 * @method $this withContainerType($value)
2114
 * @method string getImageTag()
2115
 * @method $this withImageTag($value)
2116
 */
2117
class PullImage extends Rpc
2118
{
2119
}
2120
2121
class QueryServicePackAndPrice extends Rpc
2122
{
2123
}
2124
2125
/**
2126
 * @method string getImageId()
2127
 * @method $this withImageId($value)
2128
 * @method string getOsTag()
2129
 * @method $this withOsTag($value)
2130
 * @method string getClientVersion()
2131
 * @method $this withClientVersion($value)
2132
 * @method string getAccountType()
2133
 * @method $this withAccountType($value)
2134
 * @method string getClusterId()
2135
 * @method $this withClusterId($value)
2136
 * @method string getImageOwnerAlias()
2137
 * @method $this withImageOwnerAlias($value)
2138
 * @method string getSchedulerType()
2139
 * @method $this withSchedulerType($value)
2140
 */
2141
class RecoverCluster extends Rpc
2142
{
2143
}
2144
2145
/**
2146
 * @method string getJobs()
2147
 * @method $this withJobs($value)
2148
 * @method string getClusterId()
2149
 * @method $this withClusterId($value)
2150
 */
2151
class RerunJobs extends Rpc
2152
{
2153
}
2154
2155
/**
2156
 * @method array getInstance()
2157
 * @method string getClusterId()
2158
 * @method $this withClusterId($value)
2159
 */
2160
class ResetNodes extends Rpc
2161
{
2162
2163
    /**
2164
     * @param array $instance
2165
     *
2166
     * @return $this
2167
     */
2168
	public function withInstance(array $instance)
2169
	{
2170
	    $this->data['Instance'] = $instance;
2171
		foreach ($instance as $depth1 => $depth1Value) {
2172
			if(isset($depth1Value['Id'])){
2173
				$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
2174
			}
2175
		}
2176
2177
		return $this;
2178
    }
2179
}
2180
2181
/**
2182
 * @method string getFreq()
2183
 * @method $this withFreq($value)
2184
 * @method string getClusterId()
2185
 * @method $this withClusterId($value)
2186
 * @method string getDuration()
2187
 * @method $this withDuration($value)
2188
 * @method string getHostName()
2189
 * @method $this withHostName($value)
2190
 * @method string getProcessId()
2191
 * @method $this withProcessId($value)
2192
 */
2193
class RunCloudMetricProfiling extends Rpc
2194
{
2195
}
2196
2197
/**
2198
 * @method string getImageId()
2199
 * @method $this withImageId($value)
2200
 * @method string getSpotPriceLimit()
2201
 * @method $this withSpotPriceLimit($value)
2202
 * @method string getExcludeNodes()
2203
 * @method $this withExcludeNodes($value)
2204
 * @method string getExtraNodesGrowRatio()
2205
 * @method $this withExtraNodesGrowRatio($value)
2206
 * @method string getShrinkIdleTimes()
2207
 * @method $this withShrinkIdleTimes($value)
2208
 * @method string getGrowTimeoutInMinutes()
2209
 * @method $this withGrowTimeoutInMinutes($value)
2210
 * @method string getClusterId()
2211
 * @method $this withClusterId($value)
2212
 * @method string getEnableAutoGrow()
2213
 * @method $this withEnableAutoGrow($value)
2214
 * @method string getEnableAutoShrink()
2215
 * @method $this withEnableAutoShrink($value)
2216
 * @method string getSpotStrategy()
2217
 * @method $this withSpotStrategy($value)
2218
 * @method string getMaxNodesInCluster()
2219
 * @method $this withMaxNodesInCluster($value)
2220
 * @method string getShrinkIntervalInMinutes()
2221
 * @method $this withShrinkIntervalInMinutes($value)
2222
 * @method array getQueues()
2223
 * @method string getGrowIntervalInMinutes()
2224
 * @method $this withGrowIntervalInMinutes($value)
2225
 * @method string getGrowRatio()
2226
 * @method $this withGrowRatio($value)
2227
 */
2228
class SetAutoScaleConfig extends Rpc
2229
{
2230
2231
    /**
2232
     * @param array $queues
2233
     *
2234
     * @return $this
2235
     */
2236
	public function withQueues(array $queues)
2237
	{
2238
	    $this->data['Queues'] = $queues;
2239
		foreach ($queues as $depth1 => $depth1Value) {
2240
			if(isset($depth1Value['QueueName'])){
2241
				$this->options['query']['Queues.' . ($depth1 + 1) . '.QueueName'] = $depth1Value['QueueName'];
2242
			}
2243
			if(isset($depth1Value['SystemDiskLevel'])){
2244
				$this->options['query']['Queues.' . ($depth1 + 1) . '.SystemDiskLevel'] = $depth1Value['SystemDiskLevel'];
2245
			}
2246
			foreach ($depth1Value['InstanceTypes'] as $depth2 => $depth2Value) {
2247
				if(isset($depth2Value['SpotStrategy'])){
2248
					$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.SpotStrategy'] = $depth2Value['SpotStrategy'];
2249
				}
2250
				if(isset($depth2Value['VSwitchId'])){
2251
					$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.VSwitchId'] = $depth2Value['VSwitchId'];
2252
				}
2253
				if(isset($depth2Value['InstanceType'])){
2254
					$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.InstanceType'] = $depth2Value['InstanceType'];
2255
				}
2256
				if(isset($depth2Value['ZoneId'])){
2257
					$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.ZoneId'] = $depth2Value['ZoneId'];
2258
				}
2259
				if(isset($depth2Value['SpotPriceLimit'])){
2260
					$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceTypes.' . ($depth2 + 1) . '.SpotPriceLimit'] = $depth2Value['SpotPriceLimit'];
2261
				}
2262
			}
2263
			if(isset($depth1Value['EnableAutoGrow'])){
2264
				$this->options['query']['Queues.' . ($depth1 + 1) . '.EnableAutoGrow'] = $depth1Value['EnableAutoGrow'];
2265
			}
2266
			if(isset($depth1Value['SpotPriceLimit'])){
2267
				$this->options['query']['Queues.' . ($depth1 + 1) . '.SpotPriceLimit'] = $depth1Value['SpotPriceLimit'];
2268
			}
2269
			if(isset($depth1Value['HostNameSuffix'])){
2270
				$this->options['query']['Queues.' . ($depth1 + 1) . '.HostNameSuffix'] = $depth1Value['HostNameSuffix'];
2271
			}
2272
			if(isset($depth1Value['EnableAutoShrink'])){
2273
				$this->options['query']['Queues.' . ($depth1 + 1) . '.EnableAutoShrink'] = $depth1Value['EnableAutoShrink'];
2274
			}
2275
			if(isset($depth1Value['SpotStrategy'])){
2276
				$this->options['query']['Queues.' . ($depth1 + 1) . '.SpotStrategy'] = $depth1Value['SpotStrategy'];
2277
			}
2278
			if(isset($depth1Value['MinNodesInQueue'])){
2279
				$this->options['query']['Queues.' . ($depth1 + 1) . '.MinNodesInQueue'] = $depth1Value['MinNodesInQueue'];
2280
			}
2281
			if(isset($depth1Value['SystemDiskCategory'])){
2282
				$this->options['query']['Queues.' . ($depth1 + 1) . '.SystemDiskCategory'] = $depth1Value['SystemDiskCategory'];
2283
			}
2284
			if(isset($depth1Value['MaxNodesInQueue'])){
2285
				$this->options['query']['Queues.' . ($depth1 + 1) . '.MaxNodesInQueue'] = $depth1Value['MaxNodesInQueue'];
2286
			}
2287
			if(isset($depth1Value['SystemDiskSize'])){
2288
				$this->options['query']['Queues.' . ($depth1 + 1) . '.SystemDiskSize'] = $depth1Value['SystemDiskSize'];
2289
			}
2290
			if(isset($depth1Value['InstanceType'])){
2291
				$this->options['query']['Queues.' . ($depth1 + 1) . '.InstanceType'] = $depth1Value['InstanceType'];
2292
			}
2293
			if(isset($depth1Value['QueueImageId'])){
2294
				$this->options['query']['Queues.' . ($depth1 + 1) . '.QueueImageId'] = $depth1Value['QueueImageId'];
2295
			}
2296
			if(isset($depth1Value['HostNamePrefix'])){
2297
				$this->options['query']['Queues.' . ($depth1 + 1) . '.HostNamePrefix'] = $depth1Value['HostNamePrefix'];
2298
			}
2299
		}
2300
2301
		return $this;
2302
    }
2303
}
2304
2305
/**
2306
 * @method string getWatermark()
2307
 * @method $this withWatermark($value)
2308
 * @method string getLocalDrive()
2309
 * @method $this withLocalDrive($value)
2310
 * @method string getClusterId()
2311
 * @method $this withClusterId($value)
2312
 * @method string getClipboard()
2313
 * @method $this withClipboard($value)
2314
 * @method string getUsbRedirect()
2315
 * @method $this withUsbRedirect($value)
2316
 * @method string getAsyncMode()
2317
 * @method $this withAsyncMode($value)
2318
 * @method string getUdpPort()
2319
 * @method $this withUdpPort($value)
2320
 */
2321
class SetGWSClusterPolicy extends Rpc
2322
{
2323
2324
    /** @var string */
2325
    public $method = 'POST';
2326
}
2327
2328
/**
2329
 * @method string getInstanceId()
2330
 * @method $this withInstanceId($value)
2331
 * @method string getName()
2332
 * @method $this withName($value)
2333
 */
2334
class SetGWSInstanceName extends Rpc
2335
{
2336
}
2337
2338
/**
2339
 * @method string getInstanceId()
2340
 * @method $this withInstanceId($value)
2341
 * @method string getUserUid()
2342
 * @method $this withUserUid($value)
2343
 * @method string getUserName()
2344
 * @method $this withUserName($value)
2345
 */
2346
class SetGWSInstanceUser extends Rpc
2347
{
2348
}
2349
2350
/**
2351
 * @method string getQueueName()
2352
 * @method $this withQueueName($value)
2353
 * @method string getClusterId()
2354
 * @method $this withClusterId($value)
2355
 * @method array getNode()
2356
 */
2357
class SetQueue extends Rpc
2358
{
2359
2360
    /**
2361
     * @param array $node
2362
     *
2363
     * @return $this
2364
     */
2365
	public function withNode(array $node)
2366
	{
2367
	    $this->data['Node'] = $node;
2368
		foreach ($node as $depth1 => $depth1Value) {
2369
			if(isset($depth1Value['Name'])){
2370
				$this->options['query']['Node.' . ($depth1 + 1) . '.Name'] = $depth1Value['Name'];
2371
			}
2372
		}
2373
2374
		return $this;
2375
    }
2376
}
2377
2378
/**
2379
 * @method array getSlurmInfo()
2380
 * @method string getClusterId()
2381
 * @method $this withClusterId($value)
2382
 * @method array getScheduler()
2383
 * @method array getPbsInfo()
2384
 */
2385
class SetSchedulerInfo extends Rpc
2386
{
2387
2388
    /**
2389
     * @param array $slurmInfo
2390
     *
2391
     * @return $this
2392
     */
2393
	public function withSlurmInfo(array $slurmInfo)
2394
	{
2395
	    $this->data['SlurmInfo'] = $slurmInfo;
2396
		foreach ($slurmInfo as $depth1 => $depth1Value) {
2397
			if(isset($depth1Value['SchedInterval'])){
2398
				$this->options['query']['SlurmInfo.' . ($depth1 + 1) . '.SchedInterval'] = $depth1Value['SchedInterval'];
2399
			}
2400
			if(isset($depth1Value['BackfillInterval'])){
2401
				$this->options['query']['SlurmInfo.' . ($depth1 + 1) . '.BackfillInterval'] = $depth1Value['BackfillInterval'];
2402
			}
2403
		}
2404
2405
		return $this;
2406
    }
2407
2408
    /**
2409
     * @param array $scheduler
2410
     *
2411
     * @return $this
2412
     */
2413
	public function withScheduler(array $scheduler)
2414
	{
2415
	    $this->data['Scheduler'] = $scheduler;
2416
		foreach ($scheduler as $depth1 => $depth1Value) {
2417
			if(isset($depth1Value['SchedName'])){
2418
				$this->options['query']['Scheduler.' . ($depth1 + 1) . '.SchedName'] = $depth1Value['SchedName'];
2419
			}
2420
		}
2421
2422
		return $this;
2423
    }
2424
2425
    /**
2426
     * @param array $pbsInfo
2427
     *
2428
     * @return $this
2429
     */
2430
	public function withPbsInfo(array $pbsInfo)
2431
	{
2432
	    $this->data['PbsInfo'] = $pbsInfo;
2433
		foreach ($pbsInfo as $depth1 => $depth1Value) {
2434
			if(isset($depth1Value['SchedInterval'])){
2435
				$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.SchedInterval'] = $depth1Value['SchedInterval'];
2436
			}
2437
			foreach ($depth1Value['ResourceLimit'] as $depth2 => $depth2Value) {
2438
				if(isset($depth2Value['Nodes'])){
2439
					$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.ResourceLimit.' . ($depth2 + 1) . '.Nodes'] = $depth2Value['Nodes'];
2440
				}
2441
				if(isset($depth2Value['Mem'])){
2442
					$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.ResourceLimit.' . ($depth2 + 1) . '.Mem'] = $depth2Value['Mem'];
2443
				}
2444
				if(isset($depth2Value['Cpus'])){
2445
					$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.ResourceLimit.' . ($depth2 + 1) . '.Cpus'] = $depth2Value['Cpus'];
2446
				}
2447
				if(isset($depth2Value['User'])){
2448
					$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.ResourceLimit.' . ($depth2 + 1) . '.User'] = $depth2Value['User'];
2449
				}
2450
				if(isset($depth2Value['Queue'])){
2451
					$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.ResourceLimit.' . ($depth2 + 1) . '.Queue'] = $depth2Value['Queue'];
2452
				}
2453
			}
2454
			foreach ($depth1Value['AclLimit'] as $depth2 => $depth2Value) {
2455
				if(isset($depth2Value['AclUsers'])){
2456
					$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.AclLimit.' . ($depth2 + 1) . '.AclUsers'] = $depth2Value['AclUsers'];
2457
				}
2458
				if(isset($depth2Value['Queue'])){
2459
					$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.AclLimit.' . ($depth2 + 1) . '.Queue'] = $depth2Value['Queue'];
2460
				}
2461
			}
2462
			if(isset($depth1Value['JobHistoryDuration'])){
2463
				$this->options['query']['PbsInfo.' . ($depth1 + 1) . '.JobHistoryDuration'] = $depth1Value['JobHistoryDuration'];
2464
			}
2465
		}
2466
2467
		return $this;
2468
    }
2469
}
2470
2471
/**
2472
 * @method string getClusterId()
2473
 * @method $this withClusterId($value)
2474
 */
2475
class StartCluster extends Rpc
2476
{
2477
}
2478
2479
/**
2480
 * @method string getInstanceId()
2481
 * @method $this withInstanceId($value)
2482
 */
2483
class StartGWSInstance extends Rpc
2484
{
2485
}
2486
2487
/**
2488
 * @method string getRole()
2489
 * @method $this withRole($value)
2490
 * @method array getInstance()
2491
 * @method string getClusterId()
2492
 * @method $this withClusterId($value)
2493
 */
2494
class StartNodes extends Rpc
2495
{
2496
2497
    /**
2498
     * @param array $instance
2499
     *
2500
     * @return $this
2501
     */
2502
	public function withInstance(array $instance)
2503
	{
2504
	    $this->data['Instance'] = $instance;
2505
		foreach ($instance as $depth1 => $depth1Value) {
2506
			if(isset($depth1Value['Id'])){
2507
				$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
2508
			}
2509
		}
2510
2511
		return $this;
2512
    }
2513
}
2514
2515
/**
2516
 * @method string getClusterId()
2517
 * @method $this withClusterId($value)
2518
 * @method string getPort()
2519
 * @method $this withPort($value)
2520
 * @method string getCidrIp()
2521
 * @method $this withCidrIp($value)
2522
 */
2523
class StartVisualService extends Rpc
2524
{
2525
}
2526
2527
/**
2528
 * @method string getClusterId()
2529
 * @method $this withClusterId($value)
2530
 */
2531
class StopCluster extends Rpc
2532
{
2533
}
2534
2535
/**
2536
 * @method string getInstanceId()
2537
 * @method $this withInstanceId($value)
2538
 */
2539
class StopGWSInstance extends Rpc
2540
{
2541
}
2542
2543
/**
2544
 * @method string getJobs()
2545
 * @method $this withJobs($value)
2546
 * @method string getClusterId()
2547
 * @method $this withClusterId($value)
2548
 */
2549
class StopJobs extends Rpc
2550
{
2551
}
2552
2553
/**
2554
 * @method string getRole()
2555
 * @method $this withRole($value)
2556
 * @method array getInstance()
2557
 * @method string getClusterId()
2558
 * @method $this withClusterId($value)
2559
 */
2560
class StopNodes extends Rpc
2561
{
2562
2563
    /**
2564
     * @param array $instance
2565
     *
2566
     * @return $this
2567
     */
2568
	public function withInstance(array $instance)
2569
	{
2570
	    $this->data['Instance'] = $instance;
2571
		foreach ($instance as $depth1 => $depth1Value) {
2572
			if(isset($depth1Value['Id'])){
2573
				$this->options['query']['Instance.' . ($depth1 + 1) . '.Id'] = $depth1Value['Id'];
2574
			}
2575
		}
2576
2577
		return $this;
2578
    }
2579
}
2580
2581
/**
2582
 * @method string getClusterId()
2583
 * @method $this withClusterId($value)
2584
 * @method string getPort()
2585
 * @method $this withPort($value)
2586
 * @method string getCidrIp()
2587
 * @method $this withCidrIp($value)
2588
 */
2589
class StopVisualService extends Rpc
2590
{
2591
}
2592
2593
/**
2594
 * @method string getStderrRedirectPath()
2595
 * @method $this withStderrRedirectPath($value)
2596
 * @method string getRunasUserPassword()
2597
 * @method $this withRunasUserPassword($value)
2598
 * @method string getClockTime()
2599
 * @method $this withClockTime($value)
2600
 * @method string getCommandLine()
2601
 * @method $this withCommandLine($value)
2602
 * @method string getJobQueue()
2603
 * @method $this withJobQueue($value)
2604
 * @method string getArrayRequest()
2605
 * @method $this withArrayRequest($value)
2606
 * @method string getUnzipCmd()
2607
 * @method $this withUnzipCmd($value)
2608
 * @method string getPackagePath()
2609
 * @method $this withPackagePath($value)
2610
 * @method string getMem()
2611
 * @method $this withMem($value)
2612
 * @method string getStdoutRedirectPath()
2613
 * @method $this withStdoutRedirectPath($value)
2614
 * @method string getVariables()
2615
 * @method $this withVariables($value)
2616
 * @method string getPostCmdLine()
2617
 * @method $this withPostCmdLine($value)
2618
 * @method string getRunasUser()
2619
 * @method $this withRunasUser($value)
2620
 * @method string getClusterId()
2621
 * @method $this withClusterId($value)
2622
 * @method string getReRunable()
2623
 * @method $this withReRunable($value)
2624
 * @method string getThread()
2625
 * @method $this withThread($value)
2626
 * @method string getPriority()
2627
 * @method $this withPriority($value)
2628
 * @method string getGpu()
2629
 * @method $this withGpu($value)
2630
 * @method string getNode()
2631
 * @method $this withNode($value)
2632
 * @method string getTask()
2633
 * @method $this withTask($value)
2634
 * @method string getInputFileUrl()
2635
 * @method $this withInputFileUrl($value)
2636
 * @method string getName()
2637
 * @method $this withName($value)
2638
 * @method string getContainerId()
2639
 * @method $this withContainerId($value)
2640
 */
2641
class SubmitJob extends Rpc
2642
{
2643
}
2644
2645
/**
2646
 * @method string getClusterId()
2647
 * @method $this withClusterId($value)
2648
 * @method string getApplication()
2649
 * @method $this withApplication($value)
2650
 */
2651
class UninstallSoftware extends Rpc
2652
{
2653
}
2654
2655
/**
2656
 * @method array getAdditionalVolumes()
2657
 * @method string getClusterId()
2658
 * @method $this withClusterId($value)
2659
 */
2660
class UpdateClusterVolumes extends Rpc
2661
{
2662
2663
    /**
2664
     * @param array $additionalVolumes
2665
     *
2666
     * @return $this
2667
     */
2668
	public function withAdditionalVolumes(array $additionalVolumes)
2669
	{
2670
	    $this->data['AdditionalVolumes'] = $additionalVolumes;
2671
		foreach ($additionalVolumes as $depth1 => $depth1Value) {
2672
			if(isset($depth1Value['VolumeType'])){
2673
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeType'] = $depth1Value['VolumeType'];
2674
			}
2675
			if(isset($depth1Value['VolumeProtocol'])){
2676
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeProtocol'] = $depth1Value['VolumeProtocol'];
2677
			}
2678
			if(isset($depth1Value['LocalDirectory'])){
2679
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.LocalDirectory'] = $depth1Value['LocalDirectory'];
2680
			}
2681
			if(isset($depth1Value['RemoteDirectory'])){
2682
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.RemoteDirectory'] = $depth1Value['RemoteDirectory'];
2683
			}
2684
			foreach ($depth1Value['Roles'] as $depth2 => $depth2Value) {
2685
				if(isset($depth2Value['Name'])){
2686
					$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.Roles.' . ($depth2 + 1) . '.Name'] = $depth2Value['Name'];
2687
				}
2688
			}
2689
			if(isset($depth1Value['VolumeId'])){
2690
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeId'] = $depth1Value['VolumeId'];
2691
			}
2692
			if(isset($depth1Value['VolumeMountpoint'])){
2693
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.VolumeMountpoint'] = $depth1Value['VolumeMountpoint'];
2694
			}
2695
			if(isset($depth1Value['Location'])){
2696
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.Location'] = $depth1Value['Location'];
2697
			}
2698
			if(isset($depth1Value['JobQueue'])){
2699
				$this->options['query']['AdditionalVolumes.' . ($depth1 + 1) . '.JobQueue'] = $depth1Value['JobQueue'];
2700
			}
2701
		}
2702
2703
		return $this;
2704
    }
2705
}
2706
2707
/**
2708
 * @method string getQueueName()
2709
 * @method $this withQueueName($value)
2710
 * @method string getClusterId()
2711
 * @method $this withClusterId($value)
2712
 * @method string getResourceGroupId()
2713
 * @method $this withResourceGroupId($value)
2714
 * @method string getComputeInstanceType()
2715
 * @method $this withComputeInstanceType($value)
2716
 */
2717
class UpdateQueueConfig extends Rpc
2718
{
2719
}
2720
2721
/**
2722
 * @method string getClientVersion()
2723
 * @method $this withClientVersion($value)
2724
 * @method string getClusterId()
2725
 * @method $this withClusterId($value)
2726
 */
2727
class UpgradeClient extends Rpc
2728
{
2729
}
2730