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 ( 188878...2d31c1 )
by
unknown
04:41
created

UpdateFlow::withExternalStorageLocation()   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
c 0
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 DeleteFlow deleteFlow(array $options = [])
10
 * @method DescribeExecution describeExecution(array $options = [])
11
 * @method DescribeFlow describeFlow(array $options = [])
12
 * @method GetExecutionHistory getExecutionHistory(array $options = [])
13
 * @method ListExecutions listExecutions(array $options = [])
14
 * @method ListFlows listFlows(array $options = [])
15
 * @method ReportTaskFailed reportTaskFailed(array $options = [])
16
 * @method ReportTaskSucceeded reportTaskSucceeded(array $options = [])
17
 * @method StartExecution startExecution(array $options = [])
18
 * @method StopExecution stopExecution(array $options = [])
19
 * @method UpdateFlow updateFlow(array $options = [])
20
 */
21
class FnfApiResolver extends ApiResolver
22
{
23
}
24
25
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
26
{
27
    /** @var string */
28
    public $product = 'fnf';
29
30
    /** @var string */
31
    public $version = '2019-03-15';
32
33
    /** @var string */
34
    public $method = 'POST';
35
36
    /** @var string */
37
    public $serviceCode = 'fnf';
38
}
39
40
/**
41
 * @method string getDescription()
42
 * @method string getType()
43
 * @method string getRequestId()
44
 * @method $this withRequestId($value)
45
 * @method string getRoleArn()
46
 * @method string getName()
47
 * @method string getDefinition()
48
 * @method string getExternalStorageLocation()
49
 */
50
class CreateFlow extends Rpc
51
{
52
53
    /**
54
     * @param string $value
55
     *
56
     * @return $this
57
     */
58
    public function withDescription($value)
59
    {
60
        $this->data['Description'] = $value;
61
        $this->options['form_params']['Description'] = $value;
62
63
        return $this;
64
    }
65
66
    /**
67
     * @param string $value
68
     *
69
     * @return $this
70
     */
71
    public function withType($value)
72
    {
73
        $this->data['Type'] = $value;
74
        $this->options['form_params']['Type'] = $value;
75
76
        return $this;
77
    }
78
79
    /**
80
     * @param string $value
81
     *
82
     * @return $this
83
     */
84
    public function withRoleArn($value)
85
    {
86
        $this->data['RoleArn'] = $value;
87
        $this->options['form_params']['RoleArn'] = $value;
88
89
        return $this;
90
    }
91
92
    /**
93
     * @param string $value
94
     *
95
     * @return $this
96
     */
97
    public function withName($value)
98
    {
99
        $this->data['Name'] = $value;
100
        $this->options['form_params']['Name'] = $value;
101
102
        return $this;
103
    }
104
105
    /**
106
     * @param string $value
107
     *
108
     * @return $this
109
     */
110
    public function withDefinition($value)
111
    {
112
        $this->data['Definition'] = $value;
113
        $this->options['form_params']['Definition'] = $value;
114
115
        return $this;
116
    }
117
118
    /**
119
     * @param string $value
120
     *
121
     * @return $this
122
     */
123
    public function withExternalStorageLocation($value)
124
    {
125
        $this->data['ExternalStorageLocation'] = $value;
126
        $this->options['form_params']['ExternalStorageLocation'] = $value;
127
128
        return $this;
129
    }
130
}
131
132
/**
133
 * @method string getRequestId()
134
 * @method $this withRequestId($value)
135
 * @method string getName()
136
 * @method $this withName($value)
137
 */
138
class DeleteFlow extends Rpc
139
{
140
141
    /** @var string */
142
    public $method = 'GET';
143
}
144
145
/**
146
 * @method string getExecutionName()
147
 * @method $this withExecutionName($value)
148
 * @method string getWaitTimeSeconds()
149
 * @method $this withWaitTimeSeconds($value)
150
 * @method string getRequestId()
151
 * @method $this withRequestId($value)
152
 * @method string getFlowName()
153
 * @method $this withFlowName($value)
154
 */
155
class DescribeExecution extends Rpc
156
{
157
158
    /** @var string */
159
    public $method = 'GET';
160
}
161
162
/**
163
 * @method string getRequestId()
164
 * @method $this withRequestId($value)
165
 * @method string getName()
166
 * @method $this withName($value)
167
 */
168
class DescribeFlow extends Rpc
169
{
170
171
    /** @var string */
172
    public $method = 'GET';
173
}
174
175
/**
176
 * @method string getExecutionName()
177
 * @method $this withExecutionName($value)
178
 * @method string getNextToken()
179
 * @method $this withNextToken($value)
180
 * @method string getRequestId()
181
 * @method $this withRequestId($value)
182
 * @method string getLimit()
183
 * @method $this withLimit($value)
184
 * @method string getFlowName()
185
 * @method $this withFlowName($value)
186
 */
187
class GetExecutionHistory extends Rpc
188
{
189
190
    /** @var string */
191
    public $method = 'GET';
192
}
193
194
/**
195
 * @method string getNextToken()
196
 * @method $this withNextToken($value)
197
 * @method string getRequestId()
198
 * @method $this withRequestId($value)
199
 * @method string getLimit()
200
 * @method $this withLimit($value)
201
 * @method string getFlowName()
202
 * @method $this withFlowName($value)
203
 * @method string getStatus()
204
 * @method $this withStatus($value)
205
 */
206
class ListExecutions extends Rpc
207
{
208
209
    /** @var string */
210
    public $method = 'GET';
211
}
212
213
/**
214
 * @method string getNextToken()
215
 * @method $this withNextToken($value)
216
 * @method string getRequestId()
217
 * @method $this withRequestId($value)
218
 * @method string getLimit()
219
 * @method $this withLimit($value)
220
 */
221
class ListFlows extends Rpc
222
{
223
224
    /** @var string */
225
    public $method = 'GET';
226
}
227
228
/**
229
 * @method string getCause()
230
 * @method string getError()
231
 * @method string getRequestId()
232
 * @method $this withRequestId($value)
233
 * @method string getTaskToken()
234
 * @method $this withTaskToken($value)
235
 */
236
class ReportTaskFailed extends Rpc
237
{
238
239
    /**
240
     * @param string $value
241
     *
242
     * @return $this
243
     */
244
    public function withCause($value)
245
    {
246
        $this->data['Cause'] = $value;
247
        $this->options['form_params']['Cause'] = $value;
248
249
        return $this;
250
    }
251
252
    /**
253
     * @param string $value
254
     *
255
     * @return $this
256
     */
257
    public function withError($value)
258
    {
259
        $this->data['Error'] = $value;
260
        $this->options['form_params']['Error'] = $value;
261
262
        return $this;
263
    }
264
}
265
266
/**
267
 * @method string getOutput()
268
 * @method string getRequestId()
269
 * @method $this withRequestId($value)
270
 * @method string getTaskToken()
271
 * @method $this withTaskToken($value)
272
 */
273
class ReportTaskSucceeded extends Rpc
274
{
275
276
    /**
277
     * @param string $value
278
     *
279
     * @return $this
280
     */
281
    public function withOutput($value)
282
    {
283
        $this->data['Output'] = $value;
284
        $this->options['form_params']['Output'] = $value;
285
286
        return $this;
287
    }
288
}
289
290
/**
291
 * @method string getCallbackFnFTaskToken()
292
 * @method string getExecutionName()
293
 * @method string getInput()
294
 * @method string getRequestId()
295
 * @method $this withRequestId($value)
296
 * @method string getFlowName()
297
 */
298
class StartExecution extends Rpc
299
{
300
301
    /**
302
     * @param string $value
303
     *
304
     * @return $this
305
     */
306
    public function withCallbackFnFTaskToken($value)
307
    {
308
        $this->data['CallbackFnFTaskToken'] = $value;
309
        $this->options['form_params']['CallbackFnFTaskToken'] = $value;
310
311
        return $this;
312
    }
313
314
    /**
315
     * @param string $value
316
     *
317
     * @return $this
318
     */
319
    public function withExecutionName($value)
320
    {
321
        $this->data['ExecutionName'] = $value;
322
        $this->options['form_params']['ExecutionName'] = $value;
323
324
        return $this;
325
    }
326
327
    /**
328
     * @param string $value
329
     *
330
     * @return $this
331
     */
332
    public function withInput($value)
333
    {
334
        $this->data['Input'] = $value;
335
        $this->options['form_params']['Input'] = $value;
336
337
        return $this;
338
    }
339
340
    /**
341
     * @param string $value
342
     *
343
     * @return $this
344
     */
345
    public function withFlowName($value)
346
    {
347
        $this->data['FlowName'] = $value;
348
        $this->options['form_params']['FlowName'] = $value;
349
350
        return $this;
351
    }
352
}
353
354
/**
355
 * @method string getExecutionName()
356
 * @method string getCause()
357
 * @method string getError()
358
 * @method string getRequestId()
359
 * @method $this withRequestId($value)
360
 * @method string getFlowName()
361
 */
362
class StopExecution extends Rpc
363
{
364
365
    /**
366
     * @param string $value
367
     *
368
     * @return $this
369
     */
370
    public function withExecutionName($value)
371
    {
372
        $this->data['ExecutionName'] = $value;
373
        $this->options['form_params']['ExecutionName'] = $value;
374
375
        return $this;
376
    }
377
378
    /**
379
     * @param string $value
380
     *
381
     * @return $this
382
     */
383
    public function withCause($value)
384
    {
385
        $this->data['Cause'] = $value;
386
        $this->options['form_params']['Cause'] = $value;
387
388
        return $this;
389
    }
390
391
    /**
392
     * @param string $value
393
     *
394
     * @return $this
395
     */
396
    public function withError($value)
397
    {
398
        $this->data['Error'] = $value;
399
        $this->options['form_params']['Error'] = $value;
400
401
        return $this;
402
    }
403
404
    /**
405
     * @param string $value
406
     *
407
     * @return $this
408
     */
409
    public function withFlowName($value)
410
    {
411
        $this->data['FlowName'] = $value;
412
        $this->options['form_params']['FlowName'] = $value;
413
414
        return $this;
415
    }
416
}
417
418
/**
419
 * @method string getDescription()
420
 * @method string getType()
421
 * @method string getRequestId()
422
 * @method $this withRequestId($value)
423
 * @method string getRoleArn()
424
 * @method string getName()
425
 * @method string getDefinition()
426
 * @method string getExternalStorageLocation()
427
 */
428
class UpdateFlow extends Rpc
429
{
430
431
    /**
432
     * @param string $value
433
     *
434
     * @return $this
435
     */
436
    public function withDescription($value)
437
    {
438
        $this->data['Description'] = $value;
439
        $this->options['form_params']['Description'] = $value;
440
441
        return $this;
442
    }
443
444
    /**
445
     * @param string $value
446
     *
447
     * @return $this
448
     */
449
    public function withType($value)
450
    {
451
        $this->data['Type'] = $value;
452
        $this->options['form_params']['Type'] = $value;
453
454
        return $this;
455
    }
456
457
    /**
458
     * @param string $value
459
     *
460
     * @return $this
461
     */
462
    public function withRoleArn($value)
463
    {
464
        $this->data['RoleArn'] = $value;
465
        $this->options['form_params']['RoleArn'] = $value;
466
467
        return $this;
468
    }
469
470
    /**
471
     * @param string $value
472
     *
473
     * @return $this
474
     */
475
    public function withName($value)
476
    {
477
        $this->data['Name'] = $value;
478
        $this->options['form_params']['Name'] = $value;
479
480
        return $this;
481
    }
482
483
    /**
484
     * @param string $value
485
     *
486
     * @return $this
487
     */
488
    public function withDefinition($value)
489
    {
490
        $this->data['Definition'] = $value;
491
        $this->options['form_params']['Definition'] = $value;
492
493
        return $this;
494
    }
495
496
    /**
497
     * @param string $value
498
     *
499
     * @return $this
500
     */
501
    public function withExternalStorageLocation($value)
502
    {
503
        $this->data['ExternalStorageLocation'] = $value;
504
        $this->options['form_params']['ExternalStorageLocation'] = $value;
505
506
        return $this;
507
    }
508
}
509