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 ( 3bee9f...b64158 )
by
unknown
06:13
created

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