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 ( d50fb4...06a3c0 )
by
unknown
06:11
created

InitSmartVerify::withIp()   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\Cloudauth\V20200618;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method ContrastSmartVerify contrastSmartVerify(array $options = [])
9
 * @method DescribeSmartVerify describeSmartVerify(array $options = [])
10
 * @method ElementSmartVerify elementSmartVerify(array $options = [])
11
 * @method InitSmartVerify initSmartVerify(array $options = [])
12
 * @method VerifyBankElement verifyBankElement(array $options = [])
13
 */
14
class CloudauthApiResolver extends ApiResolver
15
{
16
}
17
18
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
19
{
20
    /** @var string */
21
    public $product = 'Cloudauth';
22
23
    /** @var string */
24
    public $version = '2020-06-18';
25
26
    /** @var string */
27
    public $method = 'POST';
28
29
    /** @var string */
30
    public $serviceCode = 'cloudauth';
31
}
32
33
/**
34
 * @method string getFacePicFile()
35
 * @method string getIp()
36
 * @method string getCertName()
37
 * @method string getFacePicString()
38
 * @method string getMobile()
39
 * @method string getUserId()
40
 * @method string getMode()
41
 * @method string getCertNo()
42
 * @method string getOuterOrderNo()
43
 * @method string getFacePicUrl()
44
 * @method string getCertType()
45
 * @method string getSceneId()
46
 */
47
class ContrastSmartVerify extends Rpc
48
{
49
50
    /**
51
     * @param string $value
52
     *
53
     * @return $this
54
     */
55
    public function withFacePicFile($value)
56
    {
57
        $this->data['FacePicFile'] = $value;
58
        $this->options['form_params']['FacePicFile'] = $value;
59
60
        return $this;
61
    }
62
63
    /**
64
     * @param string $value
65
     *
66
     * @return $this
67
     */
68
    public function withIp($value)
69
    {
70
        $this->data['Ip'] = $value;
71
        $this->options['form_params']['Ip'] = $value;
72
73
        return $this;
74
    }
75
76
    /**
77
     * @param string $value
78
     *
79
     * @return $this
80
     */
81
    public function withCertName($value)
82
    {
83
        $this->data['CertName'] = $value;
84
        $this->options['form_params']['CertName'] = $value;
85
86
        return $this;
87
    }
88
89
    /**
90
     * @param string $value
91
     *
92
     * @return $this
93
     */
94
    public function withFacePicString($value)
95
    {
96
        $this->data['FacePicString'] = $value;
97
        $this->options['form_params']['FacePicString'] = $value;
98
99
        return $this;
100
    }
101
102
    /**
103
     * @param string $value
104
     *
105
     * @return $this
106
     */
107
    public function withMobile($value)
108
    {
109
        $this->data['Mobile'] = $value;
110
        $this->options['form_params']['Mobile'] = $value;
111
112
        return $this;
113
    }
114
115
    /**
116
     * @param string $value
117
     *
118
     * @return $this
119
     */
120
    public function withUserId($value)
121
    {
122
        $this->data['UserId'] = $value;
123
        $this->options['form_params']['UserId'] = $value;
124
125
        return $this;
126
    }
127
128
    /**
129
     * @param string $value
130
     *
131
     * @return $this
132
     */
133
    public function withMode($value)
134
    {
135
        $this->data['Mode'] = $value;
136
        $this->options['form_params']['Mode'] = $value;
137
138
        return $this;
139
    }
140
141
    /**
142
     * @param string $value
143
     *
144
     * @return $this
145
     */
146
    public function withCertNo($value)
147
    {
148
        $this->data['CertNo'] = $value;
149
        $this->options['form_params']['CertNo'] = $value;
150
151
        return $this;
152
    }
153
154
    /**
155
     * @param string $value
156
     *
157
     * @return $this
158
     */
159
    public function withOuterOrderNo($value)
160
    {
161
        $this->data['OuterOrderNo'] = $value;
162
        $this->options['form_params']['OuterOrderNo'] = $value;
163
164
        return $this;
165
    }
166
167
    /**
168
     * @param string $value
169
     *
170
     * @return $this
171
     */
172
    public function withFacePicUrl($value)
173
    {
174
        $this->data['FacePicUrl'] = $value;
175
        $this->options['form_params']['FacePicUrl'] = $value;
176
177
        return $this;
178
    }
179
180
    /**
181
     * @param string $value
182
     *
183
     * @return $this
184
     */
185
    public function withCertType($value)
186
    {
187
        $this->data['CertType'] = $value;
188
        $this->options['form_params']['CertType'] = $value;
189
190
        return $this;
191
    }
192
193
    /**
194
     * @param string $value
195
     *
196
     * @return $this
197
     */
198
    public function withSceneId($value)
199
    {
200
        $this->data['SceneId'] = $value;
201
        $this->options['form_params']['SceneId'] = $value;
202
203
        return $this;
204
    }
205
}
206
207
/**
208
 * @method string getCertifyId()
209
 * @method string getPictureReturnType()
210
 * @method string getSceneId()
211
 */
212
class DescribeSmartVerify extends Rpc
213
{
214
215
    /**
216
     * @param string $value
217
     *
218
     * @return $this
219
     */
220
    public function withCertifyId($value)
221
    {
222
        $this->data['CertifyId'] = $value;
223
        $this->options['form_params']['CertifyId'] = $value;
224
225
        return $this;
226
    }
227
228
    /**
229
     * @param string $value
230
     *
231
     * @return $this
232
     */
233
    public function withPictureReturnType($value)
234
    {
235
        $this->data['PictureReturnType'] = $value;
236
        $this->options['form_params']['PictureReturnType'] = $value;
237
238
        return $this;
239
    }
240
241
    /**
242
     * @param string $value
243
     *
244
     * @return $this
245
     */
246
    public function withSceneId($value)
247
    {
248
        $this->data['SceneId'] = $value;
249
        $this->options['form_params']['SceneId'] = $value;
250
251
        return $this;
252
    }
253
}
254
255
/**
256
 * @method string getCertFile()
257
 * @method string getCertNationalEmblemUrl()
258
 * @method string getCertName()
259
 * @method string getMode()
260
 * @method string getCertNo()
261
 * @method string getOuterOrderNo()
262
 * @method string getCertUrl()
263
 * @method string getCertType()
264
 * @method string getSceneId()
265
 */
266
class ElementSmartVerify extends Rpc
267
{
268
269
    /**
270
     * @param string $value
271
     *
272
     * @return $this
273
     */
274
    public function withCertFile($value)
275
    {
276
        $this->data['CertFile'] = $value;
277
        $this->options['form_params']['CertFile'] = $value;
278
279
        return $this;
280
    }
281
282
    /**
283
     * @param string $value
284
     *
285
     * @return $this
286
     */
287
    public function withCertNationalEmblemUrl($value)
288
    {
289
        $this->data['CertNationalEmblemUrl'] = $value;
290
        $this->options['form_params']['CertNationalEmblemUrl'] = $value;
291
292
        return $this;
293
    }
294
295
    /**
296
     * @param string $value
297
     *
298
     * @return $this
299
     */
300
    public function withCertName($value)
301
    {
302
        $this->data['CertName'] = $value;
303
        $this->options['form_params']['CertName'] = $value;
304
305
        return $this;
306
    }
307
308
    /**
309
     * @param string $value
310
     *
311
     * @return $this
312
     */
313
    public function withMode($value)
314
    {
315
        $this->data['Mode'] = $value;
316
        $this->options['form_params']['Mode'] = $value;
317
318
        return $this;
319
    }
320
321
    /**
322
     * @param string $value
323
     *
324
     * @return $this
325
     */
326
    public function withCertNo($value)
327
    {
328
        $this->data['CertNo'] = $value;
329
        $this->options['form_params']['CertNo'] = $value;
330
331
        return $this;
332
    }
333
334
    /**
335
     * @param string $value
336
     *
337
     * @return $this
338
     */
339
    public function withOuterOrderNo($value)
340
    {
341
        $this->data['OuterOrderNo'] = $value;
342
        $this->options['form_params']['OuterOrderNo'] = $value;
343
344
        return $this;
345
    }
346
347
    /**
348
     * @param string $value
349
     *
350
     * @return $this
351
     */
352
    public function withCertUrl($value)
353
    {
354
        $this->data['CertUrl'] = $value;
355
        $this->options['form_params']['CertUrl'] = $value;
356
357
        return $this;
358
    }
359
360
    /**
361
     * @param string $value
362
     *
363
     * @return $this
364
     */
365
    public function withCertType($value)
366
    {
367
        $this->data['CertType'] = $value;
368
        $this->options['form_params']['CertType'] = $value;
369
370
        return $this;
371
    }
372
373
    /**
374
     * @param string $value
375
     *
376
     * @return $this
377
     */
378
    public function withSceneId($value)
379
    {
380
        $this->data['SceneId'] = $value;
381
        $this->options['form_params']['SceneId'] = $value;
382
383
        return $this;
384
    }
385
}
386
387
/**
388
 * @method string getIdName()
389
 * @method string getUserId()
390
 * @method string getCertifyId()
391
 * @method string getFacePictureBase64()
392
 * @method string getMode()
393
 * @method string getCertNo()
394
 * @method string getOuterOrderNo()
395
 * @method string getCertType()
396
 * @method string getMetaInfo()
397
 * @method string getOcr()
398
 * @method string getOssObjectName()
399
 * @method string getFacePictureUrl()
400
 * @method string getIp()
401
 * @method string getCertName()
402
 * @method string getMobile()
403
 * @method string getIdNo()
404
 * @method string getSceneId()
405
 * @method string getCallbackToken()
406
 * @method string getOssBucketName()
407
 * @method string getCallbackUrl()
408
 */
409
class InitSmartVerify extends Rpc
410
{
411
412
    /**
413
     * @param string $value
414
     *
415
     * @return $this
416
     */
417
    public function withIdName($value)
418
    {
419
        $this->data['IdName'] = $value;
420
        $this->options['form_params']['IdName'] = $value;
421
422
        return $this;
423
    }
424
425
    /**
426
     * @param string $value
427
     *
428
     * @return $this
429
     */
430
    public function withUserId($value)
431
    {
432
        $this->data['UserId'] = $value;
433
        $this->options['form_params']['UserId'] = $value;
434
435
        return $this;
436
    }
437
438
    /**
439
     * @param string $value
440
     *
441
     * @return $this
442
     */
443
    public function withCertifyId($value)
444
    {
445
        $this->data['CertifyId'] = $value;
446
        $this->options['form_params']['CertifyId'] = $value;
447
448
        return $this;
449
    }
450
451
    /**
452
     * @param string $value
453
     *
454
     * @return $this
455
     */
456
    public function withFacePictureBase64($value)
457
    {
458
        $this->data['FacePictureBase64'] = $value;
459
        $this->options['form_params']['FacePictureBase64'] = $value;
460
461
        return $this;
462
    }
463
464
    /**
465
     * @param string $value
466
     *
467
     * @return $this
468
     */
469
    public function withMode($value)
470
    {
471
        $this->data['Mode'] = $value;
472
        $this->options['form_params']['Mode'] = $value;
473
474
        return $this;
475
    }
476
477
    /**
478
     * @param string $value
479
     *
480
     * @return $this
481
     */
482
    public function withCertNo($value)
483
    {
484
        $this->data['CertNo'] = $value;
485
        $this->options['form_params']['CertNo'] = $value;
486
487
        return $this;
488
    }
489
490
    /**
491
     * @param string $value
492
     *
493
     * @return $this
494
     */
495
    public function withOuterOrderNo($value)
496
    {
497
        $this->data['OuterOrderNo'] = $value;
498
        $this->options['form_params']['OuterOrderNo'] = $value;
499
500
        return $this;
501
    }
502
503
    /**
504
     * @param string $value
505
     *
506
     * @return $this
507
     */
508
    public function withCertType($value)
509
    {
510
        $this->data['CertType'] = $value;
511
        $this->options['form_params']['CertType'] = $value;
512
513
        return $this;
514
    }
515
516
    /**
517
     * @param string $value
518
     *
519
     * @return $this
520
     */
521
    public function withMetaInfo($value)
522
    {
523
        $this->data['MetaInfo'] = $value;
524
        $this->options['form_params']['MetaInfo'] = $value;
525
526
        return $this;
527
    }
528
529
    /**
530
     * @param string $value
531
     *
532
     * @return $this
533
     */
534
    public function withOcr($value)
535
    {
536
        $this->data['Ocr'] = $value;
537
        $this->options['form_params']['Ocr'] = $value;
538
539
        return $this;
540
    }
541
542
    /**
543
     * @param string $value
544
     *
545
     * @return $this
546
     */
547
    public function withOssObjectName($value)
548
    {
549
        $this->data['OssObjectName'] = $value;
550
        $this->options['form_params']['OssObjectName'] = $value;
551
552
        return $this;
553
    }
554
555
    /**
556
     * @param string $value
557
     *
558
     * @return $this
559
     */
560
    public function withFacePictureUrl($value)
561
    {
562
        $this->data['FacePictureUrl'] = $value;
563
        $this->options['form_params']['FacePictureUrl'] = $value;
564
565
        return $this;
566
    }
567
568
    /**
569
     * @param string $value
570
     *
571
     * @return $this
572
     */
573
    public function withIp($value)
574
    {
575
        $this->data['Ip'] = $value;
576
        $this->options['form_params']['Ip'] = $value;
577
578
        return $this;
579
    }
580
581
    /**
582
     * @param string $value
583
     *
584
     * @return $this
585
     */
586
    public function withCertName($value)
587
    {
588
        $this->data['CertName'] = $value;
589
        $this->options['form_params']['CertName'] = $value;
590
591
        return $this;
592
    }
593
594
    /**
595
     * @param string $value
596
     *
597
     * @return $this
598
     */
599
    public function withMobile($value)
600
    {
601
        $this->data['Mobile'] = $value;
602
        $this->options['form_params']['Mobile'] = $value;
603
604
        return $this;
605
    }
606
607
    /**
608
     * @param string $value
609
     *
610
     * @return $this
611
     */
612
    public function withIdNo($value)
613
    {
614
        $this->data['IdNo'] = $value;
615
        $this->options['form_params']['IdNo'] = $value;
616
617
        return $this;
618
    }
619
620
    /**
621
     * @param string $value
622
     *
623
     * @return $this
624
     */
625
    public function withSceneId($value)
626
    {
627
        $this->data['SceneId'] = $value;
628
        $this->options['form_params']['SceneId'] = $value;
629
630
        return $this;
631
    }
632
633
    /**
634
     * @param string $value
635
     *
636
     * @return $this
637
     */
638
    public function withCallbackToken($value)
639
    {
640
        $this->data['CallbackToken'] = $value;
641
        $this->options['form_params']['CallbackToken'] = $value;
642
643
        return $this;
644
    }
645
646
    /**
647
     * @param string $value
648
     *
649
     * @return $this
650
     */
651
    public function withOssBucketName($value)
652
    {
653
        $this->data['OssBucketName'] = $value;
654
        $this->options['form_params']['OssBucketName'] = $value;
655
656
        return $this;
657
    }
658
659
    /**
660
     * @param string $value
661
     *
662
     * @return $this
663
     */
664
    public function withCallbackUrl($value)
665
    {
666
        $this->data['CallbackUrl'] = $value;
667
        $this->options['form_params']['CallbackUrl'] = $value;
668
669
        return $this;
670
    }
671
}
672
673
/**
674
 * @method string getIdName()
675
 * @method string getMobile()
676
 * @method string getBankCardUrl()
677
 * @method string getIdNo()
678
 * @method string getBankCardNo()
679
 * @method string getMode()
680
 * @method string getOuterOrderNo()
681
 * @method string getBankCardFile()
682
 * @method string getSceneId()
683
 */
684
class VerifyBankElement extends Rpc
685
{
686
687
    /**
688
     * @param string $value
689
     *
690
     * @return $this
691
     */
692
    public function withIdName($value)
693
    {
694
        $this->data['IdName'] = $value;
695
        $this->options['form_params']['IdName'] = $value;
696
697
        return $this;
698
    }
699
700
    /**
701
     * @param string $value
702
     *
703
     * @return $this
704
     */
705
    public function withMobile($value)
706
    {
707
        $this->data['Mobile'] = $value;
708
        $this->options['form_params']['Mobile'] = $value;
709
710
        return $this;
711
    }
712
713
    /**
714
     * @param string $value
715
     *
716
     * @return $this
717
     */
718
    public function withBankCardUrl($value)
719
    {
720
        $this->data['BankCardUrl'] = $value;
721
        $this->options['form_params']['BankCardUrl'] = $value;
722
723
        return $this;
724
    }
725
726
    /**
727
     * @param string $value
728
     *
729
     * @return $this
730
     */
731
    public function withIdNo($value)
732
    {
733
        $this->data['IdNo'] = $value;
734
        $this->options['form_params']['IdNo'] = $value;
735
736
        return $this;
737
    }
738
739
    /**
740
     * @param string $value
741
     *
742
     * @return $this
743
     */
744
    public function withBankCardNo($value)
745
    {
746
        $this->data['BankCardNo'] = $value;
747
        $this->options['form_params']['BankCardNo'] = $value;
748
749
        return $this;
750
    }
751
752
    /**
753
     * @param string $value
754
     *
755
     * @return $this
756
     */
757
    public function withMode($value)
758
    {
759
        $this->data['Mode'] = $value;
760
        $this->options['form_params']['Mode'] = $value;
761
762
        return $this;
763
    }
764
765
    /**
766
     * @param string $value
767
     *
768
     * @return $this
769
     */
770
    public function withOuterOrderNo($value)
771
    {
772
        $this->data['OuterOrderNo'] = $value;
773
        $this->options['form_params']['OuterOrderNo'] = $value;
774
775
        return $this;
776
    }
777
778
    /**
779
     * @param string $value
780
     *
781
     * @return $this
782
     */
783
    public function withBankCardFile($value)
784
    {
785
        $this->data['BankCardFile'] = $value;
786
        $this->options['form_params']['BankCardFile'] = $value;
787
788
        return $this;
789
    }
790
791
    /**
792
     * @param string $value
793
     *
794
     * @return $this
795
     */
796
    public function withSceneId($value)
797
    {
798
        $this->data['SceneId'] = $value;
799
        $this->options['form_params']['SceneId'] = $value;
800
801
        return $this;
802
    }
803
}
804