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 ( 1bb9eb...d50fb4 )
by
unknown
06:43
created

GetAsyncJobResult::withAsync()   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\Objectdet\V20191230;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method ClassifyVehicleInsurance classifyVehicleInsurance(array $options = [])
9
 * @method DetectIPCObject detectIPCObject(array $options = [])
10
 * @method DetectMainBody detectMainBody(array $options = [])
11
 * @method DetectObject detectObject(array $options = [])
12
 * @method DetectTransparentImage detectTransparentImage(array $options = [])
13
 * @method DetectVehicle detectVehicle(array $options = [])
14
 * @method DetectVehicleICongestion detectVehicleICongestion(array $options = [])
15
 * @method DetectVehicleIllegalParking detectVehicleIllegalParking(array $options = [])
16
 * @method DetectVideoIPCObject detectVideoIPCObject(array $options = [])
17
 * @method DetectWhiteBaseImage detectWhiteBaseImage(array $options = [])
18
 * @method GenerateVehicleRepairPlan generateVehicleRepairPlan(array $options = [])
19
 * @method GetAsyncJobResult getAsyncJobResult(array $options = [])
20
 * @method GetVehicleRepairPlan getVehicleRepairPlan(array $options = [])
21
 * @method RecognizeVehicleDamage recognizeVehicleDamage(array $options = [])
22
 * @method RecognizeVehicleDashboard recognizeVehicleDashboard(array $options = [])
23
 * @method RecognizeVehicleParts recognizeVehicleParts(array $options = [])
24
 */
25
class ObjectdetApiResolver extends ApiResolver
26
{
27
}
28
29
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
30
{
31
    /** @var string */
32
    public $product = 'objectdet';
33
34
    /** @var string */
35
    public $version = '2019-12-30';
36
37
    /** @var string */
38
    public $method = 'POST';
39
40
    /** @var string */
41
    public $serviceCode = 'objectdet';
42
}
43
44
/**
45
 * @method string getImageURL()
46
 */
47
class ClassifyVehicleInsurance extends Rpc
48
{
49
50
    /**
51
     * @param string $value
52
     *
53
     * @return $this
54
     */
55
    public function withImageURL($value)
56
    {
57
        $this->data['ImageURL'] = $value;
58
        $this->options['form_params']['ImageURL'] = $value;
59
60
        return $this;
61
    }
62
}
63
64
/**
65
 * @method string getImageURL()
66
 */
67
class DetectIPCObject extends Rpc
68
{
69
70
    /**
71
     * @param string $value
72
     *
73
     * @return $this
74
     */
75
    public function withImageURL($value)
76
    {
77
        $this->data['ImageURL'] = $value;
78
        $this->options['form_params']['ImageURL'] = $value;
79
80
        return $this;
81
    }
82
}
83
84
/**
85
 * @method string getImageURL()
86
 * @method $this withImageURL($value)
87
 */
88
class DetectMainBody extends Rpc
89
{
90
}
91
92
/**
93
 * @method string getImageURL()
94
 */
95
class DetectObject extends Rpc
96
{
97
98
    /**
99
     * @param string $value
100
     *
101
     * @return $this
102
     */
103
    public function withImageURL($value)
104
    {
105
        $this->data['ImageURL'] = $value;
106
        $this->options['form_params']['ImageURL'] = $value;
107
108
        return $this;
109
    }
110
}
111
112
/**
113
 * @method string getImageURL()
114
 */
115
class DetectTransparentImage extends Rpc
116
{
117
118
    /**
119
     * @param string $value
120
     *
121
     * @return $this
122
     */
123
    public function withImageURL($value)
124
    {
125
        $this->data['ImageURL'] = $value;
126
        $this->options['form_params']['ImageURL'] = $value;
127
128
        return $this;
129
    }
130
}
131
132
/**
133
 * @method string getImageType()
134
 * @method string getImageURL()
135
 */
136
class DetectVehicle extends Rpc
137
{
138
139
    /**
140
     * @param string $value
141
     *
142
     * @return $this
143
     */
144
    public function withImageType($value)
145
    {
146
        $this->data['ImageType'] = $value;
147
        $this->options['form_params']['ImageType'] = $value;
148
149
        return $this;
150
    }
151
152
    /**
153
     * @param string $value
154
     *
155
     * @return $this
156
     */
157
    public function withImageURL($value)
158
    {
159
        $this->data['ImageURL'] = $value;
160
        $this->options['form_params']['ImageURL'] = $value;
161
162
        return $this;
163
    }
164
}
165
166
/**
167
 * @method string getRoadRegions()
168
 * @method string getPreRegionIntersectFeatures()
169
 * @method string getImageURL()
170
 */
171
class DetectVehicleICongestion extends Rpc
172
{
173
174
    /**
175
     * @param string $value
176
     *
177
     * @return $this
178
     */
179
    public function withRoadRegions($value)
180
    {
181
        $this->data['RoadRegions'] = $value;
182
        $this->options['form_params']['RoadRegions'] = $value;
183
184
        return $this;
185
    }
186
187
    /**
188
     * @param string $value
189
     *
190
     * @return $this
191
     */
192
    public function withPreRegionIntersectFeatures($value)
193
    {
194
        $this->data['PreRegionIntersectFeatures'] = $value;
195
        $this->options['form_params']['PreRegionIntersectFeatures'] = $value;
196
197
        return $this;
198
    }
199
200
    /**
201
     * @param string $value
202
     *
203
     * @return $this
204
     */
205
    public function withImageURL($value)
206
    {
207
        $this->data['ImageURL'] = $value;
208
        $this->options['form_params']['ImageURL'] = $value;
209
210
        return $this;
211
    }
212
}
213
214
/**
215
 * @method string getRoadRegions()
216
 * @method string getImageURL()
217
 */
218
class DetectVehicleIllegalParking extends Rpc
219
{
220
221
    /**
222
     * @param string $value
223
     *
224
     * @return $this
225
     */
226
    public function withRoadRegions($value)
227
    {
228
        $this->data['RoadRegions'] = $value;
229
        $this->options['form_params']['RoadRegions'] = $value;
230
231
        return $this;
232
    }
233
234
    /**
235
     * @param string $value
236
     *
237
     * @return $this
238
     */
239
    public function withImageURL($value)
240
    {
241
        $this->data['ImageURL'] = $value;
242
        $this->options['form_params']['ImageURL'] = $value;
243
244
        return $this;
245
    }
246
}
247
248
/**
249
 * @method string getAsync()
250
 * @method string getVideoURL()
251
 */
252
class DetectVideoIPCObject extends Rpc
253
{
254
255
    /**
256
     * @param string $value
257
     *
258
     * @return $this
259
     */
260
    public function withAsync($value)
261
    {
262
        $this->data['Async'] = $value;
263
        $this->options['form_params']['Async'] = $value;
264
265
        return $this;
266
    }
267
268
    /**
269
     * @param string $value
270
     *
271
     * @return $this
272
     */
273
    public function withVideoURL($value)
274
    {
275
        $this->data['VideoURL'] = $value;
276
        $this->options['form_params']['VideoURL'] = $value;
277
278
        return $this;
279
    }
280
}
281
282
/**
283
 * @method string getImageURL()
284
 */
285
class DetectWhiteBaseImage extends Rpc
286
{
287
288
    /**
289
     * @param string $value
290
     *
291
     * @return $this
292
     */
293
    public function withImageURL($value)
294
    {
295
        $this->data['ImageURL'] = $value;
296
        $this->options['form_params']['ImageURL'] = $value;
297
298
        return $this;
299
    }
300
}
301
302
/**
303
 * @method array getDamageImageList()
304
 */
305
class GenerateVehicleRepairPlan extends Rpc
306
{
307
308
    /**
309
     * @param array $damageImageList
310
     *
311
     * @return $this
312
     */
313
	public function withDamageImageList(array $damageImageList)
314
	{
315
	    $this->data['DamageImageList'] = $damageImageList;
316
		foreach ($damageImageList as $depth1 => $depth1Value) {
317
			if(isset($depth1Value['ImageUrl'])){
318
				$this->options['form_params']['DamageImageList.' . ($depth1 + 1) . '.ImageUrl'] = $depth1Value['ImageUrl'];
319
			}
320
			if(isset($depth1Value['CreateTimeStamp'])){
321
				$this->options['form_params']['DamageImageList.' . ($depth1 + 1) . '.CreateTimeStamp'] = $depth1Value['CreateTimeStamp'];
322
			}
323
		}
324
325
		return $this;
326
    }
327
}
328
329
/**
330
 * @method string getJobId()
331
 * @method string getAsync()
332
 */
333
class GetAsyncJobResult extends Rpc
334
{
335
336
    /**
337
     * @param string $value
338
     *
339
     * @return $this
340
     */
341
    public function withJobId($value)
342
    {
343
        $this->data['JobId'] = $value;
344
        $this->options['form_params']['JobId'] = $value;
345
346
        return $this;
347
    }
348
349
    /**
350
     * @param string $value
351
     *
352
     * @return $this
353
     */
354
    public function withAsync($value)
355
    {
356
        $this->data['Async'] = $value;
357
        $this->options['form_params']['Async'] = $value;
358
359
        return $this;
360
    }
361
}
362
363
/**
364
 * @method string getVinCodeImage()
365
 * @method string getCarNumberImage()
366
 * @method string getTaskId()
367
 */
368
class GetVehicleRepairPlan extends Rpc
369
{
370
371
    /**
372
     * @param string $value
373
     *
374
     * @return $this
375
     */
376
    public function withVinCodeImage($value)
377
    {
378
        $this->data['VinCodeImage'] = $value;
379
        $this->options['form_params']['VinCodeImage'] = $value;
380
381
        return $this;
382
    }
383
384
    /**
385
     * @param string $value
386
     *
387
     * @return $this
388
     */
389
    public function withCarNumberImage($value)
390
    {
391
        $this->data['CarNumberImage'] = $value;
392
        $this->options['form_params']['CarNumberImage'] = $value;
393
394
        return $this;
395
    }
396
397
    /**
398
     * @param string $value
399
     *
400
     * @return $this
401
     */
402
    public function withTaskId($value)
403
    {
404
        $this->data['TaskId'] = $value;
405
        $this->options['form_params']['TaskId'] = $value;
406
407
        return $this;
408
    }
409
}
410
411
/**
412
 * @method string getImageURL()
413
 */
414
class RecognizeVehicleDamage extends Rpc
415
{
416
417
    /**
418
     * @param string $value
419
     *
420
     * @return $this
421
     */
422
    public function withImageURL($value)
423
    {
424
        $this->data['ImageURL'] = $value;
425
        $this->options['form_params']['ImageURL'] = $value;
426
427
        return $this;
428
    }
429
}
430
431
/**
432
 * @method string getImageURL()
433
 */
434
class RecognizeVehicleDashboard extends Rpc
435
{
436
437
    /**
438
     * @param string $value
439
     *
440
     * @return $this
441
     */
442
    public function withImageURL($value)
443
    {
444
        $this->data['ImageURL'] = $value;
445
        $this->options['form_params']['ImageURL'] = $value;
446
447
        return $this;
448
    }
449
}
450
451
/**
452
 * @method string getImageURL()
453
 */
454
class RecognizeVehicleParts extends Rpc
455
{
456
457
    /**
458
     * @param string $value
459
     *
460
     * @return $this
461
     */
462
    public function withImageURL($value)
463
    {
464
        $this->data['ImageURL'] = $value;
465
        $this->options['form_params']['ImageURL'] = $value;
466
467
        return $this;
468
    }
469
}
470