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 ( 8bba86...2ea1b2 )
by
unknown
04:25
created

CheckMultiagent::withMethod()   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\VisionaiPoc\V20200408;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CheckMultiagent checkMultiagent(array $options = [])
9
 * @method PredictCategory predictCategory(array $options = [])
10
 * @method RecognizeCar recognizeCar(array $options = [])
11
 * @method RecognizeEntity recognizeEntity(array $options = [])
12
 * @method RecognizeFlower recognizeFlower(array $options = [])
13
 * @method RecognizeLabel recognizeLabel(array $options = [])
14
 * @method RecognizePet recognizePet(array $options = [])
15
 */
16
class VisionaiPocApiResolver extends ApiResolver
17
{
18
}
19
20
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
21
{
22
    /** @var string */
23
    public $product = 'visionai-poc';
24
25
    /** @var string */
26
    public $version = '2020-04-08';
27
28
    /** @var string */
29
    public $method = 'POST';
30
}
31
32
/**
33
 * @method string getMethod()
34
 * @method string getImageUrl()
35
 * @method string getUrl()
36
 */
37
class CheckMultiagent extends Rpc
38
{
39
40
    /**
41
     * @param string $value
42
     *
43
     * @return $this
44
     */
45
    public function withMethod($value)
46
    {
47
        $this->data['Method'] = $value;
48
        $this->options['form_params']['Method'] = $value;
49
50
        return $this;
51
    }
52
53
    /**
54
     * @param string $value
55
     *
56
     * @return $this
57
     */
58
    public function withImageUrl($value)
59
    {
60
        $this->data['ImageUrl'] = $value;
61
        $this->options['form_params']['ImageUrl'] = $value;
62
63
        return $this;
64
    }
65
66
    /**
67
     * @param string $value
68
     *
69
     * @return $this
70
     */
71
    public function withUrl($value)
72
    {
73
        $this->data['Url'] = $value;
74
        $this->options['form_params']['Url'] = $value;
75
76
        return $this;
77
    }
78
}
79
80
/**
81
 * @method string getMethod()
82
 * @method string getImageUrl()
83
 * @method string getTitle()
84
 * @method string getUrl()
85
 */
86
class PredictCategory extends Rpc
87
{
88
89
    /**
90
     * @param string $value
91
     *
92
     * @return $this
93
     */
94
    public function withMethod($value)
95
    {
96
        $this->data['Method'] = $value;
97
        $this->options['form_params']['Method'] = $value;
98
99
        return $this;
100
    }
101
102
    /**
103
     * @param string $value
104
     *
105
     * @return $this
106
     */
107
    public function withImageUrl($value)
108
    {
109
        $this->data['ImageUrl'] = $value;
110
        $this->options['form_params']['ImageUrl'] = $value;
111
112
        return $this;
113
    }
114
115
    /**
116
     * @param string $value
117
     *
118
     * @return $this
119
     */
120
    public function withTitle($value)
121
    {
122
        $this->data['Title'] = $value;
123
        $this->options['form_params']['Title'] = $value;
124
125
        return $this;
126
    }
127
128
    /**
129
     * @param string $value
130
     *
131
     * @return $this
132
     */
133
    public function withUrl($value)
134
    {
135
        $this->data['Url'] = $value;
136
        $this->options['form_params']['Url'] = $value;
137
138
        return $this;
139
    }
140
}
141
142
/**
143
 * @method string getMethod()
144
 * @method string getImageUrl()
145
 * @method string getUrl()
146
 */
147
class RecognizeCar extends Rpc
148
{
149
150
    /**
151
     * @param string $value
152
     *
153
     * @return $this
154
     */
155
    public function withMethod($value)
156
    {
157
        $this->data['Method'] = $value;
158
        $this->options['form_params']['Method'] = $value;
159
160
        return $this;
161
    }
162
163
    /**
164
     * @param string $value
165
     *
166
     * @return $this
167
     */
168
    public function withImageUrl($value)
169
    {
170
        $this->data['ImageUrl'] = $value;
171
        $this->options['form_params']['ImageUrl'] = $value;
172
173
        return $this;
174
    }
175
176
    /**
177
     * @param string $value
178
     *
179
     * @return $this
180
     */
181
    public function withUrl($value)
182
    {
183
        $this->data['Url'] = $value;
184
        $this->options['form_params']['Url'] = $value;
185
186
        return $this;
187
    }
188
}
189
190
/**
191
 * @method string getMethod()
192
 * @method string getImageUrl()
193
 * @method string getUrl()
194
 */
195
class RecognizeEntity extends Rpc
196
{
197
198
    /**
199
     * @param string $value
200
     *
201
     * @return $this
202
     */
203
    public function withMethod($value)
204
    {
205
        $this->data['Method'] = $value;
206
        $this->options['form_params']['Method'] = $value;
207
208
        return $this;
209
    }
210
211
    /**
212
     * @param string $value
213
     *
214
     * @return $this
215
     */
216
    public function withImageUrl($value)
217
    {
218
        $this->data['ImageUrl'] = $value;
219
        $this->options['form_params']['ImageUrl'] = $value;
220
221
        return $this;
222
    }
223
224
    /**
225
     * @param string $value
226
     *
227
     * @return $this
228
     */
229
    public function withUrl($value)
230
    {
231
        $this->data['Url'] = $value;
232
        $this->options['form_params']['Url'] = $value;
233
234
        return $this;
235
    }
236
}
237
238
/**
239
 * @method string getMethod()
240
 * @method string getImageUrl()
241
 * @method string getUrl()
242
 */
243
class RecognizeFlower extends Rpc
244
{
245
246
    /**
247
     * @param string $value
248
     *
249
     * @return $this
250
     */
251
    public function withMethod($value)
252
    {
253
        $this->data['Method'] = $value;
254
        $this->options['form_params']['Method'] = $value;
255
256
        return $this;
257
    }
258
259
    /**
260
     * @param string $value
261
     *
262
     * @return $this
263
     */
264
    public function withImageUrl($value)
265
    {
266
        $this->data['ImageUrl'] = $value;
267
        $this->options['form_params']['ImageUrl'] = $value;
268
269
        return $this;
270
    }
271
272
    /**
273
     * @param string $value
274
     *
275
     * @return $this
276
     */
277
    public function withUrl($value)
278
    {
279
        $this->data['Url'] = $value;
280
        $this->options['form_params']['Url'] = $value;
281
282
        return $this;
283
    }
284
}
285
286
/**
287
 * @method string getMethod()
288
 * @method string getImageUrl()
289
 * @method string getUrl()
290
 */
291
class RecognizeLabel extends Rpc
292
{
293
294
    /**
295
     * @param string $value
296
     *
297
     * @return $this
298
     */
299
    public function withMethod($value)
300
    {
301
        $this->data['Method'] = $value;
302
        $this->options['form_params']['Method'] = $value;
303
304
        return $this;
305
    }
306
307
    /**
308
     * @param string $value
309
     *
310
     * @return $this
311
     */
312
    public function withImageUrl($value)
313
    {
314
        $this->data['ImageUrl'] = $value;
315
        $this->options['form_params']['ImageUrl'] = $value;
316
317
        return $this;
318
    }
319
320
    /**
321
     * @param string $value
322
     *
323
     * @return $this
324
     */
325
    public function withUrl($value)
326
    {
327
        $this->data['Url'] = $value;
328
        $this->options['form_params']['Url'] = $value;
329
330
        return $this;
331
    }
332
}
333
334
/**
335
 * @method string getMethod()
336
 * @method string getImageUrl()
337
 * @method string getUrl()
338
 */
339
class RecognizePet extends Rpc
340
{
341
342
    /**
343
     * @param string $value
344
     *
345
     * @return $this
346
     */
347
    public function withMethod($value)
348
    {
349
        $this->data['Method'] = $value;
350
        $this->options['form_params']['Method'] = $value;
351
352
        return $this;
353
    }
354
355
    /**
356
     * @param string $value
357
     *
358
     * @return $this
359
     */
360
    public function withImageUrl($value)
361
    {
362
        $this->data['ImageUrl'] = $value;
363
        $this->options['form_params']['ImageUrl'] = $value;
364
365
        return $this;
366
    }
367
368
    /**
369
     * @param string $value
370
     *
371
     * @return $this
372
     */
373
    public function withUrl($value)
374
    {
375
        $this->data['Url'] = $value;
376
        $this->options['form_params']['Url'] = $value;
377
378
        return $this;
379
    }
380
}
381