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 ( e4f42d...0ba2b2 )
by
unknown
06:36
created

SendSms::withMobile()   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\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 DescribeSmsDetail describeSmsDetail(array $options = [])
11
 * @method ElementSmartVerify elementSmartVerify(array $options = [])
12
 * @method InitSmartVerify initSmartVerify(array $options = [])
13
 * @method SendSms sendSms(array $options = [])
14
 * @method VerifyBankElement verifyBankElement(array $options = [])
15
 */
16
class CloudauthApiResolver extends ApiResolver
17
{
18
}
19
20
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
21
{
22
    /** @var string */
23
    public $product = 'Cloudauth';
24
25
    /** @var string */
26
    public $version = '2020-06-18';
27
28
    /** @var string */
29
    public $method = 'POST';
30
31
    /** @var string */
32
    public $serviceCode = 'cloudauth';
33
}
34
35
/**
36
 * @method string getFacePicFile()
37
 * @method string getIp()
38
 * @method string getCertName()
39
 * @method string getFacePicString()
40
 * @method string getMobile()
41
 * @method string getUserId()
42
 * @method string getMode()
43
 * @method string getCertNo()
44
 * @method string getOuterOrderNo()
45
 * @method string getFacePicUrl()
46
 * @method string getCertType()
47
 * @method string getSceneId()
48
 */
49
class ContrastSmartVerify extends Rpc
50
{
51
52
    /**
53
     * @param string $value
54
     *
55
     * @return $this
56
     */
57
    public function withFacePicFile($value)
58
    {
59
        $this->data['FacePicFile'] = $value;
60
        $this->options['form_params']['FacePicFile'] = $value;
61
62
        return $this;
63
    }
64
65
    /**
66
     * @param string $value
67
     *
68
     * @return $this
69
     */
70
    public function withIp($value)
71
    {
72
        $this->data['Ip'] = $value;
73
        $this->options['form_params']['Ip'] = $value;
74
75
        return $this;
76
    }
77
78
    /**
79
     * @param string $value
80
     *
81
     * @return $this
82
     */
83
    public function withCertName($value)
84
    {
85
        $this->data['CertName'] = $value;
86
        $this->options['form_params']['CertName'] = $value;
87
88
        return $this;
89
    }
90
91
    /**
92
     * @param string $value
93
     *
94
     * @return $this
95
     */
96
    public function withFacePicString($value)
97
    {
98
        $this->data['FacePicString'] = $value;
99
        $this->options['form_params']['FacePicString'] = $value;
100
101
        return $this;
102
    }
103
104
    /**
105
     * @param string $value
106
     *
107
     * @return $this
108
     */
109
    public function withMobile($value)
110
    {
111
        $this->data['Mobile'] = $value;
112
        $this->options['form_params']['Mobile'] = $value;
113
114
        return $this;
115
    }
116
117
    /**
118
     * @param string $value
119
     *
120
     * @return $this
121
     */
122
    public function withUserId($value)
123
    {
124
        $this->data['UserId'] = $value;
125
        $this->options['form_params']['UserId'] = $value;
126
127
        return $this;
128
    }
129
130
    /**
131
     * @param string $value
132
     *
133
     * @return $this
134
     */
135
    public function withMode($value)
136
    {
137
        $this->data['Mode'] = $value;
138
        $this->options['form_params']['Mode'] = $value;
139
140
        return $this;
141
    }
142
143
    /**
144
     * @param string $value
145
     *
146
     * @return $this
147
     */
148
    public function withCertNo($value)
149
    {
150
        $this->data['CertNo'] = $value;
151
        $this->options['form_params']['CertNo'] = $value;
152
153
        return $this;
154
    }
155
156
    /**
157
     * @param string $value
158
     *
159
     * @return $this
160
     */
161
    public function withOuterOrderNo($value)
162
    {
163
        $this->data['OuterOrderNo'] = $value;
164
        $this->options['form_params']['OuterOrderNo'] = $value;
165
166
        return $this;
167
    }
168
169
    /**
170
     * @param string $value
171
     *
172
     * @return $this
173
     */
174
    public function withFacePicUrl($value)
175
    {
176
        $this->data['FacePicUrl'] = $value;
177
        $this->options['form_params']['FacePicUrl'] = $value;
178
179
        return $this;
180
    }
181
182
    /**
183
     * @param string $value
184
     *
185
     * @return $this
186
     */
187
    public function withCertType($value)
188
    {
189
        $this->data['CertType'] = $value;
190
        $this->options['form_params']['CertType'] = $value;
191
192
        return $this;
193
    }
194
195
    /**
196
     * @param string $value
197
     *
198
     * @return $this
199
     */
200
    public function withSceneId($value)
201
    {
202
        $this->data['SceneId'] = $value;
203
        $this->options['form_params']['SceneId'] = $value;
204
205
        return $this;
206
    }
207
}
208
209
/**
210
 * @method string getCertifyId()
211
 * @method string getPictureReturnType()
212
 * @method string getSceneId()
213
 */
214
class DescribeSmartVerify extends Rpc
215
{
216
217
    /**
218
     * @param string $value
219
     *
220
     * @return $this
221
     */
222
    public function withCertifyId($value)
223
    {
224
        $this->data['CertifyId'] = $value;
225
        $this->options['form_params']['CertifyId'] = $value;
226
227
        return $this;
228
    }
229
230
    /**
231
     * @param string $value
232
     *
233
     * @return $this
234
     */
235
    public function withPictureReturnType($value)
236
    {
237
        $this->data['PictureReturnType'] = $value;
238
        $this->options['form_params']['PictureReturnType'] = $value;
239
240
        return $this;
241
    }
242
243
    /**
244
     * @param string $value
245
     *
246
     * @return $this
247
     */
248
    public function withSceneId($value)
249
    {
250
        $this->data['SceneId'] = $value;
251
        $this->options['form_params']['SceneId'] = $value;
252
253
        return $this;
254
    }
255
}
256
257
/**
258
 * @method string getSendStatus()
259
 * @method string getMobile()
260
 * @method string getCurrentPage()
261
 * @method string getOuterOrderNo()
262
 * @method string getSignName()
263
 * @method string getSendDate()
264
 * @method string getPageSize()
265
 * @method string getBizId()
266
 * @method string getTemplateCode()
267
 * @method string getErrorCode()
268
 */
269
class DescribeSmsDetail extends Rpc
270
{
271
272
    /**
273
     * @param string $value
274
     *
275
     * @return $this
276
     */
277
    public function withSendStatus($value)
278
    {
279
        $this->data['SendStatus'] = $value;
280
        $this->options['form_params']['SendStatus'] = $value;
281
282
        return $this;
283
    }
284
285
    /**
286
     * @param string $value
287
     *
288
     * @return $this
289
     */
290
    public function withMobile($value)
291
    {
292
        $this->data['Mobile'] = $value;
293
        $this->options['form_params']['Mobile'] = $value;
294
295
        return $this;
296
    }
297
298
    /**
299
     * @param string $value
300
     *
301
     * @return $this
302
     */
303
    public function withCurrentPage($value)
304
    {
305
        $this->data['CurrentPage'] = $value;
306
        $this->options['form_params']['CurrentPage'] = $value;
307
308
        return $this;
309
    }
310
311
    /**
312
     * @param string $value
313
     *
314
     * @return $this
315
     */
316
    public function withOuterOrderNo($value)
317
    {
318
        $this->data['OuterOrderNo'] = $value;
319
        $this->options['form_params']['OuterOrderNo'] = $value;
320
321
        return $this;
322
    }
323
324
    /**
325
     * @param string $value
326
     *
327
     * @return $this
328
     */
329
    public function withSignName($value)
330
    {
331
        $this->data['SignName'] = $value;
332
        $this->options['form_params']['SignName'] = $value;
333
334
        return $this;
335
    }
336
337
    /**
338
     * @param string $value
339
     *
340
     * @return $this
341
     */
342
    public function withSendDate($value)
343
    {
344
        $this->data['SendDate'] = $value;
345
        $this->options['form_params']['SendDate'] = $value;
346
347
        return $this;
348
    }
349
350
    /**
351
     * @param string $value
352
     *
353
     * @return $this
354
     */
355
    public function withPageSize($value)
356
    {
357
        $this->data['PageSize'] = $value;
358
        $this->options['form_params']['PageSize'] = $value;
359
360
        return $this;
361
    }
362
363
    /**
364
     * @param string $value
365
     *
366
     * @return $this
367
     */
368
    public function withBizId($value)
369
    {
370
        $this->data['BizId'] = $value;
371
        $this->options['form_params']['BizId'] = $value;
372
373
        return $this;
374
    }
375
376
    /**
377
     * @param string $value
378
     *
379
     * @return $this
380
     */
381
    public function withTemplateCode($value)
382
    {
383
        $this->data['TemplateCode'] = $value;
384
        $this->options['form_params']['TemplateCode'] = $value;
385
386
        return $this;
387
    }
388
389
    /**
390
     * @param string $value
391
     *
392
     * @return $this
393
     */
394
    public function withErrorCode($value)
395
    {
396
        $this->data['ErrorCode'] = $value;
397
        $this->options['form_params']['ErrorCode'] = $value;
398
399
        return $this;
400
    }
401
}
402
403
/**
404
 * @method string getCertFile()
405
 * @method string getCertNationalEmblemUrl()
406
 * @method string getCertName()
407
 * @method string getMode()
408
 * @method string getCertNo()
409
 * @method string getOuterOrderNo()
410
 * @method string getCertUrl()
411
 * @method string getCertType()
412
 * @method string getSceneId()
413
 */
414
class ElementSmartVerify extends Rpc
415
{
416
417
    /**
418
     * @param string $value
419
     *
420
     * @return $this
421
     */
422
    public function withCertFile($value)
423
    {
424
        $this->data['CertFile'] = $value;
425
        $this->options['form_params']['CertFile'] = $value;
426
427
        return $this;
428
    }
429
430
    /**
431
     * @param string $value
432
     *
433
     * @return $this
434
     */
435
    public function withCertNationalEmblemUrl($value)
436
    {
437
        $this->data['CertNationalEmblemUrl'] = $value;
438
        $this->options['form_params']['CertNationalEmblemUrl'] = $value;
439
440
        return $this;
441
    }
442
443
    /**
444
     * @param string $value
445
     *
446
     * @return $this
447
     */
448
    public function withCertName($value)
449
    {
450
        $this->data['CertName'] = $value;
451
        $this->options['form_params']['CertName'] = $value;
452
453
        return $this;
454
    }
455
456
    /**
457
     * @param string $value
458
     *
459
     * @return $this
460
     */
461
    public function withMode($value)
462
    {
463
        $this->data['Mode'] = $value;
464
        $this->options['form_params']['Mode'] = $value;
465
466
        return $this;
467
    }
468
469
    /**
470
     * @param string $value
471
     *
472
     * @return $this
473
     */
474
    public function withCertNo($value)
475
    {
476
        $this->data['CertNo'] = $value;
477
        $this->options['form_params']['CertNo'] = $value;
478
479
        return $this;
480
    }
481
482
    /**
483
     * @param string $value
484
     *
485
     * @return $this
486
     */
487
    public function withOuterOrderNo($value)
488
    {
489
        $this->data['OuterOrderNo'] = $value;
490
        $this->options['form_params']['OuterOrderNo'] = $value;
491
492
        return $this;
493
    }
494
495
    /**
496
     * @param string $value
497
     *
498
     * @return $this
499
     */
500
    public function withCertUrl($value)
501
    {
502
        $this->data['CertUrl'] = $value;
503
        $this->options['form_params']['CertUrl'] = $value;
504
505
        return $this;
506
    }
507
508
    /**
509
     * @param string $value
510
     *
511
     * @return $this
512
     */
513
    public function withCertType($value)
514
    {
515
        $this->data['CertType'] = $value;
516
        $this->options['form_params']['CertType'] = $value;
517
518
        return $this;
519
    }
520
521
    /**
522
     * @param string $value
523
     *
524
     * @return $this
525
     */
526
    public function withSceneId($value)
527
    {
528
        $this->data['SceneId'] = $value;
529
        $this->options['form_params']['SceneId'] = $value;
530
531
        return $this;
532
    }
533
}
534
535
/**
536
 * @method string getIdName()
537
 * @method string getUserId()
538
 * @method string getCertifyId()
539
 * @method string getFacePictureBase64()
540
 * @method string getMode()
541
 * @method string getCertNo()
542
 * @method string getOuterOrderNo()
543
 * @method string getCertType()
544
 * @method string getMetaInfo()
545
 * @method string getOcr()
546
 * @method string getOssObjectName()
547
 * @method string getFacePictureUrl()
548
 * @method string getIp()
549
 * @method string getCertName()
550
 * @method string getMobile()
551
 * @method string getIdNo()
552
 * @method string getSceneId()
553
 * @method string getCallbackToken()
554
 * @method string getOssBucketName()
555
 * @method string getCallbackUrl()
556
 */
557
class InitSmartVerify extends Rpc
558
{
559
560
    /**
561
     * @param string $value
562
     *
563
     * @return $this
564
     */
565
    public function withIdName($value)
566
    {
567
        $this->data['IdName'] = $value;
568
        $this->options['form_params']['IdName'] = $value;
569
570
        return $this;
571
    }
572
573
    /**
574
     * @param string $value
575
     *
576
     * @return $this
577
     */
578
    public function withUserId($value)
579
    {
580
        $this->data['UserId'] = $value;
581
        $this->options['form_params']['UserId'] = $value;
582
583
        return $this;
584
    }
585
586
    /**
587
     * @param string $value
588
     *
589
     * @return $this
590
     */
591
    public function withCertifyId($value)
592
    {
593
        $this->data['CertifyId'] = $value;
594
        $this->options['form_params']['CertifyId'] = $value;
595
596
        return $this;
597
    }
598
599
    /**
600
     * @param string $value
601
     *
602
     * @return $this
603
     */
604
    public function withFacePictureBase64($value)
605
    {
606
        $this->data['FacePictureBase64'] = $value;
607
        $this->options['form_params']['FacePictureBase64'] = $value;
608
609
        return $this;
610
    }
611
612
    /**
613
     * @param string $value
614
     *
615
     * @return $this
616
     */
617
    public function withMode($value)
618
    {
619
        $this->data['Mode'] = $value;
620
        $this->options['form_params']['Mode'] = $value;
621
622
        return $this;
623
    }
624
625
    /**
626
     * @param string $value
627
     *
628
     * @return $this
629
     */
630
    public function withCertNo($value)
631
    {
632
        $this->data['CertNo'] = $value;
633
        $this->options['form_params']['CertNo'] = $value;
634
635
        return $this;
636
    }
637
638
    /**
639
     * @param string $value
640
     *
641
     * @return $this
642
     */
643
    public function withOuterOrderNo($value)
644
    {
645
        $this->data['OuterOrderNo'] = $value;
646
        $this->options['form_params']['OuterOrderNo'] = $value;
647
648
        return $this;
649
    }
650
651
    /**
652
     * @param string $value
653
     *
654
     * @return $this
655
     */
656
    public function withCertType($value)
657
    {
658
        $this->data['CertType'] = $value;
659
        $this->options['form_params']['CertType'] = $value;
660
661
        return $this;
662
    }
663
664
    /**
665
     * @param string $value
666
     *
667
     * @return $this
668
     */
669
    public function withMetaInfo($value)
670
    {
671
        $this->data['MetaInfo'] = $value;
672
        $this->options['form_params']['MetaInfo'] = $value;
673
674
        return $this;
675
    }
676
677
    /**
678
     * @param string $value
679
     *
680
     * @return $this
681
     */
682
    public function withOcr($value)
683
    {
684
        $this->data['Ocr'] = $value;
685
        $this->options['form_params']['Ocr'] = $value;
686
687
        return $this;
688
    }
689
690
    /**
691
     * @param string $value
692
     *
693
     * @return $this
694
     */
695
    public function withOssObjectName($value)
696
    {
697
        $this->data['OssObjectName'] = $value;
698
        $this->options['form_params']['OssObjectName'] = $value;
699
700
        return $this;
701
    }
702
703
    /**
704
     * @param string $value
705
     *
706
     * @return $this
707
     */
708
    public function withFacePictureUrl($value)
709
    {
710
        $this->data['FacePictureUrl'] = $value;
711
        $this->options['form_params']['FacePictureUrl'] = $value;
712
713
        return $this;
714
    }
715
716
    /**
717
     * @param string $value
718
     *
719
     * @return $this
720
     */
721
    public function withIp($value)
722
    {
723
        $this->data['Ip'] = $value;
724
        $this->options['form_params']['Ip'] = $value;
725
726
        return $this;
727
    }
728
729
    /**
730
     * @param string $value
731
     *
732
     * @return $this
733
     */
734
    public function withCertName($value)
735
    {
736
        $this->data['CertName'] = $value;
737
        $this->options['form_params']['CertName'] = $value;
738
739
        return $this;
740
    }
741
742
    /**
743
     * @param string $value
744
     *
745
     * @return $this
746
     */
747
    public function withMobile($value)
748
    {
749
        $this->data['Mobile'] = $value;
750
        $this->options['form_params']['Mobile'] = $value;
751
752
        return $this;
753
    }
754
755
    /**
756
     * @param string $value
757
     *
758
     * @return $this
759
     */
760
    public function withIdNo($value)
761
    {
762
        $this->data['IdNo'] = $value;
763
        $this->options['form_params']['IdNo'] = $value;
764
765
        return $this;
766
    }
767
768
    /**
769
     * @param string $value
770
     *
771
     * @return $this
772
     */
773
    public function withSceneId($value)
774
    {
775
        $this->data['SceneId'] = $value;
776
        $this->options['form_params']['SceneId'] = $value;
777
778
        return $this;
779
    }
780
781
    /**
782
     * @param string $value
783
     *
784
     * @return $this
785
     */
786
    public function withCallbackToken($value)
787
    {
788
        $this->data['CallbackToken'] = $value;
789
        $this->options['form_params']['CallbackToken'] = $value;
790
791
        return $this;
792
    }
793
794
    /**
795
     * @param string $value
796
     *
797
     * @return $this
798
     */
799
    public function withOssBucketName($value)
800
    {
801
        $this->data['OssBucketName'] = $value;
802
        $this->options['form_params']['OssBucketName'] = $value;
803
804
        return $this;
805
    }
806
807
    /**
808
     * @param string $value
809
     *
810
     * @return $this
811
     */
812
    public function withCallbackUrl($value)
813
    {
814
        $this->data['CallbackUrl'] = $value;
815
        $this->options['form_params']['CallbackUrl'] = $value;
816
817
        return $this;
818
    }
819
}
820
821
/**
822
 * @method string getMobile()
823
 * @method string getSignName()
824
 * @method string getOuterOrderNo()
825
 * @method string getTemplateCode()
826
 * @method string getTemplateParam()
827
 */
828
class SendSms extends Rpc
829
{
830
831
    /**
832
     * @param string $value
833
     *
834
     * @return $this
835
     */
836
    public function withMobile($value)
837
    {
838
        $this->data['Mobile'] = $value;
839
        $this->options['form_params']['Mobile'] = $value;
840
841
        return $this;
842
    }
843
844
    /**
845
     * @param string $value
846
     *
847
     * @return $this
848
     */
849
    public function withSignName($value)
850
    {
851
        $this->data['SignName'] = $value;
852
        $this->options['form_params']['SignName'] = $value;
853
854
        return $this;
855
    }
856
857
    /**
858
     * @param string $value
859
     *
860
     * @return $this
861
     */
862
    public function withOuterOrderNo($value)
863
    {
864
        $this->data['OuterOrderNo'] = $value;
865
        $this->options['form_params']['OuterOrderNo'] = $value;
866
867
        return $this;
868
    }
869
870
    /**
871
     * @param string $value
872
     *
873
     * @return $this
874
     */
875
    public function withTemplateCode($value)
876
    {
877
        $this->data['TemplateCode'] = $value;
878
        $this->options['form_params']['TemplateCode'] = $value;
879
880
        return $this;
881
    }
882
883
    /**
884
     * @param string $value
885
     *
886
     * @return $this
887
     */
888
    public function withTemplateParam($value)
889
    {
890
        $this->data['TemplateParam'] = $value;
891
        $this->options['form_params']['TemplateParam'] = $value;
892
893
        return $this;
894
    }
895
}
896
897
/**
898
 * @method string getIdName()
899
 * @method string getMobile()
900
 * @method string getBankCardUrl()
901
 * @method string getIdNo()
902
 * @method string getBankCardNo()
903
 * @method string getMode()
904
 * @method string getOuterOrderNo()
905
 * @method string getBankCardFile()
906
 * @method string getSceneId()
907
 */
908
class VerifyBankElement extends Rpc
909
{
910
911
    /**
912
     * @param string $value
913
     *
914
     * @return $this
915
     */
916
    public function withIdName($value)
917
    {
918
        $this->data['IdName'] = $value;
919
        $this->options['form_params']['IdName'] = $value;
920
921
        return $this;
922
    }
923
924
    /**
925
     * @param string $value
926
     *
927
     * @return $this
928
     */
929
    public function withMobile($value)
930
    {
931
        $this->data['Mobile'] = $value;
932
        $this->options['form_params']['Mobile'] = $value;
933
934
        return $this;
935
    }
936
937
    /**
938
     * @param string $value
939
     *
940
     * @return $this
941
     */
942
    public function withBankCardUrl($value)
943
    {
944
        $this->data['BankCardUrl'] = $value;
945
        $this->options['form_params']['BankCardUrl'] = $value;
946
947
        return $this;
948
    }
949
950
    /**
951
     * @param string $value
952
     *
953
     * @return $this
954
     */
955
    public function withIdNo($value)
956
    {
957
        $this->data['IdNo'] = $value;
958
        $this->options['form_params']['IdNo'] = $value;
959
960
        return $this;
961
    }
962
963
    /**
964
     * @param string $value
965
     *
966
     * @return $this
967
     */
968
    public function withBankCardNo($value)
969
    {
970
        $this->data['BankCardNo'] = $value;
971
        $this->options['form_params']['BankCardNo'] = $value;
972
973
        return $this;
974
    }
975
976
    /**
977
     * @param string $value
978
     *
979
     * @return $this
980
     */
981
    public function withMode($value)
982
    {
983
        $this->data['Mode'] = $value;
984
        $this->options['form_params']['Mode'] = $value;
985
986
        return $this;
987
    }
988
989
    /**
990
     * @param string $value
991
     *
992
     * @return $this
993
     */
994
    public function withOuterOrderNo($value)
995
    {
996
        $this->data['OuterOrderNo'] = $value;
997
        $this->options['form_params']['OuterOrderNo'] = $value;
998
999
        return $this;
1000
    }
1001
1002
    /**
1003
     * @param string $value
1004
     *
1005
     * @return $this
1006
     */
1007
    public function withBankCardFile($value)
1008
    {
1009
        $this->data['BankCardFile'] = $value;
1010
        $this->options['form_params']['BankCardFile'] = $value;
1011
1012
        return $this;
1013
    }
1014
1015
    /**
1016
     * @param string $value
1017
     *
1018
     * @return $this
1019
     */
1020
    public function withSceneId($value)
1021
    {
1022
        $this->data['SceneId'] = $value;
1023
        $this->options['form_params']['SceneId'] = $value;
1024
1025
        return $this;
1026
    }
1027
}
1028