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 ( 0f7aef...72610d )
by
unknown
06:54
created

ContrastSmartVerify::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
c 0
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
 */
13
class CloudauthApiResolver extends ApiResolver
14
{
15
}
16
17
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
18
{
19
    /** @var string */
20
    public $product = 'Cloudauth';
21
22
    /** @var string */
23
    public $version = '2020-06-18';
24
25
    /** @var string */
26
    public $method = 'POST';
27
28
    /** @var string */
29
    public $serviceCode = 'cloudauth';
30
}
31
32
/**
33
 * @method string getFacePicFile()
34
 * @method string getIp()
35
 * @method string getCertName()
36
 * @method string getFacePicString()
37
 * @method string getMobile()
38
 * @method string getUserId()
39
 * @method string getMode()
40
 * @method string getCertNo()
41
 * @method string getOuterOrderNo()
42
 * @method string getFacePicUrl()
43
 * @method string getCertType()
44
 * @method string getSceneId()
45
 */
46
class ContrastSmartVerify extends Rpc
47
{
48
49
    /**
50
     * @param string $value
51
     *
52
     * @return $this
53
     */
54
    public function withFacePicFile($value)
55
    {
56
        $this->data['FacePicFile'] = $value;
57
        $this->options['form_params']['FacePicFile'] = $value;
58
59
        return $this;
60
    }
61
62
    /**
63
     * @param string $value
64
     *
65
     * @return $this
66
     */
67
    public function withIp($value)
68
    {
69
        $this->data['Ip'] = $value;
70
        $this->options['form_params']['Ip'] = $value;
71
72
        return $this;
73
    }
74
75
    /**
76
     * @param string $value
77
     *
78
     * @return $this
79
     */
80
    public function withCertName($value)
81
    {
82
        $this->data['CertName'] = $value;
83
        $this->options['form_params']['CertName'] = $value;
84
85
        return $this;
86
    }
87
88
    /**
89
     * @param string $value
90
     *
91
     * @return $this
92
     */
93
    public function withFacePicString($value)
94
    {
95
        $this->data['FacePicString'] = $value;
96
        $this->options['form_params']['FacePicString'] = $value;
97
98
        return $this;
99
    }
100
101
    /**
102
     * @param string $value
103
     *
104
     * @return $this
105
     */
106
    public function withMobile($value)
107
    {
108
        $this->data['Mobile'] = $value;
109
        $this->options['form_params']['Mobile'] = $value;
110
111
        return $this;
112
    }
113
114
    /**
115
     * @param string $value
116
     *
117
     * @return $this
118
     */
119
    public function withUserId($value)
120
    {
121
        $this->data['UserId'] = $value;
122
        $this->options['form_params']['UserId'] = $value;
123
124
        return $this;
125
    }
126
127
    /**
128
     * @param string $value
129
     *
130
     * @return $this
131
     */
132
    public function withMode($value)
133
    {
134
        $this->data['Mode'] = $value;
135
        $this->options['form_params']['Mode'] = $value;
136
137
        return $this;
138
    }
139
140
    /**
141
     * @param string $value
142
     *
143
     * @return $this
144
     */
145
    public function withCertNo($value)
146
    {
147
        $this->data['CertNo'] = $value;
148
        $this->options['form_params']['CertNo'] = $value;
149
150
        return $this;
151
    }
152
153
    /**
154
     * @param string $value
155
     *
156
     * @return $this
157
     */
158
    public function withOuterOrderNo($value)
159
    {
160
        $this->data['OuterOrderNo'] = $value;
161
        $this->options['form_params']['OuterOrderNo'] = $value;
162
163
        return $this;
164
    }
165
166
    /**
167
     * @param string $value
168
     *
169
     * @return $this
170
     */
171
    public function withFacePicUrl($value)
172
    {
173
        $this->data['FacePicUrl'] = $value;
174
        $this->options['form_params']['FacePicUrl'] = $value;
175
176
        return $this;
177
    }
178
179
    /**
180
     * @param string $value
181
     *
182
     * @return $this
183
     */
184
    public function withCertType($value)
185
    {
186
        $this->data['CertType'] = $value;
187
        $this->options['form_params']['CertType'] = $value;
188
189
        return $this;
190
    }
191
192
    /**
193
     * @param string $value
194
     *
195
     * @return $this
196
     */
197
    public function withSceneId($value)
198
    {
199
        $this->data['SceneId'] = $value;
200
        $this->options['form_params']['SceneId'] = $value;
201
202
        return $this;
203
    }
204
}
205
206
/**
207
 * @method string getCertifyId()
208
 * @method string getPictureReturnType()
209
 * @method string getSceneId()
210
 */
211
class DescribeSmartVerify extends Rpc
212
{
213
214
    /**
215
     * @param string $value
216
     *
217
     * @return $this
218
     */
219
    public function withCertifyId($value)
220
    {
221
        $this->data['CertifyId'] = $value;
222
        $this->options['form_params']['CertifyId'] = $value;
223
224
        return $this;
225
    }
226
227
    /**
228
     * @param string $value
229
     *
230
     * @return $this
231
     */
232
    public function withPictureReturnType($value)
233
    {
234
        $this->data['PictureReturnType'] = $value;
235
        $this->options['form_params']['PictureReturnType'] = $value;
236
237
        return $this;
238
    }
239
240
    /**
241
     * @param string $value
242
     *
243
     * @return $this
244
     */
245
    public function withSceneId($value)
246
    {
247
        $this->data['SceneId'] = $value;
248
        $this->options['form_params']['SceneId'] = $value;
249
250
        return $this;
251
    }
252
}
253
254
/**
255
 * @method string getCertFile()
256
 * @method string getCertName()
257
 * @method string getMode()
258
 * @method string getCertNo()
259
 * @method string getOuterOrderNo()
260
 * @method string getCertUrl()
261
 * @method string getCertType()
262
 * @method string getSceneId()
263
 */
264
class ElementSmartVerify extends Rpc
265
{
266
267
    /**
268
     * @param string $value
269
     *
270
     * @return $this
271
     */
272
    public function withCertFile($value)
273
    {
274
        $this->data['CertFile'] = $value;
275
        $this->options['form_params']['CertFile'] = $value;
276
277
        return $this;
278
    }
279
280
    /**
281
     * @param string $value
282
     *
283
     * @return $this
284
     */
285
    public function withCertName($value)
286
    {
287
        $this->data['CertName'] = $value;
288
        $this->options['form_params']['CertName'] = $value;
289
290
        return $this;
291
    }
292
293
    /**
294
     * @param string $value
295
     *
296
     * @return $this
297
     */
298
    public function withMode($value)
299
    {
300
        $this->data['Mode'] = $value;
301
        $this->options['form_params']['Mode'] = $value;
302
303
        return $this;
304
    }
305
306
    /**
307
     * @param string $value
308
     *
309
     * @return $this
310
     */
311
    public function withCertNo($value)
312
    {
313
        $this->data['CertNo'] = $value;
314
        $this->options['form_params']['CertNo'] = $value;
315
316
        return $this;
317
    }
318
319
    /**
320
     * @param string $value
321
     *
322
     * @return $this
323
     */
324
    public function withOuterOrderNo($value)
325
    {
326
        $this->data['OuterOrderNo'] = $value;
327
        $this->options['form_params']['OuterOrderNo'] = $value;
328
329
        return $this;
330
    }
331
332
    /**
333
     * @param string $value
334
     *
335
     * @return $this
336
     */
337
    public function withCertUrl($value)
338
    {
339
        $this->data['CertUrl'] = $value;
340
        $this->options['form_params']['CertUrl'] = $value;
341
342
        return $this;
343
    }
344
345
    /**
346
     * @param string $value
347
     *
348
     * @return $this
349
     */
350
    public function withCertType($value)
351
    {
352
        $this->data['CertType'] = $value;
353
        $this->options['form_params']['CertType'] = $value;
354
355
        return $this;
356
    }
357
358
    /**
359
     * @param string $value
360
     *
361
     * @return $this
362
     */
363
    public function withSceneId($value)
364
    {
365
        $this->data['SceneId'] = $value;
366
        $this->options['form_params']['SceneId'] = $value;
367
368
        return $this;
369
    }
370
}
371
372
/**
373
 * @method string getUserId()
374
 * @method string getCertifyId()
375
 * @method string getFacePictureBase64()
376
 * @method string getMode()
377
 * @method string getCertNo()
378
 * @method string getOuterOrderNo()
379
 * @method string getCertType()
380
 * @method string getMetaInfo()
381
 * @method string getOcr()
382
 * @method string getOssObjectName()
383
 * @method string getFacePictureUrl()
384
 * @method string getIp()
385
 * @method string getCertName()
386
 * @method string getMobile()
387
 * @method string getSceneId()
388
 * @method string getCallbackToken()
389
 * @method string getOssBucketName()
390
 * @method string getCallbackUrl()
391
 */
392
class InitSmartVerify extends Rpc
393
{
394
395
    /**
396
     * @param string $value
397
     *
398
     * @return $this
399
     */
400
    public function withUserId($value)
401
    {
402
        $this->data['UserId'] = $value;
403
        $this->options['form_params']['UserId'] = $value;
404
405
        return $this;
406
    }
407
408
    /**
409
     * @param string $value
410
     *
411
     * @return $this
412
     */
413
    public function withCertifyId($value)
414
    {
415
        $this->data['CertifyId'] = $value;
416
        $this->options['form_params']['CertifyId'] = $value;
417
418
        return $this;
419
    }
420
421
    /**
422
     * @param string $value
423
     *
424
     * @return $this
425
     */
426
    public function withFacePictureBase64($value)
427
    {
428
        $this->data['FacePictureBase64'] = $value;
429
        $this->options['form_params']['FacePictureBase64'] = $value;
430
431
        return $this;
432
    }
433
434
    /**
435
     * @param string $value
436
     *
437
     * @return $this
438
     */
439
    public function withMode($value)
440
    {
441
        $this->data['Mode'] = $value;
442
        $this->options['form_params']['Mode'] = $value;
443
444
        return $this;
445
    }
446
447
    /**
448
     * @param string $value
449
     *
450
     * @return $this
451
     */
452
    public function withCertNo($value)
453
    {
454
        $this->data['CertNo'] = $value;
455
        $this->options['form_params']['CertNo'] = $value;
456
457
        return $this;
458
    }
459
460
    /**
461
     * @param string $value
462
     *
463
     * @return $this
464
     */
465
    public function withOuterOrderNo($value)
466
    {
467
        $this->data['OuterOrderNo'] = $value;
468
        $this->options['form_params']['OuterOrderNo'] = $value;
469
470
        return $this;
471
    }
472
473
    /**
474
     * @param string $value
475
     *
476
     * @return $this
477
     */
478
    public function withCertType($value)
479
    {
480
        $this->data['CertType'] = $value;
481
        $this->options['form_params']['CertType'] = $value;
482
483
        return $this;
484
    }
485
486
    /**
487
     * @param string $value
488
     *
489
     * @return $this
490
     */
491
    public function withMetaInfo($value)
492
    {
493
        $this->data['MetaInfo'] = $value;
494
        $this->options['form_params']['MetaInfo'] = $value;
495
496
        return $this;
497
    }
498
499
    /**
500
     * @param string $value
501
     *
502
     * @return $this
503
     */
504
    public function withOcr($value)
505
    {
506
        $this->data['Ocr'] = $value;
507
        $this->options['form_params']['Ocr'] = $value;
508
509
        return $this;
510
    }
511
512
    /**
513
     * @param string $value
514
     *
515
     * @return $this
516
     */
517
    public function withOssObjectName($value)
518
    {
519
        $this->data['OssObjectName'] = $value;
520
        $this->options['form_params']['OssObjectName'] = $value;
521
522
        return $this;
523
    }
524
525
    /**
526
     * @param string $value
527
     *
528
     * @return $this
529
     */
530
    public function withFacePictureUrl($value)
531
    {
532
        $this->data['FacePictureUrl'] = $value;
533
        $this->options['form_params']['FacePictureUrl'] = $value;
534
535
        return $this;
536
    }
537
538
    /**
539
     * @param string $value
540
     *
541
     * @return $this
542
     */
543
    public function withIp($value)
544
    {
545
        $this->data['Ip'] = $value;
546
        $this->options['form_params']['Ip'] = $value;
547
548
        return $this;
549
    }
550
551
    /**
552
     * @param string $value
553
     *
554
     * @return $this
555
     */
556
    public function withCertName($value)
557
    {
558
        $this->data['CertName'] = $value;
559
        $this->options['form_params']['CertName'] = $value;
560
561
        return $this;
562
    }
563
564
    /**
565
     * @param string $value
566
     *
567
     * @return $this
568
     */
569
    public function withMobile($value)
570
    {
571
        $this->data['Mobile'] = $value;
572
        $this->options['form_params']['Mobile'] = $value;
573
574
        return $this;
575
    }
576
577
    /**
578
     * @param string $value
579
     *
580
     * @return $this
581
     */
582
    public function withSceneId($value)
583
    {
584
        $this->data['SceneId'] = $value;
585
        $this->options['form_params']['SceneId'] = $value;
586
587
        return $this;
588
    }
589
590
    /**
591
     * @param string $value
592
     *
593
     * @return $this
594
     */
595
    public function withCallbackToken($value)
596
    {
597
        $this->data['CallbackToken'] = $value;
598
        $this->options['form_params']['CallbackToken'] = $value;
599
600
        return $this;
601
    }
602
603
    /**
604
     * @param string $value
605
     *
606
     * @return $this
607
     */
608
    public function withOssBucketName($value)
609
    {
610
        $this->data['OssBucketName'] = $value;
611
        $this->options['form_params']['OssBucketName'] = $value;
612
613
        return $this;
614
    }
615
616
    /**
617
     * @param string $value
618
     *
619
     * @return $this
620
     */
621
    public function withCallbackUrl($value)
622
    {
623
        $this->data['CallbackUrl'] = $value;
624
        $this->options['form_params']['CallbackUrl'] = $value;
625
626
        return $this;
627
    }
628
}
629