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 ( e1ec16...bc2f45 )
by
unknown
04:41
created

UpdateSchedule::withCronExpression()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Fnf\V20190315;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CreateFlow createFlow(array $options = [])
9
 * @method CreateSchedule createSchedule(array $options = [])
10
 * @method DeleteFlow deleteFlow(array $options = [])
11
 * @method DeleteSchedule deleteSchedule(array $options = [])
12
 * @method DescribeExecution describeExecution(array $options = [])
13
 * @method DescribeFlow describeFlow(array $options = [])
14
 * @method DescribeSchedule describeSchedule(array $options = [])
15
 * @method GetExecutionHistory getExecutionHistory(array $options = [])
16
 * @method ListExecutions listExecutions(array $options = [])
17
 * @method ListFlows listFlows(array $options = [])
18
 * @method ListSchedules listSchedules(array $options = [])
19
 * @method ReportTaskFailed reportTaskFailed(array $options = [])
20
 * @method ReportTaskSucceeded reportTaskSucceeded(array $options = [])
21
 * @method StartExecution startExecution(array $options = [])
22
 * @method StopExecution stopExecution(array $options = [])
23
 * @method UpdateFlow updateFlow(array $options = [])
24
 * @method UpdateSchedule updateSchedule(array $options = [])
25
 */
26
class FnfApiResolver extends ApiResolver
27
{
28
}
29
30
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
31
{
32
    /** @var string */
33
    public $product = 'fnf';
34
35
    /** @var string */
36
    public $version = '2019-03-15';
37
}
38
39
/**
40
 * @method string getDescription()
41
 * @method string getType()
42
 * @method string getRequestId()
43
 * @method $this withRequestId($value)
44
 * @method string getRoleArn()
45
 * @method string getName()
46
 * @method string getDefinition()
47
 * @method string getExternalStorageLocation()
48
 */
49
class CreateFlow extends Rpc
50
{
51
52
    /** @var string */
53
    public $method = 'POST';
54
55
    /**
56
     * @param string $value
57
     *
58
     * @return $this
59
     */
60
    public function withDescription($value)
61
    {
62
        $this->data['Description'] = $value;
63
        $this->options['form_params']['Description'] = $value;
64
65
        return $this;
66
    }
67
68
    /**
69
     * @param string $value
70
     *
71
     * @return $this
72
     */
73
    public function withType($value)
74
    {
75
        $this->data['Type'] = $value;
76
        $this->options['form_params']['Type'] = $value;
77
78
        return $this;
79
    }
80
81
    /**
82
     * @param string $value
83
     *
84
     * @return $this
85
     */
86
    public function withRoleArn($value)
87
    {
88
        $this->data['RoleArn'] = $value;
89
        $this->options['form_params']['RoleArn'] = $value;
90
91
        return $this;
92
    }
93
94
    /**
95
     * @param string $value
96
     *
97
     * @return $this
98
     */
99
    public function withName($value)
100
    {
101
        $this->data['Name'] = $value;
102
        $this->options['form_params']['Name'] = $value;
103
104
        return $this;
105
    }
106
107
    /**
108
     * @param string $value
109
     *
110
     * @return $this
111
     */
112
    public function withDefinition($value)
113
    {
114
        $this->data['Definition'] = $value;
115
        $this->options['form_params']['Definition'] = $value;
116
117
        return $this;
118
    }
119
120
    /**
121
     * @param string $value
122
     *
123
     * @return $this
124
     */
125
    public function withExternalStorageLocation($value)
126
    {
127
        $this->data['ExternalStorageLocation'] = $value;
128
        $this->options['form_params']['ExternalStorageLocation'] = $value;
129
130
        return $this;
131
    }
132
}
133
134
/**
135
 * @method string getScheduleName()
136
 * @method string getCronExpression()
137
 * @method string getPayload()
138
 * @method string getRequestId()
139
 * @method $this withRequestId($value)
140
 * @method string getEnable()
141
 * @method string getDescription()
142
 * @method string getFlowName()
143
 */
144
class CreateSchedule extends Rpc
145
{
146
147
    /** @var string */
148
    public $method = 'POST';
149
150
    /**
151
     * @param string $value
152
     *
153
     * @return $this
154
     */
155
    public function withScheduleName($value)
156
    {
157
        $this->data['ScheduleName'] = $value;
158
        $this->options['form_params']['ScheduleName'] = $value;
159
160
        return $this;
161
    }
162
163
    /**
164
     * @param string $value
165
     *
166
     * @return $this
167
     */
168
    public function withCronExpression($value)
169
    {
170
        $this->data['CronExpression'] = $value;
171
        $this->options['form_params']['CronExpression'] = $value;
172
173
        return $this;
174
    }
175
176
    /**
177
     * @param string $value
178
     *
179
     * @return $this
180
     */
181
    public function withPayload($value)
182
    {
183
        $this->data['Payload'] = $value;
184
        $this->options['form_params']['Payload'] = $value;
185
186
        return $this;
187
    }
188
189
    /**
190
     * @param string $value
191
     *
192
     * @return $this
193
     */
194
    public function withEnable($value)
195
    {
196
        $this->data['Enable'] = $value;
197
        $this->options['form_params']['Enable'] = $value;
198
199
        return $this;
200
    }
201
202
    /**
203
     * @param string $value
204
     *
205
     * @return $this
206
     */
207
    public function withDescription($value)
208
    {
209
        $this->data['Description'] = $value;
210
        $this->options['form_params']['Description'] = $value;
211
212
        return $this;
213
    }
214
215
    /**
216
     * @param string $value
217
     *
218
     * @return $this
219
     */
220
    public function withFlowName($value)
221
    {
222
        $this->data['FlowName'] = $value;
223
        $this->options['form_params']['FlowName'] = $value;
224
225
        return $this;
226
    }
227
}
228
229
/**
230
 * @method string getRequestId()
231
 * @method $this withRequestId($value)
232
 * @method string getName()
233
 * @method $this withName($value)
234
 */
235
class DeleteFlow extends Rpc
236
{
237
}
238
239
/**
240
 * @method string getScheduleName()
241
 * @method $this withScheduleName($value)
242
 * @method string getRequestId()
243
 * @method $this withRequestId($value)
244
 * @method string getFlowName()
245
 * @method $this withFlowName($value)
246
 */
247
class DeleteSchedule extends Rpc
248
{
249
}
250
251
/**
252
 * @method string getExecutionName()
253
 * @method $this withExecutionName($value)
254
 * @method string getWaitTimeSeconds()
255
 * @method $this withWaitTimeSeconds($value)
256
 * @method string getRequestId()
257
 * @method $this withRequestId($value)
258
 * @method string getFlowName()
259
 * @method $this withFlowName($value)
260
 */
261
class DescribeExecution extends Rpc
262
{
263
}
264
265
/**
266
 * @method string getRequestId()
267
 * @method $this withRequestId($value)
268
 * @method string getName()
269
 * @method $this withName($value)
270
 */
271
class DescribeFlow extends Rpc
272
{
273
}
274
275
/**
276
 * @method string getScheduleName()
277
 * @method $this withScheduleName($value)
278
 * @method string getRequestId()
279
 * @method $this withRequestId($value)
280
 * @method string getFlowName()
281
 * @method $this withFlowName($value)
282
 */
283
class DescribeSchedule extends Rpc
284
{
285
}
286
287
/**
288
 * @method string getExecutionName()
289
 * @method $this withExecutionName($value)
290
 * @method string getNextToken()
291
 * @method $this withNextToken($value)
292
 * @method string getRequestId()
293
 * @method $this withRequestId($value)
294
 * @method string getLimit()
295
 * @method $this withLimit($value)
296
 * @method string getFlowName()
297
 * @method $this withFlowName($value)
298
 */
299
class GetExecutionHistory extends Rpc
300
{
301
}
302
303
/**
304
 * @method string getNextToken()
305
 * @method $this withNextToken($value)
306
 * @method string getRequestId()
307
 * @method $this withRequestId($value)
308
 * @method string getLimit()
309
 * @method $this withLimit($value)
310
 * @method string getFlowName()
311
 * @method $this withFlowName($value)
312
 * @method string getStatus()
313
 * @method $this withStatus($value)
314
 */
315
class ListExecutions extends Rpc
316
{
317
}
318
319
/**
320
 * @method string getNextToken()
321
 * @method $this withNextToken($value)
322
 * @method string getRequestId()
323
 * @method $this withRequestId($value)
324
 * @method string getLimit()
325
 * @method $this withLimit($value)
326
 */
327
class ListFlows extends Rpc
328
{
329
}
330
331
/**
332
 * @method string getNextToken()
333
 * @method $this withNextToken($value)
334
 * @method string getRequestId()
335
 * @method $this withRequestId($value)
336
 * @method string getLimit()
337
 * @method $this withLimit($value)
338
 * @method string getFlowName()
339
 * @method $this withFlowName($value)
340
 */
341
class ListSchedules extends Rpc
342
{
343
}
344
345
/**
346
 * @method string getCause()
347
 * @method string getError()
348
 * @method string getRequestId()
349
 * @method $this withRequestId($value)
350
 * @method string getTaskToken()
351
 * @method $this withTaskToken($value)
352
 */
353
class ReportTaskFailed extends Rpc
354
{
355
356
    /** @var string */
357
    public $method = 'POST';
358
359
    /**
360
     * @param string $value
361
     *
362
     * @return $this
363
     */
364
    public function withCause($value)
365
    {
366
        $this->data['Cause'] = $value;
367
        $this->options['form_params']['Cause'] = $value;
368
369
        return $this;
370
    }
371
372
    /**
373
     * @param string $value
374
     *
375
     * @return $this
376
     */
377
    public function withError($value)
378
    {
379
        $this->data['Error'] = $value;
380
        $this->options['form_params']['Error'] = $value;
381
382
        return $this;
383
    }
384
}
385
386
/**
387
 * @method string getOutput()
388
 * @method string getRequestId()
389
 * @method $this withRequestId($value)
390
 * @method string getTaskToken()
391
 * @method $this withTaskToken($value)
392
 */
393
class ReportTaskSucceeded extends Rpc
394
{
395
396
    /** @var string */
397
    public $method = 'POST';
398
399
    /**
400
     * @param string $value
401
     *
402
     * @return $this
403
     */
404
    public function withOutput($value)
405
    {
406
        $this->data['Output'] = $value;
407
        $this->options['form_params']['Output'] = $value;
408
409
        return $this;
410
    }
411
}
412
413
/**
414
 * @method string getCallbackFnFTaskToken()
415
 * @method string getExecutionName()
416
 * @method string getInput()
417
 * @method string getRequestId()
418
 * @method $this withRequestId($value)
419
 * @method string getFlowName()
420
 */
421
class StartExecution extends Rpc
422
{
423
424
    /** @var string */
425
    public $method = 'POST';
426
427
    /**
428
     * @param string $value
429
     *
430
     * @return $this
431
     */
432
    public function withCallbackFnFTaskToken($value)
433
    {
434
        $this->data['CallbackFnFTaskToken'] = $value;
435
        $this->options['form_params']['CallbackFnFTaskToken'] = $value;
436
437
        return $this;
438
    }
439
440
    /**
441
     * @param string $value
442
     *
443
     * @return $this
444
     */
445
    public function withExecutionName($value)
446
    {
447
        $this->data['ExecutionName'] = $value;
448
        $this->options['form_params']['ExecutionName'] = $value;
449
450
        return $this;
451
    }
452
453
    /**
454
     * @param string $value
455
     *
456
     * @return $this
457
     */
458
    public function withInput($value)
459
    {
460
        $this->data['Input'] = $value;
461
        $this->options['form_params']['Input'] = $value;
462
463
        return $this;
464
    }
465
466
    /**
467
     * @param string $value
468
     *
469
     * @return $this
470
     */
471
    public function withFlowName($value)
472
    {
473
        $this->data['FlowName'] = $value;
474
        $this->options['form_params']['FlowName'] = $value;
475
476
        return $this;
477
    }
478
}
479
480
/**
481
 * @method string getExecutionName()
482
 * @method string getCause()
483
 * @method string getError()
484
 * @method string getRequestId()
485
 * @method $this withRequestId($value)
486
 * @method string getFlowName()
487
 */
488
class StopExecution extends Rpc
489
{
490
491
    /** @var string */
492
    public $method = 'POST';
493
494
    /**
495
     * @param string $value
496
     *
497
     * @return $this
498
     */
499
    public function withExecutionName($value)
500
    {
501
        $this->data['ExecutionName'] = $value;
502
        $this->options['form_params']['ExecutionName'] = $value;
503
504
        return $this;
505
    }
506
507
    /**
508
     * @param string $value
509
     *
510
     * @return $this
511
     */
512
    public function withCause($value)
513
    {
514
        $this->data['Cause'] = $value;
515
        $this->options['form_params']['Cause'] = $value;
516
517
        return $this;
518
    }
519
520
    /**
521
     * @param string $value
522
     *
523
     * @return $this
524
     */
525
    public function withError($value)
526
    {
527
        $this->data['Error'] = $value;
528
        $this->options['form_params']['Error'] = $value;
529
530
        return $this;
531
    }
532
533
    /**
534
     * @param string $value
535
     *
536
     * @return $this
537
     */
538
    public function withFlowName($value)
539
    {
540
        $this->data['FlowName'] = $value;
541
        $this->options['form_params']['FlowName'] = $value;
542
543
        return $this;
544
    }
545
}
546
547
/**
548
 * @method string getDescription()
549
 * @method string getType()
550
 * @method string getRequestId()
551
 * @method $this withRequestId($value)
552
 * @method string getRoleArn()
553
 * @method string getName()
554
 * @method string getDefinition()
555
 * @method string getExternalStorageLocation()
556
 */
557
class UpdateFlow extends Rpc
558
{
559
560
    /** @var string */
561
    public $method = 'POST';
562
563
    /**
564
     * @param string $value
565
     *
566
     * @return $this
567
     */
568
    public function withDescription($value)
569
    {
570
        $this->data['Description'] = $value;
571
        $this->options['form_params']['Description'] = $value;
572
573
        return $this;
574
    }
575
576
    /**
577
     * @param string $value
578
     *
579
     * @return $this
580
     */
581
    public function withType($value)
582
    {
583
        $this->data['Type'] = $value;
584
        $this->options['form_params']['Type'] = $value;
585
586
        return $this;
587
    }
588
589
    /**
590
     * @param string $value
591
     *
592
     * @return $this
593
     */
594
    public function withRoleArn($value)
595
    {
596
        $this->data['RoleArn'] = $value;
597
        $this->options['form_params']['RoleArn'] = $value;
598
599
        return $this;
600
    }
601
602
    /**
603
     * @param string $value
604
     *
605
     * @return $this
606
     */
607
    public function withName($value)
608
    {
609
        $this->data['Name'] = $value;
610
        $this->options['form_params']['Name'] = $value;
611
612
        return $this;
613
    }
614
615
    /**
616
     * @param string $value
617
     *
618
     * @return $this
619
     */
620
    public function withDefinition($value)
621
    {
622
        $this->data['Definition'] = $value;
623
        $this->options['form_params']['Definition'] = $value;
624
625
        return $this;
626
    }
627
628
    /**
629
     * @param string $value
630
     *
631
     * @return $this
632
     */
633
    public function withExternalStorageLocation($value)
634
    {
635
        $this->data['ExternalStorageLocation'] = $value;
636
        $this->options['form_params']['ExternalStorageLocation'] = $value;
637
638
        return $this;
639
    }
640
}
641
642
/**
643
 * @method string getScheduleName()
644
 * @method string getCronExpression()
645
 * @method string getPayload()
646
 * @method string getRequestId()
647
 * @method $this withRequestId($value)
648
 * @method string getEnable()
649
 * @method string getDescription()
650
 * @method string getFlowName()
651
 */
652
class UpdateSchedule extends Rpc
653
{
654
655
    /** @var string */
656
    public $method = 'POST';
657
658
    /**
659
     * @param string $value
660
     *
661
     * @return $this
662
     */
663
    public function withScheduleName($value)
664
    {
665
        $this->data['ScheduleName'] = $value;
666
        $this->options['form_params']['ScheduleName'] = $value;
667
668
        return $this;
669
    }
670
671
    /**
672
     * @param string $value
673
     *
674
     * @return $this
675
     */
676
    public function withCronExpression($value)
677
    {
678
        $this->data['CronExpression'] = $value;
679
        $this->options['form_params']['CronExpression'] = $value;
680
681
        return $this;
682
    }
683
684
    /**
685
     * @param string $value
686
     *
687
     * @return $this
688
     */
689
    public function withPayload($value)
690
    {
691
        $this->data['Payload'] = $value;
692
        $this->options['form_params']['Payload'] = $value;
693
694
        return $this;
695
    }
696
697
    /**
698
     * @param string $value
699
     *
700
     * @return $this
701
     */
702
    public function withEnable($value)
703
    {
704
        $this->data['Enable'] = $value;
705
        $this->options['form_params']['Enable'] = $value;
706
707
        return $this;
708
    }
709
710
    /**
711
     * @param string $value
712
     *
713
     * @return $this
714
     */
715
    public function withDescription($value)
716
    {
717
        $this->data['Description'] = $value;
718
        $this->options['form_params']['Description'] = $value;
719
720
        return $this;
721
    }
722
723
    /**
724
     * @param string $value
725
     *
726
     * @return $this
727
     */
728
    public function withFlowName($value)
729
    {
730
        $this->data['FlowName'] = $value;
731
        $this->options['form_params']['FlowName'] = $value;
732
733
        return $this;
734
    }
735
}
736