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 ( 163ef4...6328ab )
by
unknown
10:58
created

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