1
|
|
|
<?php |
2
|
|
|
|
3
|
|
|
namespace AlibabaCloud\Foas\V20181111; |
4
|
|
|
|
5
|
|
|
use AlibabaCloud\Roa; |
6
|
|
|
|
7
|
|
|
class V20181111Roa extends Roa |
8
|
|
|
{ |
9
|
|
|
/** @var string */ |
10
|
|
|
public $product = 'foas'; |
11
|
|
|
|
12
|
|
|
/** @var string */ |
13
|
|
|
public $version = '2018-11-11'; |
14
|
|
|
|
15
|
|
|
/** @var string */ |
16
|
|
|
public $scheme = 'https'; |
17
|
|
|
|
18
|
|
|
/** @var string */ |
19
|
|
|
public $serviceCode = 'foas'; |
20
|
|
|
} |
21
|
|
|
|
22
|
|
|
/** |
23
|
|
|
* @method string getQueueName() |
24
|
|
|
* @method string getProjectName() |
25
|
|
|
* @method string getClusterId() |
26
|
|
|
*/ |
27
|
|
|
class UnbindQueue extends V20181111Roa |
28
|
|
|
{ |
29
|
|
|
/** @var string */ |
30
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/queue'; |
31
|
|
|
|
32
|
|
|
/** @var string */ |
33
|
|
|
public $method = 'DELETE'; |
34
|
|
|
|
35
|
|
|
/** |
36
|
|
|
* @param string $value |
37
|
|
|
* |
38
|
|
|
* @return $this |
39
|
|
|
*/ |
40
|
|
|
public function withQueueName($value) |
41
|
|
|
{ |
42
|
|
|
$this->data['QueueName'] = $value; |
43
|
|
|
$this->options['query']['queueName'] = $value; |
44
|
|
|
|
45
|
|
|
return $this; |
46
|
|
|
} |
47
|
|
|
|
48
|
|
|
/** |
49
|
|
|
* @param string $value |
50
|
|
|
* |
51
|
|
|
* @return $this |
52
|
|
|
*/ |
53
|
|
|
public function withProjectName($value) |
54
|
|
|
{ |
55
|
|
|
$this->data['ProjectName'] = $value; |
56
|
|
|
$this->pathParameters['projectName'] = $value; |
57
|
|
|
|
58
|
|
|
return $this; |
59
|
|
|
} |
60
|
|
|
|
61
|
|
|
/** |
62
|
|
|
* @param string $value |
63
|
|
|
* |
64
|
|
|
* @return $this |
65
|
|
|
*/ |
66
|
|
|
public function withClusterId($value) |
67
|
|
|
{ |
68
|
|
|
$this->data['ClusterId'] = $value; |
69
|
|
|
$this->options['query']['clusterId'] = $value; |
70
|
|
|
|
71
|
|
|
return $this; |
72
|
|
|
} |
73
|
|
|
} |
74
|
|
|
|
75
|
|
|
/** |
76
|
|
|
* @method string getQueueName() |
77
|
|
|
* @method string getProjectName() |
78
|
|
|
* @method string getClusterId() |
79
|
|
|
*/ |
80
|
|
|
class BindQueue extends V20181111Roa |
81
|
|
|
{ |
82
|
|
|
/** @var string */ |
83
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/queue'; |
84
|
|
|
|
85
|
|
|
/** @var string */ |
86
|
|
|
public $method = 'POST'; |
87
|
|
|
|
88
|
|
|
/** |
89
|
|
|
* @param string $value |
90
|
|
|
* |
91
|
|
|
* @return $this |
92
|
|
|
*/ |
93
|
|
|
public function withQueueName($value) |
94
|
|
|
{ |
95
|
|
|
$this->data['QueueName'] = $value; |
96
|
|
|
$this->options['query']['queueName'] = $value; |
97
|
|
|
|
98
|
|
|
return $this; |
99
|
|
|
} |
100
|
|
|
|
101
|
|
|
/** |
102
|
|
|
* @param string $value |
103
|
|
|
* |
104
|
|
|
* @return $this |
105
|
|
|
*/ |
106
|
|
|
public function withProjectName($value) |
107
|
|
|
{ |
108
|
|
|
$this->data['ProjectName'] = $value; |
109
|
|
|
$this->pathParameters['projectName'] = $value; |
110
|
|
|
|
111
|
|
|
return $this; |
112
|
|
|
} |
113
|
|
|
|
114
|
|
|
/** |
115
|
|
|
* @param string $value |
116
|
|
|
* |
117
|
|
|
* @return $this |
118
|
|
|
*/ |
119
|
|
|
public function withClusterId($value) |
120
|
|
|
{ |
121
|
|
|
$this->data['ClusterId'] = $value; |
122
|
|
|
$this->options['query']['clusterId'] = $value; |
123
|
|
|
|
124
|
|
|
return $this; |
125
|
|
|
} |
126
|
|
|
} |
127
|
|
|
|
128
|
|
|
/** |
129
|
|
|
* @method string getQueueName() |
130
|
|
|
* @method string getClusterId() |
131
|
|
|
*/ |
132
|
|
|
class DeleteQueue extends V20181111Roa |
133
|
|
|
{ |
134
|
|
|
/** @var string */ |
135
|
|
|
public $pathPattern = '/api/v2/clusters/[clusterId]/queue/[queueName]'; |
136
|
|
|
|
137
|
|
|
/** @var string */ |
138
|
|
|
public $method = 'DELETE'; |
139
|
|
|
|
140
|
|
|
/** |
141
|
|
|
* @param string $value |
142
|
|
|
* |
143
|
|
|
* @return $this |
144
|
|
|
*/ |
145
|
|
|
public function withQueueName($value) |
146
|
|
|
{ |
147
|
|
|
$this->data['QueueName'] = $value; |
148
|
|
|
$this->pathParameters['queueName'] = $value; |
149
|
|
|
|
150
|
|
|
return $this; |
151
|
|
|
} |
152
|
|
|
|
153
|
|
|
/** |
154
|
|
|
* @param string $value |
155
|
|
|
* |
156
|
|
|
* @return $this |
157
|
|
|
*/ |
158
|
|
|
public function withClusterId($value) |
159
|
|
|
{ |
160
|
|
|
$this->data['ClusterId'] = $value; |
161
|
|
|
$this->pathParameters['clusterId'] = $value; |
162
|
|
|
|
163
|
|
|
return $this; |
164
|
|
|
} |
165
|
|
|
} |
166
|
|
|
|
167
|
|
|
/** |
168
|
|
|
* @method string getQueueName() |
169
|
|
|
* @method string getClusterId() |
170
|
|
|
* @method string getGpu() |
171
|
|
|
* @method string getMaxVcore() |
172
|
|
|
* @method string getMaxMem() |
173
|
|
|
*/ |
174
|
|
|
class CreateQueue extends V20181111Roa |
175
|
|
|
{ |
176
|
|
|
/** @var string */ |
177
|
|
|
public $pathPattern = '/api/v2/clusters/[clusterId]/queue'; |
178
|
|
|
|
179
|
|
|
/** @var string */ |
180
|
|
|
public $method = 'POST'; |
181
|
|
|
|
182
|
|
|
/** |
183
|
|
|
* @param string $value |
184
|
|
|
* |
185
|
|
|
* @return $this |
186
|
|
|
*/ |
187
|
|
|
public function withQueueName($value) |
188
|
|
|
{ |
189
|
|
|
$this->data['QueueName'] = $value; |
190
|
|
|
$this->options['query']['queueName'] = $value; |
191
|
|
|
|
192
|
|
|
return $this; |
193
|
|
|
} |
194
|
|
|
|
195
|
|
|
/** |
196
|
|
|
* @param string $value |
197
|
|
|
* |
198
|
|
|
* @return $this |
199
|
|
|
*/ |
200
|
|
|
public function withClusterId($value) |
201
|
|
|
{ |
202
|
|
|
$this->data['ClusterId'] = $value; |
203
|
|
|
$this->pathParameters['clusterId'] = $value; |
204
|
|
|
|
205
|
|
|
return $this; |
206
|
|
|
} |
207
|
|
|
|
208
|
|
|
/** |
209
|
|
|
* @param string $value |
210
|
|
|
* |
211
|
|
|
* @return $this |
212
|
|
|
*/ |
213
|
|
|
public function withGpu($value) |
214
|
|
|
{ |
215
|
|
|
$this->data['Gpu'] = $value; |
216
|
|
|
$this->options['query']['gpu'] = $value; |
217
|
|
|
|
218
|
|
|
return $this; |
219
|
|
|
} |
220
|
|
|
|
221
|
|
|
/** |
222
|
|
|
* @param string $value |
223
|
|
|
* |
224
|
|
|
* @return $this |
225
|
|
|
*/ |
226
|
|
|
public function withMaxVcore($value) |
227
|
|
|
{ |
228
|
|
|
$this->data['MaxVcore'] = $value; |
229
|
|
|
$this->options['query']['maxVcore'] = $value; |
230
|
|
|
|
231
|
|
|
return $this; |
232
|
|
|
} |
233
|
|
|
|
234
|
|
|
/** |
235
|
|
|
* @param string $value |
236
|
|
|
* |
237
|
|
|
* @return $this |
238
|
|
|
*/ |
239
|
|
|
public function withMaxMem($value) |
240
|
|
|
{ |
241
|
|
|
$this->data['MaxMem'] = $value; |
242
|
|
|
$this->options['query']['maxMem'] = $value; |
243
|
|
|
|
244
|
|
|
return $this; |
245
|
|
|
} |
246
|
|
|
} |
247
|
|
|
|
248
|
|
|
/** |
249
|
|
|
* @method string getClusterId() |
250
|
|
|
* @method string getMetricJson() |
251
|
|
|
*/ |
252
|
|
|
class GetClusterMetrics extends V20181111Roa |
253
|
|
|
{ |
254
|
|
|
/** @var string */ |
255
|
|
|
public $pathPattern = '/api/v2/clusters/[clusterId]/metrics'; |
256
|
|
|
|
257
|
|
|
/** @var string */ |
258
|
|
|
public $method = 'POST'; |
259
|
|
|
|
260
|
|
|
/** |
261
|
|
|
* @param string $value |
262
|
|
|
* |
263
|
|
|
* @return $this |
264
|
|
|
*/ |
265
|
|
|
public function withClusterId($value) |
266
|
|
|
{ |
267
|
|
|
$this->data['ClusterId'] = $value; |
268
|
|
|
$this->pathParameters['clusterId'] = $value; |
269
|
|
|
|
270
|
|
|
return $this; |
271
|
|
|
} |
272
|
|
|
|
273
|
|
|
/** |
274
|
|
|
* @param string $value |
275
|
|
|
* |
276
|
|
|
* @return $this |
277
|
|
|
*/ |
278
|
|
|
public function withMetricJson($value) |
279
|
|
|
{ |
280
|
|
|
$this->data['MetricJson'] = $value; |
281
|
|
|
$this->options['query']['metricJson'] = $value; |
282
|
|
|
|
283
|
|
|
return $this; |
284
|
|
|
} |
285
|
|
|
} |
286
|
|
|
|
287
|
|
|
/** |
288
|
|
|
* @method string getClusterId() |
289
|
|
|
*/ |
290
|
|
|
class GetClusterEngineVersions extends V20181111Roa |
291
|
|
|
{ |
292
|
|
|
/** @var string */ |
293
|
|
|
public $pathPattern = '/api/v2/clusters/[clusterId]/engineversions'; |
294
|
|
|
|
295
|
|
|
|
296
|
|
|
/** |
297
|
|
|
* @param string $value |
298
|
|
|
* |
299
|
|
|
* @return $this |
300
|
|
|
*/ |
301
|
|
|
public function withClusterId($value) |
302
|
|
|
{ |
303
|
|
|
$this->data['ClusterId'] = $value; |
304
|
|
|
$this->pathParameters['clusterId'] = $value; |
305
|
|
|
|
306
|
|
|
return $this; |
307
|
|
|
} |
308
|
|
|
} |
309
|
|
|
|
310
|
|
|
/** |
311
|
|
|
* @method string getClusterId() |
312
|
|
|
*/ |
313
|
|
|
class GetClusterDetails extends V20181111Roa |
314
|
|
|
{ |
315
|
|
|
/** @var string */ |
316
|
|
|
public $pathPattern = '/api/v2/clusters/[clusterId]/details'; |
317
|
|
|
|
318
|
|
|
|
319
|
|
|
/** |
320
|
|
|
* @param string $value |
321
|
|
|
* |
322
|
|
|
* @return $this |
323
|
|
|
*/ |
324
|
|
|
public function withClusterId($value) |
325
|
|
|
{ |
326
|
|
|
$this->data['ClusterId'] = $value; |
327
|
|
|
$this->pathParameters['clusterId'] = $value; |
328
|
|
|
|
329
|
|
|
return $this; |
330
|
|
|
} |
331
|
|
|
} |
332
|
|
|
|
333
|
|
|
/** |
334
|
|
|
* @method string getClusterId() |
335
|
|
|
*/ |
336
|
|
|
class GetClusterQueueInfo extends V20181111Roa |
337
|
|
|
{ |
338
|
|
|
/** @var string */ |
339
|
|
|
public $pathPattern = '/api/v2/clusters/[clusterId]/queueinfo'; |
340
|
|
|
|
341
|
|
|
|
342
|
|
|
/** |
343
|
|
|
* @param string $value |
344
|
|
|
* |
345
|
|
|
* @return $this |
346
|
|
|
*/ |
347
|
|
|
public function withClusterId($value) |
348
|
|
|
{ |
349
|
|
|
$this->data['ClusterId'] = $value; |
350
|
|
|
$this->pathParameters['clusterId'] = $value; |
351
|
|
|
|
352
|
|
|
return $this; |
353
|
|
|
} |
354
|
|
|
} |
355
|
|
|
|
356
|
|
|
/** |
357
|
|
|
* @method string getClusterId() |
358
|
|
|
*/ |
359
|
|
|
class GetClusterResource extends V20181111Roa |
360
|
|
|
{ |
361
|
|
|
/** @var string */ |
362
|
|
|
public $pathPattern = '/api/v2/clusters/[clusterId]/resource'; |
363
|
|
|
|
364
|
|
|
|
365
|
|
|
/** |
366
|
|
|
* @param string $value |
367
|
|
|
* |
368
|
|
|
* @return $this |
369
|
|
|
*/ |
370
|
|
|
public function withClusterId($value) |
371
|
|
|
{ |
372
|
|
|
$this->data['ClusterId'] = $value; |
373
|
|
|
$this->pathParameters['clusterId'] = $value; |
374
|
|
|
|
375
|
|
|
return $this; |
376
|
|
|
} |
377
|
|
|
} |
378
|
|
|
|
379
|
|
|
/** |
380
|
|
|
* @method string getDisplayName() |
381
|
|
|
* @method string getClusterId() |
382
|
|
|
* @method string getState() |
383
|
|
|
* @method string getRegion() |
384
|
|
|
*/ |
385
|
|
|
class ListCluster extends V20181111Roa |
386
|
|
|
{ |
387
|
|
|
/** @var string */ |
388
|
|
|
public $pathPattern = '/api/v2/clusters'; |
389
|
|
|
|
390
|
|
|
|
391
|
|
|
/** |
392
|
|
|
* @param string $value |
393
|
|
|
* |
394
|
|
|
* @return $this |
395
|
|
|
*/ |
396
|
|
|
public function withDisplayName($value) |
397
|
|
|
{ |
398
|
|
|
$this->data['DisplayName'] = $value; |
399
|
|
|
$this->options['query']['displayName'] = $value; |
400
|
|
|
|
401
|
|
|
return $this; |
402
|
|
|
} |
403
|
|
|
|
404
|
|
|
/** |
405
|
|
|
* @param string $value |
406
|
|
|
* |
407
|
|
|
* @return $this |
408
|
|
|
*/ |
409
|
|
|
public function withClusterId($value) |
410
|
|
|
{ |
411
|
|
|
$this->data['ClusterId'] = $value; |
412
|
|
|
$this->options['query']['clusterId'] = $value; |
413
|
|
|
|
414
|
|
|
return $this; |
415
|
|
|
} |
416
|
|
|
|
417
|
|
|
/** |
418
|
|
|
* @param string $value |
419
|
|
|
* |
420
|
|
|
* @return $this |
421
|
|
|
*/ |
422
|
|
|
public function withState($value) |
423
|
|
|
{ |
424
|
|
|
$this->data['State'] = $value; |
425
|
|
|
$this->options['query']['state'] = $value; |
426
|
|
|
|
427
|
|
|
return $this; |
428
|
|
|
} |
429
|
|
|
|
430
|
|
|
/** |
431
|
|
|
* @param string $value |
432
|
|
|
* |
433
|
|
|
* @return $this |
434
|
|
|
*/ |
435
|
|
|
public function withRegion($value) |
436
|
|
|
{ |
437
|
|
|
$this->data['Region'] = $value; |
438
|
|
|
$this->options['query']['region'] = $value; |
439
|
|
|
|
440
|
|
|
return $this; |
441
|
|
|
} |
442
|
|
|
} |
443
|
|
|
|
444
|
|
|
/** |
445
|
|
|
* @method string getClusterId() |
446
|
|
|
* @method string getMasterTargetModel() |
447
|
|
|
*/ |
448
|
|
|
class ModifyClusterSpec extends V20181111Roa |
449
|
|
|
{ |
450
|
|
|
/** @var string */ |
451
|
|
|
public $pathPattern = '/api/v2/clusters/[clusterId]/specification'; |
452
|
|
|
|
453
|
|
|
/** @var string */ |
454
|
|
|
public $method = 'PUT'; |
455
|
|
|
|
456
|
|
|
/** |
457
|
|
|
* @param string $value |
458
|
|
|
* |
459
|
|
|
* @return $this |
460
|
|
|
*/ |
461
|
|
|
public function withClusterId($value) |
462
|
|
|
{ |
463
|
|
|
$this->data['ClusterId'] = $value; |
464
|
|
|
$this->pathParameters['clusterId'] = $value; |
465
|
|
|
|
466
|
|
|
return $this; |
467
|
|
|
} |
468
|
|
|
|
469
|
|
|
/** |
470
|
|
|
* @param string $value |
471
|
|
|
* |
472
|
|
|
* @return $this |
473
|
|
|
*/ |
474
|
|
|
public function withMasterTargetModel($value) |
475
|
|
|
{ |
476
|
|
|
$this->data['MasterTargetModel'] = $value; |
477
|
|
|
$this->options['query']['masterTargetModel'] = $value; |
478
|
|
|
|
479
|
|
|
return $this; |
480
|
|
|
} |
481
|
|
|
} |
482
|
|
|
|
483
|
|
|
/** |
484
|
|
|
* @method string getInstanceIds() |
485
|
|
|
* @method string getClusterId() |
486
|
|
|
*/ |
487
|
|
|
class ShrinkCluster extends V20181111Roa |
488
|
|
|
{ |
489
|
|
|
/** @var string */ |
490
|
|
|
public $pathPattern = '/api/v2/clusters/[clusterId]/shrink'; |
491
|
|
|
|
492
|
|
|
/** @var string */ |
493
|
|
|
public $method = 'PUT'; |
494
|
|
|
|
495
|
|
|
/** |
496
|
|
|
* @param string $value |
497
|
|
|
* |
498
|
|
|
* @return $this |
499
|
|
|
*/ |
500
|
|
|
public function withInstanceIds($value) |
501
|
|
|
{ |
502
|
|
|
$this->data['InstanceIds'] = $value; |
503
|
|
|
$this->options['query']['instanceIds'] = $value; |
504
|
|
|
|
505
|
|
|
return $this; |
506
|
|
|
} |
507
|
|
|
|
508
|
|
|
/** |
509
|
|
|
* @param string $value |
510
|
|
|
* |
511
|
|
|
* @return $this |
512
|
|
|
*/ |
513
|
|
|
public function withClusterId($value) |
514
|
|
|
{ |
515
|
|
|
$this->data['ClusterId'] = $value; |
516
|
|
|
$this->pathParameters['clusterId'] = $value; |
517
|
|
|
|
518
|
|
|
return $this; |
519
|
|
|
} |
520
|
|
|
} |
521
|
|
|
|
522
|
|
|
/** |
523
|
|
|
* @method string getCount() |
524
|
|
|
* @method string getModel() |
525
|
|
|
* @method string getUserVSwitch() |
526
|
|
|
* @method string getClusterId() |
527
|
|
|
*/ |
528
|
|
|
class ExpandCluster extends V20181111Roa |
529
|
|
|
{ |
530
|
|
|
/** @var string */ |
531
|
|
|
public $pathPattern = '/api/v2/clusters/[clusterId]/expand'; |
532
|
|
|
|
533
|
|
|
/** @var string */ |
534
|
|
|
public $method = 'PUT'; |
535
|
|
|
|
536
|
|
|
/** |
537
|
|
|
* @param string $value |
538
|
|
|
* |
539
|
|
|
* @return $this |
540
|
|
|
*/ |
541
|
|
|
public function withCount($value) |
542
|
|
|
{ |
543
|
|
|
$this->data['Count'] = $value; |
544
|
|
|
$this->options['query']['count'] = $value; |
545
|
|
|
|
546
|
|
|
return $this; |
547
|
|
|
} |
548
|
|
|
|
549
|
|
|
/** |
550
|
|
|
* @param string $value |
551
|
|
|
* |
552
|
|
|
* @return $this |
553
|
|
|
*/ |
554
|
|
|
public function withModel($value) |
555
|
|
|
{ |
556
|
|
|
$this->data['Model'] = $value; |
557
|
|
|
$this->options['query']['model'] = $value; |
558
|
|
|
|
559
|
|
|
return $this; |
560
|
|
|
} |
561
|
|
|
|
562
|
|
|
/** |
563
|
|
|
* @param string $value |
564
|
|
|
* |
565
|
|
|
* @return $this |
566
|
|
|
*/ |
567
|
|
|
public function withUserVSwitch($value) |
568
|
|
|
{ |
569
|
|
|
$this->data['UserVSwitch'] = $value; |
570
|
|
|
$this->options['query']['userVSwitch'] = $value; |
571
|
|
|
|
572
|
|
|
return $this; |
573
|
|
|
} |
574
|
|
|
|
575
|
|
|
/** |
576
|
|
|
* @param string $value |
577
|
|
|
* |
578
|
|
|
* @return $this |
579
|
|
|
*/ |
580
|
|
|
public function withClusterId($value) |
581
|
|
|
{ |
582
|
|
|
$this->data['ClusterId'] = $value; |
583
|
|
|
$this->pathParameters['clusterId'] = $value; |
584
|
|
|
|
585
|
|
|
return $this; |
586
|
|
|
} |
587
|
|
|
} |
588
|
|
|
|
589
|
|
|
/** |
590
|
|
|
* @method string getClusterId() |
591
|
|
|
*/ |
592
|
|
|
class DestroyCluster extends V20181111Roa |
593
|
|
|
{ |
594
|
|
|
/** @var string */ |
595
|
|
|
public $pathPattern = '/api/v2/clusters/[clusterId]'; |
596
|
|
|
|
597
|
|
|
/** @var string */ |
598
|
|
|
public $method = 'DELETE'; |
599
|
|
|
|
600
|
|
|
/** |
601
|
|
|
* @param string $value |
602
|
|
|
* |
603
|
|
|
* @return $this |
604
|
|
|
*/ |
605
|
|
|
public function withClusterId($value) |
606
|
|
|
{ |
607
|
|
|
$this->data['ClusterId'] = $value; |
608
|
|
|
$this->pathParameters['clusterId'] = $value; |
609
|
|
|
|
610
|
|
|
return $this; |
611
|
|
|
} |
612
|
|
|
} |
613
|
|
|
|
614
|
|
|
/** |
615
|
|
|
* @method string getOrderId() |
616
|
|
|
* @method string getUserOssBucket() |
617
|
|
|
* @method string getDisplayName() |
618
|
|
|
* @method string getUserVpcId() |
619
|
|
|
* @method string getZoneId() |
620
|
|
|
* @method string getDescription() |
621
|
|
|
* @method string getUserVSwitch() |
622
|
|
|
*/ |
623
|
|
|
class CreateCluster extends V20181111Roa |
624
|
|
|
{ |
625
|
|
|
/** @var string */ |
626
|
|
|
public $pathPattern = '/api/v2/clusters'; |
627
|
|
|
|
628
|
|
|
/** @var string */ |
629
|
|
|
public $method = 'POST'; |
630
|
|
|
|
631
|
|
|
/** |
632
|
|
|
* @param string $value |
633
|
|
|
* |
634
|
|
|
* @return $this |
635
|
|
|
*/ |
636
|
|
|
public function withOrderId($value) |
637
|
|
|
{ |
638
|
|
|
$this->data['OrderId'] = $value; |
639
|
|
|
$this->options['query']['orderId'] = $value; |
640
|
|
|
|
641
|
|
|
return $this; |
642
|
|
|
} |
643
|
|
|
|
644
|
|
|
/** |
645
|
|
|
* @param string $value |
646
|
|
|
* |
647
|
|
|
* @return $this |
648
|
|
|
*/ |
649
|
|
|
public function withUserOssBucket($value) |
650
|
|
|
{ |
651
|
|
|
$this->data['UserOssBucket'] = $value; |
652
|
|
|
$this->options['query']['userOssBucket'] = $value; |
653
|
|
|
|
654
|
|
|
return $this; |
655
|
|
|
} |
656
|
|
|
|
657
|
|
|
/** |
658
|
|
|
* @param string $value |
659
|
|
|
* |
660
|
|
|
* @return $this |
661
|
|
|
*/ |
662
|
|
|
public function withDisplayName($value) |
663
|
|
|
{ |
664
|
|
|
$this->data['DisplayName'] = $value; |
665
|
|
|
$this->options['query']['displayName'] = $value; |
666
|
|
|
|
667
|
|
|
return $this; |
668
|
|
|
} |
669
|
|
|
|
670
|
|
|
/** |
671
|
|
|
* @param string $value |
672
|
|
|
* |
673
|
|
|
* @return $this |
674
|
|
|
*/ |
675
|
|
|
public function withUserVpcId($value) |
676
|
|
|
{ |
677
|
|
|
$this->data['UserVpcId'] = $value; |
678
|
|
|
$this->options['query']['userVpcId'] = $value; |
679
|
|
|
|
680
|
|
|
return $this; |
681
|
|
|
} |
682
|
|
|
|
683
|
|
|
/** |
684
|
|
|
* @param string $value |
685
|
|
|
* |
686
|
|
|
* @return $this |
687
|
|
|
*/ |
688
|
|
|
public function withZoneId($value) |
689
|
|
|
{ |
690
|
|
|
$this->data['ZoneId'] = $value; |
691
|
|
|
$this->options['query']['zoneId'] = $value; |
692
|
|
|
|
693
|
|
|
return $this; |
694
|
|
|
} |
695
|
|
|
|
696
|
|
|
/** |
697
|
|
|
* @param string $value |
698
|
|
|
* |
699
|
|
|
* @return $this |
700
|
|
|
*/ |
701
|
|
|
public function withDescription($value) |
702
|
|
|
{ |
703
|
|
|
$this->data['Description'] = $value; |
704
|
|
|
$this->options['query']['description'] = $value; |
705
|
|
|
|
706
|
|
|
return $this; |
707
|
|
|
} |
708
|
|
|
|
709
|
|
|
/** |
710
|
|
|
* @param string $value |
711
|
|
|
* |
712
|
|
|
* @return $this |
713
|
|
|
*/ |
714
|
|
|
public function withUserVSwitch($value) |
715
|
|
|
{ |
716
|
|
|
$this->data['UserVSwitch'] = $value; |
717
|
|
|
$this->options['query']['userVSwitch'] = $value; |
718
|
|
|
|
719
|
|
|
return $this; |
720
|
|
|
} |
721
|
|
|
} |
722
|
|
|
|
723
|
|
|
/** |
724
|
|
|
* @method string getProjectName() |
725
|
|
|
*/ |
726
|
|
|
class GetProject extends V20181111Roa |
727
|
|
|
{ |
728
|
|
|
/** @var string */ |
729
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]'; |
730
|
|
|
|
731
|
|
|
|
732
|
|
|
/** |
733
|
|
|
* @param string $value |
734
|
|
|
* |
735
|
|
|
* @return $this |
736
|
|
|
*/ |
737
|
|
|
public function withProjectName($value) |
738
|
|
|
{ |
739
|
|
|
$this->data['ProjectName'] = $value; |
740
|
|
|
$this->pathParameters['projectName'] = $value; |
741
|
|
|
|
742
|
|
|
return $this; |
743
|
|
|
} |
744
|
|
|
} |
745
|
|
|
|
746
|
|
|
/** |
747
|
|
|
* @method string getProjectName() |
748
|
|
|
*/ |
749
|
|
|
class DeleteProject extends V20181111Roa |
750
|
|
|
{ |
751
|
|
|
/** @var string */ |
752
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]'; |
753
|
|
|
|
754
|
|
|
/** @var string */ |
755
|
|
|
public $method = 'DELETE'; |
756
|
|
|
|
757
|
|
|
/** |
758
|
|
|
* @param string $value |
759
|
|
|
* |
760
|
|
|
* @return $this |
761
|
|
|
*/ |
762
|
|
|
public function withProjectName($value) |
763
|
|
|
{ |
764
|
|
|
$this->data['ProjectName'] = $value; |
765
|
|
|
$this->pathParameters['projectName'] = $value; |
766
|
|
|
|
767
|
|
|
return $this; |
768
|
|
|
} |
769
|
|
|
} |
770
|
|
|
|
771
|
|
|
/** |
772
|
|
|
* @method string getManagerIds() |
773
|
|
|
* @method string getOrderId() |
774
|
|
|
* @method string getName() |
775
|
|
|
* @method string getDescription() |
776
|
|
|
* @method string getClusterId() |
777
|
|
|
* @method string getDeployType() |
778
|
|
|
*/ |
779
|
|
|
class CreateProject extends V20181111Roa |
780
|
|
|
{ |
781
|
|
|
/** @var string */ |
782
|
|
|
public $pathPattern = '/api/v2/projects'; |
783
|
|
|
|
784
|
|
|
/** @var string */ |
785
|
|
|
public $method = 'POST'; |
786
|
|
|
|
787
|
|
|
/** |
788
|
|
|
* @param string $value |
789
|
|
|
* |
790
|
|
|
* @return $this |
791
|
|
|
*/ |
792
|
|
|
public function withManagerIds($value) |
793
|
|
|
{ |
794
|
|
|
$this->data['ManagerIds'] = $value; |
795
|
|
|
$this->options['query']['managerIds'] = $value; |
796
|
|
|
|
797
|
|
|
return $this; |
798
|
|
|
} |
799
|
|
|
|
800
|
|
|
/** |
801
|
|
|
* @param string $value |
802
|
|
|
* |
803
|
|
|
* @return $this |
804
|
|
|
*/ |
805
|
|
|
public function withOrderId($value) |
806
|
|
|
{ |
807
|
|
|
$this->data['OrderId'] = $value; |
808
|
|
|
$this->options['query']['orderId'] = $value; |
809
|
|
|
|
810
|
|
|
return $this; |
811
|
|
|
} |
812
|
|
|
|
813
|
|
|
/** |
814
|
|
|
* @param string $value |
815
|
|
|
* |
816
|
|
|
* @return $this |
817
|
|
|
*/ |
818
|
|
|
public function withName($value) |
819
|
|
|
{ |
820
|
|
|
$this->data['Name'] = $value; |
821
|
|
|
$this->options['query']['name'] = $value; |
822
|
|
|
|
823
|
|
|
return $this; |
824
|
|
|
} |
825
|
|
|
|
826
|
|
|
/** |
827
|
|
|
* @param string $value |
828
|
|
|
* |
829
|
|
|
* @return $this |
830
|
|
|
*/ |
831
|
|
|
public function withDescription($value) |
832
|
|
|
{ |
833
|
|
|
$this->data['Description'] = $value; |
834
|
|
|
$this->options['query']['description'] = $value; |
835
|
|
|
|
836
|
|
|
return $this; |
837
|
|
|
} |
838
|
|
|
|
839
|
|
|
/** |
840
|
|
|
* @param string $value |
841
|
|
|
* |
842
|
|
|
* @return $this |
843
|
|
|
*/ |
844
|
|
|
public function withClusterId($value) |
845
|
|
|
{ |
846
|
|
|
$this->data['ClusterId'] = $value; |
847
|
|
|
$this->options['query']['clusterId'] = $value; |
848
|
|
|
|
849
|
|
|
return $this; |
850
|
|
|
} |
851
|
|
|
|
852
|
|
|
/** |
853
|
|
|
* @param string $value |
854
|
|
|
* |
855
|
|
|
* @return $this |
856
|
|
|
*/ |
857
|
|
|
public function withDeployType($value) |
858
|
|
|
{ |
859
|
|
|
$this->data['DeployType'] = $value; |
860
|
|
|
$this->options['query']['deployType'] = $value; |
861
|
|
|
|
862
|
|
|
return $this; |
863
|
|
|
} |
864
|
|
|
} |
865
|
|
|
|
866
|
|
|
/** |
867
|
|
|
* @method string getName() |
868
|
|
|
* @method string getPageSize() |
869
|
|
|
* @method string getPageIndex() |
870
|
|
|
* @method string getClusterId() |
871
|
|
|
* @method string getRegion() |
872
|
|
|
* @method string getDeployType() |
873
|
|
|
*/ |
874
|
|
|
class ListProject extends V20181111Roa |
875
|
|
|
{ |
876
|
|
|
/** @var string */ |
877
|
|
|
public $pathPattern = '/api/v2/projects'; |
878
|
|
|
|
879
|
|
|
|
880
|
|
|
/** |
881
|
|
|
* @param string $value |
882
|
|
|
* |
883
|
|
|
* @return $this |
884
|
|
|
*/ |
885
|
|
|
public function withName($value) |
886
|
|
|
{ |
887
|
|
|
$this->data['Name'] = $value; |
888
|
|
|
$this->options['query']['name'] = $value; |
889
|
|
|
|
890
|
|
|
return $this; |
891
|
|
|
} |
892
|
|
|
|
893
|
|
|
/** |
894
|
|
|
* @param string $value |
895
|
|
|
* |
896
|
|
|
* @return $this |
897
|
|
|
*/ |
898
|
|
|
public function withPageSize($value) |
899
|
|
|
{ |
900
|
|
|
$this->data['PageSize'] = $value; |
901
|
|
|
$this->options['query']['pageSize'] = $value; |
902
|
|
|
|
903
|
|
|
return $this; |
904
|
|
|
} |
905
|
|
|
|
906
|
|
|
/** |
907
|
|
|
* @param string $value |
908
|
|
|
* |
909
|
|
|
* @return $this |
910
|
|
|
*/ |
911
|
|
|
public function withPageIndex($value) |
912
|
|
|
{ |
913
|
|
|
$this->data['PageIndex'] = $value; |
914
|
|
|
$this->options['query']['pageIndex'] = $value; |
915
|
|
|
|
916
|
|
|
return $this; |
917
|
|
|
} |
918
|
|
|
|
919
|
|
|
/** |
920
|
|
|
* @param string $value |
921
|
|
|
* |
922
|
|
|
* @return $this |
923
|
|
|
*/ |
924
|
|
|
public function withClusterId($value) |
925
|
|
|
{ |
926
|
|
|
$this->data['ClusterId'] = $value; |
927
|
|
|
$this->options['query']['clusterId'] = $value; |
928
|
|
|
|
929
|
|
|
return $this; |
930
|
|
|
} |
931
|
|
|
|
932
|
|
|
/** |
933
|
|
|
* @param string $value |
934
|
|
|
* |
935
|
|
|
* @return $this |
936
|
|
|
*/ |
937
|
|
|
public function withRegion($value) |
938
|
|
|
{ |
939
|
|
|
$this->data['Region'] = $value; |
940
|
|
|
$this->options['query']['region'] = $value; |
941
|
|
|
|
942
|
|
|
return $this; |
943
|
|
|
} |
944
|
|
|
|
945
|
|
|
/** |
946
|
|
|
* @param string $value |
947
|
|
|
* |
948
|
|
|
* @return $this |
949
|
|
|
*/ |
950
|
|
|
public function withDeployType($value) |
951
|
|
|
{ |
952
|
|
|
$this->data['DeployType'] = $value; |
953
|
|
|
$this->options['query']['deployType'] = $value; |
954
|
|
|
|
955
|
|
|
return $this; |
956
|
|
|
} |
957
|
|
|
} |
958
|
|
|
|
959
|
|
|
/** |
960
|
|
|
* @method string getProjectName() |
961
|
|
|
* @method string getSessionId() |
962
|
|
|
* @method string getJobName() |
963
|
|
|
*/ |
964
|
|
|
class CheckRawPlanJson extends V20181111Roa |
965
|
|
|
{ |
966
|
|
|
/** @var string */ |
967
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/planjson/check'; |
968
|
|
|
|
969
|
|
|
|
970
|
|
|
/** |
971
|
|
|
* @param string $value |
972
|
|
|
* |
973
|
|
|
* @return $this |
974
|
|
|
*/ |
975
|
|
|
public function withProjectName($value) |
976
|
|
|
{ |
977
|
|
|
$this->data['ProjectName'] = $value; |
978
|
|
|
$this->pathParameters['projectName'] = $value; |
979
|
|
|
|
980
|
|
|
return $this; |
981
|
|
|
} |
982
|
|
|
|
983
|
|
|
/** |
984
|
|
|
* @param string $value |
985
|
|
|
* |
986
|
|
|
* @return $this |
987
|
|
|
*/ |
988
|
|
|
public function withSessionId($value) |
989
|
|
|
{ |
990
|
|
|
$this->data['SessionId'] = $value; |
991
|
|
|
$this->options['query']['sessionId'] = $value; |
992
|
|
|
|
993
|
|
|
return $this; |
994
|
|
|
} |
995
|
|
|
|
996
|
|
|
/** |
997
|
|
|
* @param string $value |
998
|
|
|
* |
999
|
|
|
* @return $this |
1000
|
|
|
*/ |
1001
|
|
|
public function withJobName($value) |
1002
|
|
|
{ |
1003
|
|
|
$this->data['JobName'] = $value; |
1004
|
|
|
$this->pathParameters['jobName'] = $value; |
1005
|
|
|
|
1006
|
|
|
return $this; |
1007
|
|
|
} |
1008
|
|
|
} |
1009
|
|
|
|
1010
|
|
|
/** |
1011
|
|
|
* @method string getQueueName() |
1012
|
|
|
* @method string getProjectName() |
1013
|
|
|
* @method string getClusterId() |
1014
|
|
|
*/ |
1015
|
|
|
class ListProjectBindQueueResource extends V20181111Roa |
1016
|
|
|
{ |
1017
|
|
|
/** @var string */ |
1018
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/queueresource'; |
1019
|
|
|
|
1020
|
|
|
|
1021
|
|
|
/** |
1022
|
|
|
* @param string $value |
1023
|
|
|
* |
1024
|
|
|
* @return $this |
1025
|
|
|
*/ |
1026
|
|
|
public function withQueueName($value) |
1027
|
|
|
{ |
1028
|
|
|
$this->data['QueueName'] = $value; |
1029
|
|
|
$this->options['query']['queueName'] = $value; |
1030
|
|
|
|
1031
|
|
|
return $this; |
1032
|
|
|
} |
1033
|
|
|
|
1034
|
|
|
/** |
1035
|
|
|
* @param string $value |
1036
|
|
|
* |
1037
|
|
|
* @return $this |
1038
|
|
|
*/ |
1039
|
|
|
public function withProjectName($value) |
1040
|
|
|
{ |
1041
|
|
|
$this->data['ProjectName'] = $value; |
1042
|
|
|
$this->pathParameters['projectName'] = $value; |
1043
|
|
|
|
1044
|
|
|
return $this; |
1045
|
|
|
} |
1046
|
|
|
|
1047
|
|
|
/** |
1048
|
|
|
* @param string $value |
1049
|
|
|
* |
1050
|
|
|
* @return $this |
1051
|
|
|
*/ |
1052
|
|
|
public function withClusterId($value) |
1053
|
|
|
{ |
1054
|
|
|
$this->data['ClusterId'] = $value; |
1055
|
|
|
$this->options['query']['clusterId'] = $value; |
1056
|
|
|
|
1057
|
|
|
return $this; |
1058
|
|
|
} |
1059
|
|
|
} |
1060
|
|
|
|
1061
|
|
|
/** |
1062
|
|
|
* @method string getQueueName() |
1063
|
|
|
* @method string getProjectName() |
1064
|
|
|
* @method string getClusterId() |
1065
|
|
|
*/ |
1066
|
|
|
class ListProjectBindQueue extends V20181111Roa |
1067
|
|
|
{ |
1068
|
|
|
/** @var string */ |
1069
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/queues'; |
1070
|
|
|
|
1071
|
|
|
|
1072
|
|
|
/** |
1073
|
|
|
* @param string $value |
1074
|
|
|
* |
1075
|
|
|
* @return $this |
1076
|
|
|
*/ |
1077
|
|
|
public function withQueueName($value) |
1078
|
|
|
{ |
1079
|
|
|
$this->data['QueueName'] = $value; |
1080
|
|
|
$this->options['query']['queueName'] = $value; |
1081
|
|
|
|
1082
|
|
|
return $this; |
1083
|
|
|
} |
1084
|
|
|
|
1085
|
|
|
/** |
1086
|
|
|
* @param string $value |
1087
|
|
|
* |
1088
|
|
|
* @return $this |
1089
|
|
|
*/ |
1090
|
|
|
public function withProjectName($value) |
1091
|
|
|
{ |
1092
|
|
|
$this->data['ProjectName'] = $value; |
1093
|
|
|
$this->pathParameters['projectName'] = $value; |
1094
|
|
|
|
1095
|
|
|
return $this; |
1096
|
|
|
} |
1097
|
|
|
|
1098
|
|
|
/** |
1099
|
|
|
* @param string $value |
1100
|
|
|
* |
1101
|
|
|
* @return $this |
1102
|
|
|
*/ |
1103
|
|
|
public function withClusterId($value) |
1104
|
|
|
{ |
1105
|
|
|
$this->data['ClusterId'] = $value; |
1106
|
|
|
$this->options['query']['clusterId'] = $value; |
1107
|
|
|
|
1108
|
|
|
return $this; |
1109
|
|
|
} |
1110
|
|
|
} |
1111
|
|
|
|
1112
|
|
|
/** |
1113
|
|
|
* @method string getProjectName() |
1114
|
|
|
* @method string getJobName() |
1115
|
|
|
*/ |
1116
|
|
|
class ValidateJob extends V20181111Roa |
1117
|
|
|
{ |
1118
|
|
|
/** @var string */ |
1119
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/validate'; |
1120
|
|
|
|
1121
|
|
|
|
1122
|
|
|
/** |
1123
|
|
|
* @param string $value |
1124
|
|
|
* |
1125
|
|
|
* @return $this |
1126
|
|
|
*/ |
1127
|
|
|
public function withProjectName($value) |
1128
|
|
|
{ |
1129
|
|
|
$this->data['ProjectName'] = $value; |
1130
|
|
|
$this->pathParameters['projectName'] = $value; |
1131
|
|
|
|
1132
|
|
|
return $this; |
1133
|
|
|
} |
1134
|
|
|
|
1135
|
|
|
/** |
1136
|
|
|
* @param string $value |
1137
|
|
|
* |
1138
|
|
|
* @return $this |
1139
|
|
|
*/ |
1140
|
|
|
public function withJobName($value) |
1141
|
|
|
{ |
1142
|
|
|
$this->data['JobName'] = $value; |
1143
|
|
|
$this->pathParameters['jobName'] = $value; |
1144
|
|
|
|
1145
|
|
|
return $this; |
1146
|
|
|
} |
1147
|
|
|
} |
1148
|
|
|
|
1149
|
|
|
/** |
1150
|
|
|
* @method string getProjectName() |
1151
|
|
|
* @method string getInstanceId() |
1152
|
|
|
* @method string getJobName() |
1153
|
|
|
*/ |
1154
|
|
|
class GetInstanceDetail extends V20181111Roa |
1155
|
|
|
{ |
1156
|
|
|
/** @var string */ |
1157
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]/details'; |
1158
|
|
|
|
1159
|
|
|
|
1160
|
|
|
/** |
1161
|
|
|
* @param string $value |
1162
|
|
|
* |
1163
|
|
|
* @return $this |
1164
|
|
|
*/ |
1165
|
|
|
public function withProjectName($value) |
1166
|
|
|
{ |
1167
|
|
|
$this->data['ProjectName'] = $value; |
1168
|
|
|
$this->pathParameters['projectName'] = $value; |
1169
|
|
|
|
1170
|
|
|
return $this; |
1171
|
|
|
} |
1172
|
|
|
|
1173
|
|
|
/** |
1174
|
|
|
* @param string $value |
1175
|
|
|
* |
1176
|
|
|
* @return $this |
1177
|
|
|
*/ |
1178
|
|
|
public function withInstanceId($value) |
1179
|
|
|
{ |
1180
|
|
|
$this->data['InstanceId'] = $value; |
1181
|
|
|
$this->pathParameters['instanceId'] = $value; |
1182
|
|
|
|
1183
|
|
|
return $this; |
1184
|
|
|
} |
1185
|
|
|
|
1186
|
|
|
/** |
1187
|
|
|
* @param string $value |
1188
|
|
|
* |
1189
|
|
|
* @return $this |
1190
|
|
|
*/ |
1191
|
|
|
public function withJobName($value) |
1192
|
|
|
{ |
1193
|
|
|
$this->data['JobName'] = $value; |
1194
|
|
|
$this->pathParameters['jobName'] = $value; |
1195
|
|
|
|
1196
|
|
|
return $this; |
1197
|
|
|
} |
1198
|
|
|
} |
1199
|
|
|
|
1200
|
|
|
/** |
1201
|
|
|
* @method string getProjectName() |
1202
|
|
|
* @method string getInstanceId() |
1203
|
|
|
* @method string getJobName() |
1204
|
|
|
*/ |
1205
|
|
|
class GetInstanceConfig extends V20181111Roa |
1206
|
|
|
{ |
1207
|
|
|
/** @var string */ |
1208
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]/config'; |
1209
|
|
|
|
1210
|
|
|
|
1211
|
|
|
/** |
1212
|
|
|
* @param string $value |
1213
|
|
|
* |
1214
|
|
|
* @return $this |
1215
|
|
|
*/ |
1216
|
|
|
public function withProjectName($value) |
1217
|
|
|
{ |
1218
|
|
|
$this->data['ProjectName'] = $value; |
1219
|
|
|
$this->pathParameters['projectName'] = $value; |
1220
|
|
|
|
1221
|
|
|
return $this; |
1222
|
|
|
} |
1223
|
|
|
|
1224
|
|
|
/** |
1225
|
|
|
* @param string $value |
1226
|
|
|
* |
1227
|
|
|
* @return $this |
1228
|
|
|
*/ |
1229
|
|
|
public function withInstanceId($value) |
1230
|
|
|
{ |
1231
|
|
|
$this->data['InstanceId'] = $value; |
1232
|
|
|
$this->pathParameters['instanceId'] = $value; |
1233
|
|
|
|
1234
|
|
|
return $this; |
1235
|
|
|
} |
1236
|
|
|
|
1237
|
|
|
/** |
1238
|
|
|
* @param string $value |
1239
|
|
|
* |
1240
|
|
|
* @return $this |
1241
|
|
|
*/ |
1242
|
|
|
public function withJobName($value) |
1243
|
|
|
{ |
1244
|
|
|
$this->data['JobName'] = $value; |
1245
|
|
|
$this->pathParameters['jobName'] = $value; |
1246
|
|
|
|
1247
|
|
|
return $this; |
1248
|
|
|
} |
1249
|
|
|
} |
1250
|
|
|
|
1251
|
|
|
/** |
1252
|
|
|
* @method string getProjectName() |
1253
|
|
|
* @method string getInstanceId() |
1254
|
|
|
* @method string getJobName() |
1255
|
|
|
*/ |
1256
|
|
|
class GetInstanceCheckpoint extends V20181111Roa |
1257
|
|
|
{ |
1258
|
|
|
/** @var string */ |
1259
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]/checkpoints'; |
1260
|
|
|
|
1261
|
|
|
|
1262
|
|
|
/** |
1263
|
|
|
* @param string $value |
1264
|
|
|
* |
1265
|
|
|
* @return $this |
1266
|
|
|
*/ |
1267
|
|
|
public function withProjectName($value) |
1268
|
|
|
{ |
1269
|
|
|
$this->data['ProjectName'] = $value; |
1270
|
|
|
$this->pathParameters['projectName'] = $value; |
1271
|
|
|
|
1272
|
|
|
return $this; |
1273
|
|
|
} |
1274
|
|
|
|
1275
|
|
|
/** |
1276
|
|
|
* @param string $value |
1277
|
|
|
* |
1278
|
|
|
* @return $this |
1279
|
|
|
*/ |
1280
|
|
|
public function withInstanceId($value) |
1281
|
|
|
{ |
1282
|
|
|
$this->data['InstanceId'] = $value; |
1283
|
|
|
$this->pathParameters['instanceId'] = $value; |
1284
|
|
|
|
1285
|
|
|
return $this; |
1286
|
|
|
} |
1287
|
|
|
|
1288
|
|
|
/** |
1289
|
|
|
* @param string $value |
1290
|
|
|
* |
1291
|
|
|
* @return $this |
1292
|
|
|
*/ |
1293
|
|
|
public function withJobName($value) |
1294
|
|
|
{ |
1295
|
|
|
$this->data['JobName'] = $value; |
1296
|
|
|
$this->pathParameters['jobName'] = $value; |
1297
|
|
|
|
1298
|
|
|
return $this; |
1299
|
|
|
} |
1300
|
|
|
} |
1301
|
|
|
|
1302
|
|
|
/** |
1303
|
|
|
* @method string getProjectName() |
1304
|
|
|
* @method string getInstanceId() |
1305
|
|
|
* @method string getJobName() |
1306
|
|
|
*/ |
1307
|
|
|
class GetInstanceExceptions extends V20181111Roa |
1308
|
|
|
{ |
1309
|
|
|
/** @var string */ |
1310
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]/exceptions'; |
1311
|
|
|
|
1312
|
|
|
|
1313
|
|
|
/** |
1314
|
|
|
* @param string $value |
1315
|
|
|
* |
1316
|
|
|
* @return $this |
1317
|
|
|
*/ |
1318
|
|
|
public function withProjectName($value) |
1319
|
|
|
{ |
1320
|
|
|
$this->data['ProjectName'] = $value; |
1321
|
|
|
$this->pathParameters['projectName'] = $value; |
1322
|
|
|
|
1323
|
|
|
return $this; |
1324
|
|
|
} |
1325
|
|
|
|
1326
|
|
|
/** |
1327
|
|
|
* @param string $value |
1328
|
|
|
* |
1329
|
|
|
* @return $this |
1330
|
|
|
*/ |
1331
|
|
|
public function withInstanceId($value) |
1332
|
|
|
{ |
1333
|
|
|
$this->data['InstanceId'] = $value; |
1334
|
|
|
$this->pathParameters['instanceId'] = $value; |
1335
|
|
|
|
1336
|
|
|
return $this; |
1337
|
|
|
} |
1338
|
|
|
|
1339
|
|
|
/** |
1340
|
|
|
* @param string $value |
1341
|
|
|
* |
1342
|
|
|
* @return $this |
1343
|
|
|
*/ |
1344
|
|
|
public function withJobName($value) |
1345
|
|
|
{ |
1346
|
|
|
$this->data['JobName'] = $value; |
1347
|
|
|
$this->pathParameters['jobName'] = $value; |
1348
|
|
|
|
1349
|
|
|
return $this; |
1350
|
|
|
} |
1351
|
|
|
} |
1352
|
|
|
|
1353
|
|
|
/** |
1354
|
|
|
* @method string getProjectName() |
1355
|
|
|
* @method string getInstanceId() |
1356
|
|
|
* @method string getJobName() |
1357
|
|
|
*/ |
1358
|
|
|
class GetInstanceResource extends V20181111Roa |
1359
|
|
|
{ |
1360
|
|
|
/** @var string */ |
1361
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]/resource'; |
1362
|
|
|
|
1363
|
|
|
|
1364
|
|
|
/** |
1365
|
|
|
* @param string $value |
1366
|
|
|
* |
1367
|
|
|
* @return $this |
1368
|
|
|
*/ |
1369
|
|
|
public function withProjectName($value) |
1370
|
|
|
{ |
1371
|
|
|
$this->data['ProjectName'] = $value; |
1372
|
|
|
$this->pathParameters['projectName'] = $value; |
1373
|
|
|
|
1374
|
|
|
return $this; |
1375
|
|
|
} |
1376
|
|
|
|
1377
|
|
|
/** |
1378
|
|
|
* @param string $value |
1379
|
|
|
* |
1380
|
|
|
* @return $this |
1381
|
|
|
*/ |
1382
|
|
|
public function withInstanceId($value) |
1383
|
|
|
{ |
1384
|
|
|
$this->data['InstanceId'] = $value; |
1385
|
|
|
$this->pathParameters['instanceId'] = $value; |
1386
|
|
|
|
1387
|
|
|
return $this; |
1388
|
|
|
} |
1389
|
|
|
|
1390
|
|
|
/** |
1391
|
|
|
* @param string $value |
1392
|
|
|
* |
1393
|
|
|
* @return $this |
1394
|
|
|
*/ |
1395
|
|
|
public function withJobName($value) |
1396
|
|
|
{ |
1397
|
|
|
$this->data['JobName'] = $value; |
1398
|
|
|
$this->pathParameters['jobName'] = $value; |
1399
|
|
|
|
1400
|
|
|
return $this; |
1401
|
|
|
} |
1402
|
|
|
} |
1403
|
|
|
|
1404
|
|
|
/** |
1405
|
|
|
* @method string getProjectName() |
1406
|
|
|
* @method string getInstanceId() |
1407
|
|
|
* @method string getJobName() |
1408
|
|
|
*/ |
1409
|
|
|
class GetInstanceFinalState extends V20181111Roa |
1410
|
|
|
{ |
1411
|
|
|
/** @var string */ |
1412
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]/finalstate'; |
1413
|
|
|
|
1414
|
|
|
|
1415
|
|
|
/** |
1416
|
|
|
* @param string $value |
1417
|
|
|
* |
1418
|
|
|
* @return $this |
1419
|
|
|
*/ |
1420
|
|
|
public function withProjectName($value) |
1421
|
|
|
{ |
1422
|
|
|
$this->data['ProjectName'] = $value; |
1423
|
|
|
$this->pathParameters['projectName'] = $value; |
1424
|
|
|
|
1425
|
|
|
return $this; |
1426
|
|
|
} |
1427
|
|
|
|
1428
|
|
|
/** |
1429
|
|
|
* @param string $value |
1430
|
|
|
* |
1431
|
|
|
* @return $this |
1432
|
|
|
*/ |
1433
|
|
|
public function withInstanceId($value) |
1434
|
|
|
{ |
1435
|
|
|
$this->data['InstanceId'] = $value; |
1436
|
|
|
$this->pathParameters['instanceId'] = $value; |
1437
|
|
|
|
1438
|
|
|
return $this; |
1439
|
|
|
} |
1440
|
|
|
|
1441
|
|
|
/** |
1442
|
|
|
* @param string $value |
1443
|
|
|
* |
1444
|
|
|
* @return $this |
1445
|
|
|
*/ |
1446
|
|
|
public function withJobName($value) |
1447
|
|
|
{ |
1448
|
|
|
$this->data['JobName'] = $value; |
1449
|
|
|
$this->pathParameters['jobName'] = $value; |
1450
|
|
|
|
1451
|
|
|
return $this; |
1452
|
|
|
} |
1453
|
|
|
} |
1454
|
|
|
|
1455
|
|
|
/** |
1456
|
|
|
* @method string getProjectName() |
1457
|
|
|
* @method string getInstanceId() |
1458
|
|
|
* @method string getMetricJson() |
1459
|
|
|
* @method string getJobName() |
1460
|
|
|
*/ |
1461
|
|
|
class GetInstanceMetric extends V20181111Roa |
1462
|
|
|
{ |
1463
|
|
|
/** @var string */ |
1464
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/metric'; |
1465
|
|
|
|
1466
|
|
|
/** @var string */ |
1467
|
|
|
public $method = 'POST'; |
1468
|
|
|
|
1469
|
|
|
/** |
1470
|
|
|
* @param string $value |
1471
|
|
|
* |
1472
|
|
|
* @return $this |
1473
|
|
|
*/ |
1474
|
|
|
public function withProjectName($value) |
1475
|
|
|
{ |
1476
|
|
|
$this->data['ProjectName'] = $value; |
1477
|
|
|
$this->pathParameters['projectName'] = $value; |
1478
|
|
|
|
1479
|
|
|
return $this; |
1480
|
|
|
} |
1481
|
|
|
|
1482
|
|
|
/** |
1483
|
|
|
* @param string $value |
1484
|
|
|
* |
1485
|
|
|
* @return $this |
1486
|
|
|
*/ |
1487
|
|
|
public function withInstanceId($value) |
1488
|
|
|
{ |
1489
|
|
|
$this->data['InstanceId'] = $value; |
1490
|
|
|
$this->options['query']['instanceId'] = $value; |
1491
|
|
|
|
1492
|
|
|
return $this; |
1493
|
|
|
} |
1494
|
|
|
|
1495
|
|
|
/** |
1496
|
|
|
* @param string $value |
1497
|
|
|
* |
1498
|
|
|
* @return $this |
1499
|
|
|
*/ |
1500
|
|
|
public function withMetricJson($value) |
1501
|
|
|
{ |
1502
|
|
|
$this->data['MetricJson'] = $value; |
1503
|
|
|
$this->options['query']['metricJson'] = $value; |
1504
|
|
|
|
1505
|
|
|
return $this; |
1506
|
|
|
} |
1507
|
|
|
|
1508
|
|
|
/** |
1509
|
|
|
* @param string $value |
1510
|
|
|
* |
1511
|
|
|
* @return $this |
1512
|
|
|
*/ |
1513
|
|
|
public function withJobName($value) |
1514
|
|
|
{ |
1515
|
|
|
$this->data['JobName'] = $value; |
1516
|
|
|
$this->pathParameters['jobName'] = $value; |
1517
|
|
|
|
1518
|
|
|
return $this; |
1519
|
|
|
} |
1520
|
|
|
} |
1521
|
|
|
|
1522
|
|
|
/** |
1523
|
|
|
* @method string getIsFlush() |
1524
|
|
|
* @method string getProjectName() |
1525
|
|
|
* @method string getInstanceId() |
1526
|
|
|
* @method string getExpectState() |
1527
|
|
|
* @method string getJobName() |
1528
|
|
|
*/ |
1529
|
|
|
class ModifyInstanceState extends V20181111Roa |
1530
|
|
|
{ |
1531
|
|
|
/** @var string */ |
1532
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]/expectstate'; |
1533
|
|
|
|
1534
|
|
|
/** @var string */ |
1535
|
|
|
public $method = 'PUT'; |
1536
|
|
|
|
1537
|
|
|
/** |
1538
|
|
|
* @param string $value |
1539
|
|
|
* |
1540
|
|
|
* @return $this |
1541
|
|
|
*/ |
1542
|
|
|
public function withIsFlush($value) |
1543
|
|
|
{ |
1544
|
|
|
$this->data['IsFlush'] = $value; |
1545
|
|
|
$this->options['query']['isFlush'] = $value; |
1546
|
|
|
|
1547
|
|
|
return $this; |
1548
|
|
|
} |
1549
|
|
|
|
1550
|
|
|
/** |
1551
|
|
|
* @param string $value |
1552
|
|
|
* |
1553
|
|
|
* @return $this |
1554
|
|
|
*/ |
1555
|
|
|
public function withProjectName($value) |
1556
|
|
|
{ |
1557
|
|
|
$this->data['ProjectName'] = $value; |
1558
|
|
|
$this->pathParameters['projectName'] = $value; |
1559
|
|
|
|
1560
|
|
|
return $this; |
1561
|
|
|
} |
1562
|
|
|
|
1563
|
|
|
/** |
1564
|
|
|
* @param string $value |
1565
|
|
|
* |
1566
|
|
|
* @return $this |
1567
|
|
|
*/ |
1568
|
|
|
public function withInstanceId($value) |
1569
|
|
|
{ |
1570
|
|
|
$this->data['InstanceId'] = $value; |
1571
|
|
|
$this->pathParameters['instanceId'] = $value; |
1572
|
|
|
|
1573
|
|
|
return $this; |
1574
|
|
|
} |
1575
|
|
|
|
1576
|
|
|
/** |
1577
|
|
|
* @param string $value |
1578
|
|
|
* |
1579
|
|
|
* @return $this |
1580
|
|
|
*/ |
1581
|
|
|
public function withExpectState($value) |
1582
|
|
|
{ |
1583
|
|
|
$this->data['ExpectState'] = $value; |
1584
|
|
|
$this->options['query']['expectState'] = $value; |
1585
|
|
|
|
1586
|
|
|
return $this; |
1587
|
|
|
} |
1588
|
|
|
|
1589
|
|
|
/** |
1590
|
|
|
* @param string $value |
1591
|
|
|
* |
1592
|
|
|
* @return $this |
1593
|
|
|
*/ |
1594
|
|
|
public function withJobName($value) |
1595
|
|
|
{ |
1596
|
|
|
$this->data['JobName'] = $value; |
1597
|
|
|
$this->pathParameters['jobName'] = $value; |
1598
|
|
|
|
1599
|
|
|
return $this; |
1600
|
|
|
} |
1601
|
|
|
} |
1602
|
|
|
|
1603
|
|
|
/** |
1604
|
|
|
* @method string getProjectName() |
1605
|
|
|
* @method string getEndBeginTs() |
1606
|
|
|
* @method string getExpectState() |
1607
|
|
|
* @method string getJobType() |
1608
|
|
|
* @method string getApiType() |
1609
|
|
|
* @method string getActualState() |
1610
|
|
|
* @method string getEndEndTs() |
1611
|
|
|
* @method string getStartEndTs() |
1612
|
|
|
* @method string getPageSize() |
1613
|
|
|
* @method string getStartBeginTs() |
1614
|
|
|
* @method string getPageIndex() |
1615
|
|
|
* @method string getIsArchived() |
1616
|
|
|
* @method string getJobName() |
1617
|
|
|
*/ |
1618
|
|
|
class ListInstance extends V20181111Roa |
1619
|
|
|
{ |
1620
|
|
|
/** @var string */ |
1621
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/instances'; |
1622
|
|
|
|
1623
|
|
|
|
1624
|
|
|
/** |
1625
|
|
|
* @param string $value |
1626
|
|
|
* |
1627
|
|
|
* @return $this |
1628
|
|
|
*/ |
1629
|
|
|
public function withProjectName($value) |
1630
|
|
|
{ |
1631
|
|
|
$this->data['ProjectName'] = $value; |
1632
|
|
|
$this->pathParameters['projectName'] = $value; |
1633
|
|
|
|
1634
|
|
|
return $this; |
1635
|
|
|
} |
1636
|
|
|
|
1637
|
|
|
/** |
1638
|
|
|
* @param string $value |
1639
|
|
|
* |
1640
|
|
|
* @return $this |
1641
|
|
|
*/ |
1642
|
|
|
public function withEndBeginTs($value) |
1643
|
|
|
{ |
1644
|
|
|
$this->data['EndBeginTs'] = $value; |
1645
|
|
|
$this->options['query']['endBeginTs'] = $value; |
1646
|
|
|
|
1647
|
|
|
return $this; |
1648
|
|
|
} |
1649
|
|
|
|
1650
|
|
|
/** |
1651
|
|
|
* @param string $value |
1652
|
|
|
* |
1653
|
|
|
* @return $this |
1654
|
|
|
*/ |
1655
|
|
|
public function withExpectState($value) |
1656
|
|
|
{ |
1657
|
|
|
$this->data['ExpectState'] = $value; |
1658
|
|
|
$this->options['query']['expectState'] = $value; |
1659
|
|
|
|
1660
|
|
|
return $this; |
1661
|
|
|
} |
1662
|
|
|
|
1663
|
|
|
/** |
1664
|
|
|
* @param string $value |
1665
|
|
|
* |
1666
|
|
|
* @return $this |
1667
|
|
|
*/ |
1668
|
|
|
public function withJobType($value) |
1669
|
|
|
{ |
1670
|
|
|
$this->data['JobType'] = $value; |
1671
|
|
|
$this->options['query']['jobType'] = $value; |
1672
|
|
|
|
1673
|
|
|
return $this; |
1674
|
|
|
} |
1675
|
|
|
|
1676
|
|
|
/** |
1677
|
|
|
* @param string $value |
1678
|
|
|
* |
1679
|
|
|
* @return $this |
1680
|
|
|
*/ |
1681
|
|
|
public function withApiType($value) |
1682
|
|
|
{ |
1683
|
|
|
$this->data['ApiType'] = $value; |
1684
|
|
|
$this->options['query']['apiType'] = $value; |
1685
|
|
|
|
1686
|
|
|
return $this; |
1687
|
|
|
} |
1688
|
|
|
|
1689
|
|
|
/** |
1690
|
|
|
* @param string $value |
1691
|
|
|
* |
1692
|
|
|
* @return $this |
1693
|
|
|
*/ |
1694
|
|
|
public function withActualState($value) |
1695
|
|
|
{ |
1696
|
|
|
$this->data['ActualState'] = $value; |
1697
|
|
|
$this->options['query']['actualState'] = $value; |
1698
|
|
|
|
1699
|
|
|
return $this; |
1700
|
|
|
} |
1701
|
|
|
|
1702
|
|
|
/** |
1703
|
|
|
* @param string $value |
1704
|
|
|
* |
1705
|
|
|
* @return $this |
1706
|
|
|
*/ |
1707
|
|
|
public function withEndEndTs($value) |
1708
|
|
|
{ |
1709
|
|
|
$this->data['EndEndTs'] = $value; |
1710
|
|
|
$this->options['query']['endEndTs'] = $value; |
1711
|
|
|
|
1712
|
|
|
return $this; |
1713
|
|
|
} |
1714
|
|
|
|
1715
|
|
|
/** |
1716
|
|
|
* @param string $value |
1717
|
|
|
* |
1718
|
|
|
* @return $this |
1719
|
|
|
*/ |
1720
|
|
|
public function withStartEndTs($value) |
1721
|
|
|
{ |
1722
|
|
|
$this->data['StartEndTs'] = $value; |
1723
|
|
|
$this->options['query']['startEndTs'] = $value; |
1724
|
|
|
|
1725
|
|
|
return $this; |
1726
|
|
|
} |
1727
|
|
|
|
1728
|
|
|
/** |
1729
|
|
|
* @param string $value |
1730
|
|
|
* |
1731
|
|
|
* @return $this |
1732
|
|
|
*/ |
1733
|
|
|
public function withPageSize($value) |
1734
|
|
|
{ |
1735
|
|
|
$this->data['PageSize'] = $value; |
1736
|
|
|
$this->options['query']['pageSize'] = $value; |
1737
|
|
|
|
1738
|
|
|
return $this; |
1739
|
|
|
} |
1740
|
|
|
|
1741
|
|
|
/** |
1742
|
|
|
* @param string $value |
1743
|
|
|
* |
1744
|
|
|
* @return $this |
1745
|
|
|
*/ |
1746
|
|
|
public function withStartBeginTs($value) |
1747
|
|
|
{ |
1748
|
|
|
$this->data['StartBeginTs'] = $value; |
1749
|
|
|
$this->options['query']['startBeginTs'] = $value; |
1750
|
|
|
|
1751
|
|
|
return $this; |
1752
|
|
|
} |
1753
|
|
|
|
1754
|
|
|
/** |
1755
|
|
|
* @param string $value |
1756
|
|
|
* |
1757
|
|
|
* @return $this |
1758
|
|
|
*/ |
1759
|
|
|
public function withPageIndex($value) |
1760
|
|
|
{ |
1761
|
|
|
$this->data['PageIndex'] = $value; |
1762
|
|
|
$this->options['query']['pageIndex'] = $value; |
1763
|
|
|
|
1764
|
|
|
return $this; |
1765
|
|
|
} |
1766
|
|
|
|
1767
|
|
|
/** |
1768
|
|
|
* @param string $value |
1769
|
|
|
* |
1770
|
|
|
* @return $this |
1771
|
|
|
*/ |
1772
|
|
|
public function withIsArchived($value) |
1773
|
|
|
{ |
1774
|
|
|
$this->data['IsArchived'] = $value; |
1775
|
|
|
$this->options['query']['isArchived'] = $value; |
1776
|
|
|
|
1777
|
|
|
return $this; |
1778
|
|
|
} |
1779
|
|
|
|
1780
|
|
|
/** |
1781
|
|
|
* @param string $value |
1782
|
|
|
* |
1783
|
|
|
* @return $this |
1784
|
|
|
*/ |
1785
|
|
|
public function withJobName($value) |
1786
|
|
|
{ |
1787
|
|
|
$this->data['JobName'] = $value; |
1788
|
|
|
$this->options['query']['jobName'] = $value; |
1789
|
|
|
|
1790
|
|
|
return $this; |
1791
|
|
|
} |
1792
|
|
|
} |
1793
|
|
|
|
1794
|
|
|
/** |
1795
|
|
|
* @method string getProjectName() |
1796
|
|
|
* @method string getInstanceId() |
1797
|
|
|
* @method string getJobName() |
1798
|
|
|
*/ |
1799
|
|
|
class GetInstanceRunSummary extends V20181111Roa |
1800
|
|
|
{ |
1801
|
|
|
/** @var string */ |
1802
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]/runsummary'; |
1803
|
|
|
|
1804
|
|
|
|
1805
|
|
|
/** |
1806
|
|
|
* @param string $value |
1807
|
|
|
* |
1808
|
|
|
* @return $this |
1809
|
|
|
*/ |
1810
|
|
|
public function withProjectName($value) |
1811
|
|
|
{ |
1812
|
|
|
$this->data['ProjectName'] = $value; |
1813
|
|
|
$this->pathParameters['projectName'] = $value; |
1814
|
|
|
|
1815
|
|
|
return $this; |
1816
|
|
|
} |
1817
|
|
|
|
1818
|
|
|
/** |
1819
|
|
|
* @param string $value |
1820
|
|
|
* |
1821
|
|
|
* @return $this |
1822
|
|
|
*/ |
1823
|
|
|
public function withInstanceId($value) |
1824
|
|
|
{ |
1825
|
|
|
$this->data['InstanceId'] = $value; |
1826
|
|
|
$this->pathParameters['instanceId'] = $value; |
1827
|
|
|
|
1828
|
|
|
return $this; |
1829
|
|
|
} |
1830
|
|
|
|
1831
|
|
|
/** |
1832
|
|
|
* @param string $value |
1833
|
|
|
* |
1834
|
|
|
* @return $this |
1835
|
|
|
*/ |
1836
|
|
|
public function withJobName($value) |
1837
|
|
|
{ |
1838
|
|
|
$this->data['JobName'] = $value; |
1839
|
|
|
$this->pathParameters['jobName'] = $value; |
1840
|
|
|
|
1841
|
|
|
return $this; |
1842
|
|
|
} |
1843
|
|
|
} |
1844
|
|
|
|
1845
|
|
|
/** |
1846
|
|
|
* @method string getProjectName() |
1847
|
|
|
* @method string getInstanceId() |
1848
|
|
|
* @method string getJobName() |
1849
|
|
|
*/ |
1850
|
|
|
class GetInstance extends V20181111Roa |
1851
|
|
|
{ |
1852
|
|
|
/** @var string */ |
1853
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instances/[instanceId]'; |
1854
|
|
|
|
1855
|
|
|
|
1856
|
|
|
/** |
1857
|
|
|
* @param string $value |
1858
|
|
|
* |
1859
|
|
|
* @return $this |
1860
|
|
|
*/ |
1861
|
|
|
public function withProjectName($value) |
1862
|
|
|
{ |
1863
|
|
|
$this->data['ProjectName'] = $value; |
1864
|
|
|
$this->pathParameters['projectName'] = $value; |
1865
|
|
|
|
1866
|
|
|
return $this; |
1867
|
|
|
} |
1868
|
|
|
|
1869
|
|
|
/** |
1870
|
|
|
* @param string $value |
1871
|
|
|
* |
1872
|
|
|
* @return $this |
1873
|
|
|
*/ |
1874
|
|
|
public function withInstanceId($value) |
1875
|
|
|
{ |
1876
|
|
|
$this->data['InstanceId'] = $value; |
1877
|
|
|
$this->pathParameters['instanceId'] = $value; |
1878
|
|
|
|
1879
|
|
|
return $this; |
1880
|
|
|
} |
1881
|
|
|
|
1882
|
|
|
/** |
1883
|
|
|
* @param string $value |
1884
|
|
|
* |
1885
|
|
|
* @return $this |
1886
|
|
|
*/ |
1887
|
|
|
public function withJobName($value) |
1888
|
|
|
{ |
1889
|
|
|
$this->data['JobName'] = $value; |
1890
|
|
|
$this->pathParameters['jobName'] = $value; |
1891
|
|
|
|
1892
|
|
|
return $this; |
1893
|
|
|
} |
1894
|
|
|
} |
1895
|
|
|
|
1896
|
|
|
/** |
1897
|
|
|
* @method string getProjectName() |
1898
|
|
|
* @method string getPackageName() |
1899
|
|
|
* @method string getPageSize() |
1900
|
|
|
* @method string getPageIndex() |
1901
|
|
|
*/ |
1902
|
|
|
class GetRefPackageJob extends V20181111Roa |
1903
|
|
|
{ |
1904
|
|
|
/** @var string */ |
1905
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/packages/[packageName]/jobs'; |
1906
|
|
|
|
1907
|
|
|
|
1908
|
|
|
/** |
1909
|
|
|
* @param string $value |
1910
|
|
|
* |
1911
|
|
|
* @return $this |
1912
|
|
|
*/ |
1913
|
|
|
public function withProjectName($value) |
1914
|
|
|
{ |
1915
|
|
|
$this->data['ProjectName'] = $value; |
1916
|
|
|
$this->pathParameters['projectName'] = $value; |
1917
|
|
|
|
1918
|
|
|
return $this; |
1919
|
|
|
} |
1920
|
|
|
|
1921
|
|
|
/** |
1922
|
|
|
* @param string $value |
1923
|
|
|
* |
1924
|
|
|
* @return $this |
1925
|
|
|
*/ |
1926
|
|
|
public function withPackageName($value) |
1927
|
|
|
{ |
1928
|
|
|
$this->data['PackageName'] = $value; |
1929
|
|
|
$this->pathParameters['packageName'] = $value; |
1930
|
|
|
|
1931
|
|
|
return $this; |
1932
|
|
|
} |
1933
|
|
|
|
1934
|
|
|
/** |
1935
|
|
|
* @param string $value |
1936
|
|
|
* |
1937
|
|
|
* @return $this |
1938
|
|
|
*/ |
1939
|
|
|
public function withPageSize($value) |
1940
|
|
|
{ |
1941
|
|
|
$this->data['PageSize'] = $value; |
1942
|
|
|
$this->options['query']['pageSize'] = $value; |
1943
|
|
|
|
1944
|
|
|
return $this; |
1945
|
|
|
} |
1946
|
|
|
|
1947
|
|
|
/** |
1948
|
|
|
* @param string $value |
1949
|
|
|
* |
1950
|
|
|
* @return $this |
1951
|
|
|
*/ |
1952
|
|
|
public function withPageIndex($value) |
1953
|
|
|
{ |
1954
|
|
|
$this->data['PageIndex'] = $value; |
1955
|
|
|
$this->options['query']['pageIndex'] = $value; |
1956
|
|
|
|
1957
|
|
|
return $this; |
1958
|
|
|
} |
1959
|
|
|
} |
1960
|
|
|
|
1961
|
|
|
/** |
1962
|
|
|
* @method string getProjectName() |
1963
|
|
|
* @method string getPackageName() |
1964
|
|
|
*/ |
1965
|
|
|
class DeletePackage extends V20181111Roa |
1966
|
|
|
{ |
1967
|
|
|
/** @var string */ |
1968
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/packages/[packageName]'; |
1969
|
|
|
|
1970
|
|
|
/** @var string */ |
1971
|
|
|
public $method = 'DELETE'; |
1972
|
|
|
|
1973
|
|
|
/** |
1974
|
|
|
* @param string $value |
1975
|
|
|
* |
1976
|
|
|
* @return $this |
1977
|
|
|
*/ |
1978
|
|
|
public function withProjectName($value) |
1979
|
|
|
{ |
1980
|
|
|
$this->data['ProjectName'] = $value; |
1981
|
|
|
$this->pathParameters['projectName'] = $value; |
1982
|
|
|
|
1983
|
|
|
return $this; |
1984
|
|
|
} |
1985
|
|
|
|
1986
|
|
|
/** |
1987
|
|
|
* @param string $value |
1988
|
|
|
* |
1989
|
|
|
* @return $this |
1990
|
|
|
*/ |
1991
|
|
|
public function withPackageName($value) |
1992
|
|
|
{ |
1993
|
|
|
$this->data['PackageName'] = $value; |
1994
|
|
|
$this->pathParameters['packageName'] = $value; |
1995
|
|
|
|
1996
|
|
|
return $this; |
1997
|
|
|
} |
1998
|
|
|
} |
1999
|
|
|
|
2000
|
|
|
/** |
2001
|
|
|
* @method string getProjectName() |
2002
|
|
|
* @method string getOssBucket() |
2003
|
|
|
* @method string getOssOwner() |
2004
|
|
|
* @method string getPackageName() |
2005
|
|
|
* @method string getOssEndpoint() |
2006
|
|
|
* @method string getDescription() |
2007
|
|
|
* @method string getTag() |
2008
|
|
|
* @method string getOriginName() |
2009
|
|
|
* @method string getOssPath() |
2010
|
|
|
* @method string getMd5() |
2011
|
|
|
*/ |
2012
|
|
|
class UpdatePackage extends V20181111Roa |
2013
|
|
|
{ |
2014
|
|
|
/** @var string */ |
2015
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/packages/[packageName]'; |
2016
|
|
|
|
2017
|
|
|
/** @var string */ |
2018
|
|
|
public $method = 'PUT'; |
2019
|
|
|
|
2020
|
|
|
/** |
2021
|
|
|
* @param string $value |
2022
|
|
|
* |
2023
|
|
|
* @return $this |
2024
|
|
|
*/ |
2025
|
|
|
public function withProjectName($value) |
2026
|
|
|
{ |
2027
|
|
|
$this->data['ProjectName'] = $value; |
2028
|
|
|
$this->pathParameters['projectName'] = $value; |
2029
|
|
|
|
2030
|
|
|
return $this; |
2031
|
|
|
} |
2032
|
|
|
|
2033
|
|
|
/** |
2034
|
|
|
* @param string $value |
2035
|
|
|
* |
2036
|
|
|
* @return $this |
2037
|
|
|
*/ |
2038
|
|
|
public function withOssBucket($value) |
2039
|
|
|
{ |
2040
|
|
|
$this->data['OssBucket'] = $value; |
2041
|
|
|
$this->options['query']['ossBucket'] = $value; |
2042
|
|
|
|
2043
|
|
|
return $this; |
2044
|
|
|
} |
2045
|
|
|
|
2046
|
|
|
/** |
2047
|
|
|
* @param string $value |
2048
|
|
|
* |
2049
|
|
|
* @return $this |
2050
|
|
|
*/ |
2051
|
|
|
public function withOssOwner($value) |
2052
|
|
|
{ |
2053
|
|
|
$this->data['OssOwner'] = $value; |
2054
|
|
|
$this->options['query']['ossOwner'] = $value; |
2055
|
|
|
|
2056
|
|
|
return $this; |
2057
|
|
|
} |
2058
|
|
|
|
2059
|
|
|
/** |
2060
|
|
|
* @param string $value |
2061
|
|
|
* |
2062
|
|
|
* @return $this |
2063
|
|
|
*/ |
2064
|
|
|
public function withPackageName($value) |
2065
|
|
|
{ |
2066
|
|
|
$this->data['PackageName'] = $value; |
2067
|
|
|
$this->pathParameters['packageName'] = $value; |
2068
|
|
|
|
2069
|
|
|
return $this; |
2070
|
|
|
} |
2071
|
|
|
|
2072
|
|
|
/** |
2073
|
|
|
* @param string $value |
2074
|
|
|
* |
2075
|
|
|
* @return $this |
2076
|
|
|
*/ |
2077
|
|
|
public function withOssEndpoint($value) |
2078
|
|
|
{ |
2079
|
|
|
$this->data['OssEndpoint'] = $value; |
2080
|
|
|
$this->options['query']['ossEndpoint'] = $value; |
2081
|
|
|
|
2082
|
|
|
return $this; |
2083
|
|
|
} |
2084
|
|
|
|
2085
|
|
|
/** |
2086
|
|
|
* @param string $value |
2087
|
|
|
* |
2088
|
|
|
* @return $this |
2089
|
|
|
*/ |
2090
|
|
|
public function withDescription($value) |
2091
|
|
|
{ |
2092
|
|
|
$this->data['Description'] = $value; |
2093
|
|
|
$this->options['query']['description'] = $value; |
2094
|
|
|
|
2095
|
|
|
return $this; |
2096
|
|
|
} |
2097
|
|
|
|
2098
|
|
|
/** |
2099
|
|
|
* @param string $value |
2100
|
|
|
* |
2101
|
|
|
* @return $this |
2102
|
|
|
*/ |
2103
|
|
|
public function withTag($value) |
2104
|
|
|
{ |
2105
|
|
|
$this->data['Tag'] = $value; |
2106
|
|
|
$this->options['query']['tag'] = $value; |
2107
|
|
|
|
2108
|
|
|
return $this; |
2109
|
|
|
} |
2110
|
|
|
|
2111
|
|
|
/** |
2112
|
|
|
* @param string $value |
2113
|
|
|
* |
2114
|
|
|
* @return $this |
2115
|
|
|
*/ |
2116
|
|
|
public function withOriginName($value) |
2117
|
|
|
{ |
2118
|
|
|
$this->data['OriginName'] = $value; |
2119
|
|
|
$this->options['query']['originName'] = $value; |
2120
|
|
|
|
2121
|
|
|
return $this; |
2122
|
|
|
} |
2123
|
|
|
|
2124
|
|
|
/** |
2125
|
|
|
* @param string $value |
2126
|
|
|
* |
2127
|
|
|
* @return $this |
2128
|
|
|
*/ |
2129
|
|
|
public function withOssPath($value) |
2130
|
|
|
{ |
2131
|
|
|
$this->data['OssPath'] = $value; |
2132
|
|
|
$this->options['query']['ossPath'] = $value; |
2133
|
|
|
|
2134
|
|
|
return $this; |
2135
|
|
|
} |
2136
|
|
|
|
2137
|
|
|
/** |
2138
|
|
|
* @param string $value |
2139
|
|
|
* |
2140
|
|
|
* @return $this |
2141
|
|
|
*/ |
2142
|
|
|
public function withMd5($value) |
2143
|
|
|
{ |
2144
|
|
|
$this->data['Md5'] = $value; |
2145
|
|
|
$this->options['query']['md5'] = $value; |
2146
|
|
|
|
2147
|
|
|
return $this; |
2148
|
|
|
} |
2149
|
|
|
} |
2150
|
|
|
|
2151
|
|
|
/** |
2152
|
|
|
* @method string getProjectName() |
2153
|
|
|
* @method string getPackageName() |
2154
|
|
|
* @method string getPageSize() |
2155
|
|
|
* @method string getPageIndex() |
2156
|
|
|
* @method string getTag() |
2157
|
|
|
* @method string getType() |
2158
|
|
|
*/ |
2159
|
|
|
class ListPackage extends V20181111Roa |
2160
|
|
|
{ |
2161
|
|
|
/** @var string */ |
2162
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/packages'; |
2163
|
|
|
|
2164
|
|
|
|
2165
|
|
|
/** |
2166
|
|
|
* @param string $value |
2167
|
|
|
* |
2168
|
|
|
* @return $this |
2169
|
|
|
*/ |
2170
|
|
|
public function withProjectName($value) |
2171
|
|
|
{ |
2172
|
|
|
$this->data['ProjectName'] = $value; |
2173
|
|
|
$this->pathParameters['projectName'] = $value; |
2174
|
|
|
|
2175
|
|
|
return $this; |
2176
|
|
|
} |
2177
|
|
|
|
2178
|
|
|
/** |
2179
|
|
|
* @param string $value |
2180
|
|
|
* |
2181
|
|
|
* @return $this |
2182
|
|
|
*/ |
2183
|
|
|
public function withPackageName($value) |
2184
|
|
|
{ |
2185
|
|
|
$this->data['PackageName'] = $value; |
2186
|
|
|
$this->options['query']['packageName'] = $value; |
2187
|
|
|
|
2188
|
|
|
return $this; |
2189
|
|
|
} |
2190
|
|
|
|
2191
|
|
|
/** |
2192
|
|
|
* @param string $value |
2193
|
|
|
* |
2194
|
|
|
* @return $this |
2195
|
|
|
*/ |
2196
|
|
|
public function withPageSize($value) |
2197
|
|
|
{ |
2198
|
|
|
$this->data['PageSize'] = $value; |
2199
|
|
|
$this->options['query']['pageSize'] = $value; |
2200
|
|
|
|
2201
|
|
|
return $this; |
2202
|
|
|
} |
2203
|
|
|
|
2204
|
|
|
/** |
2205
|
|
|
* @param string $value |
2206
|
|
|
* |
2207
|
|
|
* @return $this |
2208
|
|
|
*/ |
2209
|
|
|
public function withPageIndex($value) |
2210
|
|
|
{ |
2211
|
|
|
$this->data['PageIndex'] = $value; |
2212
|
|
|
$this->options['query']['pageIndex'] = $value; |
2213
|
|
|
|
2214
|
|
|
return $this; |
2215
|
|
|
} |
2216
|
|
|
|
2217
|
|
|
/** |
2218
|
|
|
* @param string $value |
2219
|
|
|
* |
2220
|
|
|
* @return $this |
2221
|
|
|
*/ |
2222
|
|
|
public function withTag($value) |
2223
|
|
|
{ |
2224
|
|
|
$this->data['Tag'] = $value; |
2225
|
|
|
$this->options['query']['tag'] = $value; |
2226
|
|
|
|
2227
|
|
|
return $this; |
2228
|
|
|
} |
2229
|
|
|
|
2230
|
|
|
/** |
2231
|
|
|
* @param string $value |
2232
|
|
|
* |
2233
|
|
|
* @return $this |
2234
|
|
|
*/ |
2235
|
|
|
public function withType($value) |
2236
|
|
|
{ |
2237
|
|
|
$this->data['Type'] = $value; |
2238
|
|
|
$this->options['query']['type'] = $value; |
2239
|
|
|
|
2240
|
|
|
return $this; |
2241
|
|
|
} |
2242
|
|
|
} |
2243
|
|
|
|
2244
|
|
|
/** |
2245
|
|
|
* @method string getProjectName() |
2246
|
|
|
* @method string getOssBucket() |
2247
|
|
|
* @method string getOssOwner() |
2248
|
|
|
* @method string getPackageName() |
2249
|
|
|
* @method string getOssEndpoint() |
2250
|
|
|
* @method string getDescription() |
2251
|
|
|
* @method string getTag() |
2252
|
|
|
* @method string getOriginName() |
2253
|
|
|
* @method string getType() |
2254
|
|
|
* @method string getOssPath() |
2255
|
|
|
* @method string getMd5() |
2256
|
|
|
*/ |
2257
|
|
|
class CreatePackage extends V20181111Roa |
2258
|
|
|
{ |
2259
|
|
|
/** @var string */ |
2260
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/packages'; |
2261
|
|
|
|
2262
|
|
|
/** @var string */ |
2263
|
|
|
public $method = 'POST'; |
2264
|
|
|
|
2265
|
|
|
/** |
2266
|
|
|
* @param string $value |
2267
|
|
|
* |
2268
|
|
|
* @return $this |
2269
|
|
|
*/ |
2270
|
|
|
public function withProjectName($value) |
2271
|
|
|
{ |
2272
|
|
|
$this->data['ProjectName'] = $value; |
2273
|
|
|
$this->pathParameters['projectName'] = $value; |
2274
|
|
|
|
2275
|
|
|
return $this; |
2276
|
|
|
} |
2277
|
|
|
|
2278
|
|
|
/** |
2279
|
|
|
* @param string $value |
2280
|
|
|
* |
2281
|
|
|
* @return $this |
2282
|
|
|
*/ |
2283
|
|
|
public function withOssBucket($value) |
2284
|
|
|
{ |
2285
|
|
|
$this->data['OssBucket'] = $value; |
2286
|
|
|
$this->options['query']['ossBucket'] = $value; |
2287
|
|
|
|
2288
|
|
|
return $this; |
2289
|
|
|
} |
2290
|
|
|
|
2291
|
|
|
/** |
2292
|
|
|
* @param string $value |
2293
|
|
|
* |
2294
|
|
|
* @return $this |
2295
|
|
|
*/ |
2296
|
|
|
public function withOssOwner($value) |
2297
|
|
|
{ |
2298
|
|
|
$this->data['OssOwner'] = $value; |
2299
|
|
|
$this->options['query']['ossOwner'] = $value; |
2300
|
|
|
|
2301
|
|
|
return $this; |
2302
|
|
|
} |
2303
|
|
|
|
2304
|
|
|
/** |
2305
|
|
|
* @param string $value |
2306
|
|
|
* |
2307
|
|
|
* @return $this |
2308
|
|
|
*/ |
2309
|
|
|
public function withPackageName($value) |
2310
|
|
|
{ |
2311
|
|
|
$this->data['PackageName'] = $value; |
2312
|
|
|
$this->options['query']['packageName'] = $value; |
2313
|
|
|
|
2314
|
|
|
return $this; |
2315
|
|
|
} |
2316
|
|
|
|
2317
|
|
|
/** |
2318
|
|
|
* @param string $value |
2319
|
|
|
* |
2320
|
|
|
* @return $this |
2321
|
|
|
*/ |
2322
|
|
|
public function withOssEndpoint($value) |
2323
|
|
|
{ |
2324
|
|
|
$this->data['OssEndpoint'] = $value; |
2325
|
|
|
$this->options['query']['ossEndpoint'] = $value; |
2326
|
|
|
|
2327
|
|
|
return $this; |
2328
|
|
|
} |
2329
|
|
|
|
2330
|
|
|
/** |
2331
|
|
|
* @param string $value |
2332
|
|
|
* |
2333
|
|
|
* @return $this |
2334
|
|
|
*/ |
2335
|
|
|
public function withDescription($value) |
2336
|
|
|
{ |
2337
|
|
|
$this->data['Description'] = $value; |
2338
|
|
|
$this->options['query']['description'] = $value; |
2339
|
|
|
|
2340
|
|
|
return $this; |
2341
|
|
|
} |
2342
|
|
|
|
2343
|
|
|
/** |
2344
|
|
|
* @param string $value |
2345
|
|
|
* |
2346
|
|
|
* @return $this |
2347
|
|
|
*/ |
2348
|
|
|
public function withTag($value) |
2349
|
|
|
{ |
2350
|
|
|
$this->data['Tag'] = $value; |
2351
|
|
|
$this->options['query']['tag'] = $value; |
2352
|
|
|
|
2353
|
|
|
return $this; |
2354
|
|
|
} |
2355
|
|
|
|
2356
|
|
|
/** |
2357
|
|
|
* @param string $value |
2358
|
|
|
* |
2359
|
|
|
* @return $this |
2360
|
|
|
*/ |
2361
|
|
|
public function withOriginName($value) |
2362
|
|
|
{ |
2363
|
|
|
$this->data['OriginName'] = $value; |
2364
|
|
|
$this->options['query']['originName'] = $value; |
2365
|
|
|
|
2366
|
|
|
return $this; |
2367
|
|
|
} |
2368
|
|
|
|
2369
|
|
|
/** |
2370
|
|
|
* @param string $value |
2371
|
|
|
* |
2372
|
|
|
* @return $this |
2373
|
|
|
*/ |
2374
|
|
|
public function withType($value) |
2375
|
|
|
{ |
2376
|
|
|
$this->data['Type'] = $value; |
2377
|
|
|
$this->options['query']['type'] = $value; |
2378
|
|
|
|
2379
|
|
|
return $this; |
2380
|
|
|
} |
2381
|
|
|
|
2382
|
|
|
/** |
2383
|
|
|
* @param string $value |
2384
|
|
|
* |
2385
|
|
|
* @return $this |
2386
|
|
|
*/ |
2387
|
|
|
public function withOssPath($value) |
2388
|
|
|
{ |
2389
|
|
|
$this->data['OssPath'] = $value; |
2390
|
|
|
$this->options['query']['ossPath'] = $value; |
2391
|
|
|
|
2392
|
|
|
return $this; |
2393
|
|
|
} |
2394
|
|
|
|
2395
|
|
|
/** |
2396
|
|
|
* @param string $value |
2397
|
|
|
* |
2398
|
|
|
* @return $this |
2399
|
|
|
*/ |
2400
|
|
|
public function withMd5($value) |
2401
|
|
|
{ |
2402
|
|
|
$this->data['Md5'] = $value; |
2403
|
|
|
$this->options['query']['md5'] = $value; |
2404
|
|
|
|
2405
|
|
|
return $this; |
2406
|
|
|
} |
2407
|
|
|
} |
2408
|
|
|
|
2409
|
|
|
/** |
2410
|
|
|
* @method string getProjectName() |
2411
|
|
|
* @method string getPackageName() |
2412
|
|
|
*/ |
2413
|
|
|
class GetPackage extends V20181111Roa |
2414
|
|
|
{ |
2415
|
|
|
/** @var string */ |
2416
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/packages/[packageName]'; |
2417
|
|
|
|
2418
|
|
|
|
2419
|
|
|
/** |
2420
|
|
|
* @param string $value |
2421
|
|
|
* |
2422
|
|
|
* @return $this |
2423
|
|
|
*/ |
2424
|
|
|
public function withProjectName($value) |
2425
|
|
|
{ |
2426
|
|
|
$this->data['ProjectName'] = $value; |
2427
|
|
|
$this->pathParameters['projectName'] = $value; |
2428
|
|
|
|
2429
|
|
|
return $this; |
2430
|
|
|
} |
2431
|
|
|
|
2432
|
|
|
/** |
2433
|
|
|
* @param string $value |
2434
|
|
|
* |
2435
|
|
|
* @return $this |
2436
|
|
|
*/ |
2437
|
|
|
public function withPackageName($value) |
2438
|
|
|
{ |
2439
|
|
|
$this->data['PackageName'] = $value; |
2440
|
|
|
$this->pathParameters['packageName'] = $value; |
2441
|
|
|
|
2442
|
|
|
return $this; |
2443
|
|
|
} |
2444
|
|
|
} |
2445
|
|
|
|
2446
|
|
|
/** |
2447
|
|
|
* @method string getPath() |
2448
|
|
|
* @method string getProjectName() |
2449
|
|
|
*/ |
2450
|
|
|
class DeleteFolder extends V20181111Roa |
2451
|
|
|
{ |
2452
|
|
|
/** @var string */ |
2453
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/folders'; |
2454
|
|
|
|
2455
|
|
|
/** @var string */ |
2456
|
|
|
public $method = 'DELETE'; |
2457
|
|
|
|
2458
|
|
|
/** |
2459
|
|
|
* @param string $value |
2460
|
|
|
* |
2461
|
|
|
* @return $this |
2462
|
|
|
*/ |
2463
|
|
|
public function withPath($value) |
2464
|
|
|
{ |
2465
|
|
|
$this->data['Path'] = $value; |
2466
|
|
|
$this->options['query']['path'] = $value; |
2467
|
|
|
|
2468
|
|
|
return $this; |
2469
|
|
|
} |
2470
|
|
|
|
2471
|
|
|
/** |
2472
|
|
|
* @param string $value |
2473
|
|
|
* |
2474
|
|
|
* @return $this |
2475
|
|
|
*/ |
2476
|
|
|
public function withProjectName($value) |
2477
|
|
|
{ |
2478
|
|
|
$this->data['ProjectName'] = $value; |
2479
|
|
|
$this->pathParameters['projectName'] = $value; |
2480
|
|
|
|
2481
|
|
|
return $this; |
2482
|
|
|
} |
2483
|
|
|
} |
2484
|
|
|
|
2485
|
|
|
/** |
2486
|
|
|
* @method string getProjectName() |
2487
|
|
|
* @method string getSrcPath() |
2488
|
|
|
* @method string getDestPath() |
2489
|
|
|
*/ |
2490
|
|
|
class MVFolder extends V20181111Roa |
2491
|
|
|
{ |
2492
|
|
|
/** @var string */ |
2493
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/folders'; |
2494
|
|
|
|
2495
|
|
|
/** @var string */ |
2496
|
|
|
public $method = 'PUT'; |
2497
|
|
|
|
2498
|
|
|
/** |
2499
|
|
|
* @param string $value |
2500
|
|
|
* |
2501
|
|
|
* @return $this |
2502
|
|
|
*/ |
2503
|
|
|
public function withProjectName($value) |
2504
|
|
|
{ |
2505
|
|
|
$this->data['ProjectName'] = $value; |
2506
|
|
|
$this->pathParameters['projectName'] = $value; |
2507
|
|
|
|
2508
|
|
|
return $this; |
2509
|
|
|
} |
2510
|
|
|
|
2511
|
|
|
/** |
2512
|
|
|
* @param string $value |
2513
|
|
|
* |
2514
|
|
|
* @return $this |
2515
|
|
|
*/ |
2516
|
|
|
public function withSrcPath($value) |
2517
|
|
|
{ |
2518
|
|
|
$this->data['SrcPath'] = $value; |
2519
|
|
|
$this->options['query']['srcPath'] = $value; |
2520
|
|
|
|
2521
|
|
|
return $this; |
2522
|
|
|
} |
2523
|
|
|
|
2524
|
|
|
/** |
2525
|
|
|
* @param string $value |
2526
|
|
|
* |
2527
|
|
|
* @return $this |
2528
|
|
|
*/ |
2529
|
|
|
public function withDestPath($value) |
2530
|
|
|
{ |
2531
|
|
|
$this->data['DestPath'] = $value; |
2532
|
|
|
$this->options['query']['destPath'] = $value; |
2533
|
|
|
|
2534
|
|
|
return $this; |
2535
|
|
|
} |
2536
|
|
|
} |
2537
|
|
|
|
2538
|
|
|
/** |
2539
|
|
|
* @method string getPath() |
2540
|
|
|
* @method string getProjectName() |
2541
|
|
|
*/ |
2542
|
|
|
class ListChildFolder extends V20181111Roa |
2543
|
|
|
{ |
2544
|
|
|
/** @var string */ |
2545
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/folders/children'; |
2546
|
|
|
|
2547
|
|
|
|
2548
|
|
|
/** |
2549
|
|
|
* @param string $value |
2550
|
|
|
* |
2551
|
|
|
* @return $this |
2552
|
|
|
*/ |
2553
|
|
|
public function withPath($value) |
2554
|
|
|
{ |
2555
|
|
|
$this->data['Path'] = $value; |
2556
|
|
|
$this->options['query']['path'] = $value; |
2557
|
|
|
|
2558
|
|
|
return $this; |
2559
|
|
|
} |
2560
|
|
|
|
2561
|
|
|
/** |
2562
|
|
|
* @param string $value |
2563
|
|
|
* |
2564
|
|
|
* @return $this |
2565
|
|
|
*/ |
2566
|
|
|
public function withProjectName($value) |
2567
|
|
|
{ |
2568
|
|
|
$this->data['ProjectName'] = $value; |
2569
|
|
|
$this->pathParameters['projectName'] = $value; |
2570
|
|
|
|
2571
|
|
|
return $this; |
2572
|
|
|
} |
2573
|
|
|
} |
2574
|
|
|
|
2575
|
|
|
/** |
2576
|
|
|
* @method string getProjectName() |
2577
|
|
|
* @method string getParameterJson() |
2578
|
|
|
* @method string getJobName() |
2579
|
|
|
*/ |
2580
|
|
|
class StartJob extends V20181111Roa |
2581
|
|
|
{ |
2582
|
|
|
/** @var string */ |
2583
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/instance'; |
2584
|
|
|
|
2585
|
|
|
/** @var string */ |
2586
|
|
|
public $method = 'POST'; |
2587
|
|
|
|
2588
|
|
|
/** |
2589
|
|
|
* @param string $value |
2590
|
|
|
* |
2591
|
|
|
* @return $this |
2592
|
|
|
*/ |
2593
|
|
|
public function withProjectName($value) |
2594
|
|
|
{ |
2595
|
|
|
$this->data['ProjectName'] = $value; |
2596
|
|
|
$this->pathParameters['projectName'] = $value; |
2597
|
|
|
|
2598
|
|
|
return $this; |
2599
|
|
|
} |
2600
|
|
|
|
2601
|
|
|
/** |
2602
|
|
|
* @param string $value |
2603
|
|
|
* |
2604
|
|
|
* @return $this |
2605
|
|
|
*/ |
2606
|
|
|
public function withParameterJson($value) |
2607
|
|
|
{ |
2608
|
|
|
$this->data['ParameterJson'] = $value; |
2609
|
|
|
$this->options['query']['parameterJson'] = $value; |
2610
|
|
|
|
2611
|
|
|
return $this; |
2612
|
|
|
} |
2613
|
|
|
|
2614
|
|
|
/** |
2615
|
|
|
* @param string $value |
2616
|
|
|
* |
2617
|
|
|
* @return $this |
2618
|
|
|
*/ |
2619
|
|
|
public function withJobName($value) |
2620
|
|
|
{ |
2621
|
|
|
$this->data['JobName'] = $value; |
2622
|
|
|
$this->pathParameters['jobName'] = $value; |
2623
|
|
|
|
2624
|
|
|
return $this; |
2625
|
|
|
} |
2626
|
|
|
} |
2627
|
|
|
|
2628
|
|
|
/** |
2629
|
|
|
* @method string getQueueName() |
2630
|
|
|
* @method string getProjectName() |
2631
|
|
|
* @method string getPageSize() |
2632
|
|
|
* @method string getPageIndex() |
2633
|
|
|
* @method string getEngineVersion() |
2634
|
|
|
* @method string getClusterId() |
2635
|
|
|
* @method string getJobType() |
2636
|
|
|
* @method string getApiType() |
2637
|
|
|
* @method string getJobName() |
2638
|
|
|
* @method string getFolderId() |
2639
|
|
|
*/ |
2640
|
|
|
class ListJob extends V20181111Roa |
2641
|
|
|
{ |
2642
|
|
|
/** @var string */ |
2643
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs'; |
2644
|
|
|
|
2645
|
|
|
|
2646
|
|
|
/** |
2647
|
|
|
* @param string $value |
2648
|
|
|
* |
2649
|
|
|
* @return $this |
2650
|
|
|
*/ |
2651
|
|
|
public function withQueueName($value) |
2652
|
|
|
{ |
2653
|
|
|
$this->data['QueueName'] = $value; |
2654
|
|
|
$this->options['query']['queueName'] = $value; |
2655
|
|
|
|
2656
|
|
|
return $this; |
2657
|
|
|
} |
2658
|
|
|
|
2659
|
|
|
/** |
2660
|
|
|
* @param string $value |
2661
|
|
|
* |
2662
|
|
|
* @return $this |
2663
|
|
|
*/ |
2664
|
|
|
public function withProjectName($value) |
2665
|
|
|
{ |
2666
|
|
|
$this->data['ProjectName'] = $value; |
2667
|
|
|
$this->pathParameters['projectName'] = $value; |
2668
|
|
|
|
2669
|
|
|
return $this; |
2670
|
|
|
} |
2671
|
|
|
|
2672
|
|
|
/** |
2673
|
|
|
* @param string $value |
2674
|
|
|
* |
2675
|
|
|
* @return $this |
2676
|
|
|
*/ |
2677
|
|
|
public function withPageSize($value) |
2678
|
|
|
{ |
2679
|
|
|
$this->data['PageSize'] = $value; |
2680
|
|
|
$this->options['query']['pageSize'] = $value; |
2681
|
|
|
|
2682
|
|
|
return $this; |
2683
|
|
|
} |
2684
|
|
|
|
2685
|
|
|
/** |
2686
|
|
|
* @param string $value |
2687
|
|
|
* |
2688
|
|
|
* @return $this |
2689
|
|
|
*/ |
2690
|
|
|
public function withPageIndex($value) |
2691
|
|
|
{ |
2692
|
|
|
$this->data['PageIndex'] = $value; |
2693
|
|
|
$this->options['query']['pageIndex'] = $value; |
2694
|
|
|
|
2695
|
|
|
return $this; |
2696
|
|
|
} |
2697
|
|
|
|
2698
|
|
|
/** |
2699
|
|
|
* @param string $value |
2700
|
|
|
* |
2701
|
|
|
* @return $this |
2702
|
|
|
*/ |
2703
|
|
|
public function withEngineVersion($value) |
2704
|
|
|
{ |
2705
|
|
|
$this->data['EngineVersion'] = $value; |
2706
|
|
|
$this->options['query']['engineVersion'] = $value; |
2707
|
|
|
|
2708
|
|
|
return $this; |
2709
|
|
|
} |
2710
|
|
|
|
2711
|
|
|
/** |
2712
|
|
|
* @param string $value |
2713
|
|
|
* |
2714
|
|
|
* @return $this |
2715
|
|
|
*/ |
2716
|
|
|
public function withClusterId($value) |
2717
|
|
|
{ |
2718
|
|
|
$this->data['ClusterId'] = $value; |
2719
|
|
|
$this->options['query']['clusterId'] = $value; |
2720
|
|
|
|
2721
|
|
|
return $this; |
2722
|
|
|
} |
2723
|
|
|
|
2724
|
|
|
/** |
2725
|
|
|
* @param string $value |
2726
|
|
|
* |
2727
|
|
|
* @return $this |
2728
|
|
|
*/ |
2729
|
|
|
public function withJobType($value) |
2730
|
|
|
{ |
2731
|
|
|
$this->data['JobType'] = $value; |
2732
|
|
|
$this->options['query']['jobType'] = $value; |
2733
|
|
|
|
2734
|
|
|
return $this; |
2735
|
|
|
} |
2736
|
|
|
|
2737
|
|
|
/** |
2738
|
|
|
* @param string $value |
2739
|
|
|
* |
2740
|
|
|
* @return $this |
2741
|
|
|
*/ |
2742
|
|
|
public function withApiType($value) |
2743
|
|
|
{ |
2744
|
|
|
$this->data['ApiType'] = $value; |
2745
|
|
|
$this->options['query']['apiType'] = $value; |
2746
|
|
|
|
2747
|
|
|
return $this; |
2748
|
|
|
} |
2749
|
|
|
|
2750
|
|
|
/** |
2751
|
|
|
* @param string $value |
2752
|
|
|
* |
2753
|
|
|
* @return $this |
2754
|
|
|
*/ |
2755
|
|
|
public function withJobName($value) |
2756
|
|
|
{ |
2757
|
|
|
$this->data['JobName'] = $value; |
2758
|
|
|
$this->options['query']['jobName'] = $value; |
2759
|
|
|
|
2760
|
|
|
return $this; |
2761
|
|
|
} |
2762
|
|
|
|
2763
|
|
|
/** |
2764
|
|
|
* @param string $value |
2765
|
|
|
* |
2766
|
|
|
* @return $this |
2767
|
|
|
*/ |
2768
|
|
|
public function withFolderId($value) |
2769
|
|
|
{ |
2770
|
|
|
$this->data['FolderId'] = $value; |
2771
|
|
|
$this->options['query']['folderId'] = $value; |
2772
|
|
|
|
2773
|
|
|
return $this; |
2774
|
|
|
} |
2775
|
|
|
} |
2776
|
|
|
|
2777
|
|
|
/** |
2778
|
|
|
* @method string getProjectName() |
2779
|
|
|
* @method string getJobName() |
2780
|
|
|
*/ |
2781
|
|
|
class DeleteJob extends V20181111Roa |
2782
|
|
|
{ |
2783
|
|
|
/** @var string */ |
2784
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]'; |
2785
|
|
|
|
2786
|
|
|
/** @var string */ |
2787
|
|
|
public $method = 'DELETE'; |
2788
|
|
|
|
2789
|
|
|
/** |
2790
|
|
|
* @param string $value |
2791
|
|
|
* |
2792
|
|
|
* @return $this |
2793
|
|
|
*/ |
2794
|
|
|
public function withProjectName($value) |
2795
|
|
|
{ |
2796
|
|
|
$this->data['ProjectName'] = $value; |
2797
|
|
|
$this->pathParameters['projectName'] = $value; |
2798
|
|
|
|
2799
|
|
|
return $this; |
2800
|
|
|
} |
2801
|
|
|
|
2802
|
|
|
/** |
2803
|
|
|
* @param string $value |
2804
|
|
|
* |
2805
|
|
|
* @return $this |
2806
|
|
|
*/ |
2807
|
|
|
public function withJobName($value) |
2808
|
|
|
{ |
2809
|
|
|
$this->data['JobName'] = $value; |
2810
|
|
|
$this->pathParameters['jobName'] = $value; |
2811
|
|
|
|
2812
|
|
|
return $this; |
2813
|
|
|
} |
2814
|
|
|
} |
2815
|
|
|
|
2816
|
|
|
/** |
2817
|
|
|
* @method string getProjectName() |
2818
|
|
|
* @method string getJobName() |
2819
|
|
|
*/ |
2820
|
|
|
class GetJob extends V20181111Roa |
2821
|
|
|
{ |
2822
|
|
|
/** @var string */ |
2823
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]'; |
2824
|
|
|
|
2825
|
|
|
|
2826
|
|
|
/** |
2827
|
|
|
* @param string $value |
2828
|
|
|
* |
2829
|
|
|
* @return $this |
2830
|
|
|
*/ |
2831
|
|
|
public function withProjectName($value) |
2832
|
|
|
{ |
2833
|
|
|
$this->data['ProjectName'] = $value; |
2834
|
|
|
$this->pathParameters['projectName'] = $value; |
2835
|
|
|
|
2836
|
|
|
return $this; |
2837
|
|
|
} |
2838
|
|
|
|
2839
|
|
|
/** |
2840
|
|
|
* @param string $value |
2841
|
|
|
* |
2842
|
|
|
* @return $this |
2843
|
|
|
*/ |
2844
|
|
|
public function withJobName($value) |
2845
|
|
|
{ |
2846
|
|
|
$this->data['JobName'] = $value; |
2847
|
|
|
$this->pathParameters['jobName'] = $value; |
2848
|
|
|
|
2849
|
|
|
return $this; |
2850
|
|
|
} |
2851
|
|
|
} |
2852
|
|
|
|
2853
|
|
|
/** |
2854
|
|
|
* @method string getProjectName() |
2855
|
|
|
* @method string getJobName() |
2856
|
|
|
*/ |
2857
|
|
|
class OfflineJob extends V20181111Roa |
2858
|
|
|
{ |
2859
|
|
|
/** @var string */ |
2860
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/offline'; |
2861
|
|
|
|
2862
|
|
|
/** @var string */ |
2863
|
|
|
public $method = 'PUT'; |
2864
|
|
|
|
2865
|
|
|
/** |
2866
|
|
|
* @param string $value |
2867
|
|
|
* |
2868
|
|
|
* @return $this |
2869
|
|
|
*/ |
2870
|
|
|
public function withProjectName($value) |
2871
|
|
|
{ |
2872
|
|
|
$this->data['ProjectName'] = $value; |
2873
|
|
|
$this->pathParameters['projectName'] = $value; |
2874
|
|
|
|
2875
|
|
|
return $this; |
2876
|
|
|
} |
2877
|
|
|
|
2878
|
|
|
/** |
2879
|
|
|
* @param string $value |
2880
|
|
|
* |
2881
|
|
|
* @return $this |
2882
|
|
|
*/ |
2883
|
|
|
public function withJobName($value) |
2884
|
|
|
{ |
2885
|
|
|
$this->data['JobName'] = $value; |
2886
|
|
|
$this->pathParameters['jobName'] = $value; |
2887
|
|
|
|
2888
|
|
|
return $this; |
2889
|
|
|
} |
2890
|
|
|
} |
2891
|
|
|
|
2892
|
|
|
/** |
2893
|
|
|
* @method string getProjectName() |
2894
|
|
|
* @method string getExpectedGB() |
2895
|
|
|
* @method string getExpectedCore() |
2896
|
|
|
* @method string getJobName() |
2897
|
|
|
* @method string getAutoconfEnable() |
2898
|
|
|
*/ |
2899
|
|
|
class GetRawPlanJson extends V20181111Roa |
2900
|
|
|
{ |
2901
|
|
|
/** @var string */ |
2902
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/planjson'; |
2903
|
|
|
|
2904
|
|
|
|
2905
|
|
|
/** |
2906
|
|
|
* @param string $value |
2907
|
|
|
* |
2908
|
|
|
* @return $this |
2909
|
|
|
*/ |
2910
|
|
|
public function withProjectName($value) |
2911
|
|
|
{ |
2912
|
|
|
$this->data['ProjectName'] = $value; |
2913
|
|
|
$this->pathParameters['projectName'] = $value; |
2914
|
|
|
|
2915
|
|
|
return $this; |
2916
|
|
|
} |
2917
|
|
|
|
2918
|
|
|
/** |
2919
|
|
|
* @param string $value |
2920
|
|
|
* |
2921
|
|
|
* @return $this |
2922
|
|
|
*/ |
2923
|
|
|
public function withExpectedGB($value) |
2924
|
|
|
{ |
2925
|
|
|
$this->data['ExpectedGB'] = $value; |
2926
|
|
|
$this->options['query']['expectedGB'] = $value; |
2927
|
|
|
|
2928
|
|
|
return $this; |
2929
|
|
|
} |
2930
|
|
|
|
2931
|
|
|
/** |
2932
|
|
|
* @param string $value |
2933
|
|
|
* |
2934
|
|
|
* @return $this |
2935
|
|
|
*/ |
2936
|
|
|
public function withExpectedCore($value) |
2937
|
|
|
{ |
2938
|
|
|
$this->data['ExpectedCore'] = $value; |
2939
|
|
|
$this->options['query']['expectedCore'] = $value; |
2940
|
|
|
|
2941
|
|
|
return $this; |
2942
|
|
|
} |
2943
|
|
|
|
2944
|
|
|
/** |
2945
|
|
|
* @param string $value |
2946
|
|
|
* |
2947
|
|
|
* @return $this |
2948
|
|
|
*/ |
2949
|
|
|
public function withJobName($value) |
2950
|
|
|
{ |
2951
|
|
|
$this->data['JobName'] = $value; |
2952
|
|
|
$this->pathParameters['jobName'] = $value; |
2953
|
|
|
|
2954
|
|
|
return $this; |
2955
|
|
|
} |
2956
|
|
|
|
2957
|
|
|
/** |
2958
|
|
|
* @param string $value |
2959
|
|
|
* |
2960
|
|
|
* @return $this |
2961
|
|
|
*/ |
2962
|
|
|
public function withAutoconfEnable($value) |
2963
|
|
|
{ |
2964
|
|
|
$this->data['AutoconfEnable'] = $value; |
2965
|
|
|
$this->options['query']['autoconfEnable'] = $value; |
2966
|
|
|
|
2967
|
|
|
return $this; |
2968
|
|
|
} |
2969
|
|
|
} |
2970
|
|
|
|
2971
|
|
|
/** |
2972
|
|
|
* @method string getQueueName() |
2973
|
|
|
* @method string getProjectName() |
2974
|
|
|
* @method string getCode() |
2975
|
|
|
* @method string getDescription() |
2976
|
|
|
* @method string getPlanJson() |
2977
|
|
|
* @method string getEngineVersion() |
2978
|
|
|
* @method string getClusterId() |
2979
|
|
|
* @method string getPackages() |
2980
|
|
|
* @method string getFolderId() |
2981
|
|
|
* @method string getProperties() |
2982
|
|
|
* @method string getJobName() |
2983
|
|
|
*/ |
2984
|
|
|
class UpdateJob extends V20181111Roa |
2985
|
|
|
{ |
2986
|
|
|
/** @var string */ |
2987
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]'; |
2988
|
|
|
|
2989
|
|
|
/** @var string */ |
2990
|
|
|
public $method = 'PUT'; |
2991
|
|
|
|
2992
|
|
|
/** |
2993
|
|
|
* @param string $value |
2994
|
|
|
* |
2995
|
|
|
* @return $this |
2996
|
|
|
*/ |
2997
|
|
|
public function withQueueName($value) |
2998
|
|
|
{ |
2999
|
|
|
$this->data['QueueName'] = $value; |
3000
|
|
|
$this->options['query']['queueName'] = $value; |
3001
|
|
|
|
3002
|
|
|
return $this; |
3003
|
|
|
} |
3004
|
|
|
|
3005
|
|
|
/** |
3006
|
|
|
* @param string $value |
3007
|
|
|
* |
3008
|
|
|
* @return $this |
3009
|
|
|
*/ |
3010
|
|
|
public function withProjectName($value) |
3011
|
|
|
{ |
3012
|
|
|
$this->data['ProjectName'] = $value; |
3013
|
|
|
$this->pathParameters['projectName'] = $value; |
3014
|
|
|
|
3015
|
|
|
return $this; |
3016
|
|
|
} |
3017
|
|
|
|
3018
|
|
|
/** |
3019
|
|
|
* @param string $value |
3020
|
|
|
* |
3021
|
|
|
* @return $this |
3022
|
|
|
*/ |
3023
|
|
|
public function withCode($value) |
3024
|
|
|
{ |
3025
|
|
|
$this->data['Code'] = $value; |
3026
|
|
|
$this->options['query']['code'] = $value; |
3027
|
|
|
|
3028
|
|
|
return $this; |
3029
|
|
|
} |
3030
|
|
|
|
3031
|
|
|
/** |
3032
|
|
|
* @param string $value |
3033
|
|
|
* |
3034
|
|
|
* @return $this |
3035
|
|
|
*/ |
3036
|
|
|
public function withDescription($value) |
3037
|
|
|
{ |
3038
|
|
|
$this->data['Description'] = $value; |
3039
|
|
|
$this->options['query']['description'] = $value; |
3040
|
|
|
|
3041
|
|
|
return $this; |
3042
|
|
|
} |
3043
|
|
|
|
3044
|
|
|
/** |
3045
|
|
|
* @param string $value |
3046
|
|
|
* |
3047
|
|
|
* @return $this |
3048
|
|
|
*/ |
3049
|
|
|
public function withPlanJson($value) |
3050
|
|
|
{ |
3051
|
|
|
$this->data['PlanJson'] = $value; |
3052
|
|
|
$this->options['query']['planJson'] = $value; |
3053
|
|
|
|
3054
|
|
|
return $this; |
3055
|
|
|
} |
3056
|
|
|
|
3057
|
|
|
/** |
3058
|
|
|
* @param string $value |
3059
|
|
|
* |
3060
|
|
|
* @return $this |
3061
|
|
|
*/ |
3062
|
|
|
public function withEngineVersion($value) |
3063
|
|
|
{ |
3064
|
|
|
$this->data['EngineVersion'] = $value; |
3065
|
|
|
$this->options['query']['engineVersion'] = $value; |
3066
|
|
|
|
3067
|
|
|
return $this; |
3068
|
|
|
} |
3069
|
|
|
|
3070
|
|
|
/** |
3071
|
|
|
* @param string $value |
3072
|
|
|
* |
3073
|
|
|
* @return $this |
3074
|
|
|
*/ |
3075
|
|
|
public function withClusterId($value) |
3076
|
|
|
{ |
3077
|
|
|
$this->data['ClusterId'] = $value; |
3078
|
|
|
$this->options['query']['clusterId'] = $value; |
3079
|
|
|
|
3080
|
|
|
return $this; |
3081
|
|
|
} |
3082
|
|
|
|
3083
|
|
|
/** |
3084
|
|
|
* @param string $value |
3085
|
|
|
* |
3086
|
|
|
* @return $this |
3087
|
|
|
*/ |
3088
|
|
|
public function withPackages($value) |
3089
|
|
|
{ |
3090
|
|
|
$this->data['Packages'] = $value; |
3091
|
|
|
$this->options['query']['packages'] = $value; |
3092
|
|
|
|
3093
|
|
|
return $this; |
3094
|
|
|
} |
3095
|
|
|
|
3096
|
|
|
/** |
3097
|
|
|
* @param string $value |
3098
|
|
|
* |
3099
|
|
|
* @return $this |
3100
|
|
|
*/ |
3101
|
|
|
public function withFolderId($value) |
3102
|
|
|
{ |
3103
|
|
|
$this->data['FolderId'] = $value; |
3104
|
|
|
$this->options['query']['folderId'] = $value; |
3105
|
|
|
|
3106
|
|
|
return $this; |
3107
|
|
|
} |
3108
|
|
|
|
3109
|
|
|
/** |
3110
|
|
|
* @param string $value |
3111
|
|
|
* |
3112
|
|
|
* @return $this |
3113
|
|
|
*/ |
3114
|
|
|
public function withProperties($value) |
3115
|
|
|
{ |
3116
|
|
|
$this->data['Properties'] = $value; |
3117
|
|
|
$this->options['query']['properties'] = $value; |
3118
|
|
|
|
3119
|
|
|
return $this; |
3120
|
|
|
} |
3121
|
|
|
|
3122
|
|
|
/** |
3123
|
|
|
* @param string $value |
3124
|
|
|
* |
3125
|
|
|
* @return $this |
3126
|
|
|
*/ |
3127
|
|
|
public function withJobName($value) |
3128
|
|
|
{ |
3129
|
|
|
$this->data['JobName'] = $value; |
3130
|
|
|
$this->pathParameters['jobName'] = $value; |
3131
|
|
|
|
3132
|
|
|
return $this; |
3133
|
|
|
} |
3134
|
|
|
} |
3135
|
|
|
|
3136
|
|
|
/** |
3137
|
|
|
* @method string getQueueName() |
3138
|
|
|
* @method string getProjectName() |
3139
|
|
|
* @method string getCode() |
3140
|
|
|
* @method string getDescription() |
3141
|
|
|
* @method string getEngineVersion() |
3142
|
|
|
* @method string getClusterId() |
3143
|
|
|
* @method string getPackages() |
3144
|
|
|
* @method string getJobType() |
3145
|
|
|
* @method string getApiType() |
3146
|
|
|
* @method string getFolderId() |
3147
|
|
|
* @method string getPlanJson() |
3148
|
|
|
* @method string getProperties() |
3149
|
|
|
* @method string getJobName() |
3150
|
|
|
*/ |
3151
|
|
|
class CreateJob extends V20181111Roa |
3152
|
|
|
{ |
3153
|
|
|
/** @var string */ |
3154
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs'; |
3155
|
|
|
|
3156
|
|
|
/** @var string */ |
3157
|
|
|
public $method = 'POST'; |
3158
|
|
|
|
3159
|
|
|
/** |
3160
|
|
|
* @param string $value |
3161
|
|
|
* |
3162
|
|
|
* @return $this |
3163
|
|
|
*/ |
3164
|
|
|
public function withQueueName($value) |
3165
|
|
|
{ |
3166
|
|
|
$this->data['QueueName'] = $value; |
3167
|
|
|
$this->options['query']['queueName'] = $value; |
3168
|
|
|
|
3169
|
|
|
return $this; |
3170
|
|
|
} |
3171
|
|
|
|
3172
|
|
|
/** |
3173
|
|
|
* @param string $value |
3174
|
|
|
* |
3175
|
|
|
* @return $this |
3176
|
|
|
*/ |
3177
|
|
|
public function withProjectName($value) |
3178
|
|
|
{ |
3179
|
|
|
$this->data['ProjectName'] = $value; |
3180
|
|
|
$this->pathParameters['projectName'] = $value; |
3181
|
|
|
|
3182
|
|
|
return $this; |
3183
|
|
|
} |
3184
|
|
|
|
3185
|
|
|
/** |
3186
|
|
|
* @param string $value |
3187
|
|
|
* |
3188
|
|
|
* @return $this |
3189
|
|
|
*/ |
3190
|
|
|
public function withCode($value) |
3191
|
|
|
{ |
3192
|
|
|
$this->data['Code'] = $value; |
3193
|
|
|
$this->options['query']['code'] = $value; |
3194
|
|
|
|
3195
|
|
|
return $this; |
3196
|
|
|
} |
3197
|
|
|
|
3198
|
|
|
/** |
3199
|
|
|
* @param string $value |
3200
|
|
|
* |
3201
|
|
|
* @return $this |
3202
|
|
|
*/ |
3203
|
|
|
public function withDescription($value) |
3204
|
|
|
{ |
3205
|
|
|
$this->data['Description'] = $value; |
3206
|
|
|
$this->options['query']['description'] = $value; |
3207
|
|
|
|
3208
|
|
|
return $this; |
3209
|
|
|
} |
3210
|
|
|
|
3211
|
|
|
/** |
3212
|
|
|
* @param string $value |
3213
|
|
|
* |
3214
|
|
|
* @return $this |
3215
|
|
|
*/ |
3216
|
|
|
public function withEngineVersion($value) |
3217
|
|
|
{ |
3218
|
|
|
$this->data['EngineVersion'] = $value; |
3219
|
|
|
$this->options['query']['engineVersion'] = $value; |
3220
|
|
|
|
3221
|
|
|
return $this; |
3222
|
|
|
} |
3223
|
|
|
|
3224
|
|
|
/** |
3225
|
|
|
* @param string $value |
3226
|
|
|
* |
3227
|
|
|
* @return $this |
3228
|
|
|
*/ |
3229
|
|
|
public function withClusterId($value) |
3230
|
|
|
{ |
3231
|
|
|
$this->data['ClusterId'] = $value; |
3232
|
|
|
$this->options['query']['clusterId'] = $value; |
3233
|
|
|
|
3234
|
|
|
return $this; |
3235
|
|
|
} |
3236
|
|
|
|
3237
|
|
|
/** |
3238
|
|
|
* @param string $value |
3239
|
|
|
* |
3240
|
|
|
* @return $this |
3241
|
|
|
*/ |
3242
|
|
|
public function withPackages($value) |
3243
|
|
|
{ |
3244
|
|
|
$this->data['Packages'] = $value; |
3245
|
|
|
$this->options['query']['packages'] = $value; |
3246
|
|
|
|
3247
|
|
|
return $this; |
3248
|
|
|
} |
3249
|
|
|
|
3250
|
|
|
/** |
3251
|
|
|
* @param string $value |
3252
|
|
|
* |
3253
|
|
|
* @return $this |
3254
|
|
|
*/ |
3255
|
|
|
public function withJobType($value) |
3256
|
|
|
{ |
3257
|
|
|
$this->data['JobType'] = $value; |
3258
|
|
|
$this->options['query']['jobType'] = $value; |
3259
|
|
|
|
3260
|
|
|
return $this; |
3261
|
|
|
} |
3262
|
|
|
|
3263
|
|
|
/** |
3264
|
|
|
* @param string $value |
3265
|
|
|
* |
3266
|
|
|
* @return $this |
3267
|
|
|
*/ |
3268
|
|
|
public function withApiType($value) |
3269
|
|
|
{ |
3270
|
|
|
$this->data['ApiType'] = $value; |
3271
|
|
|
$this->options['query']['apiType'] = $value; |
3272
|
|
|
|
3273
|
|
|
return $this; |
3274
|
|
|
} |
3275
|
|
|
|
3276
|
|
|
/** |
3277
|
|
|
* @param string $value |
3278
|
|
|
* |
3279
|
|
|
* @return $this |
3280
|
|
|
*/ |
3281
|
|
|
public function withFolderId($value) |
3282
|
|
|
{ |
3283
|
|
|
$this->data['FolderId'] = $value; |
3284
|
|
|
$this->options['query']['folderId'] = $value; |
3285
|
|
|
|
3286
|
|
|
return $this; |
3287
|
|
|
} |
3288
|
|
|
|
3289
|
|
|
/** |
3290
|
|
|
* @param string $value |
3291
|
|
|
* |
3292
|
|
|
* @return $this |
3293
|
|
|
*/ |
3294
|
|
|
public function withPlanJson($value) |
3295
|
|
|
{ |
3296
|
|
|
$this->data['PlanJson'] = $value; |
3297
|
|
|
$this->options['query']['planJson'] = $value; |
3298
|
|
|
|
3299
|
|
|
return $this; |
3300
|
|
|
} |
3301
|
|
|
|
3302
|
|
|
/** |
3303
|
|
|
* @param string $value |
3304
|
|
|
* |
3305
|
|
|
* @return $this |
3306
|
|
|
*/ |
3307
|
|
|
public function withProperties($value) |
3308
|
|
|
{ |
3309
|
|
|
$this->data['Properties'] = $value; |
3310
|
|
|
$this->options['query']['properties'] = $value; |
3311
|
|
|
|
3312
|
|
|
return $this; |
3313
|
|
|
} |
3314
|
|
|
|
3315
|
|
|
/** |
3316
|
|
|
* @param string $value |
3317
|
|
|
* |
3318
|
|
|
* @return $this |
3319
|
|
|
*/ |
3320
|
|
|
public function withJobName($value) |
3321
|
|
|
{ |
3322
|
|
|
$this->data['JobName'] = $value; |
3323
|
|
|
$this->options['query']['jobName'] = $value; |
3324
|
|
|
|
3325
|
|
|
return $this; |
3326
|
|
|
} |
3327
|
|
|
} |
3328
|
|
|
|
3329
|
|
|
/** |
3330
|
|
|
* @method string getPath() |
3331
|
|
|
* @method string getProjectName() |
3332
|
|
|
*/ |
3333
|
|
|
class GetFolder extends V20181111Roa |
3334
|
|
|
{ |
3335
|
|
|
/** @var string */ |
3336
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/folders'; |
3337
|
|
|
|
3338
|
|
|
|
3339
|
|
|
/** |
3340
|
|
|
* @param string $value |
3341
|
|
|
* |
3342
|
|
|
* @return $this |
3343
|
|
|
*/ |
3344
|
|
|
public function withPath($value) |
3345
|
|
|
{ |
3346
|
|
|
$this->data['Path'] = $value; |
3347
|
|
|
$this->options['query']['path'] = $value; |
3348
|
|
|
|
3349
|
|
|
return $this; |
3350
|
|
|
} |
3351
|
|
|
|
3352
|
|
|
/** |
3353
|
|
|
* @param string $value |
3354
|
|
|
* |
3355
|
|
|
* @return $this |
3356
|
|
|
*/ |
3357
|
|
|
public function withProjectName($value) |
3358
|
|
|
{ |
3359
|
|
|
$this->data['ProjectName'] = $value; |
3360
|
|
|
$this->pathParameters['projectName'] = $value; |
3361
|
|
|
|
3362
|
|
|
return $this; |
3363
|
|
|
} |
3364
|
|
|
} |
3365
|
|
|
|
3366
|
|
|
/** |
3367
|
|
|
* @method string getPath() |
3368
|
|
|
* @method string getProjectName() |
3369
|
|
|
*/ |
3370
|
|
|
class CreateFolder extends V20181111Roa |
3371
|
|
|
{ |
3372
|
|
|
/** @var string */ |
3373
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/folders'; |
3374
|
|
|
|
3375
|
|
|
/** @var string */ |
3376
|
|
|
public $method = 'POST'; |
3377
|
|
|
|
3378
|
|
|
/** |
3379
|
|
|
* @param string $value |
3380
|
|
|
* |
3381
|
|
|
* @return $this |
3382
|
|
|
*/ |
3383
|
|
|
public function withPath($value) |
3384
|
|
|
{ |
3385
|
|
|
$this->data['Path'] = $value; |
3386
|
|
|
$this->options['query']['path'] = $value; |
3387
|
|
|
|
3388
|
|
|
return $this; |
3389
|
|
|
} |
3390
|
|
|
|
3391
|
|
|
/** |
3392
|
|
|
* @param string $value |
3393
|
|
|
* |
3394
|
|
|
* @return $this |
3395
|
|
|
*/ |
3396
|
|
|
public function withProjectName($value) |
3397
|
|
|
{ |
3398
|
|
|
$this->data['ProjectName'] = $value; |
3399
|
|
|
$this->pathParameters['projectName'] = $value; |
3400
|
|
|
|
3401
|
|
|
return $this; |
3402
|
|
|
} |
3403
|
|
|
} |
3404
|
|
|
|
3405
|
|
|
/** |
3406
|
|
|
* @method string getProjectName() |
3407
|
|
|
* @method string getJobName() |
3408
|
|
|
*/ |
3409
|
|
|
class CommitJob extends V20181111Roa |
3410
|
|
|
{ |
3411
|
|
|
/** @var string */ |
3412
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/jobs/[jobName]/commit'; |
3413
|
|
|
|
3414
|
|
|
/** @var string */ |
3415
|
|
|
public $method = 'PUT'; |
3416
|
|
|
|
3417
|
|
|
/** |
3418
|
|
|
* @param string $value |
3419
|
|
|
* |
3420
|
|
|
* @return $this |
3421
|
|
|
*/ |
3422
|
|
|
public function withProjectName($value) |
3423
|
|
|
{ |
3424
|
|
|
$this->data['ProjectName'] = $value; |
3425
|
|
|
$this->pathParameters['projectName'] = $value; |
3426
|
|
|
|
3427
|
|
|
return $this; |
3428
|
|
|
} |
3429
|
|
|
|
3430
|
|
|
/** |
3431
|
|
|
* @param string $value |
3432
|
|
|
* |
3433
|
|
|
* @return $this |
3434
|
|
|
*/ |
3435
|
|
|
public function withJobName($value) |
3436
|
|
|
{ |
3437
|
|
|
$this->data['JobName'] = $value; |
3438
|
|
|
$this->pathParameters['jobName'] = $value; |
3439
|
|
|
|
3440
|
|
|
return $this; |
3441
|
|
|
} |
3442
|
|
|
} |
3443
|
|
|
|
3444
|
|
|
/** |
3445
|
|
|
* @method string getProjectName() |
3446
|
|
|
* @method string getJobNames() |
3447
|
|
|
* @method string getJobType() |
3448
|
|
|
*/ |
3449
|
|
|
class BatchGetInstanceRunSummary extends V20181111Roa |
3450
|
|
|
{ |
3451
|
|
|
/** @var string */ |
3452
|
|
|
public $pathPattern = '/api/v2/projects/[projectName]/runsummary'; |
3453
|
|
|
|
3454
|
|
|
|
3455
|
|
|
/** |
3456
|
|
|
* @param string $value |
3457
|
|
|
* |
3458
|
|
|
* @return $this |
3459
|
|
|
*/ |
3460
|
|
|
public function withProjectName($value) |
3461
|
|
|
{ |
3462
|
|
|
$this->data['ProjectName'] = $value; |
3463
|
|
|
$this->pathParameters['projectName'] = $value; |
3464
|
|
|
|
3465
|
|
|
return $this; |
3466
|
|
|
} |
3467
|
|
|
|
3468
|
|
|
/** |
3469
|
|
|
* @param string $value |
3470
|
|
|
* |
3471
|
|
|
* @return $this |
3472
|
|
|
*/ |
3473
|
|
|
public function withJobNames($value) |
3474
|
|
|
{ |
3475
|
|
|
$this->data['JobNames'] = $value; |
3476
|
|
|
$this->options['query']['jobNames'] = $value; |
3477
|
|
|
|
3478
|
|
|
return $this; |
3479
|
|
|
} |
3480
|
|
|
|
3481
|
|
|
/** |
3482
|
|
|
* @param string $value |
3483
|
|
|
* |
3484
|
|
|
* @return $this |
3485
|
|
|
*/ |
3486
|
|
|
public function withJobType($value) |
3487
|
|
|
{ |
3488
|
|
|
$this->data['JobType'] = $value; |
3489
|
|
|
$this->options['query']['jobType'] = $value; |
3490
|
|
|
|
3491
|
|
|
return $this; |
3492
|
|
|
} |
3493
|
|
|
} |
3494
|
|
|
|