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 ( b53ea1...96119f )
by
unknown
31:51 queued 23:39
created

RecognizeFace::withImageType()   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\Facebody\V20191230;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CompareFace compareFace(array $options = [])
9
 * @method DetectFace detectFace(array $options = [])
10
 * @method RecognizeFace recognizeFace(array $options = [])
11
 */
12
class FacebodyApiResolver extends ApiResolver
13
{
14
}
15
16
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
17
{
18
    /** @var string */
19
    public $product = 'facebody';
20
21
    /** @var string */
22
    public $version = '2019-12-30';
23
24
    /** @var string */
25
    public $method = 'POST';
26
27
    /** @var string */
28
    public $serviceCode = 'facebody';
29
}
30
31
/**
32
 * @method string getImageContentB()
33
 * @method string getImageType()
34
 * @method string getImageContentA()
35
 * @method string getImageURLB()
36
 * @method string getImageURLA()
37
 */
38
class CompareFace extends Rpc
39
{
40
41
    /**
42
     * @param string $value
43
     *
44
     * @return $this
45
     */
46
    public function withImageContentB($value)
47
    {
48
        $this->data['ImageContentB'] = $value;
49
        $this->options['form_params']['ImageContentB'] = $value;
50
51
        return $this;
52
    }
53
54
    /**
55
     * @param string $value
56
     *
57
     * @return $this
58
     */
59
    public function withImageType($value)
60
    {
61
        $this->data['ImageType'] = $value;
62
        $this->options['form_params']['ImageType'] = $value;
63
64
        return $this;
65
    }
66
67
    /**
68
     * @param string $value
69
     *
70
     * @return $this
71
     */
72
    public function withImageContentA($value)
73
    {
74
        $this->data['ImageContentA'] = $value;
75
        $this->options['form_params']['ImageContentA'] = $value;
76
77
        return $this;
78
    }
79
80
    /**
81
     * @param string $value
82
     *
83
     * @return $this
84
     */
85
    public function withImageURLB($value)
86
    {
87
        $this->data['ImageURLB'] = $value;
88
        $this->options['form_params']['ImageURLB'] = $value;
89
90
        return $this;
91
    }
92
93
    /**
94
     * @param string $value
95
     *
96
     * @return $this
97
     */
98
    public function withImageURLA($value)
99
    {
100
        $this->data['ImageURLA'] = $value;
101
        $this->options['form_params']['ImageURLA'] = $value;
102
103
        return $this;
104
    }
105
}
106
107
/**
108
 * @method string getImageType()
109
 * @method string getImageURL()
110
 * @method string getImageContent()
111
 */
112
class DetectFace extends Rpc
113
{
114
115
    /**
116
     * @param string $value
117
     *
118
     * @return $this
119
     */
120
    public function withImageType($value)
121
    {
122
        $this->data['ImageType'] = $value;
123
        $this->options['form_params']['ImageType'] = $value;
124
125
        return $this;
126
    }
127
128
    /**
129
     * @param string $value
130
     *
131
     * @return $this
132
     */
133
    public function withImageURL($value)
134
    {
135
        $this->data['ImageURL'] = $value;
136
        $this->options['form_params']['ImageURL'] = $value;
137
138
        return $this;
139
    }
140
141
    /**
142
     * @param string $value
143
     *
144
     * @return $this
145
     */
146
    public function withImageContent($value)
147
    {
148
        $this->data['ImageContent'] = $value;
149
        $this->options['form_params']['ImageContent'] = $value;
150
151
        return $this;
152
    }
153
}
154
155
/**
156
 * @method string getImageType()
157
 * @method string getImageURL()
158
 * @method string getImageContent()
159
 */
160
class RecognizeFace extends Rpc
161
{
162
163
    /**
164
     * @param string $value
165
     *
166
     * @return $this
167
     */
168
    public function withImageType($value)
169
    {
170
        $this->data['ImageType'] = $value;
171
        $this->options['form_params']['ImageType'] = $value;
172
173
        return $this;
174
    }
175
176
    /**
177
     * @param string $value
178
     *
179
     * @return $this
180
     */
181
    public function withImageURL($value)
182
    {
183
        $this->data['ImageURL'] = $value;
184
        $this->options['form_params']['ImageURL'] = $value;
185
186
        return $this;
187
    }
188
189
    /**
190
     * @param string $value
191
     *
192
     * @return $this
193
     */
194
    public function withImageContent($value)
195
    {
196
        $this->data['ImageContent'] = $value;
197
        $this->options['form_params']['ImageContent'] = $value;
198
199
        return $this;
200
    }
201
}
202