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 ( 61b6be...e82731 )
by
unknown
06:16
created

CompareFaces::withTargetImageType()   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\V20190307;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method ModifyDeviceInfo modifyDeviceInfo(array $options = [])
9
 * @method DescribeVerifySDK describeVerifySDK(array $options = [])
10
 * @method DescribeDeviceInfo describeDeviceInfo(array $options = [])
11
 * @method CreateVerifySDK createVerifySDK(array $options = [])
12
 * @method CreateAuthKey createAuthKey(array $options = [])
13
 * @method DetectFaceAttributes detectFaceAttributes(array $options = [])
14
 * @method CompareFaces compareFaces(array $options = [])
15
 * @method DescribeFaceUsage describeFaceUsage(array $options = [])
16
 * @method DescribeVerifyRecords describeVerifyRecords(array $options = [])
17
 * @method UpdateVerifySetting updateVerifySetting(array $options = [])
18
 * @method CreateVerifySetting createVerifySetting(array $options = [])
19
 * @method DescribeVerifySetting describeVerifySetting(array $options = [])
20
 * @method DescribeVerifyUsage describeVerifyUsage(array $options = [])
21
 * @method DescribeUserStatus describeUserStatus(array $options = [])
22
 * @method DescribeUploadInfo describeUploadInfo(array $options = [])
23
 * @method DescribeRPSDK describeRPSDK(array $options = [])
24
 * @method CreateRPSDK createRPSDK(array $options = [])
25
 * @method VerifyMaterial verifyMaterial(array $options = [])
26
 * @method DescribeVerifyResult describeVerifyResult(array $options = [])
27
 * @method DescribeOssUploadToken describeOssUploadToken(array $options = [])
28
 * @method DescribeVerifyToken describeVerifyToken(array $options = [])
29
 */
30
class CloudauthApiResolver extends ApiResolver
31
{
32
}
33
34
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
35
{
36
    /** @var string */
37
    public $product = 'Cloudauth';
38
39
    /** @var string */
40
    public $version = '2019-03-07';
41
42
    /** @var string */
43
    public $method = 'POST';
44
45
    /** @var string */
46
    public $serviceCode = 'cloudauth';
47
}
48
49
/**
50
 * @method string getUserDeviceId()
51
 * @method $this withUserDeviceId($value)
52
 * @method string getBizType()
53
 * @method $this withBizType($value)
54
 * @method string getDuration()
55
 * @method $this withDuration($value)
56
 * @method string getExpiredDay()
57
 * @method $this withExpiredDay($value)
58
 * @method string getSourceIp()
59
 * @method $this withSourceIp($value)
60
 * @method string getLang()
61
 * @method $this withLang($value)
62
 * @method string getDeviceId()
63
 * @method $this withDeviceId($value)
64
 */
65
class ModifyDeviceInfo extends Rpc
66
{
67
}
68
69
/**
70
 * @method string getSourceIp()
71
 * @method $this withSourceIp($value)
72
 * @method string getLang()
73
 * @method $this withLang($value)
74
 * @method string getTaskId()
75
 * @method $this withTaskId($value)
76
 */
77
class DescribeVerifySDK extends Rpc
78
{
79
}
80
81
/**
82
 * @method string getBizType()
83
 * @method $this withBizType($value)
84
 * @method string getUserDeviceId()
85
 * @method $this withUserDeviceId($value)
86
 * @method string getTotalCount()
87
 * @method $this withTotalCount($value)
88
 * @method string getSourceIp()
89
 * @method $this withSourceIp($value)
90
 * @method string getPageSize()
91
 * @method $this withPageSize($value)
92
 * @method string getCurrentPage()
93
 * @method $this withCurrentPage($value)
94
 * @method string getLang()
95
 * @method $this withLang($value)
96
 * @method string getExpiredEndDay()
97
 * @method $this withExpiredEndDay($value)
98
 * @method string getDeviceId()
99
 * @method $this withDeviceId($value)
100
 * @method string getExpiredStartDay()
101
 * @method $this withExpiredStartDay($value)
102
 */
103
class DescribeDeviceInfo extends Rpc
104
{
105
}
106
107
/**
108
 * @method string getSourceIp()
109
 * @method $this withSourceIp($value)
110
 * @method string getAppUrl()
111
 * @method $this withAppUrl($value)
112
 * @method string getLang()
113
 * @method $this withLang($value)
114
 * @method string getPlatform()
115
 * @method $this withPlatform($value)
116
 */
117
class CreateVerifySDK extends Rpc
118
{
119
}
120
121
/**
122
 * @method string getBizType()
123
 * @method $this withBizType($value)
124
 * @method string getUserDeviceId()
125
 * @method $this withUserDeviceId($value)
126
 * @method string getSourceIp()
127
 * @method $this withSourceIp($value)
128
 * @method string getTest()
129
 * @method $this withTest($value)
130
 * @method string getAuthYears()
131
 * @method $this withAuthYears($value)
132
 * @method string getLang()
133
 * @method $this withLang($value)
134
 */
135
class CreateAuthKey extends Rpc
136
{
137
}
138
139
/**
140
 * @method string getMaxNumPhotosPerCategory()
141
 * @method string getMaxFaceNum()
142
 * @method string getResourceOwnerId()
143
 * @method $this withResourceOwnerId($value)
144
 * @method string getSourceIp()
145
 * @method $this withSourceIp($value)
146
 * @method string getRetAttributes()
147
 * @method string getMaterialValue()
148
 * @method string getDontSaveDB()
149
 * @method string getClientTag()
150
 */
151
class DetectFaceAttributes extends Rpc
152
{
153
154
    /** @var string */
155
    public $scheme = 'https';
156
157
    /**
158
     * @param string $value
159
     *
160
     * @return $this
161
     */
162
    public function withMaxNumPhotosPerCategory($value)
163
    {
164
        $this->data['MaxNumPhotosPerCategory'] = $value;
165
        $this->options['form_params']['MaxNumPhotosPerCategory'] = $value;
166
167
        return $this;
168
    }
169
170
    /**
171
     * @param string $value
172
     *
173
     * @return $this
174
     */
175
    public function withMaxFaceNum($value)
176
    {
177
        $this->data['MaxFaceNum'] = $value;
178
        $this->options['form_params']['MaxFaceNum'] = $value;
179
180
        return $this;
181
    }
182
183
    /**
184
     * @param string $value
185
     *
186
     * @return $this
187
     */
188
    public function withRetAttributes($value)
189
    {
190
        $this->data['RetAttributes'] = $value;
191
        $this->options['form_params']['RetAttributes'] = $value;
192
193
        return $this;
194
    }
195
196
    /**
197
     * @param string $value
198
     *
199
     * @return $this
200
     */
201
    public function withMaterialValue($value)
202
    {
203
        $this->data['MaterialValue'] = $value;
204
        $this->options['form_params']['MaterialValue'] = $value;
205
206
        return $this;
207
    }
208
209
    /**
210
     * @param string $value
211
     *
212
     * @return $this
213
     */
214
    public function withDontSaveDB($value)
215
    {
216
        $this->data['DontSaveDB'] = $value;
217
        $this->options['form_params']['DontSaveDB'] = $value;
218
219
        return $this;
220
    }
221
222
    /**
223
     * @param string $value
224
     *
225
     * @return $this
226
     */
227
    public function withClientTag($value)
228
    {
229
        $this->data['ClientTag'] = $value;
230
        $this->options['form_params']['ClientTag'] = $value;
231
232
        return $this;
233
    }
234
}
235
236
/**
237
 * @method string getSourceImageType()
238
 * @method string getResourceOwnerId()
239
 * @method $this withResourceOwnerId($value)
240
 * @method string getSourceIp()
241
 * @method $this withSourceIp($value)
242
 * @method string getTargetImageType()
243
 * @method string getSourceImageValue()
244
 * @method string getTargetImageValue()
245
 */
246
class CompareFaces extends Rpc
247
{
248
249
    /** @var string */
250
    public $scheme = 'https';
251
252
    /**
253
     * @param string $value
254
     *
255
     * @return $this
256
     */
257
    public function withSourceImageType($value)
258
    {
259
        $this->data['SourceImageType'] = $value;
260
        $this->options['form_params']['SourceImageType'] = $value;
261
262
        return $this;
263
    }
264
265
    /**
266
     * @param string $value
267
     *
268
     * @return $this
269
     */
270
    public function withTargetImageType($value)
271
    {
272
        $this->data['TargetImageType'] = $value;
273
        $this->options['form_params']['TargetImageType'] = $value;
274
275
        return $this;
276
    }
277
278
    /**
279
     * @param string $value
280
     *
281
     * @return $this
282
     */
283
    public function withSourceImageValue($value)
284
    {
285
        $this->data['SourceImageValue'] = $value;
286
        $this->options['form_params']['SourceImageValue'] = $value;
287
288
        return $this;
289
    }
290
291
    /**
292
     * @param string $value
293
     *
294
     * @return $this
295
     */
296
    public function withTargetImageValue($value)
297
    {
298
        $this->data['TargetImageValue'] = $value;
299
        $this->options['form_params']['TargetImageValue'] = $value;
300
301
        return $this;
302
    }
303
}
304
305
/**
306
 * @method string getEndDate()
307
 * @method $this withEndDate($value)
308
 * @method string getSourceIp()
309
 * @method $this withSourceIp($value)
310
 * @method string getStartDate()
311
 * @method $this withStartDate($value)
312
 */
313
class DescribeFaceUsage extends Rpc
314
{
315
}
316
317
/**
318
 * @method string getBizType()
319
 * @method $this withBizType($value)
320
 * @method string getIdCardNum()
321
 * @method $this withIdCardNum($value)
322
 * @method string getTotalCount()
323
 * @method $this withTotalCount($value)
324
 * @method string getEndDate()
325
 * @method $this withEndDate($value)
326
 * @method string getStatusList()
327
 * @method $this withStatusList($value)
328
 * @method string getSourceIp()
329
 * @method $this withSourceIp($value)
330
 * @method string getPageSize()
331
 * @method $this withPageSize($value)
332
 * @method string getBizId()
333
 * @method $this withBizId($value)
334
 * @method string getCurrentPage()
335
 * @method $this withCurrentPage($value)
336
 * @method string getStartDate()
337
 * @method $this withStartDate($value)
338
 * @method string getQueryId()
339
 * @method $this withQueryId($value)
340
 */
341
class DescribeVerifyRecords extends Rpc
342
{
343
}
344
345
/**
346
 * @method string getBizType()
347
 * @method $this withBizType($value)
348
 * @method string getResultStep()
349
 * @method $this withResultStep($value)
350
 * @method string getGuideStep()
351
 * @method $this withGuideStep($value)
352
 * @method string getSourceIp()
353
 * @method $this withSourceIp($value)
354
 * @method string getBizName()
355
 * @method $this withBizName($value)
356
 * @method string getSolution()
357
 * @method $this withSolution($value)
358
 * @method string getPrivacyStep()
359
 * @method $this withPrivacyStep($value)
360
 */
361
class UpdateVerifySetting extends Rpc
362
{
363
}
364
365
/**
366
 * @method string getBizType()
367
 * @method $this withBizType($value)
368
 * @method string getResultStep()
369
 * @method $this withResultStep($value)
370
 * @method string getGuideStep()
371
 * @method $this withGuideStep($value)
372
 * @method string getSourceIp()
373
 * @method $this withSourceIp($value)
374
 * @method string getBizName()
375
 * @method $this withBizName($value)
376
 * @method string getSolution()
377
 * @method $this withSolution($value)
378
 * @method string getPrivacyStep()
379
 * @method $this withPrivacyStep($value)
380
 */
381
class CreateVerifySetting extends Rpc
382
{
383
}
384
385
/**
386
 * @method string getSourceIp()
387
 * @method $this withSourceIp($value)
388
 */
389
class DescribeVerifySetting extends Rpc
390
{
391
}
392
393
/**
394
 * @method string getBizType()
395
 * @method $this withBizType($value)
396
 * @method string getEndDate()
397
 * @method $this withEndDate($value)
398
 * @method string getSourceIp()
399
 * @method $this withSourceIp($value)
400
 * @method string getStartDate()
401
 * @method $this withStartDate($value)
402
 */
403
class DescribeVerifyUsage extends Rpc
404
{
405
}
406
407
/**
408
 * @method string getSourceIp()
409
 * @method $this withSourceIp($value)
410
 */
411
class DescribeUserStatus extends Rpc
412
{
413
}
414
415
/**
416
 * @method string getSourceIp()
417
 * @method $this withSourceIp($value)
418
 */
419
class DescribeUploadInfo extends Rpc
420
{
421
}
422
423
/**
424
 * @method string getSourceIp()
425
 * @method $this withSourceIp($value)
426
 * @method string getLang()
427
 * @method $this withLang($value)
428
 * @method string getTaskId()
429
 * @method $this withTaskId($value)
430
 */
431
class DescribeRPSDK extends Rpc
432
{
433
}
434
435
/**
436
 * @method string getSourceIp()
437
 * @method $this withSourceIp($value)
438
 * @method string getAppUrl()
439
 * @method $this withAppUrl($value)
440
 * @method string getLang()
441
 * @method $this withLang($value)
442
 * @method string getPlatform()
443
 * @method $this withPlatform($value)
444
 */
445
class CreateRPSDK extends Rpc
446
{
447
}
448
449
/**
450
 * @method string getBizType()
451
 * @method $this withBizType($value)
452
 * @method string getIdCardNumber()
453
 * @method $this withIdCardNumber($value)
454
 * @method string getSourceIp()
455
 * @method $this withSourceIp($value)
456
 * @method string getBizId()
457
 * @method $this withBizId($value)
458
 * @method string getName()
459
 * @method $this withName($value)
460
 * @method string getIdCardFrontImageUrl()
461
 * @method $this withIdCardFrontImageUrl($value)
462
 * @method string getIdCardBackImageUrl()
463
 * @method $this withIdCardBackImageUrl($value)
464
 * @method string getFaceImageUrl()
465
 * @method $this withFaceImageUrl($value)
466
 * @method string getUserId()
467
 * @method $this withUserId($value)
468
 */
469
class VerifyMaterial extends Rpc
470
{
471
}
472
473
/**
474
 * @method string getBizType()
475
 * @method $this withBizType($value)
476
 * @method string getSourceIp()
477
 * @method $this withSourceIp($value)
478
 * @method string getBizId()
479
 * @method $this withBizId($value)
480
 */
481
class DescribeVerifyResult extends Rpc
482
{
483
}
484
485
/**
486
 * @method string getSourceIp()
487
 * @method $this withSourceIp($value)
488
 */
489
class DescribeOssUploadToken extends Rpc
490
{
491
}
492
493
/**
494
 * @method string getIdCardNumber()
495
 * @method $this withIdCardNumber($value)
496
 * @method string getIdCardFrontImageUrl()
497
 * @method $this withIdCardFrontImageUrl($value)
498
 * @method string getFaceRetainedImageUrl()
499
 * @method $this withFaceRetainedImageUrl($value)
500
 * @method string getUserId()
501
 * @method $this withUserId($value)
502
 * @method string getBizType()
503
 * @method $this withBizType($value)
504
 * @method string getIdImageUrl()
505
 * @method $this withIdImageUrl($value)
506
 * @method string getPassedRedirectUrl()
507
 * @method $this withPassedRedirectUrl($value)
508
 * @method string getSourceIp()
509
 * @method $this withSourceIp($value)
510
 * @method string getCallbackSeed()
511
 * @method $this withCallbackSeed($value)
512
 * @method string getBizId()
513
 * @method $this withBizId($value)
514
 * @method string getName()
515
 * @method $this withName($value)
516
 * @method string getIdCardBackImageUrl()
517
 * @method $this withIdCardBackImageUrl($value)
518
 * @method string getCallbackUrl()
519
 * @method $this withCallbackUrl($value)
520
 * @method string getFailedRedirectUrl()
521
 * @method $this withFailedRedirectUrl($value)
522
 */
523
class DescribeVerifyToken extends Rpc
524
{
525
}
526