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 ( 16e332...41f8e2 )
by
unknown
07:49
created

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