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 ( 211950...0d7835 )
by
unknown
11:37 queued 05:49
created

DetectIPCPedestrianOptimized   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 42
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 3
eloc 11
c 1
b 0
f 0
dl 0
loc 42
rs 10

3 Methods

Rating   Name   Duplication   Size   Complexity  
A withImageData() 0 6 1
A withWidth() 0 6 1
A withHeight() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\Facebody\V20200910;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method DetectIPCPedestrianOptimized detectIPCPedestrianOptimized(array $options = [])
9
 * @method ExecuteServerSideVerification executeServerSideVerification(array $options = [])
10
 */
11
class FacebodyApiResolver extends ApiResolver
12
{
13
}
14
15
class Roa extends \AlibabaCloud\Client\Resolver\Roa
16
{
17
    /** @var string */
18
    public $product = 'facebody';
19
20
    /** @var string */
21
    public $version = '2020-09-10';
22
23
    /** @var string */
24
    public $method = 'POST';
25
26
    /** @var string */
27
    public $serviceCode = 'facebody';
28
}
29
30
/**
31
 * @method string getImageData()
32
 * @method string getWidth()
33
 * @method string getHeight()
34
 */
35
class DetectIPCPedestrianOptimized extends Roa
36
{
37
    /** @var string */
38
    public $pathPattern = '/viapi/k8s/facebody/detect-ipc-pedestrian-optimized';
39
40
    /**
41
     * @param string $value
42
     *
43
     * @return $this
44
     */
45
    public function withImageData($value)
46
    {
47
        $this->data['ImageData'] = $value;
48
        $this->options['form_params']['imageData'] = $value;
49
50
        return $this;
51
    }
52
53
    /**
54
     * @param string $value
55
     *
56
     * @return $this
57
     */
58
    public function withWidth($value)
59
    {
60
        $this->data['Width'] = $value;
61
        $this->options['form_params']['width'] = $value;
62
63
        return $this;
64
    }
65
66
    /**
67
     * @param string $value
68
     *
69
     * @return $this
70
     */
71
    public function withHeight($value)
72
    {
73
        $this->data['Height'] = $value;
74
        $this->options['form_params']['height'] = $value;
75
76
        return $this;
77
    }
78
}
79
80
/**
81
 * @method string getFacialPictureData()
82
 * @method string getSceneType()
83
 * @method string getCertificateNumber()
84
 * @method string getCertificateName()
85
 * @method string getFacialPictureUrl()
86
 */
87
class ExecuteServerSideVerification extends Roa
88
{
89
    /** @var string */
90
    public $pathPattern = '/viapi/thirdparty/realperson/execServerSideVerification';
91
92
    /**
93
     * @param string $value
94
     *
95
     * @return $this
96
     */
97
    public function withFacialPictureData($value)
98
    {
99
        $this->data['FacialPictureData'] = $value;
100
        $this->options['form_params']['facialPictureData'] = $value;
101
102
        return $this;
103
    }
104
105
    /**
106
     * @param string $value
107
     *
108
     * @return $this
109
     */
110
    public function withSceneType($value)
111
    {
112
        $this->data['SceneType'] = $value;
113
        $this->options['form_params']['sceneType'] = $value;
114
115
        return $this;
116
    }
117
118
    /**
119
     * @param string $value
120
     *
121
     * @return $this
122
     */
123
    public function withCertificateNumber($value)
124
    {
125
        $this->data['CertificateNumber'] = $value;
126
        $this->options['form_params']['certificateNumber'] = $value;
127
128
        return $this;
129
    }
130
131
    /**
132
     * @param string $value
133
     *
134
     * @return $this
135
     */
136
    public function withCertificateName($value)
137
    {
138
        $this->data['CertificateName'] = $value;
139
        $this->options['form_params']['certificateName'] = $value;
140
141
        return $this;
142
    }
143
144
    /**
145
     * @param string $value
146
     *
147
     * @return $this
148
     */
149
    public function withFacialPictureUrl($value)
150
    {
151
        $this->data['FacialPictureUrl'] = $value;
152
        $this->options['form_params']['facialPictureUrl'] = $value;
153
154
        return $this;
155
    }
156
}
157