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 ( 5dde16...74a712 )
by
unknown
06:55
created

InitSmartVerify   A

Complexity

Total Complexity 11

Size/Duplication

Total Lines 144
Duplicated Lines 0 %

Importance

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

11 Methods

Rating   Name   Duplication   Size   Complexity  
A withCertNo() 0 6 1
A withUserId() 0 6 1
A withMobile() 0 6 1
A withCertName() 0 6 1
A withOcr() 0 6 1
A withIp() 0 6 1
A withSceneId() 0 6 1
A withOuterOrderNo() 0 6 1
A withMetaInfo() 0 6 1
A withCertType() 0 6 1
A withMode() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\Cloudauth\V20200618;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method DescribeSmartVerify describeSmartVerify(array $options = [])
9
 * @method InitSmartVerify initSmartVerify(array $options = [])
10
 */
11
class CloudauthApiResolver extends ApiResolver
12
{
13
}
14
15
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
16
{
17
    /** @var string */
18
    public $product = 'Cloudauth';
19
20
    /** @var string */
21
    public $version = '2020-06-18';
22
23
    /** @var string */
24
    public $method = 'POST';
25
26
    /** @var string */
27
    public $serviceCode = 'cloudauth';
28
}
29
30
/**
31
 * @method string getSceneId()
32
 * @method string getCertifyId()
33
 */
34
class DescribeSmartVerify extends Rpc
35
{
36
37
    /**
38
     * @param string $value
39
     *
40
     * @return $this
41
     */
42
    public function withSceneId($value)
43
    {
44
        $this->data['SceneId'] = $value;
45
        $this->options['form_params']['SceneId'] = $value;
46
47
        return $this;
48
    }
49
50
    /**
51
     * @param string $value
52
     *
53
     * @return $this
54
     */
55
    public function withCertifyId($value)
56
    {
57
        $this->data['CertifyId'] = $value;
58
        $this->options['form_params']['CertifyId'] = $value;
59
60
        return $this;
61
    }
62
}
63
64
/**
65
 * @method string getIp()
66
 * @method string getCertName()
67
 * @method string getMobile()
68
 * @method string getUserId()
69
 * @method string getMode()
70
 * @method string getCertNo()
71
 * @method string getOuterOrderNo()
72
 * @method string getCertType()
73
 * @method string getSceneId()
74
 * @method string getMetaInfo()
75
 * @method string getOcr()
76
 */
77
class InitSmartVerify extends Rpc
78
{
79
80
    /**
81
     * @param string $value
82
     *
83
     * @return $this
84
     */
85
    public function withIp($value)
86
    {
87
        $this->data['Ip'] = $value;
88
        $this->options['form_params']['Ip'] = $value;
89
90
        return $this;
91
    }
92
93
    /**
94
     * @param string $value
95
     *
96
     * @return $this
97
     */
98
    public function withCertName($value)
99
    {
100
        $this->data['CertName'] = $value;
101
        $this->options['form_params']['CertName'] = $value;
102
103
        return $this;
104
    }
105
106
    /**
107
     * @param string $value
108
     *
109
     * @return $this
110
     */
111
    public function withMobile($value)
112
    {
113
        $this->data['Mobile'] = $value;
114
        $this->options['form_params']['Mobile'] = $value;
115
116
        return $this;
117
    }
118
119
    /**
120
     * @param string $value
121
     *
122
     * @return $this
123
     */
124
    public function withUserId($value)
125
    {
126
        $this->data['UserId'] = $value;
127
        $this->options['form_params']['UserId'] = $value;
128
129
        return $this;
130
    }
131
132
    /**
133
     * @param string $value
134
     *
135
     * @return $this
136
     */
137
    public function withMode($value)
138
    {
139
        $this->data['Mode'] = $value;
140
        $this->options['form_params']['Mode'] = $value;
141
142
        return $this;
143
    }
144
145
    /**
146
     * @param string $value
147
     *
148
     * @return $this
149
     */
150
    public function withCertNo($value)
151
    {
152
        $this->data['CertNo'] = $value;
153
        $this->options['form_params']['CertNo'] = $value;
154
155
        return $this;
156
    }
157
158
    /**
159
     * @param string $value
160
     *
161
     * @return $this
162
     */
163
    public function withOuterOrderNo($value)
164
    {
165
        $this->data['OuterOrderNo'] = $value;
166
        $this->options['form_params']['OuterOrderNo'] = $value;
167
168
        return $this;
169
    }
170
171
    /**
172
     * @param string $value
173
     *
174
     * @return $this
175
     */
176
    public function withCertType($value)
177
    {
178
        $this->data['CertType'] = $value;
179
        $this->options['form_params']['CertType'] = $value;
180
181
        return $this;
182
    }
183
184
    /**
185
     * @param string $value
186
     *
187
     * @return $this
188
     */
189
    public function withSceneId($value)
190
    {
191
        $this->data['SceneId'] = $value;
192
        $this->options['form_params']['SceneId'] = $value;
193
194
        return $this;
195
    }
196
197
    /**
198
     * @param string $value
199
     *
200
     * @return $this
201
     */
202
    public function withMetaInfo($value)
203
    {
204
        $this->data['MetaInfo'] = $value;
205
        $this->options['form_params']['MetaInfo'] = $value;
206
207
        return $this;
208
    }
209
210
    /**
211
     * @param string $value
212
     *
213
     * @return $this
214
     */
215
    public function withOcr($value)
216
    {
217
        $this->data['Ocr'] = $value;
218
        $this->options['form_params']['Ocr'] = $value;
219
220
        return $this;
221
    }
222
}
223