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 ( 063168...2cfc57 )
by
unknown
06:49 queued 02:43
created

RecognizeVehicleType::withImageURL()   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
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Imagerecog\V20190930;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method ClassifyingRubbish classifyingRubbish(array $options = [])
9
 * @method DetectImageElements detectImageElements(array $options = [])
10
 * @method RecognizeImageColor recognizeImageColor(array $options = [])
11
 * @method RecognizeImageStyle recognizeImageStyle(array $options = [])
12
 * @method RecognizeLogo recognizeLogo(array $options = [])
13
 * @method RecognizeScene recognizeScene(array $options = [])
14
 * @method RecognizeVehicleType recognizeVehicleType(array $options = [])
15
 * @method TaggingImage taggingImage(array $options = [])
16
 */
17
class ImagerecogApiResolver extends ApiResolver
18
{
19
}
20
21
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
22
{
23
    /** @var string */
24
    public $product = 'imagerecog';
25
26
    /** @var string */
27
    public $version = '2019-09-30';
28
29
    /** @var string */
30
    public $method = 'POST';
31
32
    /** @var string */
33
    public $serviceCode = 'imagerecog';
34
}
35
36
/**
37
 * @method string getImageURL()
38
 */
39
class ClassifyingRubbish extends Rpc
40
{
41
42
    /**
43
     * @param string $value
44
     *
45
     * @return $this
46
     */
47
    public function withImageURL($value)
48
    {
49
        $this->data['ImageURL'] = $value;
50
        $this->options['form_params']['ImageURL'] = $value;
51
52
        return $this;
53
    }
54
}
55
56
/**
57
 * @method string getUrl()
58
 */
59
class DetectImageElements extends Rpc
60
{
61
62
    /**
63
     * @param string $value
64
     *
65
     * @return $this
66
     */
67
    public function withUrl($value)
68
    {
69
        $this->data['Url'] = $value;
70
        $this->options['form_params']['Url'] = $value;
71
72
        return $this;
73
    }
74
}
75
76
/**
77
 * @method string getUrl()
78
 * @method string getColorCount()
79
 */
80
class RecognizeImageColor extends Rpc
81
{
82
83
    /**
84
     * @param string $value
85
     *
86
     * @return $this
87
     */
88
    public function withUrl($value)
89
    {
90
        $this->data['Url'] = $value;
91
        $this->options['form_params']['Url'] = $value;
92
93
        return $this;
94
    }
95
96
    /**
97
     * @param string $value
98
     *
99
     * @return $this
100
     */
101
    public function withColorCount($value)
102
    {
103
        $this->data['ColorCount'] = $value;
104
        $this->options['form_params']['ColorCount'] = $value;
105
106
        return $this;
107
    }
108
}
109
110
/**
111
 * @method string getUrl()
112
 */
113
class RecognizeImageStyle extends Rpc
114
{
115
116
    /**
117
     * @param string $value
118
     *
119
     * @return $this
120
     */
121
    public function withUrl($value)
122
    {
123
        $this->data['Url'] = $value;
124
        $this->options['form_params']['Url'] = $value;
125
126
        return $this;
127
    }
128
}
129
130
/**
131
 * @method array getTasks()
132
 */
133
class RecognizeLogo extends Rpc
134
{
135
136
    /**
137
     * @param array $tasks
138
     *
139
     * @return $this
140
     */
141
	public function withTasks(array $tasks)
142
	{
143
	    $this->data['Tasks'] = $tasks;
144
		foreach ($tasks as $depth1 => $depth1Value) {
145
			$this->options['form_params']['Tasks.' . ($depth1 + 1) . '.ImageURL'] = $depth1Value['ImageURL'];
146
		}
147
148
		return $this;
149
    }
150
}
151
152
/**
153
 * @method string getImageType()
154
 * @method string getImageURL()
155
 */
156
class RecognizeScene extends Rpc
157
{
158
159
    /**
160
     * @param string $value
161
     *
162
     * @return $this
163
     */
164
    public function withImageType($value)
165
    {
166
        $this->data['ImageType'] = $value;
167
        $this->options['form_params']['ImageType'] = $value;
168
169
        return $this;
170
    }
171
172
    /**
173
     * @param string $value
174
     *
175
     * @return $this
176
     */
177
    public function withImageURL($value)
178
    {
179
        $this->data['ImageURL'] = $value;
180
        $this->options['form_params']['ImageURL'] = $value;
181
182
        return $this;
183
    }
184
}
185
186
/**
187
 * @method string getImageURL()
188
 */
189
class RecognizeVehicleType extends Rpc
190
{
191
192
    /**
193
     * @param string $value
194
     *
195
     * @return $this
196
     */
197
    public function withImageURL($value)
198
    {
199
        $this->data['ImageURL'] = $value;
200
        $this->options['form_params']['ImageURL'] = $value;
201
202
        return $this;
203
    }
204
}
205
206
/**
207
 * @method string getImageType()
208
 * @method string getImageURL()
209
 */
210
class TaggingImage extends Rpc
211
{
212
213
    /**
214
     * @param string $value
215
     *
216
     * @return $this
217
     */
218
    public function withImageType($value)
219
    {
220
        $this->data['ImageType'] = $value;
221
        $this->options['form_params']['ImageType'] = $value;
222
223
        return $this;
224
    }
225
226
    /**
227
     * @param string $value
228
     *
229
     * @return $this
230
     */
231
    public function withImageURL($value)
232
    {
233
        $this->data['ImageURL'] = $value;
234
        $this->options['form_params']['ImageURL'] = $value;
235
236
        return $this;
237
    }
238
}
239