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 ( 80d239...cf8451 )
by
unknown
04:03
created

AddDeletionVideoTask   A

Complexity

Total Complexity 2

Size/Duplication

Total Lines 27
Duplicated Lines 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 2
eloc 7
c 1
b 0
f 0
dl 0
loc 27
rs 10

2 Methods

Rating   Name   Duplication   Size   Complexity  
A withInstanceId() 0 6 1
A withVideoId() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\Videosearch\V20200225;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddDeletionVideoTask addDeletionVideoTask(array $options = [])
9
 * @method AddSearchVideoTask addSearchVideoTask(array $options = [])
10
 * @method AddStorageVideoTask addStorageVideoTask(array $options = [])
11
 * @method GetTaskStatus getTaskStatus(array $options = [])
12
 */
13
class VideosearchApiResolver extends ApiResolver
14
{
15
}
16
17
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
18
{
19
    /** @var string */
20
    public $product = 'videosearch';
21
22
    /** @var string */
23
    public $version = '2020-02-25';
24
25
    /** @var string */
26
    public $method = 'POST';
27
}
28
29
/**
30
 * @method string getClientToken()
31
 * @method $this withClientToken($value)
32
 * @method string getVideoId()
33
 * @method string getInstanceId()
34
 */
35
class AddDeletionVideoTask extends Rpc
36
{
37
38
    /**
39
     * @param string $value
40
     *
41
     * @return $this
42
     */
43
    public function withVideoId($value)
44
    {
45
        $this->data['VideoId'] = $value;
46
        $this->options['form_params']['VideoId'] = $value;
47
48
        return $this;
49
    }
50
51
    /**
52
     * @param string $value
53
     *
54
     * @return $this
55
     */
56
    public function withInstanceId($value)
57
    {
58
        $this->data['InstanceId'] = $value;
59
        $this->options['form_params']['InstanceId'] = $value;
60
61
        return $this;
62
    }
63
}
64
65
/**
66
 * @method string getClientToken()
67
 * @method $this withClientToken($value)
68
 * @method string getStorageType()
69
 * @method string getVideoTags()
70
 * @method string getReturnVideoNumber()
71
 * @method string getVideoId()
72
 * @method string getReplaceStorageThreshold()
73
 * @method string getInstanceId()
74
 * @method string getVideoUrl()
75
 * @method string getQueryTags()
76
 * @method string getCallbackUrl()
77
 */
78
class AddSearchVideoTask extends Rpc
79
{
80
81
    /**
82
     * @param string $value
83
     *
84
     * @return $this
85
     */
86
    public function withStorageType($value)
87
    {
88
        $this->data['StorageType'] = $value;
89
        $this->options['form_params']['StorageType'] = $value;
90
91
        return $this;
92
    }
93
94
    /**
95
     * @param string $value
96
     *
97
     * @return $this
98
     */
99
    public function withVideoTags($value)
100
    {
101
        $this->data['VideoTags'] = $value;
102
        $this->options['form_params']['VideoTags'] = $value;
103
104
        return $this;
105
    }
106
107
    /**
108
     * @param string $value
109
     *
110
     * @return $this
111
     */
112
    public function withReturnVideoNumber($value)
113
    {
114
        $this->data['ReturnVideoNumber'] = $value;
115
        $this->options['form_params']['ReturnVideoNumber'] = $value;
116
117
        return $this;
118
    }
119
120
    /**
121
     * @param string $value
122
     *
123
     * @return $this
124
     */
125
    public function withVideoId($value)
126
    {
127
        $this->data['VideoId'] = $value;
128
        $this->options['form_params']['VideoId'] = $value;
129
130
        return $this;
131
    }
132
133
    /**
134
     * @param string $value
135
     *
136
     * @return $this
137
     */
138
    public function withReplaceStorageThreshold($value)
139
    {
140
        $this->data['ReplaceStorageThreshold'] = $value;
141
        $this->options['form_params']['ReplaceStorageThreshold'] = $value;
142
143
        return $this;
144
    }
145
146
    /**
147
     * @param string $value
148
     *
149
     * @return $this
150
     */
151
    public function withInstanceId($value)
152
    {
153
        $this->data['InstanceId'] = $value;
154
        $this->options['form_params']['InstanceId'] = $value;
155
156
        return $this;
157
    }
158
159
    /**
160
     * @param string $value
161
     *
162
     * @return $this
163
     */
164
    public function withVideoUrl($value)
165
    {
166
        $this->data['VideoUrl'] = $value;
167
        $this->options['form_params']['VideoUrl'] = $value;
168
169
        return $this;
170
    }
171
172
    /**
173
     * @param string $value
174
     *
175
     * @return $this
176
     */
177
    public function withQueryTags($value)
178
    {
179
        $this->data['QueryTags'] = $value;
180
        $this->options['form_params']['QueryTags'] = $value;
181
182
        return $this;
183
    }
184
185
    /**
186
     * @param string $value
187
     *
188
     * @return $this
189
     */
190
    public function withCallbackUrl($value)
191
    {
192
        $this->data['CallbackUrl'] = $value;
193
        $this->options['form_params']['CallbackUrl'] = $value;
194
195
        return $this;
196
    }
197
}
198
199
/**
200
 * @method string getClientToken()
201
 * @method $this withClientToken($value)
202
 * @method string getVideoTags()
203
 * @method string getVideoId()
204
 * @method string getInstanceId()
205
 * @method string getVideoUrl()
206
 * @method string getCallbackUrl()
207
 */
208
class AddStorageVideoTask extends Rpc
209
{
210
211
    /**
212
     * @param string $value
213
     *
214
     * @return $this
215
     */
216
    public function withVideoTags($value)
217
    {
218
        $this->data['VideoTags'] = $value;
219
        $this->options['form_params']['VideoTags'] = $value;
220
221
        return $this;
222
    }
223
224
    /**
225
     * @param string $value
226
     *
227
     * @return $this
228
     */
229
    public function withVideoId($value)
230
    {
231
        $this->data['VideoId'] = $value;
232
        $this->options['form_params']['VideoId'] = $value;
233
234
        return $this;
235
    }
236
237
    /**
238
     * @param string $value
239
     *
240
     * @return $this
241
     */
242
    public function withInstanceId($value)
243
    {
244
        $this->data['InstanceId'] = $value;
245
        $this->options['form_params']['InstanceId'] = $value;
246
247
        return $this;
248
    }
249
250
    /**
251
     * @param string $value
252
     *
253
     * @return $this
254
     */
255
    public function withVideoUrl($value)
256
    {
257
        $this->data['VideoUrl'] = $value;
258
        $this->options['form_params']['VideoUrl'] = $value;
259
260
        return $this;
261
    }
262
263
    /**
264
     * @param string $value
265
     *
266
     * @return $this
267
     */
268
    public function withCallbackUrl($value)
269
    {
270
        $this->data['CallbackUrl'] = $value;
271
        $this->options['form_params']['CallbackUrl'] = $value;
272
273
        return $this;
274
    }
275
}
276
277
/**
278
 * @method string getClientToken()
279
 * @method $this withClientToken($value)
280
 * @method string getInstanceId()
281
 * @method string getTaskId()
282
 */
283
class GetTaskStatus extends Rpc
284
{
285
286
    /**
287
     * @param string $value
288
     *
289
     * @return $this
290
     */
291
    public function withInstanceId($value)
292
    {
293
        $this->data['InstanceId'] = $value;
294
        $this->options['form_params']['InstanceId'] = $value;
295
296
        return $this;
297
    }
298
299
    /**
300
     * @param string $value
301
     *
302
     * @return $this
303
     */
304
    public function withTaskId($value)
305
    {
306
        $this->data['TaskId'] = $value;
307
        $this->options['form_params']['TaskId'] = $value;
308
309
        return $this;
310
    }
311
}
312