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 ( 036268...175cd3 )
by
unknown
06:49
created

IdentifyPlant::withImageContent()   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\Visionai\V20191024;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method DetectEdge detectEdge(array $options = [])
9
 * @method DetectMultiObject detectMultiObject(array $options = [])
10
 * @method DetectTransparent detectTransparent(array $options = [])
11
 * @method DetectWhitebg detectWhitebg(array $options = [])
12
 * @method IdentifyAnimal identifyAnimal(array $options = [])
13
 * @method IdentifyPlant identifyPlant(array $options = [])
14
 * @method RecognizeProdcategory recognizeProdcategory(array $options = [])
15
 * @method RecognizeProdmlabel recognizeProdmlabel(array $options = [])
16
 * @method RecognizeVehicle recognizeVehicle(array $options = [])
17
 * @method SegmentBody segmentBody(array $options = [])
18
 * @method SegmentProdcategory segmentProdcategory(array $options = [])
19
 */
20
class VisionaiApiResolver extends ApiResolver
21
{
22
}
23
24
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
25
{
26
    /** @var string */
27
    public $product = 'visionai';
28
29
    /** @var string */
30
    public $version = '2019-10-24';
31
32
    /** @var string */
33
    public $method = 'POST';
34
35
    /** @var string */
36
    public $serviceCode = 'visionai';
37
}
38
39
/**
40
 * @method string getImageUrl()
41
 */
42
class DetectEdge extends Rpc
43
{
44
45
    /**
46
     * @param string $value
47
     *
48
     * @return $this
49
     */
50
    public function withImageUrl($value)
51
    {
52
        $this->data['ImageUrl'] = $value;
53
        $this->options['form_params']['ImageUrl'] = $value;
54
55
        return $this;
56
    }
57
}
58
59
/**
60
 * @method string getImageUrl()
61
 */
62
class DetectMultiObject extends Rpc
63
{
64
65
    /**
66
     * @param string $value
67
     *
68
     * @return $this
69
     */
70
    public function withImageUrl($value)
71
    {
72
        $this->data['ImageUrl'] = $value;
73
        $this->options['form_params']['ImageUrl'] = $value;
74
75
        return $this;
76
    }
77
}
78
79
/**
80
 * @method string getImageUrl()
81
 */
82
class DetectTransparent extends Rpc
83
{
84
85
    /**
86
     * @param string $value
87
     *
88
     * @return $this
89
     */
90
    public function withImageUrl($value)
91
    {
92
        $this->data['ImageUrl'] = $value;
93
        $this->options['form_params']['ImageUrl'] = $value;
94
95
        return $this;
96
    }
97
}
98
99
/**
100
 * @method string getImageUrl()
101
 */
102
class DetectWhitebg extends Rpc
103
{
104
105
    /**
106
     * @param string $value
107
     *
108
     * @return $this
109
     */
110
    public function withImageUrl($value)
111
    {
112
        $this->data['ImageUrl'] = $value;
113
        $this->options['form_params']['ImageUrl'] = $value;
114
115
        return $this;
116
    }
117
}
118
119
/**
120
 * @method string getImageUrl()
121
 */
122
class IdentifyAnimal extends Rpc
123
{
124
125
    /**
126
     * @param string $value
127
     *
128
     * @return $this
129
     */
130
    public function withImageUrl($value)
131
    {
132
        $this->data['ImageUrl'] = $value;
133
        $this->options['form_params']['ImageUrl'] = $value;
134
135
        return $this;
136
    }
137
}
138
139
/**
140
 * @method string getImageUrl()
141
 */
142
class IdentifyPlant extends Rpc
143
{
144
145
    /**
146
     * @param string $value
147
     *
148
     * @return $this
149
     */
150
    public function withImageUrl($value)
151
    {
152
        $this->data['ImageUrl'] = $value;
153
        $this->options['form_params']['ImageUrl'] = $value;
154
155
        return $this;
156
    }
157
}
158
159
/**
160
 * @method string getImageUrl()
161
 */
162
class RecognizeProdcategory extends Rpc
163
{
164
165
    /**
166
     * @param string $value
167
     *
168
     * @return $this
169
     */
170
    public function withImageUrl($value)
171
    {
172
        $this->data['ImageUrl'] = $value;
173
        $this->options['form_params']['ImageUrl'] = $value;
174
175
        return $this;
176
    }
177
}
178
179
/**
180
 * @method string getImageUrl()
181
 */
182
class RecognizeProdmlabel extends Rpc
183
{
184
185
    /**
186
     * @param string $value
187
     *
188
     * @return $this
189
     */
190
    public function withImageUrl($value)
191
    {
192
        $this->data['ImageUrl'] = $value;
193
        $this->options['form_params']['ImageUrl'] = $value;
194
195
        return $this;
196
    }
197
}
198
199
/**
200
 * @method string getImageUrl()
201
 */
202
class RecognizeVehicle extends Rpc
203
{
204
205
    /**
206
     * @param string $value
207
     *
208
     * @return $this
209
     */
210
    public function withImageUrl($value)
211
    {
212
        $this->data['ImageUrl'] = $value;
213
        $this->options['form_params']['ImageUrl'] = $value;
214
215
        return $this;
216
    }
217
}
218
219
/**
220
 * @method string getImageUrl()
221
 */
222
class SegmentBody extends Rpc
223
{
224
225
    /**
226
     * @param string $value
227
     *
228
     * @return $this
229
     */
230
    public function withImageUrl($value)
231
    {
232
        $this->data['ImageUrl'] = $value;
233
        $this->options['form_params']['ImageUrl'] = $value;
234
235
        return $this;
236
    }
237
}
238
239
/**
240
 * @method string getImageUrl()
241
 */
242
class SegmentProdcategory extends Rpc
243
{
244
245
    /**
246
     * @param string $value
247
     *
248
     * @return $this
249
     */
250
    public function withImageUrl($value)
251
    {
252
        $this->data['ImageUrl'] = $value;
253
        $this->options['form_params']['ImageUrl'] = $value;
254
255
        return $this;
256
    }
257
}
258