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 ( 78ce5f...179b1e )
by
unknown
18:55 queued 14:44
created

SearchImage::withLimit()   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\Imgsearch\V20200320;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddImage addImage(array $options = [])
9
 * @method CreateImageDb createImageDb(array $options = [])
10
 * @method DeleteImage deleteImage(array $options = [])
11
 * @method DeleteImageDb deleteImageDb(array $options = [])
12
 * @method ListImageDbs listImageDbs(array $options = [])
13
 * @method ListImages listImages(array $options = [])
14
 * @method SearchImage searchImage(array $options = [])
15
 */
16
class ImgsearchApiResolver extends ApiResolver
17
{
18
}
19
20
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
21
{
22
    /** @var string */
23
    public $product = 'imgsearch';
24
25
    /** @var string */
26
    public $version = '2020-03-20';
27
28
    /** @var string */
29
    public $method = 'POST';
30
31
    /** @var string */
32
    public $serviceCode = 'imgsearch';
33
}
34
35
/**
36
 * @method string getEntityId()
37
 * @method string getExtraData()
38
 * @method string getDbName()
39
 * @method string getDataId()
40
 * @method string getImageUrl()
41
 */
42
class AddImage extends Rpc
43
{
44
45
    /**
46
     * @param string $value
47
     *
48
     * @return $this
49
     */
50
    public function withEntityId($value)
51
    {
52
        $this->data['EntityId'] = $value;
53
        $this->options['form_params']['EntityId'] = $value;
54
55
        return $this;
56
    }
57
58
    /**
59
     * @param string $value
60
     *
61
     * @return $this
62
     */
63
    public function withExtraData($value)
64
    {
65
        $this->data['ExtraData'] = $value;
66
        $this->options['form_params']['ExtraData'] = $value;
67
68
        return $this;
69
    }
70
71
    /**
72
     * @param string $value
73
     *
74
     * @return $this
75
     */
76
    public function withDbName($value)
77
    {
78
        $this->data['DbName'] = $value;
79
        $this->options['form_params']['DbName'] = $value;
80
81
        return $this;
82
    }
83
84
    /**
85
     * @param string $value
86
     *
87
     * @return $this
88
     */
89
    public function withDataId($value)
90
    {
91
        $this->data['DataId'] = $value;
92
        $this->options['form_params']['DataId'] = $value;
93
94
        return $this;
95
    }
96
97
    /**
98
     * @param string $value
99
     *
100
     * @return $this
101
     */
102
    public function withImageUrl($value)
103
    {
104
        $this->data['ImageUrl'] = $value;
105
        $this->options['form_params']['ImageUrl'] = $value;
106
107
        return $this;
108
    }
109
}
110
111
/**
112
 * @method string getName()
113
 */
114
class CreateImageDb extends Rpc
115
{
116
117
    /**
118
     * @param string $value
119
     *
120
     * @return $this
121
     */
122
    public function withName($value)
123
    {
124
        $this->data['Name'] = $value;
125
        $this->options['form_params']['Name'] = $value;
126
127
        return $this;
128
    }
129
}
130
131
/**
132
 * @method string getDbName()
133
 * @method string getDataId()
134
 */
135
class DeleteImage extends Rpc
136
{
137
138
    /**
139
     * @param string $value
140
     *
141
     * @return $this
142
     */
143
    public function withDbName($value)
144
    {
145
        $this->data['DbName'] = $value;
146
        $this->options['form_params']['DbName'] = $value;
147
148
        return $this;
149
    }
150
151
    /**
152
     * @param string $value
153
     *
154
     * @return $this
155
     */
156
    public function withDataId($value)
157
    {
158
        $this->data['DataId'] = $value;
159
        $this->options['form_params']['DataId'] = $value;
160
161
        return $this;
162
    }
163
}
164
165
/**
166
 * @method string getName()
167
 */
168
class DeleteImageDb extends Rpc
169
{
170
171
    /**
172
     * @param string $value
173
     *
174
     * @return $this
175
     */
176
    public function withName($value)
177
    {
178
        $this->data['Name'] = $value;
179
        $this->options['form_params']['Name'] = $value;
180
181
        return $this;
182
    }
183
}
184
185
class ListImageDbs extends Rpc
186
{
187
}
188
189
/**
190
 * @method string getFromScrollId()
191
 * @method string getDbName()
192
 */
193
class ListImages extends Rpc
194
{
195
196
    /**
197
     * @param string $value
198
     *
199
     * @return $this
200
     */
201
    public function withFromScrollId($value)
202
    {
203
        $this->data['FromScrollId'] = $value;
204
        $this->options['form_params']['FromScrollId'] = $value;
205
206
        return $this;
207
    }
208
209
    /**
210
     * @param string $value
211
     *
212
     * @return $this
213
     */
214
    public function withDbName($value)
215
    {
216
        $this->data['DbName'] = $value;
217
        $this->options['form_params']['DbName'] = $value;
218
219
        return $this;
220
    }
221
}
222
223
/**
224
 * @method string getDbName()
225
 * @method string getImageUrl()
226
 * @method string getLimit()
227
 */
228
class SearchImage extends Rpc
229
{
230
231
    /**
232
     * @param string $value
233
     *
234
     * @return $this
235
     */
236
    public function withDbName($value)
237
    {
238
        $this->data['DbName'] = $value;
239
        $this->options['form_params']['DbName'] = $value;
240
241
        return $this;
242
    }
243
244
    /**
245
     * @param string $value
246
     *
247
     * @return $this
248
     */
249
    public function withImageUrl($value)
250
    {
251
        $this->data['ImageUrl'] = $value;
252
        $this->options['form_params']['ImageUrl'] = $value;
253
254
        return $this;
255
    }
256
257
    /**
258
     * @param string $value
259
     *
260
     * @return $this
261
     */
262
    public function withLimit($value)
263
    {
264
        $this->data['Limit'] = $value;
265
        $this->options['form_params']['Limit'] = $value;
266
267
        return $this;
268
    }
269
}
270