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 ( 6e4a50...a8a7b7 )
by
unknown
03:59
created

SearchFace::withStartTimeStamp()   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\Vcs\V20200515;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddDevice addDevice(array $options = [])
9
 * @method CreateCorp createCorp(array $options = [])
10
 * @method DeleteDevice deleteDevice(array $options = [])
11
 * @method GetDeviceLiveUrl getDeviceLiveUrl(array $options = [])
12
 * @method GetInventory getInventory(array $options = [])
13
 * @method ListCorps listCorps(array $options = [])
14
 * @method ListDevices listDevices(array $options = [])
15
 * @method RecognizeImage recognizeImage(array $options = [])
16
 * @method SearchFace searchFace(array $options = [])
17
 * @method UpdateCorp updateCorp(array $options = [])
18
 * @method UpdateDevice updateDevice(array $options = [])
19
 */
20
class VcsApiResolver extends ApiResolver
21
{
22
}
23
24
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
25
{
26
    /** @var string */
27
    public $product = 'Vcs';
28
29
    /** @var string */
30
    public $version = '2020-05-15';
31
32
    /** @var string */
33
    public $method = 'POST';
34
}
35
36
/**
37
 * @method string getDeviceSite()
38
 * @method string getCorpId()
39
 * @method string getGbId()
40
 * @method string getDeviceDirection()
41
 * @method string getDeviceRate()
42
 * @method string getDeviceAddress()
43
 * @method string getDeviceType()
44
 * @method string getDeviceResolution()
45
 * @method string getVendor()
46
 * @method string getDeviceName()
47
 */
48
class AddDevice extends Rpc
49
{
50
51
    /**
52
     * @param string $value
53
     *
54
     * @return $this
55
     */
56
    public function withDeviceSite($value)
57
    {
58
        $this->data['DeviceSite'] = $value;
59
        $this->options['form_params']['DeviceSite'] = $value;
60
61
        return $this;
62
    }
63
64
    /**
65
     * @param string $value
66
     *
67
     * @return $this
68
     */
69
    public function withCorpId($value)
70
    {
71
        $this->data['CorpId'] = $value;
72
        $this->options['form_params']['CorpId'] = $value;
73
74
        return $this;
75
    }
76
77
    /**
78
     * @param string $value
79
     *
80
     * @return $this
81
     */
82
    public function withGbId($value)
83
    {
84
        $this->data['GbId'] = $value;
85
        $this->options['form_params']['GbId'] = $value;
86
87
        return $this;
88
    }
89
90
    /**
91
     * @param string $value
92
     *
93
     * @return $this
94
     */
95
    public function withDeviceDirection($value)
96
    {
97
        $this->data['DeviceDirection'] = $value;
98
        $this->options['form_params']['DeviceDirection'] = $value;
99
100
        return $this;
101
    }
102
103
    /**
104
     * @param string $value
105
     *
106
     * @return $this
107
     */
108
    public function withDeviceRate($value)
109
    {
110
        $this->data['DeviceRate'] = $value;
111
        $this->options['form_params']['DeviceRate'] = $value;
112
113
        return $this;
114
    }
115
116
    /**
117
     * @param string $value
118
     *
119
     * @return $this
120
     */
121
    public function withDeviceAddress($value)
122
    {
123
        $this->data['DeviceAddress'] = $value;
124
        $this->options['form_params']['DeviceAddress'] = $value;
125
126
        return $this;
127
    }
128
129
    /**
130
     * @param string $value
131
     *
132
     * @return $this
133
     */
134
    public function withDeviceType($value)
135
    {
136
        $this->data['DeviceType'] = $value;
137
        $this->options['form_params']['DeviceType'] = $value;
138
139
        return $this;
140
    }
141
142
    /**
143
     * @param string $value
144
     *
145
     * @return $this
146
     */
147
    public function withDeviceResolution($value)
148
    {
149
        $this->data['DeviceResolution'] = $value;
150
        $this->options['form_params']['DeviceResolution'] = $value;
151
152
        return $this;
153
    }
154
155
    /**
156
     * @param string $value
157
     *
158
     * @return $this
159
     */
160
    public function withVendor($value)
161
    {
162
        $this->data['Vendor'] = $value;
163
        $this->options['form_params']['Vendor'] = $value;
164
165
        return $this;
166
    }
167
168
    /**
169
     * @param string $value
170
     *
171
     * @return $this
172
     */
173
    public function withDeviceName($value)
174
    {
175
        $this->data['DeviceName'] = $value;
176
        $this->options['form_params']['DeviceName'] = $value;
177
178
        return $this;
179
    }
180
}
181
182
/**
183
 * @method string getParentCorpId()
184
 * @method string getDescription()
185
 * @method string getAppName()
186
 * @method string getCorpName()
187
 */
188
class CreateCorp extends Rpc
189
{
190
191
    /**
192
     * @param string $value
193
     *
194
     * @return $this
195
     */
196
    public function withParentCorpId($value)
197
    {
198
        $this->data['ParentCorpId'] = $value;
199
        $this->options['form_params']['ParentCorpId'] = $value;
200
201
        return $this;
202
    }
203
204
    /**
205
     * @param string $value
206
     *
207
     * @return $this
208
     */
209
    public function withDescription($value)
210
    {
211
        $this->data['Description'] = $value;
212
        $this->options['form_params']['Description'] = $value;
213
214
        return $this;
215
    }
216
217
    /**
218
     * @param string $value
219
     *
220
     * @return $this
221
     */
222
    public function withAppName($value)
223
    {
224
        $this->data['AppName'] = $value;
225
        $this->options['form_params']['AppName'] = $value;
226
227
        return $this;
228
    }
229
230
    /**
231
     * @param string $value
232
     *
233
     * @return $this
234
     */
235
    public function withCorpName($value)
236
    {
237
        $this->data['CorpName'] = $value;
238
        $this->options['form_params']['CorpName'] = $value;
239
240
        return $this;
241
    }
242
}
243
244
/**
245
 * @method string getCorpId()
246
 * @method string getGbId()
247
 */
248
class DeleteDevice extends Rpc
249
{
250
251
    /**
252
     * @param string $value
253
     *
254
     * @return $this
255
     */
256
    public function withCorpId($value)
257
    {
258
        $this->data['CorpId'] = $value;
259
        $this->options['form_params']['CorpId'] = $value;
260
261
        return $this;
262
    }
263
264
    /**
265
     * @param string $value
266
     *
267
     * @return $this
268
     */
269
    public function withGbId($value)
270
    {
271
        $this->data['GbId'] = $value;
272
        $this->options['form_params']['GbId'] = $value;
273
274
        return $this;
275
    }
276
}
277
278
/**
279
 * @method string getCorpId()
280
 * @method string getGbId()
281
 * @method string getDeviceId()
282
 */
283
class GetDeviceLiveUrl extends Rpc
284
{
285
286
    /**
287
     * @param string $value
288
     *
289
     * @return $this
290
     */
291
    public function withCorpId($value)
292
    {
293
        $this->data['CorpId'] = $value;
294
        $this->options['form_params']['CorpId'] = $value;
295
296
        return $this;
297
    }
298
299
    /**
300
     * @param string $value
301
     *
302
     * @return $this
303
     */
304
    public function withGbId($value)
305
    {
306
        $this->data['GbId'] = $value;
307
        $this->options['form_params']['GbId'] = $value;
308
309
        return $this;
310
    }
311
312
    /**
313
     * @param string $value
314
     *
315
     * @return $this
316
     */
317
    public function withDeviceId($value)
318
    {
319
        $this->data['DeviceId'] = $value;
320
        $this->options['form_params']['DeviceId'] = $value;
321
322
        return $this;
323
    }
324
}
325
326
/**
327
 * @method string getCommodityCode()
328
 */
329
class GetInventory extends Rpc
330
{
331
332
    /**
333
     * @param string $value
334
     *
335
     * @return $this
336
     */
337
    public function withCommodityCode($value)
338
    {
339
        $this->data['CommodityCode'] = $value;
340
        $this->options['form_params']['CommodityCode'] = $value;
341
342
        return $this;
343
    }
344
}
345
346
/**
347
 * @method string getPageNumber()
348
 * @method string getPageSize()
349
 */
350
class ListCorps extends Rpc
351
{
352
353
    /**
354
     * @param string $value
355
     *
356
     * @return $this
357
     */
358
    public function withPageNumber($value)
359
    {
360
        $this->data['PageNumber'] = $value;
361
        $this->options['form_params']['PageNumber'] = $value;
362
363
        return $this;
364
    }
365
366
    /**
367
     * @param string $value
368
     *
369
     * @return $this
370
     */
371
    public function withPageSize($value)
372
    {
373
        $this->data['PageSize'] = $value;
374
        $this->options['form_params']['PageSize'] = $value;
375
376
        return $this;
377
    }
378
}
379
380
/**
381
 * @method string getCorpId()
382
 * @method string getGbId()
383
 * @method string getPageNumber()
384
 * @method string getPageSize()
385
 * @method string getDeviceName()
386
 */
387
class ListDevices extends Rpc
388
{
389
390
    /**
391
     * @param string $value
392
     *
393
     * @return $this
394
     */
395
    public function withCorpId($value)
396
    {
397
        $this->data['CorpId'] = $value;
398
        $this->options['form_params']['CorpId'] = $value;
399
400
        return $this;
401
    }
402
403
    /**
404
     * @param string $value
405
     *
406
     * @return $this
407
     */
408
    public function withGbId($value)
409
    {
410
        $this->data['GbId'] = $value;
411
        $this->options['form_params']['GbId'] = $value;
412
413
        return $this;
414
    }
415
416
    /**
417
     * @param string $value
418
     *
419
     * @return $this
420
     */
421
    public function withPageNumber($value)
422
    {
423
        $this->data['PageNumber'] = $value;
424
        $this->options['form_params']['PageNumber'] = $value;
425
426
        return $this;
427
    }
428
429
    /**
430
     * @param string $value
431
     *
432
     * @return $this
433
     */
434
    public function withPageSize($value)
435
    {
436
        $this->data['PageSize'] = $value;
437
        $this->options['form_params']['PageSize'] = $value;
438
439
        return $this;
440
    }
441
442
    /**
443
     * @param string $value
444
     *
445
     * @return $this
446
     */
447
    public function withDeviceName($value)
448
    {
449
        $this->data['DeviceName'] = $value;
450
        $this->options['form_params']['DeviceName'] = $value;
451
452
        return $this;
453
    }
454
}
455
456
/**
457
 * @method string getCorpId()
458
 * @method string getPicContent()
459
 * @method string getPicFormat()
460
 */
461
class RecognizeImage extends Rpc
462
{
463
464
    /**
465
     * @param string $value
466
     *
467
     * @return $this
468
     */
469
    public function withCorpId($value)
470
    {
471
        $this->data['CorpId'] = $value;
472
        $this->options['form_params']['CorpId'] = $value;
473
474
        return $this;
475
    }
476
477
    /**
478
     * @param string $value
479
     *
480
     * @return $this
481
     */
482
    public function withPicContent($value)
483
    {
484
        $this->data['PicContent'] = $value;
485
        $this->options['form_params']['PicContent'] = $value;
486
487
        return $this;
488
    }
489
490
    /**
491
     * @param string $value
492
     *
493
     * @return $this
494
     */
495
    public function withPicFormat($value)
496
    {
497
        $this->data['PicFormat'] = $value;
498
        $this->options['form_params']['PicFormat'] = $value;
499
500
        return $this;
501
    }
502
}
503
504
/**
505
 * @method string getCorpId()
506
 * @method string getGbId()
507
 * @method string getStartTimeStamp()
508
 * @method string getEndTimeStamp()
509
 * @method string getPageNo()
510
 * @method string getPageSize()
511
 * @method string getOptionList()
512
 */
513
class SearchFace extends Rpc
514
{
515
516
    /**
517
     * @param string $value
518
     *
519
     * @return $this
520
     */
521
    public function withCorpId($value)
522
    {
523
        $this->data['CorpId'] = $value;
524
        $this->options['form_params']['CorpId'] = $value;
525
526
        return $this;
527
    }
528
529
    /**
530
     * @param string $value
531
     *
532
     * @return $this
533
     */
534
    public function withGbId($value)
535
    {
536
        $this->data['GbId'] = $value;
537
        $this->options['form_params']['GbId'] = $value;
538
539
        return $this;
540
    }
541
542
    /**
543
     * @param string $value
544
     *
545
     * @return $this
546
     */
547
    public function withStartTimeStamp($value)
548
    {
549
        $this->data['StartTimeStamp'] = $value;
550
        $this->options['form_params']['StartTimeStamp'] = $value;
551
552
        return $this;
553
    }
554
555
    /**
556
     * @param string $value
557
     *
558
     * @return $this
559
     */
560
    public function withEndTimeStamp($value)
561
    {
562
        $this->data['EndTimeStamp'] = $value;
563
        $this->options['form_params']['EndTimeStamp'] = $value;
564
565
        return $this;
566
    }
567
568
    /**
569
     * @param string $value
570
     *
571
     * @return $this
572
     */
573
    public function withPageNo($value)
574
    {
575
        $this->data['PageNo'] = $value;
576
        $this->options['form_params']['PageNo'] = $value;
577
578
        return $this;
579
    }
580
581
    /**
582
     * @param string $value
583
     *
584
     * @return $this
585
     */
586
    public function withPageSize($value)
587
    {
588
        $this->data['PageSize'] = $value;
589
        $this->options['form_params']['PageSize'] = $value;
590
591
        return $this;
592
    }
593
594
    /**
595
     * @param string $value
596
     *
597
     * @return $this
598
     */
599
    public function withOptionList($value)
600
    {
601
        $this->data['OptionList'] = $value;
602
        $this->options['form_params']['OptionList'] = $value;
603
604
        return $this;
605
    }
606
}
607
608
/**
609
 * @method string getCorpId()
610
 * @method string getParentCorpId()
611
 * @method string getDescription()
612
 * @method string getAppName()
613
 * @method string getCorpName()
614
 */
615
class UpdateCorp extends Rpc
616
{
617
618
    /**
619
     * @param string $value
620
     *
621
     * @return $this
622
     */
623
    public function withCorpId($value)
624
    {
625
        $this->data['CorpId'] = $value;
626
        $this->options['form_params']['CorpId'] = $value;
627
628
        return $this;
629
    }
630
631
    /**
632
     * @param string $value
633
     *
634
     * @return $this
635
     */
636
    public function withParentCorpId($value)
637
    {
638
        $this->data['ParentCorpId'] = $value;
639
        $this->options['form_params']['ParentCorpId'] = $value;
640
641
        return $this;
642
    }
643
644
    /**
645
     * @param string $value
646
     *
647
     * @return $this
648
     */
649
    public function withDescription($value)
650
    {
651
        $this->data['Description'] = $value;
652
        $this->options['form_params']['Description'] = $value;
653
654
        return $this;
655
    }
656
657
    /**
658
     * @param string $value
659
     *
660
     * @return $this
661
     */
662
    public function withAppName($value)
663
    {
664
        $this->data['AppName'] = $value;
665
        $this->options['form_params']['AppName'] = $value;
666
667
        return $this;
668
    }
669
670
    /**
671
     * @param string $value
672
     *
673
     * @return $this
674
     */
675
    public function withCorpName($value)
676
    {
677
        $this->data['CorpName'] = $value;
678
        $this->options['form_params']['CorpName'] = $value;
679
680
        return $this;
681
    }
682
}
683
684
/**
685
 * @method string getDeviceSite()
686
 * @method string getCorpId()
687
 * @method string getGbId()
688
 * @method string getDeviceDirection()
689
 * @method string getDeviceRate()
690
 * @method string getDeviceAddress()
691
 * @method string getDeviceType()
692
 * @method string getDeviceResolution()
693
 * @method string getVendor()
694
 * @method string getDeviceName()
695
 */
696
class UpdateDevice extends Rpc
697
{
698
699
    /**
700
     * @param string $value
701
     *
702
     * @return $this
703
     */
704
    public function withDeviceSite($value)
705
    {
706
        $this->data['DeviceSite'] = $value;
707
        $this->options['form_params']['DeviceSite'] = $value;
708
709
        return $this;
710
    }
711
712
    /**
713
     * @param string $value
714
     *
715
     * @return $this
716
     */
717
    public function withCorpId($value)
718
    {
719
        $this->data['CorpId'] = $value;
720
        $this->options['form_params']['CorpId'] = $value;
721
722
        return $this;
723
    }
724
725
    /**
726
     * @param string $value
727
     *
728
     * @return $this
729
     */
730
    public function withGbId($value)
731
    {
732
        $this->data['GbId'] = $value;
733
        $this->options['form_params']['GbId'] = $value;
734
735
        return $this;
736
    }
737
738
    /**
739
     * @param string $value
740
     *
741
     * @return $this
742
     */
743
    public function withDeviceDirection($value)
744
    {
745
        $this->data['DeviceDirection'] = $value;
746
        $this->options['form_params']['DeviceDirection'] = $value;
747
748
        return $this;
749
    }
750
751
    /**
752
     * @param string $value
753
     *
754
     * @return $this
755
     */
756
    public function withDeviceRate($value)
757
    {
758
        $this->data['DeviceRate'] = $value;
759
        $this->options['form_params']['DeviceRate'] = $value;
760
761
        return $this;
762
    }
763
764
    /**
765
     * @param string $value
766
     *
767
     * @return $this
768
     */
769
    public function withDeviceAddress($value)
770
    {
771
        $this->data['DeviceAddress'] = $value;
772
        $this->options['form_params']['DeviceAddress'] = $value;
773
774
        return $this;
775
    }
776
777
    /**
778
     * @param string $value
779
     *
780
     * @return $this
781
     */
782
    public function withDeviceType($value)
783
    {
784
        $this->data['DeviceType'] = $value;
785
        $this->options['form_params']['DeviceType'] = $value;
786
787
        return $this;
788
    }
789
790
    /**
791
     * @param string $value
792
     *
793
     * @return $this
794
     */
795
    public function withDeviceResolution($value)
796
    {
797
        $this->data['DeviceResolution'] = $value;
798
        $this->options['form_params']['DeviceResolution'] = $value;
799
800
        return $this;
801
    }
802
803
    /**
804
     * @param string $value
805
     *
806
     * @return $this
807
     */
808
    public function withVendor($value)
809
    {
810
        $this->data['Vendor'] = $value;
811
        $this->options['form_params']['Vendor'] = $value;
812
813
        return $this;
814
    }
815
816
    /**
817
     * @param string $value
818
     *
819
     * @return $this
820
     */
821
    public function withDeviceName($value)
822
    {
823
        $this->data['DeviceName'] = $value;
824
        $this->options['form_params']['DeviceName'] = $value;
825
826
        return $this;
827
    }
828
}
829