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 ( d1524c...c81895 )
by
unknown
06:55
created

GetVehicleRepairPlan::withVinCodeImage()   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 DetectKitchenAnimals detectKitchenAnimals(array $options = [])
11
 * @method DetectMainBody detectMainBody(array $options = [])
12
 * @method DetectObject detectObject(array $options = [])
13
 * @method DetectTransparentImage detectTransparentImage(array $options = [])
14
 * @method DetectVehicle detectVehicle(array $options = [])
15
 * @method DetectVehicleICongestion detectVehicleICongestion(array $options = [])
16
 * @method DetectVehicleIllegalParking detectVehicleIllegalParking(array $options = [])
17
 * @method DetectVideoIPCObject detectVideoIPCObject(array $options = [])
18
 * @method DetectWhiteBaseImage detectWhiteBaseImage(array $options = [])
19
 * @method DetectWorkwear detectWorkwear(array $options = [])
20
 * @method GetAsyncJobResult getAsyncJobResult(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
41
/**
42
 * @method string getFormatResultToJson()
43
 * @method $this withFormatResultToJson($value)
44
 * @method string getOssFile()
45
 * @method $this withOssFile($value)
46
 * @method string getRequestProxyBy()
47
 * @method $this withRequestProxyBy($value)
48
 * @method string getImageURL()
49
 */
50
class ClassifyVehicleInsurance extends Rpc
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
/**
68
 * @method string getFormatResultToJson()
69
 * @method $this withFormatResultToJson($value)
70
 * @method string getOssFile()
71
 * @method $this withOssFile($value)
72
 * @method string getRequestProxyBy()
73
 * @method $this withRequestProxyBy($value)
74
 * @method string getImageURL()
75
 */
76
class DetectIPCObject extends Rpc
77
{
78
79
    /**
80
     * @param string $value
81
     *
82
     * @return $this
83
     */
84
    public function withImageURL($value)
85
    {
86
        $this->data['ImageURL'] = $value;
87
        $this->options['form_params']['ImageURL'] = $value;
88
89
        return $this;
90
    }
91
}
92
93
/**
94
 * @method string getFormatResultToJson()
95
 * @method $this withFormatResultToJson($value)
96
 * @method string getImageURLB()
97
 * @method string getImageURLA()
98
 * @method string getOssFile()
99
 * @method $this withOssFile($value)
100
 * @method string getRequestProxyBy()
101
 * @method $this withRequestProxyBy($value)
102
 */
103
class DetectKitchenAnimals extends Rpc
104
{
105
106
    /**
107
     * @param string $value
108
     *
109
     * @return $this
110
     */
111
    public function withImageURLB($value)
112
    {
113
        $this->data['ImageURLB'] = $value;
114
        $this->options['form_params']['ImageURLB'] = $value;
115
116
        return $this;
117
    }
118
119
    /**
120
     * @param string $value
121
     *
122
     * @return $this
123
     */
124
    public function withImageURLA($value)
125
    {
126
        $this->data['ImageURLA'] = $value;
127
        $this->options['form_params']['ImageURLA'] = $value;
128
129
        return $this;
130
    }
131
}
132
133
/**
134
 * @method string getFormatResultToJson()
135
 * @method $this withFormatResultToJson($value)
136
 * @method string getOssFile()
137
 * @method $this withOssFile($value)
138
 * @method string getRequestProxyBy()
139
 * @method $this withRequestProxyBy($value)
140
 * @method string getImageURL()
141
 * @method $this withImageURL($value)
142
 */
143
class DetectMainBody extends Rpc
144
{
145
}
146
147
/**
148
 * @method string getFormatResultToJson()
149
 * @method $this withFormatResultToJson($value)
150
 * @method string getOssFile()
151
 * @method $this withOssFile($value)
152
 * @method string getRequestProxyBy()
153
 * @method $this withRequestProxyBy($value)
154
 * @method string getImageURL()
155
 */
156
class DetectObject extends Rpc
157
{
158
159
    /**
160
     * @param string $value
161
     *
162
     * @return $this
163
     */
164
    public function withImageURL($value)
165
    {
166
        $this->data['ImageURL'] = $value;
167
        $this->options['form_params']['ImageURL'] = $value;
168
169
        return $this;
170
    }
171
}
172
173
/**
174
 * @method string getFormatResultToJson()
175
 * @method $this withFormatResultToJson($value)
176
 * @method string getOssFile()
177
 * @method $this withOssFile($value)
178
 * @method string getRequestProxyBy()
179
 * @method $this withRequestProxyBy($value)
180
 * @method string getImageURL()
181
 */
182
class DetectTransparentImage extends Rpc
183
{
184
185
    /**
186
     * @param string $value
187
     *
188
     * @return $this
189
     */
190
    public function withImageURL($value)
191
    {
192
        $this->data['ImageURL'] = $value;
193
        $this->options['form_params']['ImageURL'] = $value;
194
195
        return $this;
196
    }
197
}
198
199
/**
200
 * @method string getFormatResultToJson()
201
 * @method $this withFormatResultToJson($value)
202
 * @method string getOssFile()
203
 * @method $this withOssFile($value)
204
 * @method string getImageType()
205
 * @method string getRequestProxyBy()
206
 * @method $this withRequestProxyBy($value)
207
 * @method string getImageURL()
208
 */
209
class DetectVehicle extends Rpc
210
{
211
212
    /**
213
     * @param string $value
214
     *
215
     * @return $this
216
     */
217
    public function withImageType($value)
218
    {
219
        $this->data['ImageType'] = $value;
220
        $this->options['form_params']['ImageType'] = $value;
221
222
        return $this;
223
    }
224
225
    /**
226
     * @param string $value
227
     *
228
     * @return $this
229
     */
230
    public function withImageURL($value)
231
    {
232
        $this->data['ImageURL'] = $value;
233
        $this->options['form_params']['ImageURL'] = $value;
234
235
        return $this;
236
    }
237
}
238
239
/**
240
 * @method string getFormatResultToJson()
241
 * @method $this withFormatResultToJson($value)
242
 * @method string getRoadRegions()
243
 * @method string getOriginRequestId()
244
 * @method $this withOriginRequestId($value)
245
 * @method string getOssFile()
246
 * @method $this withOssFile($value)
247
 * @method string getPreRegionIntersectFeatures()
248
 * @method string getRequestProxyBy()
249
 * @method $this withRequestProxyBy($value)
250
 * @method string getStreamArn()
251
 * @method $this withStreamArn($value)
252
 * @method string getImageURL()
253
 */
254
class DetectVehicleICongestion extends Rpc
255
{
256
257
    /**
258
     * @param string $value
259
     *
260
     * @return $this
261
     */
262
    public function withRoadRegions($value)
263
    {
264
        $this->data['RoadRegions'] = $value;
265
        $this->options['form_params']['RoadRegions'] = $value;
266
267
        return $this;
268
    }
269
270
    /**
271
     * @param string $value
272
     *
273
     * @return $this
274
     */
275
    public function withPreRegionIntersectFeatures($value)
276
    {
277
        $this->data['PreRegionIntersectFeatures'] = $value;
278
        $this->options['form_params']['PreRegionIntersectFeatures'] = $value;
279
280
        return $this;
281
    }
282
283
    /**
284
     * @param string $value
285
     *
286
     * @return $this
287
     */
288
    public function withImageURL($value)
289
    {
290
        $this->data['ImageURL'] = $value;
291
        $this->options['form_params']['ImageURL'] = $value;
292
293
        return $this;
294
    }
295
}
296
297
/**
298
 * @method string getFormatResultToJson()
299
 * @method $this withFormatResultToJson($value)
300
 * @method string getRoadRegions()
301
 * @method string getOriginRequestId()
302
 * @method $this withOriginRequestId($value)
303
 * @method string getOssFile()
304
 * @method $this withOssFile($value)
305
 * @method string getRequestProxyBy()
306
 * @method $this withRequestProxyBy($value)
307
 * @method string getStreamArn()
308
 * @method $this withStreamArn($value)
309
 * @method string getImageURL()
310
 */
311
class DetectVehicleIllegalParking extends Rpc
312
{
313
314
    /**
315
     * @param string $value
316
     *
317
     * @return $this
318
     */
319
    public function withRoadRegions($value)
320
    {
321
        $this->data['RoadRegions'] = $value;
322
        $this->options['form_params']['RoadRegions'] = $value;
323
324
        return $this;
325
    }
326
327
    /**
328
     * @param string $value
329
     *
330
     * @return $this
331
     */
332
    public function withImageURL($value)
333
    {
334
        $this->data['ImageURL'] = $value;
335
        $this->options['form_params']['ImageURL'] = $value;
336
337
        return $this;
338
    }
339
}
340
341
/**
342
 * @method string getFormatResultToJson()
343
 * @method $this withFormatResultToJson($value)
344
 * @method string getStartTimestamp()
345
 * @method string getOssFile()
346
 * @method $this withOssFile($value)
347
 * @method string getCallbackOnlyHasObject()
348
 * @method string getRequestProxyBy()
349
 * @method $this withRequestProxyBy($value)
350
 * @method string getAsync()
351
 * @method string getVideoURL()
352
 */
353
class DetectVideoIPCObject extends Rpc
354
{
355
356
    /**
357
     * @param string $value
358
     *
359
     * @return $this
360
     */
361
    public function withStartTimestamp($value)
362
    {
363
        $this->data['StartTimestamp'] = $value;
364
        $this->options['form_params']['StartTimestamp'] = $value;
365
366
        return $this;
367
    }
368
369
    /**
370
     * @param string $value
371
     *
372
     * @return $this
373
     */
374
    public function withCallbackOnlyHasObject($value)
375
    {
376
        $this->data['CallbackOnlyHasObject'] = $value;
377
        $this->options['form_params']['CallbackOnlyHasObject'] = $value;
378
379
        return $this;
380
    }
381
382
    /**
383
     * @param string $value
384
     *
385
     * @return $this
386
     */
387
    public function withAsync($value)
388
    {
389
        $this->data['Async'] = $value;
390
        $this->options['form_params']['Async'] = $value;
391
392
        return $this;
393
    }
394
395
    /**
396
     * @param string $value
397
     *
398
     * @return $this
399
     */
400
    public function withVideoURL($value)
401
    {
402
        $this->data['VideoURL'] = $value;
403
        $this->options['form_params']['VideoURL'] = $value;
404
405
        return $this;
406
    }
407
}
408
409
/**
410
 * @method string getFormatResultToJson()
411
 * @method $this withFormatResultToJson($value)
412
 * @method string getOssFile()
413
 * @method $this withOssFile($value)
414
 * @method string getRequestProxyBy()
415
 * @method $this withRequestProxyBy($value)
416
 * @method string getImageURL()
417
 */
418
class DetectWhiteBaseImage extends Rpc
419
{
420
421
    /**
422
     * @param string $value
423
     *
424
     * @return $this
425
     */
426
    public function withImageURL($value)
427
    {
428
        $this->data['ImageURL'] = $value;
429
        $this->options['form_params']['ImageURL'] = $value;
430
431
        return $this;
432
    }
433
}
434
435
/**
436
 * @method string getFormatResultToJson()
437
 * @method $this withFormatResultToJson($value)
438
 * @method string getOssFile()
439
 * @method $this withOssFile($value)
440
 * @method string getRequestProxyBy()
441
 * @method $this withRequestProxyBy($value)
442
 * @method string getClothes()
443
 * @method array getLabels()
444
 * @method string getImageUrl()
445
 */
446
class DetectWorkwear extends Rpc
447
{
448
449
    /**
450
     * @param string $value
451
     *
452
     * @return $this
453
     */
454
    public function withClothes($value)
455
    {
456
        $this->data['Clothes'] = $value;
457
        $this->options['form_params']['Clothes'] = $value;
458
459
        return $this;
460
    }
461
462
    /**
463
     * @param array $labels
464
     *
465
     * @return $this
466
     */
467
	public function withLabels(array $labels)
468
	{
469
	    $this->data['Labels'] = $labels;
470
		foreach ($labels as $i => $iValue) {
471
			$this->options['form_params']['Labels.' . ($i + 1)] = $iValue;
472
		}
473
474
		return $this;
475
    }
476
477
    /**
478
     * @param string $value
479
     *
480
     * @return $this
481
     */
482
    public function withImageUrl($value)
483
    {
484
        $this->data['ImageUrl'] = $value;
485
        $this->options['form_params']['ImageUrl'] = $value;
486
487
        return $this;
488
    }
489
}
490
491
/**
492
 * @method string getFormatResultToJson()
493
 * @method $this withFormatResultToJson($value)
494
 * @method string getJobId()
495
 * @method string getOssFile()
496
 * @method $this withOssFile($value)
497
 * @method string getRequestProxyBy()
498
 * @method $this withRequestProxyBy($value)
499
 * @method string getAsync()
500
 */
501
class GetAsyncJobResult extends Rpc
502
{
503
504
    /**
505
     * @param string $value
506
     *
507
     * @return $this
508
     */
509
    public function withJobId($value)
510
    {
511
        $this->data['JobId'] = $value;
512
        $this->options['form_params']['JobId'] = $value;
513
514
        return $this;
515
    }
516
517
    /**
518
     * @param string $value
519
     *
520
     * @return $this
521
     */
522
    public function withAsync($value)
523
    {
524
        $this->data['Async'] = $value;
525
        $this->options['form_params']['Async'] = $value;
526
527
        return $this;
528
    }
529
}
530
531
/**
532
 * @method string getFormatResultToJson()
533
 * @method $this withFormatResultToJson($value)
534
 * @method string getOssFile()
535
 * @method $this withOssFile($value)
536
 * @method string getRequestProxyBy()
537
 * @method $this withRequestProxyBy($value)
538
 * @method string getImageURL()
539
 */
540
class RecognizeVehicleDamage extends Rpc
541
{
542
543
    /**
544
     * @param string $value
545
     *
546
     * @return $this
547
     */
548
    public function withImageURL($value)
549
    {
550
        $this->data['ImageURL'] = $value;
551
        $this->options['form_params']['ImageURL'] = $value;
552
553
        return $this;
554
    }
555
}
556
557
/**
558
 * @method string getFormatResultToJson()
559
 * @method $this withFormatResultToJson($value)
560
 * @method string getOssFile()
561
 * @method $this withOssFile($value)
562
 * @method string getRequestProxyBy()
563
 * @method $this withRequestProxyBy($value)
564
 * @method string getImageURL()
565
 */
566
class RecognizeVehicleDashboard extends Rpc
567
{
568
569
    /**
570
     * @param string $value
571
     *
572
     * @return $this
573
     */
574
    public function withImageURL($value)
575
    {
576
        $this->data['ImageURL'] = $value;
577
        $this->options['form_params']['ImageURL'] = $value;
578
579
        return $this;
580
    }
581
}
582
583
/**
584
 * @method string getFormatResultToJson()
585
 * @method $this withFormatResultToJson($value)
586
 * @method string getOssFile()
587
 * @method $this withOssFile($value)
588
 * @method string getRequestProxyBy()
589
 * @method $this withRequestProxyBy($value)
590
 * @method string getImageURL()
591
 */
592
class RecognizeVehicleParts extends Rpc
593
{
594
595
    /**
596
     * @param string $value
597
     *
598
     * @return $this
599
     */
600
    public function withImageURL($value)
601
    {
602
        $this->data['ImageURL'] = $value;
603
        $this->options['form_params']['ImageURL'] = $value;
604
605
        return $this;
606
    }
607
}
608