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 ( 9e5cd4...dd4efc )
by
unknown
04:12
created

DeleteImageDb   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 14
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
eloc 4
c 1
b 0
f 0
dl 0
loc 14
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A withName() 0 6 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 getDbName()
38
 * @method string getImageUrl()
39
 * @method string getExtraData()
40
 */
41
class AddImage extends Rpc
42
{
43
44
    /**
45
     * @param string $value
46
     *
47
     * @return $this
48
     */
49
    public function withEntityId($value)
50
    {
51
        $this->data['EntityId'] = $value;
52
        $this->options['form_params']['EntityId'] = $value;
53
54
        return $this;
55
    }
56
57
    /**
58
     * @param string $value
59
     *
60
     * @return $this
61
     */
62
    public function withDbName($value)
63
    {
64
        $this->data['DbName'] = $value;
65
        $this->options['form_params']['DbName'] = $value;
66
67
        return $this;
68
    }
69
70
    /**
71
     * @param string $value
72
     *
73
     * @return $this
74
     */
75
    public function withImageUrl($value)
76
    {
77
        $this->data['ImageUrl'] = $value;
78
        $this->options['form_params']['ImageUrl'] = $value;
79
80
        return $this;
81
    }
82
83
    /**
84
     * @param string $value
85
     *
86
     * @return $this
87
     */
88
    public function withExtraData($value)
89
    {
90
        $this->data['ExtraData'] = $value;
91
        $this->options['form_params']['ExtraData'] = $value;
92
93
        return $this;
94
    }
95
}
96
97
/**
98
 * @method string getName()
99
 */
100
class CreateImageDb extends Rpc
101
{
102
103
    /**
104
     * @param string $value
105
     *
106
     * @return $this
107
     */
108
    public function withName($value)
109
    {
110
        $this->data['Name'] = $value;
111
        $this->options['form_params']['Name'] = $value;
112
113
        return $this;
114
    }
115
}
116
117
/**
118
 * @method string getEntityId()
119
 * @method string getDbName()
120
 */
121
class DeleteImage extends Rpc
122
{
123
124
    /**
125
     * @param string $value
126
     *
127
     * @return $this
128
     */
129
    public function withEntityId($value)
130
    {
131
        $this->data['EntityId'] = $value;
132
        $this->options['form_params']['EntityId'] = $value;
133
134
        return $this;
135
    }
136
137
    /**
138
     * @param string $value
139
     *
140
     * @return $this
141
     */
142
    public function withDbName($value)
143
    {
144
        $this->data['DbName'] = $value;
145
        $this->options['form_params']['DbName'] = $value;
146
147
        return $this;
148
    }
149
}
150
151
/**
152
 * @method string getName()
153
 */
154
class DeleteImageDb extends Rpc
155
{
156
157
    /**
158
     * @param string $value
159
     *
160
     * @return $this
161
     */
162
    public function withName($value)
163
    {
164
        $this->data['Name'] = $value;
165
        $this->options['form_params']['Name'] = $value;
166
167
        return $this;
168
    }
169
}
170
171
class ListImageDbs extends Rpc
172
{
173
}
174
175
/**
176
 * @method string getEntityIdPrefix()
177
 * @method string getLimit()
178
 * @method string getOrder()
179
 * @method string getOffset()
180
 * @method string getToken()
181
 * @method string getDbName()
182
 */
183
class ListImages extends Rpc
184
{
185
186
    /**
187
     * @param string $value
188
     *
189
     * @return $this
190
     */
191
    public function withEntityIdPrefix($value)
192
    {
193
        $this->data['EntityIdPrefix'] = $value;
194
        $this->options['form_params']['EntityIdPrefix'] = $value;
195
196
        return $this;
197
    }
198
199
    /**
200
     * @param string $value
201
     *
202
     * @return $this
203
     */
204
    public function withLimit($value)
205
    {
206
        $this->data['Limit'] = $value;
207
        $this->options['form_params']['Limit'] = $value;
208
209
        return $this;
210
    }
211
212
    /**
213
     * @param string $value
214
     *
215
     * @return $this
216
     */
217
    public function withOrder($value)
218
    {
219
        $this->data['Order'] = $value;
220
        $this->options['form_params']['Order'] = $value;
221
222
        return $this;
223
    }
224
225
    /**
226
     * @param string $value
227
     *
228
     * @return $this
229
     */
230
    public function withOffset($value)
231
    {
232
        $this->data['Offset'] = $value;
233
        $this->options['form_params']['Offset'] = $value;
234
235
        return $this;
236
    }
237
238
    /**
239
     * @param string $value
240
     *
241
     * @return $this
242
     */
243
    public function withToken($value)
244
    {
245
        $this->data['Token'] = $value;
246
        $this->options['form_params']['Token'] = $value;
247
248
        return $this;
249
    }
250
251
    /**
252
     * @param string $value
253
     *
254
     * @return $this
255
     */
256
    public function withDbName($value)
257
    {
258
        $this->data['DbName'] = $value;
259
        $this->options['form_params']['DbName'] = $value;
260
261
        return $this;
262
    }
263
}
264
265
/**
266
 * @method string getDbName()
267
 * @method string getImageUrl()
268
 * @method string getLimit()
269
 */
270
class SearchImage extends Rpc
271
{
272
273
    /**
274
     * @param string $value
275
     *
276
     * @return $this
277
     */
278
    public function withDbName($value)
279
    {
280
        $this->data['DbName'] = $value;
281
        $this->options['form_params']['DbName'] = $value;
282
283
        return $this;
284
    }
285
286
    /**
287
     * @param string $value
288
     *
289
     * @return $this
290
     */
291
    public function withImageUrl($value)
292
    {
293
        $this->data['ImageUrl'] = $value;
294
        $this->options['form_params']['ImageUrl'] = $value;
295
296
        return $this;
297
    }
298
299
    /**
300
     * @param string $value
301
     *
302
     * @return $this
303
     */
304
    public function withLimit($value)
305
    {
306
        $this->data['Limit'] = $value;
307
        $this->options['form_params']['Limit'] = $value;
308
309
        return $this;
310
    }
311
}
312