GitHub Access Token became invalid

It seems like the GitHub access token used for retrieving details about this repository from GitHub became invalid. This might prevent certain types of inspections from being run (in particular, everything related to pull requests).
Please ask an admin of your repository to re-new the access token on this website.
Test Failed
Push — master ( 6c5216...a10f05 )
by
unknown
07:40
created

UpdateJob::withTemplate()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Schedulerx2\V20190430;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method BatchDeleteJobs batchDeleteJobs(array $options = [])
9
 * @method BatchDeleteRouteStrategy batchDeleteRouteStrategy(array $options = [])
10
 * @method BatchDisableJobs batchDisableJobs(array $options = [])
11
 * @method BatchEnableJobs batchEnableJobs(array $options = [])
12
 * @method CreateAppGroup createAppGroup(array $options = [])
13
 * @method CreateJob createJob(array $options = [])
14
 * @method CreateNamespace createNamespace(array $options = [])
15
 * @method CreateRouteStrategy createRouteStrategy(array $options = [])
16
 * @method CreateWorkflow createWorkflow(array $options = [])
17
 * @method DeleteAppGroup deleteAppGroup(array $options = [])
18
 * @method DeleteJob deleteJob(array $options = [])
19
 * @method DeleteRouteStrategy deleteRouteStrategy(array $options = [])
20
 * @method DeleteWorkflow deleteWorkflow(array $options = [])
21
 * @method DescribeRegions describeRegions(array $options = [])
22
 * @method DesignateWorkers designateWorkers(array $options = [])
23
 * @method DisableJob disableJob(array $options = [])
24
 * @method DisableWorkflow disableWorkflow(array $options = [])
25
 * @method EnableJob enableJob(array $options = [])
26
 * @method EnableWorkflow enableWorkflow(array $options = [])
27
 * @method ExecuteJob executeJob(array $options = [])
28
 * @method ExecuteWorkflow executeWorkflow(array $options = [])
29
 * @method GetAppGroup getAppGroup(array $options = [])
30
 * @method GetJobInfo getJobInfo(array $options = [])
31
 * @method GetJobInstance getJobInstance(array $options = [])
32
 * @method GetJobInstanceList getJobInstanceList(array $options = [])
33
 * @method GetLog getLog(array $options = [])
34
 * @method GetOverview getOverview(array $options = [])
35
 * @method GetWorkerList getWorkerList(array $options = [])
36
 * @method GetWorkFlow getWorkFlow(array $options = [])
37
 * @method GetWorkflowInstance getWorkflowInstance(array $options = [])
38
 * @method GrantPermission grantPermission(array $options = [])
39
 * @method ListGroups listGroups(array $options = [])
40
 * @method ListJobs listJobs(array $options = [])
41
 * @method ListNamespaces listNamespaces(array $options = [])
42
 * @method ListWorkflowInstance listWorkflowInstance(array $options = [])
43
 * @method RerunJob rerunJob(array $options = [])
44
 * @method RetryJobInstance retryJobInstance(array $options = [])
45
 * @method RevokePermission revokePermission(array $options = [])
46
 * @method SetJobInstanceSuccess setJobInstanceSuccess(array $options = [])
47
 * @method SetWfInstanceSuccess setWfInstanceSuccess(array $options = [])
48
 * @method StopInstance stopInstance(array $options = [])
49
 * @method UpdateAppGroup updateAppGroup(array $options = [])
50
 * @method UpdateJob updateJob(array $options = [])
51
 * @method UpdateWorkflow updateWorkflow(array $options = [])
52
 * @method UpdateWorkflowDag updateWorkflowDag(array $options = [])
53
 */
54
class Schedulerx2ApiResolver extends ApiResolver
55
{
56
}
57
58
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
59
{
60
    /** @var string */
61
    public $product = 'schedulerx2';
62
63
    /** @var string */
64
    public $version = '2019-04-30';
65
66
    /** @var string */
67
    public $method = 'POST';
68
}
69
70
/**
71
 * @method string getNamespaceSource()
72
 * @method $this withNamespaceSource($value)
73
 * @method string getGroupId()
74
 * @method $this withGroupId($value)
75
 * @method array getJobIdList()
76
 * @method string getNamespace()
77
 * @method $this withNamespace($value)
78
 */
79
class BatchDeleteJobs extends Rpc
80
{
81
82
    /**
83
     * @param array $jobIdList
84
     *
85
     * @return $this
86
     */
87
	public function withJobIdList(array $jobIdList)
88
	{
89
	    $this->data['JobIdList'] = $jobIdList;
90
		foreach ($jobIdList as $i => $iValue) {
91
			$this->options['form_params']['JobIdList.' . ($i + 1)] = $iValue;
92
		}
93
94
		return $this;
95
    }
96
}
97
98
/**
99
 * @method string getGroupId()
100
 * @method $this withGroupId($value)
101
 * @method array getJobIdList()
102
 * @method string getNamespace()
103
 * @method $this withNamespace($value)
104
 * @method array getStrategyIdList()
105
 */
106
class BatchDeleteRouteStrategy extends Rpc
107
{
108
109
    /**
110
     * @param array $jobIdList
111
     *
112
     * @return $this
113
     */
114
	public function withJobIdList(array $jobIdList)
115
	{
116
	    $this->data['JobIdList'] = $jobIdList;
117
		foreach ($jobIdList as $i => $iValue) {
118
			$this->options['form_params']['JobIdList.' . ($i + 1)] = $iValue;
119
		}
120
121
		return $this;
122
    }
123
124
    /**
125
     * @param array $strategyIdList
126
     *
127
     * @return $this
128
     */
129
	public function withStrategyIdList(array $strategyIdList)
130
	{
131
	    $this->data['StrategyIdList'] = $strategyIdList;
132
		foreach ($strategyIdList as $i => $iValue) {
133
			$this->options['form_params']['StrategyIdList.' . ($i + 1)] = $iValue;
134
		}
135
136
		return $this;
137
    }
138
}
139
140
/**
141
 * @method string getNamespaceSource()
142
 * @method $this withNamespaceSource($value)
143
 * @method string getGroupId()
144
 * @method $this withGroupId($value)
145
 * @method array getJobIdList()
146
 * @method string getNamespace()
147
 * @method $this withNamespace($value)
148
 */
149
class BatchDisableJobs extends Rpc
150
{
151
152
    /**
153
     * @param array $jobIdList
154
     *
155
     * @return $this
156
     */
157
	public function withJobIdList(array $jobIdList)
158
	{
159
	    $this->data['JobIdList'] = $jobIdList;
160
		foreach ($jobIdList as $i => $iValue) {
161
			$this->options['form_params']['JobIdList.' . ($i + 1)] = $iValue;
162
		}
163
164
		return $this;
165
    }
166
}
167
168
/**
169
 * @method string getNamespaceSource()
170
 * @method $this withNamespaceSource($value)
171
 * @method string getGroupId()
172
 * @method $this withGroupId($value)
173
 * @method array getJobIdList()
174
 * @method string getNamespace()
175
 * @method $this withNamespace($value)
176
 */
177
class BatchEnableJobs extends Rpc
178
{
179
180
    /**
181
     * @param array $jobIdList
182
     *
183
     * @return $this
184
     */
185
	public function withJobIdList(array $jobIdList)
186
	{
187
	    $this->data['JobIdList'] = $jobIdList;
188
		foreach ($jobIdList as $i => $iValue) {
189
			$this->options['form_params']['JobIdList.' . ($i + 1)] = $iValue;
190
		}
191
192
		return $this;
193
    }
194
}
195
196
/**
197
 * @method string getNamespaceName()
198
 * @method $this withNamespaceName($value)
199
 * @method string getNamespaceSource()
200
 * @method $this withNamespaceSource($value)
201
 * @method string getScheduleBusyWorkers()
202
 * @method $this withScheduleBusyWorkers($value)
203
 * @method string getDescription()
204
 * @method $this withDescription($value)
205
 * @method string getAppName()
206
 * @method $this withAppName($value)
207
 * @method string getAlarmJson()
208
 * @method $this withAlarmJson($value)
209
 * @method string getMonitorContactsJson()
210
 * @method $this withMonitorContactsJson($value)
211
 * @method string getMaxJobs()
212
 * @method $this withMaxJobs($value)
213
 * @method string getMetricsThresholdJson()
214
 * @method $this withMetricsThresholdJson($value)
215
 * @method string getGroupId()
216
 * @method $this withGroupId($value)
217
 * @method string getAppType()
218
 * @method $this withAppType($value)
219
 * @method string getMonitorConfigJson()
220
 * @method $this withMonitorConfigJson($value)
221
 * @method string getNamespace()
222
 * @method $this withNamespace($value)
223
 * @method string getXattrs()
224
 * @method $this withXattrs($value)
225
 * @method string getEnableLog()
226
 * @method $this withEnableLog($value)
227
 * @method string getAppKey()
228
 * @method $this withAppKey($value)
229
 */
230
class CreateAppGroup extends Rpc
231
{
232
233
    /** @var string */
234
    public $scheme = 'https';
235
236
    /** @var string */
237
    public $method = 'GET';
238
}
239
240
/**
241
 * @method string getAttemptInterval()
242
 * @method string getFailTimes()
243
 * @method string getConsumerSize()
244
 * @method string getJarUrl()
245
 * @method string getGroupId()
246
 * @method string getDataOffset()
247
 * @method string getTaskMaxAttempt()
248
 * @method string getDispatcherSize()
249
 * @method string getJobType()
250
 * @method string getTaskAttemptInterval()
251
 * @method string getExecuteMode()
252
 * @method string getTimeExpression()
253
 * @method string getTimeoutEnable()
254
 * @method array getContactInfo()
255
 * @method string getName()
256
 * @method string getTimeType()
257
 * @method string getParameters()
258
 * @method string getStatus()
259
 * @method string getNamespaceSource()
260
 * @method string getTimezone()
261
 * @method string getDescription()
262
 * @method string getContent()
263
 * @method string getTimeout()
264
 * @method string getTimeoutKillEnable()
265
 * @method string getPageSize()
266
 * @method string getCalendar()
267
 * @method string getFailEnable()
268
 * @method string getSendChannel()
269
 * @method string getMaxAttempt()
270
 * @method string getMissWorkerEnable()
271
 * @method string getSuccessNoticeEnable()
272
 * @method string getQueueSize()
273
 * @method string getClassName()
274
 * @method string getNamespace()
275
 * @method string getXAttrs()
276
 * @method string getMaxConcurrency()
277
 */
278
class CreateJob extends Rpc
279
{
280
281
    /**
282
     * @param string $value
283
     *
284
     * @return $this
285
     */
286
    public function withAttemptInterval($value)
287
    {
288
        $this->data['AttemptInterval'] = $value;
289
        $this->options['form_params']['AttemptInterval'] = $value;
290
291
        return $this;
292
    }
293
294
    /**
295
     * @param string $value
296
     *
297
     * @return $this
298
     */
299
    public function withFailTimes($value)
300
    {
301
        $this->data['FailTimes'] = $value;
302
        $this->options['form_params']['FailTimes'] = $value;
303
304
        return $this;
305
    }
306
307
    /**
308
     * @param string $value
309
     *
310
     * @return $this
311
     */
312
    public function withConsumerSize($value)
313
    {
314
        $this->data['ConsumerSize'] = $value;
315
        $this->options['form_params']['ConsumerSize'] = $value;
316
317
        return $this;
318
    }
319
320
    /**
321
     * @param string $value
322
     *
323
     * @return $this
324
     */
325
    public function withJarUrl($value)
326
    {
327
        $this->data['JarUrl'] = $value;
328
        $this->options['form_params']['JarUrl'] = $value;
329
330
        return $this;
331
    }
332
333
    /**
334
     * @param string $value
335
     *
336
     * @return $this
337
     */
338
    public function withGroupId($value)
339
    {
340
        $this->data['GroupId'] = $value;
341
        $this->options['form_params']['GroupId'] = $value;
342
343
        return $this;
344
    }
345
346
    /**
347
     * @param string $value
348
     *
349
     * @return $this
350
     */
351
    public function withDataOffset($value)
352
    {
353
        $this->data['DataOffset'] = $value;
354
        $this->options['form_params']['DataOffset'] = $value;
355
356
        return $this;
357
    }
358
359
    /**
360
     * @param string $value
361
     *
362
     * @return $this
363
     */
364
    public function withTaskMaxAttempt($value)
365
    {
366
        $this->data['TaskMaxAttempt'] = $value;
367
        $this->options['form_params']['TaskMaxAttempt'] = $value;
368
369
        return $this;
370
    }
371
372
    /**
373
     * @param string $value
374
     *
375
     * @return $this
376
     */
377
    public function withDispatcherSize($value)
378
    {
379
        $this->data['DispatcherSize'] = $value;
380
        $this->options['form_params']['DispatcherSize'] = $value;
381
382
        return $this;
383
    }
384
385
    /**
386
     * @param string $value
387
     *
388
     * @return $this
389
     */
390
    public function withJobType($value)
391
    {
392
        $this->data['JobType'] = $value;
393
        $this->options['form_params']['JobType'] = $value;
394
395
        return $this;
396
    }
397
398
    /**
399
     * @param string $value
400
     *
401
     * @return $this
402
     */
403
    public function withTaskAttemptInterval($value)
404
    {
405
        $this->data['TaskAttemptInterval'] = $value;
406
        $this->options['form_params']['TaskAttemptInterval'] = $value;
407
408
        return $this;
409
    }
410
411
    /**
412
     * @param string $value
413
     *
414
     * @return $this
415
     */
416
    public function withExecuteMode($value)
417
    {
418
        $this->data['ExecuteMode'] = $value;
419
        $this->options['form_params']['ExecuteMode'] = $value;
420
421
        return $this;
422
    }
423
424
    /**
425
     * @param string $value
426
     *
427
     * @return $this
428
     */
429
    public function withTimeExpression($value)
430
    {
431
        $this->data['TimeExpression'] = $value;
432
        $this->options['form_params']['TimeExpression'] = $value;
433
434
        return $this;
435
    }
436
437
    /**
438
     * @param string $value
439
     *
440
     * @return $this
441
     */
442
    public function withTimeoutEnable($value)
443
    {
444
        $this->data['TimeoutEnable'] = $value;
445
        $this->options['form_params']['TimeoutEnable'] = $value;
446
447
        return $this;
448
    }
449
450
    /**
451
     * @param array $contactInfo
452
     *
453
     * @return $this
454
     */
455
	public function withContactInfo(array $contactInfo)
456
	{
457
	    $this->data['ContactInfo'] = $contactInfo;
458
		foreach ($contactInfo as $depth1 => $depth1Value) {
459
			if(isset($depth1Value['Ding'])){
460
				$this->options['form_params']['ContactInfo.' . ($depth1 + 1) . '.Ding'] = $depth1Value['Ding'];
461
			}
462
			if(isset($depth1Value['UserPhone'])){
463
				$this->options['form_params']['ContactInfo.' . ($depth1 + 1) . '.UserPhone'] = $depth1Value['UserPhone'];
464
			}
465
			if(isset($depth1Value['UserMail'])){
466
				$this->options['form_params']['ContactInfo.' . ($depth1 + 1) . '.UserMail'] = $depth1Value['UserMail'];
467
			}
468
			if(isset($depth1Value['UserName'])){
469
				$this->options['form_params']['ContactInfo.' . ($depth1 + 1) . '.UserName'] = $depth1Value['UserName'];
470
			}
471
		}
472
473
		return $this;
474
    }
475
476
    /**
477
     * @param string $value
478
     *
479
     * @return $this
480
     */
481
    public function withName($value)
482
    {
483
        $this->data['Name'] = $value;
484
        $this->options['form_params']['Name'] = $value;
485
486
        return $this;
487
    }
488
489
    /**
490
     * @param string $value
491
     *
492
     * @return $this
493
     */
494
    public function withTimeType($value)
495
    {
496
        $this->data['TimeType'] = $value;
497
        $this->options['form_params']['TimeType'] = $value;
498
499
        return $this;
500
    }
501
502
    /**
503
     * @param string $value
504
     *
505
     * @return $this
506
     */
507
    public function withParameters($value)
508
    {
509
        $this->data['Parameters'] = $value;
510
        $this->options['form_params']['Parameters'] = $value;
511
512
        return $this;
513
    }
514
515
    /**
516
     * @param string $value
517
     *
518
     * @return $this
519
     */
520
    public function withStatus($value)
521
    {
522
        $this->data['Status'] = $value;
523
        $this->options['form_params']['Status'] = $value;
524
525
        return $this;
526
    }
527
528
    /**
529
     * @param string $value
530
     *
531
     * @return $this
532
     */
533
    public function withNamespaceSource($value)
534
    {
535
        $this->data['NamespaceSource'] = $value;
536
        $this->options['form_params']['NamespaceSource'] = $value;
537
538
        return $this;
539
    }
540
541
    /**
542
     * @param string $value
543
     *
544
     * @return $this
545
     */
546
    public function withTimezone($value)
547
    {
548
        $this->data['Timezone'] = $value;
549
        $this->options['form_params']['Timezone'] = $value;
550
551
        return $this;
552
    }
553
554
    /**
555
     * @param string $value
556
     *
557
     * @return $this
558
     */
559
    public function withDescription($value)
560
    {
561
        $this->data['Description'] = $value;
562
        $this->options['form_params']['Description'] = $value;
563
564
        return $this;
565
    }
566
567
    /**
568
     * @param string $value
569
     *
570
     * @return $this
571
     */
572
    public function withContent($value)
573
    {
574
        $this->data['Content'] = $value;
575
        $this->options['form_params']['Content'] = $value;
576
577
        return $this;
578
    }
579
580
    /**
581
     * @param string $value
582
     *
583
     * @return $this
584
     */
585
    public function withTimeout($value)
586
    {
587
        $this->data['Timeout'] = $value;
588
        $this->options['form_params']['Timeout'] = $value;
589
590
        return $this;
591
    }
592
593
    /**
594
     * @param string $value
595
     *
596
     * @return $this
597
     */
598
    public function withTimeoutKillEnable($value)
599
    {
600
        $this->data['TimeoutKillEnable'] = $value;
601
        $this->options['form_params']['TimeoutKillEnable'] = $value;
602
603
        return $this;
604
    }
605
606
    /**
607
     * @param string $value
608
     *
609
     * @return $this
610
     */
611
    public function withPageSize($value)
612
    {
613
        $this->data['PageSize'] = $value;
614
        $this->options['form_params']['PageSize'] = $value;
615
616
        return $this;
617
    }
618
619
    /**
620
     * @param string $value
621
     *
622
     * @return $this
623
     */
624
    public function withCalendar($value)
625
    {
626
        $this->data['Calendar'] = $value;
627
        $this->options['form_params']['Calendar'] = $value;
628
629
        return $this;
630
    }
631
632
    /**
633
     * @param string $value
634
     *
635
     * @return $this
636
     */
637
    public function withFailEnable($value)
638
    {
639
        $this->data['FailEnable'] = $value;
640
        $this->options['form_params']['FailEnable'] = $value;
641
642
        return $this;
643
    }
644
645
    /**
646
     * @param string $value
647
     *
648
     * @return $this
649
     */
650
    public function withSendChannel($value)
651
    {
652
        $this->data['SendChannel'] = $value;
653
        $this->options['form_params']['SendChannel'] = $value;
654
655
        return $this;
656
    }
657
658
    /**
659
     * @param string $value
660
     *
661
     * @return $this
662
     */
663
    public function withMaxAttempt($value)
664
    {
665
        $this->data['MaxAttempt'] = $value;
666
        $this->options['form_params']['MaxAttempt'] = $value;
667
668
        return $this;
669
    }
670
671
    /**
672
     * @param string $value
673
     *
674
     * @return $this
675
     */
676
    public function withMissWorkerEnable($value)
677
    {
678
        $this->data['MissWorkerEnable'] = $value;
679
        $this->options['form_params']['MissWorkerEnable'] = $value;
680
681
        return $this;
682
    }
683
684
    /**
685
     * @param string $value
686
     *
687
     * @return $this
688
     */
689
    public function withSuccessNoticeEnable($value)
690
    {
691
        $this->data['SuccessNoticeEnable'] = $value;
692
        $this->options['form_params']['SuccessNoticeEnable'] = $value;
693
694
        return $this;
695
    }
696
697
    /**
698
     * @param string $value
699
     *
700
     * @return $this
701
     */
702
    public function withQueueSize($value)
703
    {
704
        $this->data['QueueSize'] = $value;
705
        $this->options['form_params']['QueueSize'] = $value;
706
707
        return $this;
708
    }
709
710
    /**
711
     * @param string $value
712
     *
713
     * @return $this
714
     */
715
    public function withClassName($value)
716
    {
717
        $this->data['ClassName'] = $value;
718
        $this->options['form_params']['ClassName'] = $value;
719
720
        return $this;
721
    }
722
723
    /**
724
     * @param string $value
725
     *
726
     * @return $this
727
     */
728
    public function withNamespace($value)
729
    {
730
        $this->data['Namespace'] = $value;
731
        $this->options['form_params']['Namespace'] = $value;
732
733
        return $this;
734
    }
735
736
    /**
737
     * @param string $value
738
     *
739
     * @return $this
740
     */
741
    public function withXAttrs($value)
742
    {
743
        $this->data['XAttrs'] = $value;
744
        $this->options['form_params']['XAttrs'] = $value;
745
746
        return $this;
747
    }
748
749
    /**
750
     * @param string $value
751
     *
752
     * @return $this
753
     */
754
    public function withMaxConcurrency($value)
755
    {
756
        $this->data['MaxConcurrency'] = $value;
757
        $this->options['form_params']['MaxConcurrency'] = $value;
758
759
        return $this;
760
    }
761
}
762
763
/**
764
 * @method string getDescription()
765
 * @method $this withDescription($value)
766
 * @method string getSource()
767
 * @method $this withSource($value)
768
 * @method string getUid()
769
 * @method $this withUid($value)
770
 * @method string getName()
771
 * @method $this withName($value)
772
 */
773
class CreateNamespace extends Rpc
774
{
775
}
776
777
/**
778
 * @method string getGroupId()
779
 * @method $this withGroupId($value)
780
 * @method string getStrategyContent()
781
 * @method $this withStrategyContent($value)
782
 * @method string getType()
783
 * @method $this withType($value)
784
 * @method string getJobId()
785
 * @method $this withJobId($value)
786
 * @method string getName()
787
 * @method $this withName($value)
788
 * @method string getNamespace()
789
 * @method $this withNamespace($value)
790
 * @method string getStatus()
791
 * @method $this withStatus($value)
792
 */
793
class CreateRouteStrategy extends Rpc
794
{
795
}
796
797
/**
798
 * @method string getNamespaceSource()
799
 * @method string getTimezone()
800
 * @method string getDescription()
801
 * @method string getGroupId()
802
 * @method string getTimeExpression()
803
 * @method string getNamespace()
804
 * @method string getName()
805
 * @method string getMaxConcurrency()
806
 * @method string getTimeType()
807
 */
808
class CreateWorkflow extends Rpc
809
{
810
811
    /**
812
     * @param string $value
813
     *
814
     * @return $this
815
     */
816
    public function withNamespaceSource($value)
817
    {
818
        $this->data['NamespaceSource'] = $value;
819
        $this->options['form_params']['NamespaceSource'] = $value;
820
821
        return $this;
822
    }
823
824
    /**
825
     * @param string $value
826
     *
827
     * @return $this
828
     */
829
    public function withTimezone($value)
830
    {
831
        $this->data['Timezone'] = $value;
832
        $this->options['form_params']['Timezone'] = $value;
833
834
        return $this;
835
    }
836
837
    /**
838
     * @param string $value
839
     *
840
     * @return $this
841
     */
842
    public function withDescription($value)
843
    {
844
        $this->data['Description'] = $value;
845
        $this->options['form_params']['Description'] = $value;
846
847
        return $this;
848
    }
849
850
    /**
851
     * @param string $value
852
     *
853
     * @return $this
854
     */
855
    public function withGroupId($value)
856
    {
857
        $this->data['GroupId'] = $value;
858
        $this->options['form_params']['GroupId'] = $value;
859
860
        return $this;
861
    }
862
863
    /**
864
     * @param string $value
865
     *
866
     * @return $this
867
     */
868
    public function withTimeExpression($value)
869
    {
870
        $this->data['TimeExpression'] = $value;
871
        $this->options['form_params']['TimeExpression'] = $value;
872
873
        return $this;
874
    }
875
876
    /**
877
     * @param string $value
878
     *
879
     * @return $this
880
     */
881
    public function withNamespace($value)
882
    {
883
        $this->data['Namespace'] = $value;
884
        $this->options['form_params']['Namespace'] = $value;
885
886
        return $this;
887
    }
888
889
    /**
890
     * @param string $value
891
     *
892
     * @return $this
893
     */
894
    public function withName($value)
895
    {
896
        $this->data['Name'] = $value;
897
        $this->options['form_params']['Name'] = $value;
898
899
        return $this;
900
    }
901
902
    /**
903
     * @param string $value
904
     *
905
     * @return $this
906
     */
907
    public function withMaxConcurrency($value)
908
    {
909
        $this->data['MaxConcurrency'] = $value;
910
        $this->options['form_params']['MaxConcurrency'] = $value;
911
912
        return $this;
913
    }
914
915
    /**
916
     * @param string $value
917
     *
918
     * @return $this
919
     */
920
    public function withTimeType($value)
921
    {
922
        $this->data['TimeType'] = $value;
923
        $this->options['form_params']['TimeType'] = $value;
924
925
        return $this;
926
    }
927
}
928
929
/**
930
 * @method string getGroupId()
931
 * @method $this withGroupId($value)
932
 * @method string getDeleteJobs()
933
 * @method $this withDeleteJobs($value)
934
 * @method string getNamespace()
935
 * @method $this withNamespace($value)
936
 */
937
class DeleteAppGroup extends Rpc
938
{
939
}
940
941
/**
942
 * @method string getNamespaceSource()
943
 * @method $this withNamespaceSource($value)
944
 * @method string getGroupId()
945
 * @method $this withGroupId($value)
946
 * @method string getJobId()
947
 * @method $this withJobId($value)
948
 * @method string getNamespace()
949
 * @method $this withNamespace($value)
950
 */
951
class DeleteJob extends Rpc
952
{
953
954
    /** @var string */
955
    public $method = 'GET';
956
}
957
958
/**
959
 * @method string getGroupId()
960
 * @method $this withGroupId($value)
961
 * @method string getJobId()
962
 * @method $this withJobId($value)
963
 * @method string getNamespace()
964
 * @method $this withNamespace($value)
965
 * @method string getStrategyId()
966
 * @method $this withStrategyId($value)
967
 */
968
class DeleteRouteStrategy extends Rpc
969
{
970
}
971
972
/**
973
 * @method string getNamespaceSource()
974
 * @method $this withNamespaceSource($value)
975
 * @method string getGroupId()
976
 * @method $this withGroupId($value)
977
 * @method string getNamespace()
978
 * @method $this withNamespace($value)
979
 * @method string getWorkflowId()
980
 * @method $this withWorkflowId($value)
981
 */
982
class DeleteWorkflow extends Rpc
983
{
984
985
    /** @var string */
986
    public $scheme = 'https';
987
988
    /** @var string */
989
    public $method = 'GET';
990
}
991
992
class DescribeRegions extends Rpc
993
{
994
}
995
996
/**
997
 * @method string getNamespaceSource()
998
 * @method $this withNamespaceSource($value)
999
 * @method string getTransferable()
1000
 * @method $this withTransferable($value)
1001
 * @method string getDesignateType()
1002
 * @method $this withDesignateType($value)
1003
 * @method string getJobId()
1004
 * @method $this withJobId($value)
1005
 * @method string getWorkers()
1006
 * @method $this withWorkers($value)
1007
 * @method string getGroupId()
1008
 * @method $this withGroupId($value)
1009
 * @method string getLabels()
1010
 * @method $this withLabels($value)
1011
 * @method string getNamespace()
1012
 * @method $this withNamespace($value)
1013
 */
1014
class DesignateWorkers extends Rpc
1015
{
1016
1017
    /** @var string */
1018
    public $method = 'GET';
1019
}
1020
1021
/**
1022
 * @method string getNamespaceSource()
1023
 * @method $this withNamespaceSource($value)
1024
 * @method string getGroupId()
1025
 * @method $this withGroupId($value)
1026
 * @method string getJobId()
1027
 * @method $this withJobId($value)
1028
 * @method string getNamespace()
1029
 * @method $this withNamespace($value)
1030
 */
1031
class DisableJob extends Rpc
1032
{
1033
1034
    /** @var string */
1035
    public $method = 'GET';
1036
}
1037
1038
/**
1039
 * @method string getNamespaceSource()
1040
 * @method $this withNamespaceSource($value)
1041
 * @method string getGroupId()
1042
 * @method $this withGroupId($value)
1043
 * @method string getNamespace()
1044
 * @method $this withNamespace($value)
1045
 * @method string getWorkflowId()
1046
 * @method $this withWorkflowId($value)
1047
 */
1048
class DisableWorkflow extends Rpc
1049
{
1050
1051
    /** @var string */
1052
    public $scheme = 'https';
1053
1054
    /** @var string */
1055
    public $method = 'GET';
1056
}
1057
1058
/**
1059
 * @method string getNamespaceSource()
1060
 * @method $this withNamespaceSource($value)
1061
 * @method string getGroupId()
1062
 * @method $this withGroupId($value)
1063
 * @method string getJobId()
1064
 * @method $this withJobId($value)
1065
 * @method string getNamespace()
1066
 * @method $this withNamespace($value)
1067
 */
1068
class EnableJob extends Rpc
1069
{
1070
1071
    /** @var string */
1072
    public $method = 'GET';
1073
}
1074
1075
/**
1076
 * @method string getNamespaceSource()
1077
 * @method $this withNamespaceSource($value)
1078
 * @method string getGroupId()
1079
 * @method $this withGroupId($value)
1080
 * @method string getNamespace()
1081
 * @method $this withNamespace($value)
1082
 * @method string getWorkflowId()
1083
 * @method $this withWorkflowId($value)
1084
 */
1085
class EnableWorkflow extends Rpc
1086
{
1087
1088
    /** @var string */
1089
    public $scheme = 'https';
1090
1091
    /** @var string */
1092
    public $method = 'GET';
1093
}
1094
1095
/**
1096
 * @method string getNamespaceSource()
1097
 * @method $this withNamespaceSource($value)
1098
 * @method string getCheckJobStatus()
1099
 * @method $this withCheckJobStatus($value)
1100
 * @method string getDesignateType()
1101
 * @method $this withDesignateType($value)
1102
 * @method string getJobId()
1103
 * @method $this withJobId($value)
1104
 * @method string getWorker()
1105
 * @method $this withWorker($value)
1106
 * @method string getInstanceParameters()
1107
 * @method $this withInstanceParameters($value)
1108
 * @method string getGroupId()
1109
 * @method $this withGroupId($value)
1110
 * @method string getLabel()
1111
 * @method $this withLabel($value)
1112
 * @method string getNamespace()
1113
 * @method $this withNamespace($value)
1114
 */
1115
class ExecuteJob extends Rpc
1116
{
1117
1118
    /** @var string */
1119
    public $method = 'GET';
1120
}
1121
1122
/**
1123
 * @method string getNamespaceSource()
1124
 * @method $this withNamespaceSource($value)
1125
 * @method string getGroupId()
1126
 * @method $this withGroupId($value)
1127
 * @method string getNamespace()
1128
 * @method $this withNamespace($value)
1129
 * @method string getWorkflowId()
1130
 * @method $this withWorkflowId($value)
1131
 * @method string getInstanceParameters()
1132
 * @method $this withInstanceParameters($value)
1133
 */
1134
class ExecuteWorkflow extends Rpc
1135
{
1136
1137
    /** @var string */
1138
    public $scheme = 'https';
1139
1140
    /** @var string */
1141
    public $method = 'GET';
1142
}
1143
1144
/**
1145
 * @method string getGroupId()
1146
 * @method $this withGroupId($value)
1147
 * @method string getNamespace()
1148
 * @method $this withNamespace($value)
1149
 */
1150
class GetAppGroup extends Rpc
1151
{
1152
}
1153
1154
/**
1155
 * @method string getNamespaceSource()
1156
 * @method $this withNamespaceSource($value)
1157
 * @method string getGroupId()
1158
 * @method $this withGroupId($value)
1159
 * @method string getJobId()
1160
 * @method $this withJobId($value)
1161
 * @method string getNamespace()
1162
 * @method $this withNamespace($value)
1163
 * @method string getJobName()
1164
 * @method $this withJobName($value)
1165
 */
1166
class GetJobInfo extends Rpc
1167
{
1168
1169
    /** @var string */
1170
    public $method = 'GET';
1171
}
1172
1173
/**
1174
 * @method string getNamespaceSource()
1175
 * @method $this withNamespaceSource($value)
1176
 * @method string getGroupId()
1177
 * @method $this withGroupId($value)
1178
 * @method string getJobId()
1179
 * @method $this withJobId($value)
1180
 * @method string getNamespace()
1181
 * @method $this withNamespace($value)
1182
 * @method string getJobInstanceId()
1183
 * @method $this withJobInstanceId($value)
1184
 */
1185
class GetJobInstance extends Rpc
1186
{
1187
1188
    /** @var string */
1189
    public $scheme = 'https';
1190
1191
    /** @var string */
1192
    public $method = 'GET';
1193
}
1194
1195
/**
1196
 * @method string getNamespaceSource()
1197
 * @method $this withNamespaceSource($value)
1198
 * @method string getGroupId()
1199
 * @method $this withGroupId($value)
1200
 * @method string getStartTimestamp()
1201
 * @method $this withStartTimestamp($value)
1202
 * @method string getEndTimestamp()
1203
 * @method $this withEndTimestamp($value)
1204
 * @method string getJobId()
1205
 * @method $this withJobId($value)
1206
 * @method string getNamespace()
1207
 * @method $this withNamespace($value)
1208
 * @method string getStatus()
1209
 * @method $this withStatus($value)
1210
 */
1211
class GetJobInstanceList extends Rpc
1212
{
1213
1214
    /** @var string */
1215
    public $method = 'GET';
1216
}
1217
1218
/**
1219
 * @method string getNamespaceSource()
1220
 * @method $this withNamespaceSource($value)
1221
 * @method string getLine()
1222
 * @method $this withLine($value)
1223
 * @method string getStartTimestamp()
1224
 * @method $this withStartTimestamp($value)
1225
 * @method string getEndTimestamp()
1226
 * @method $this withEndTimestamp($value)
1227
 * @method string getJobId()
1228
 * @method $this withJobId($value)
1229
 * @method string getKeyword()
1230
 * @method $this withKeyword($value)
1231
 * @method string getOffset()
1232
 * @method $this withOffset($value)
1233
 * @method string getGroupId()
1234
 * @method $this withGroupId($value)
1235
 * @method string getReverse()
1236
 * @method $this withReverse($value)
1237
 * @method string getNamespace()
1238
 * @method $this withNamespace($value)
1239
 * @method string getJobInstanceId()
1240
 * @method $this withJobInstanceId($value)
1241
 */
1242
class GetLog extends Rpc
1243
{
1244
1245
    /** @var string */
1246
    public $method = 'GET';
1247
}
1248
1249
/**
1250
 * @method string getMetricType()
1251
 * @method $this withMetricType($value)
1252
 * @method string getNamespaceSource()
1253
 * @method $this withNamespaceSource($value)
1254
 * @method string getGroupId()
1255
 * @method $this withGroupId($value)
1256
 * @method string getEndTime()
1257
 * @method $this withEndTime($value)
1258
 * @method string getStartTime()
1259
 * @method $this withStartTime($value)
1260
 * @method string getOperate()
1261
 * @method $this withOperate($value)
1262
 * @method string getNamespace()
1263
 * @method $this withNamespace($value)
1264
 */
1265
class GetOverview extends Rpc
1266
{
1267
}
1268
1269
/**
1270
 * @method string getNamespaceSource()
1271
 * @method $this withNamespaceSource($value)
1272
 * @method string getGroupId()
1273
 * @method $this withGroupId($value)
1274
 * @method string getNamespace()
1275
 * @method $this withNamespace($value)
1276
 */
1277
class GetWorkerList extends Rpc
1278
{
1279
1280
    /** @var string */
1281
    public $method = 'GET';
1282
}
1283
1284
/**
1285
 * @method string getNamespaceSource()
1286
 * @method $this withNamespaceSource($value)
1287
 * @method string getGroupId()
1288
 * @method $this withGroupId($value)
1289
 * @method string getNamespace()
1290
 * @method $this withNamespace($value)
1291
 * @method string getWorkflowId()
1292
 * @method $this withWorkflowId($value)
1293
 */
1294
class GetWorkFlow extends Rpc
1295
{
1296
1297
    /** @var string */
1298
    public $method = 'GET';
1299
}
1300
1301
/**
1302
 * @method string getNamespaceSource()
1303
 * @method $this withNamespaceSource($value)
1304
 * @method string getGroupId()
1305
 * @method $this withGroupId($value)
1306
 * @method string getWfInstanceId()
1307
 * @method $this withWfInstanceId($value)
1308
 * @method string getNamespace()
1309
 * @method $this withNamespace($value)
1310
 * @method string getWorkflowId()
1311
 * @method $this withWorkflowId($value)
1312
 */
1313
class GetWorkflowInstance extends Rpc
1314
{
1315
1316
    /** @var string */
1317
    public $method = 'GET';
1318
}
1319
1320
/**
1321
 * @method string getNamespaceSource()
1322
 * @method $this withNamespaceSource($value)
1323
 * @method string getGroupId()
1324
 * @method $this withGroupId($value)
1325
 * @method string getUserId()
1326
 * @method $this withUserId($value)
1327
 * @method string getGrantOption()
1328
 * @method $this withGrantOption($value)
1329
 * @method string getNamespace()
1330
 * @method $this withNamespace($value)
1331
 * @method string getUserName()
1332
 * @method $this withUserName($value)
1333
 */
1334
class GrantPermission extends Rpc
1335
{
1336
}
1337
1338
/**
1339
 * @method string getNamespaceSource()
1340
 * @method $this withNamespaceSource($value)
1341
 * @method string getAppGroupName()
1342
 * @method $this withAppGroupName($value)
1343
 * @method string getNamespace()
1344
 * @method $this withNamespace($value)
1345
 */
1346
class ListGroups extends Rpc
1347
{
1348
}
1349
1350
/**
1351
 * @method string getNamespaceSource()
1352
 * @method $this withNamespaceSource($value)
1353
 * @method string getGroupId()
1354
 * @method $this withGroupId($value)
1355
 * @method string getNamespace()
1356
 * @method $this withNamespace($value)
1357
 * @method string getJobName()
1358
 * @method $this withJobName($value)
1359
 * @method string getStatus()
1360
 * @method $this withStatus($value)
1361
 */
1362
class ListJobs extends Rpc
1363
{
1364
1365
    /** @var string */
1366
    public $method = 'GET';
1367
}
1368
1369
/**
1370
 * @method string getNamespaceName()
1371
 * @method $this withNamespaceName($value)
1372
 * @method string getNamespace()
1373
 * @method $this withNamespace($value)
1374
 */
1375
class ListNamespaces extends Rpc
1376
{
1377
}
1378
1379
/**
1380
 * @method string getNamespaceSource()
1381
 * @method $this withNamespaceSource($value)
1382
 * @method string getGroupId()
1383
 * @method $this withGroupId($value)
1384
 * @method string getNamespace()
1385
 * @method $this withNamespace($value)
1386
 * @method string getWorkflowId()
1387
 * @method $this withWorkflowId($value)
1388
 */
1389
class ListWorkflowInstance extends Rpc
1390
{
1391
1392
    /** @var string */
1393
    public $method = 'GET';
1394
}
1395
1396
/**
1397
 * @method string getNamespaceSource()
1398
 * @method string getDataTime()
1399
 * @method string getGroupId()
1400
 * @method string getStartDate()
1401
 * @method string getJobId()
1402
 * @method string getEndDate()
1403
 * @method string getNamespace()
1404
 */
1405
class RerunJob extends Rpc
1406
{
1407
1408
    /**
1409
     * @param string $value
1410
     *
1411
     * @return $this
1412
     */
1413
    public function withNamespaceSource($value)
1414
    {
1415
        $this->data['NamespaceSource'] = $value;
1416
        $this->options['form_params']['NamespaceSource'] = $value;
1417
1418
        return $this;
1419
    }
1420
1421
    /**
1422
     * @param string $value
1423
     *
1424
     * @return $this
1425
     */
1426
    public function withDataTime($value)
1427
    {
1428
        $this->data['DataTime'] = $value;
1429
        $this->options['form_params']['DataTime'] = $value;
1430
1431
        return $this;
1432
    }
1433
1434
    /**
1435
     * @param string $value
1436
     *
1437
     * @return $this
1438
     */
1439
    public function withGroupId($value)
1440
    {
1441
        $this->data['GroupId'] = $value;
1442
        $this->options['form_params']['GroupId'] = $value;
1443
1444
        return $this;
1445
    }
1446
1447
    /**
1448
     * @param string $value
1449
     *
1450
     * @return $this
1451
     */
1452
    public function withStartDate($value)
1453
    {
1454
        $this->data['StartDate'] = $value;
1455
        $this->options['form_params']['StartDate'] = $value;
1456
1457
        return $this;
1458
    }
1459
1460
    /**
1461
     * @param string $value
1462
     *
1463
     * @return $this
1464
     */
1465
    public function withJobId($value)
1466
    {
1467
        $this->data['JobId'] = $value;
1468
        $this->options['form_params']['JobId'] = $value;
1469
1470
        return $this;
1471
    }
1472
1473
    /**
1474
     * @param string $value
1475
     *
1476
     * @return $this
1477
     */
1478
    public function withEndDate($value)
1479
    {
1480
        $this->data['EndDate'] = $value;
1481
        $this->options['form_params']['EndDate'] = $value;
1482
1483
        return $this;
1484
    }
1485
1486
    /**
1487
     * @param string $value
1488
     *
1489
     * @return $this
1490
     */
1491
    public function withNamespace($value)
1492
    {
1493
        $this->data['Namespace'] = $value;
1494
        $this->options['form_params']['Namespace'] = $value;
1495
1496
        return $this;
1497
    }
1498
}
1499
1500
/**
1501
 * @method string getNamespaceSource()
1502
 * @method $this withNamespaceSource($value)
1503
 * @method string getGroupId()
1504
 * @method $this withGroupId($value)
1505
 * @method string getJobId()
1506
 * @method $this withJobId($value)
1507
 * @method string getNamespace()
1508
 * @method $this withNamespace($value)
1509
 * @method string getJobInstanceId()
1510
 * @method $this withJobInstanceId($value)
1511
 */
1512
class RetryJobInstance extends Rpc
1513
{
1514
}
1515
1516
/**
1517
 * @method string getNamespaceSource()
1518
 * @method $this withNamespaceSource($value)
1519
 * @method string getGroupId()
1520
 * @method $this withGroupId($value)
1521
 * @method string getUserId()
1522
 * @method $this withUserId($value)
1523
 * @method string getNamespace()
1524
 * @method $this withNamespace($value)
1525
 */
1526
class RevokePermission extends Rpc
1527
{
1528
}
1529
1530
/**
1531
 * @method string getNamespaceSource()
1532
 * @method $this withNamespaceSource($value)
1533
 * @method string getGroupId()
1534
 * @method $this withGroupId($value)
1535
 * @method string getJobId()
1536
 * @method $this withJobId($value)
1537
 * @method string getNamespace()
1538
 * @method $this withNamespace($value)
1539
 * @method string getJobInstanceId()
1540
 * @method $this withJobInstanceId($value)
1541
 */
1542
class SetJobInstanceSuccess extends Rpc
1543
{
1544
}
1545
1546
/**
1547
 * @method string getNamespaceSource()
1548
 * @method $this withNamespaceSource($value)
1549
 * @method string getGroupId()
1550
 * @method $this withGroupId($value)
1551
 * @method string getWfInstanceId()
1552
 * @method $this withWfInstanceId($value)
1553
 * @method string getNamespace()
1554
 * @method $this withNamespace($value)
1555
 * @method string getWorkflowId()
1556
 * @method $this withWorkflowId($value)
1557
 */
1558
class SetWfInstanceSuccess extends Rpc
1559
{
1560
}
1561
1562
/**
1563
 * @method string getNamespaceSource()
1564
 * @method $this withNamespaceSource($value)
1565
 * @method string getGroupId()
1566
 * @method $this withGroupId($value)
1567
 * @method string getJobId()
1568
 * @method $this withJobId($value)
1569
 * @method string getInstanceId()
1570
 * @method $this withInstanceId($value)
1571
 * @method string getNamespace()
1572
 * @method $this withNamespace($value)
1573
 */
1574
class StopInstance extends Rpc
1575
{
1576
1577
    /** @var string */
1578
    public $scheme = 'https';
1579
1580
    /** @var string */
1581
    public $method = 'GET';
1582
}
1583
1584
/**
1585
 * @method string getDescription()
1586
 * @method $this withDescription($value)
1587
 * @method string getAlarmJson()
1588
 * @method $this withAlarmJson($value)
1589
 * @method string getAppGroupId()
1590
 * @method $this withAppGroupId($value)
1591
 * @method string getMaxJobs()
1592
 * @method $this withMaxJobs($value)
1593
 * @method string getMetricsThresholdJson()
1594
 * @method $this withMetricsThresholdJson($value)
1595
 * @method string getGroupId()
1596
 * @method $this withGroupId($value)
1597
 * @method string getNamespace()
1598
 * @method $this withNamespace($value)
1599
 * @method string getXattrs()
1600
 * @method $this withXattrs($value)
1601
 * @method string getMaxConcurrency()
1602
 * @method $this withMaxConcurrency($value)
1603
 */
1604
class UpdateAppGroup extends Rpc
1605
{
1606
}
1607
1608
/**
1609
 * @method string getAttemptInterval()
1610
 * @method string getFailTimes()
1611
 * @method string getJobId()
1612
 * @method string getConsumerSize()
1613
 * @method string getJarUrl()
1614
 * @method string getGroupId()
1615
 * @method string getTaskMaxAttempt()
1616
 * @method string getDataOffset()
1617
 * @method string getDispatcherSize()
1618
 * @method string getTaskAttemptInterval()
1619
 * @method string getExecuteMode()
1620
 * @method string getTimeExpression()
1621
 * @method string getTimeoutEnable()
1622
 * @method array getContactInfo()
1623
 * @method string getName()
1624
 * @method string getTimeType()
1625
 * @method string getParameters()
1626
 * @method string getTemplate()
1627
 * @method string getNamespaceSource()
1628
 * @method string getTimezone()
1629
 * @method string getDescription()
1630
 * @method string getContent()
1631
 * @method string getTimeout()
1632
 * @method string getTimeoutKillEnable()
1633
 * @method string getPageSize()
1634
 * @method string getTaskDispatchMode()
1635
 * @method string getCalendar()
1636
 * @method string getFailEnable()
1637
 * @method string getSendChannel()
1638
 * @method string getMaxAttempt()
1639
 * @method string getMissWorkerEnable()
1640
 * @method string getSuccessNoticeEnable()
1641
 * @method string getQueueSize()
1642
 * @method string getClassName()
1643
 * @method string getNamespace()
1644
 * @method string getXAttrs()
1645
 * @method string getMaxConcurrency()
1646
 */
1647
class UpdateJob extends Rpc
1648
{
1649
1650
    /**
1651
     * @param string $value
1652
     *
1653
     * @return $this
1654
     */
1655
    public function withAttemptInterval($value)
1656
    {
1657
        $this->data['AttemptInterval'] = $value;
1658
        $this->options['form_params']['AttemptInterval'] = $value;
1659
1660
        return $this;
1661
    }
1662
1663
    /**
1664
     * @param string $value
1665
     *
1666
     * @return $this
1667
     */
1668
    public function withFailTimes($value)
1669
    {
1670
        $this->data['FailTimes'] = $value;
1671
        $this->options['form_params']['FailTimes'] = $value;
1672
1673
        return $this;
1674
    }
1675
1676
    /**
1677
     * @param string $value
1678
     *
1679
     * @return $this
1680
     */
1681
    public function withJobId($value)
1682
    {
1683
        $this->data['JobId'] = $value;
1684
        $this->options['form_params']['JobId'] = $value;
1685
1686
        return $this;
1687
    }
1688
1689
    /**
1690
     * @param string $value
1691
     *
1692
     * @return $this
1693
     */
1694
    public function withConsumerSize($value)
1695
    {
1696
        $this->data['ConsumerSize'] = $value;
1697
        $this->options['form_params']['ConsumerSize'] = $value;
1698
1699
        return $this;
1700
    }
1701
1702
    /**
1703
     * @param string $value
1704
     *
1705
     * @return $this
1706
     */
1707
    public function withJarUrl($value)
1708
    {
1709
        $this->data['JarUrl'] = $value;
1710
        $this->options['form_params']['JarUrl'] = $value;
1711
1712
        return $this;
1713
    }
1714
1715
    /**
1716
     * @param string $value
1717
     *
1718
     * @return $this
1719
     */
1720
    public function withGroupId($value)
1721
    {
1722
        $this->data['GroupId'] = $value;
1723
        $this->options['form_params']['GroupId'] = $value;
1724
1725
        return $this;
1726
    }
1727
1728
    /**
1729
     * @param string $value
1730
     *
1731
     * @return $this
1732
     */
1733
    public function withTaskMaxAttempt($value)
1734
    {
1735
        $this->data['TaskMaxAttempt'] = $value;
1736
        $this->options['form_params']['TaskMaxAttempt'] = $value;
1737
1738
        return $this;
1739
    }
1740
1741
    /**
1742
     * @param string $value
1743
     *
1744
     * @return $this
1745
     */
1746
    public function withDataOffset($value)
1747
    {
1748
        $this->data['DataOffset'] = $value;
1749
        $this->options['form_params']['DataOffset'] = $value;
1750
1751
        return $this;
1752
    }
1753
1754
    /**
1755
     * @param string $value
1756
     *
1757
     * @return $this
1758
     */
1759
    public function withDispatcherSize($value)
1760
    {
1761
        $this->data['DispatcherSize'] = $value;
1762
        $this->options['form_params']['DispatcherSize'] = $value;
1763
1764
        return $this;
1765
    }
1766
1767
    /**
1768
     * @param string $value
1769
     *
1770
     * @return $this
1771
     */
1772
    public function withTaskAttemptInterval($value)
1773
    {
1774
        $this->data['TaskAttemptInterval'] = $value;
1775
        $this->options['form_params']['TaskAttemptInterval'] = $value;
1776
1777
        return $this;
1778
    }
1779
1780
    /**
1781
     * @param string $value
1782
     *
1783
     * @return $this
1784
     */
1785
    public function withExecuteMode($value)
1786
    {
1787
        $this->data['ExecuteMode'] = $value;
1788
        $this->options['form_params']['ExecuteMode'] = $value;
1789
1790
        return $this;
1791
    }
1792
1793
    /**
1794
     * @param string $value
1795
     *
1796
     * @return $this
1797
     */
1798
    public function withTimeExpression($value)
1799
    {
1800
        $this->data['TimeExpression'] = $value;
1801
        $this->options['form_params']['TimeExpression'] = $value;
1802
1803
        return $this;
1804
    }
1805
1806
    /**
1807
     * @param string $value
1808
     *
1809
     * @return $this
1810
     */
1811
    public function withTimeoutEnable($value)
1812
    {
1813
        $this->data['TimeoutEnable'] = $value;
1814
        $this->options['form_params']['TimeoutEnable'] = $value;
1815
1816
        return $this;
1817
    }
1818
1819
    /**
1820
     * @param array $contactInfo
1821
     *
1822
     * @return $this
1823
     */
1824
	public function withContactInfo(array $contactInfo)
1825
	{
1826
	    $this->data['ContactInfo'] = $contactInfo;
1827
		foreach ($contactInfo as $depth1 => $depth1Value) {
1828
			if(isset($depth1Value['Ding'])){
1829
				$this->options['form_params']['ContactInfo.' . ($depth1 + 1) . '.Ding'] = $depth1Value['Ding'];
1830
			}
1831
			if(isset($depth1Value['UserPhone'])){
1832
				$this->options['form_params']['ContactInfo.' . ($depth1 + 1) . '.UserPhone'] = $depth1Value['UserPhone'];
1833
			}
1834
			if(isset($depth1Value['UserMail'])){
1835
				$this->options['form_params']['ContactInfo.' . ($depth1 + 1) . '.UserMail'] = $depth1Value['UserMail'];
1836
			}
1837
			if(isset($depth1Value['UserName'])){
1838
				$this->options['form_params']['ContactInfo.' . ($depth1 + 1) . '.UserName'] = $depth1Value['UserName'];
1839
			}
1840
		}
1841
1842
		return $this;
1843
    }
1844
1845
    /**
1846
     * @param string $value
1847
     *
1848
     * @return $this
1849
     */
1850
    public function withName($value)
1851
    {
1852
        $this->data['Name'] = $value;
1853
        $this->options['form_params']['Name'] = $value;
1854
1855
        return $this;
1856
    }
1857
1858
    /**
1859
     * @param string $value
1860
     *
1861
     * @return $this
1862
     */
1863
    public function withTimeType($value)
1864
    {
1865
        $this->data['TimeType'] = $value;
1866
        $this->options['form_params']['TimeType'] = $value;
1867
1868
        return $this;
1869
    }
1870
1871
    /**
1872
     * @param string $value
1873
     *
1874
     * @return $this
1875
     */
1876
    public function withParameters($value)
1877
    {
1878
        $this->data['Parameters'] = $value;
1879
        $this->options['form_params']['Parameters'] = $value;
1880
1881
        return $this;
1882
    }
1883
1884
    /**
1885
     * @param string $value
1886
     *
1887
     * @return $this
1888
     */
1889
    public function withTemplate($value)
1890
    {
1891
        $this->data['Template'] = $value;
1892
        $this->options['form_params']['Template'] = $value;
1893
1894
        return $this;
1895
    }
1896
1897
    /**
1898
     * @param string $value
1899
     *
1900
     * @return $this
1901
     */
1902
    public function withNamespaceSource($value)
1903
    {
1904
        $this->data['NamespaceSource'] = $value;
1905
        $this->options['form_params']['NamespaceSource'] = $value;
1906
1907
        return $this;
1908
    }
1909
1910
    /**
1911
     * @param string $value
1912
     *
1913
     * @return $this
1914
     */
1915
    public function withTimezone($value)
1916
    {
1917
        $this->data['Timezone'] = $value;
1918
        $this->options['form_params']['Timezone'] = $value;
1919
1920
        return $this;
1921
    }
1922
1923
    /**
1924
     * @param string $value
1925
     *
1926
     * @return $this
1927
     */
1928
    public function withDescription($value)
1929
    {
1930
        $this->data['Description'] = $value;
1931
        $this->options['form_params']['Description'] = $value;
1932
1933
        return $this;
1934
    }
1935
1936
    /**
1937
     * @param string $value
1938
     *
1939
     * @return $this
1940
     */
1941
    public function withContent($value)
1942
    {
1943
        $this->data['Content'] = $value;
1944
        $this->options['form_params']['Content'] = $value;
1945
1946
        return $this;
1947
    }
1948
1949
    /**
1950
     * @param string $value
1951
     *
1952
     * @return $this
1953
     */
1954
    public function withTimeout($value)
1955
    {
1956
        $this->data['Timeout'] = $value;
1957
        $this->options['form_params']['Timeout'] = $value;
1958
1959
        return $this;
1960
    }
1961
1962
    /**
1963
     * @param string $value
1964
     *
1965
     * @return $this
1966
     */
1967
    public function withTimeoutKillEnable($value)
1968
    {
1969
        $this->data['TimeoutKillEnable'] = $value;
1970
        $this->options['form_params']['TimeoutKillEnable'] = $value;
1971
1972
        return $this;
1973
    }
1974
1975
    /**
1976
     * @param string $value
1977
     *
1978
     * @return $this
1979
     */
1980
    public function withPageSize($value)
1981
    {
1982
        $this->data['PageSize'] = $value;
1983
        $this->options['form_params']['PageSize'] = $value;
1984
1985
        return $this;
1986
    }
1987
1988
    /**
1989
     * @param string $value
1990
     *
1991
     * @return $this
1992
     */
1993
    public function withTaskDispatchMode($value)
1994
    {
1995
        $this->data['TaskDispatchMode'] = $value;
1996
        $this->options['form_params']['TaskDispatchMode'] = $value;
1997
1998
        return $this;
1999
    }
2000
2001
    /**
2002
     * @param string $value
2003
     *
2004
     * @return $this
2005
     */
2006
    public function withCalendar($value)
2007
    {
2008
        $this->data['Calendar'] = $value;
2009
        $this->options['form_params']['Calendar'] = $value;
2010
2011
        return $this;
2012
    }
2013
2014
    /**
2015
     * @param string $value
2016
     *
2017
     * @return $this
2018
     */
2019
    public function withFailEnable($value)
2020
    {
2021
        $this->data['FailEnable'] = $value;
2022
        $this->options['form_params']['FailEnable'] = $value;
2023
2024
        return $this;
2025
    }
2026
2027
    /**
2028
     * @param string $value
2029
     *
2030
     * @return $this
2031
     */
2032
    public function withSendChannel($value)
2033
    {
2034
        $this->data['SendChannel'] = $value;
2035
        $this->options['form_params']['SendChannel'] = $value;
2036
2037
        return $this;
2038
    }
2039
2040
    /**
2041
     * @param string $value
2042
     *
2043
     * @return $this
2044
     */
2045
    public function withMaxAttempt($value)
2046
    {
2047
        $this->data['MaxAttempt'] = $value;
2048
        $this->options['form_params']['MaxAttempt'] = $value;
2049
2050
        return $this;
2051
    }
2052
2053
    /**
2054
     * @param string $value
2055
     *
2056
     * @return $this
2057
     */
2058
    public function withMissWorkerEnable($value)
2059
    {
2060
        $this->data['MissWorkerEnable'] = $value;
2061
        $this->options['form_params']['MissWorkerEnable'] = $value;
2062
2063
        return $this;
2064
    }
2065
2066
    /**
2067
     * @param string $value
2068
     *
2069
     * @return $this
2070
     */
2071
    public function withSuccessNoticeEnable($value)
2072
    {
2073
        $this->data['SuccessNoticeEnable'] = $value;
2074
        $this->options['form_params']['SuccessNoticeEnable'] = $value;
2075
2076
        return $this;
2077
    }
2078
2079
    /**
2080
     * @param string $value
2081
     *
2082
     * @return $this
2083
     */
2084
    public function withQueueSize($value)
2085
    {
2086
        $this->data['QueueSize'] = $value;
2087
        $this->options['form_params']['QueueSize'] = $value;
2088
2089
        return $this;
2090
    }
2091
2092
    /**
2093
     * @param string $value
2094
     *
2095
     * @return $this
2096
     */
2097
    public function withClassName($value)
2098
    {
2099
        $this->data['ClassName'] = $value;
2100
        $this->options['form_params']['ClassName'] = $value;
2101
2102
        return $this;
2103
    }
2104
2105
    /**
2106
     * @param string $value
2107
     *
2108
     * @return $this
2109
     */
2110
    public function withNamespace($value)
2111
    {
2112
        $this->data['Namespace'] = $value;
2113
        $this->options['form_params']['Namespace'] = $value;
2114
2115
        return $this;
2116
    }
2117
2118
    /**
2119
     * @param string $value
2120
     *
2121
     * @return $this
2122
     */
2123
    public function withXAttrs($value)
2124
    {
2125
        $this->data['XAttrs'] = $value;
2126
        $this->options['form_params']['XAttrs'] = $value;
2127
2128
        return $this;
2129
    }
2130
2131
    /**
2132
     * @param string $value
2133
     *
2134
     * @return $this
2135
     */
2136
    public function withMaxConcurrency($value)
2137
    {
2138
        $this->data['MaxConcurrency'] = $value;
2139
        $this->options['form_params']['MaxConcurrency'] = $value;
2140
2141
        return $this;
2142
    }
2143
}
2144
2145
/**
2146
 * @method string getNamespaceSource()
2147
 * @method string getDescription()
2148
 * @method string getWorkflowId()
2149
 * @method string getGroupId()
2150
 * @method string getTimeExpression()
2151
 * @method string getNamespace()
2152
 * @method string getName()
2153
 * @method string getTimeType()
2154
 */
2155
class UpdateWorkflow extends Rpc
2156
{
2157
2158
    /**
2159
     * @param string $value
2160
     *
2161
     * @return $this
2162
     */
2163
    public function withNamespaceSource($value)
2164
    {
2165
        $this->data['NamespaceSource'] = $value;
2166
        $this->options['form_params']['NamespaceSource'] = $value;
2167
2168
        return $this;
2169
    }
2170
2171
    /**
2172
     * @param string $value
2173
     *
2174
     * @return $this
2175
     */
2176
    public function withDescription($value)
2177
    {
2178
        $this->data['Description'] = $value;
2179
        $this->options['form_params']['Description'] = $value;
2180
2181
        return $this;
2182
    }
2183
2184
    /**
2185
     * @param string $value
2186
     *
2187
     * @return $this
2188
     */
2189
    public function withWorkflowId($value)
2190
    {
2191
        $this->data['WorkflowId'] = $value;
2192
        $this->options['form_params']['WorkflowId'] = $value;
2193
2194
        return $this;
2195
    }
2196
2197
    /**
2198
     * @param string $value
2199
     *
2200
     * @return $this
2201
     */
2202
    public function withGroupId($value)
2203
    {
2204
        $this->data['GroupId'] = $value;
2205
        $this->options['form_params']['GroupId'] = $value;
2206
2207
        return $this;
2208
    }
2209
2210
    /**
2211
     * @param string $value
2212
     *
2213
     * @return $this
2214
     */
2215
    public function withTimeExpression($value)
2216
    {
2217
        $this->data['TimeExpression'] = $value;
2218
        $this->options['form_params']['TimeExpression'] = $value;
2219
2220
        return $this;
2221
    }
2222
2223
    /**
2224
     * @param string $value
2225
     *
2226
     * @return $this
2227
     */
2228
    public function withNamespace($value)
2229
    {
2230
        $this->data['Namespace'] = $value;
2231
        $this->options['form_params']['Namespace'] = $value;
2232
2233
        return $this;
2234
    }
2235
2236
    /**
2237
     * @param string $value
2238
     *
2239
     * @return $this
2240
     */
2241
    public function withName($value)
2242
    {
2243
        $this->data['Name'] = $value;
2244
        $this->options['form_params']['Name'] = $value;
2245
2246
        return $this;
2247
    }
2248
2249
    /**
2250
     * @param string $value
2251
     *
2252
     * @return $this
2253
     */
2254
    public function withTimeType($value)
2255
    {
2256
        $this->data['TimeType'] = $value;
2257
        $this->options['form_params']['TimeType'] = $value;
2258
2259
        return $this;
2260
    }
2261
}
2262
2263
/**
2264
 * @method string getDagJson()
2265
 * @method string getNamespaceSource()
2266
 * @method string getGroupId()
2267
 * @method string getNamespace()
2268
 * @method string getWorkflowId()
2269
 */
2270
class UpdateWorkflowDag extends Rpc
2271
{
2272
2273
    /**
2274
     * @param string $value
2275
     *
2276
     * @return $this
2277
     */
2278
    public function withDagJson($value)
2279
    {
2280
        $this->data['DagJson'] = $value;
2281
        $this->options['form_params']['DagJson'] = $value;
2282
2283
        return $this;
2284
    }
2285
2286
    /**
2287
     * @param string $value
2288
     *
2289
     * @return $this
2290
     */
2291
    public function withNamespaceSource($value)
2292
    {
2293
        $this->data['NamespaceSource'] = $value;
2294
        $this->options['form_params']['NamespaceSource'] = $value;
2295
2296
        return $this;
2297
    }
2298
2299
    /**
2300
     * @param string $value
2301
     *
2302
     * @return $this
2303
     */
2304
    public function withGroupId($value)
2305
    {
2306
        $this->data['GroupId'] = $value;
2307
        $this->options['form_params']['GroupId'] = $value;
2308
2309
        return $this;
2310
    }
2311
2312
    /**
2313
     * @param string $value
2314
     *
2315
     * @return $this
2316
     */
2317
    public function withNamespace($value)
2318
    {
2319
        $this->data['Namespace'] = $value;
2320
        $this->options['form_params']['Namespace'] = $value;
2321
2322
        return $this;
2323
    }
2324
2325
    /**
2326
     * @param string $value
2327
     *
2328
     * @return $this
2329
     */
2330
    public function withWorkflowId($value)
2331
    {
2332
        $this->data['WorkflowId'] = $value;
2333
        $this->options['form_params']['WorkflowId'] = $value;
2334
2335
        return $this;
2336
    }
2337
}
2338