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 ( 6633b9...3a6ad3 )
by
unknown
05:29
created

CreateCoverTask::withScales()   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
c 0
b 0
f 0
dl 0
loc 6
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Multimediaai\V20190810;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CreateCoverTask createCoverTask(array $options = [])
9
 * @method CreateFaceGroup createFaceGroup(array $options = [])
10
 * @method CreateFacePerson createFacePerson(array $options = [])
11
 * @method CreateGifTask createGifTask(array $options = [])
12
 * @method CreateLabelTask createLabelTask(array $options = [])
13
 * @method CreateTemplate createTemplate(array $options = [])
14
 * @method DeleteFaceGroup deleteFaceGroup(array $options = [])
15
 * @method DeleteFaceImage deleteFaceImage(array $options = [])
16
 * @method DeleteFacePerson deleteFacePerson(array $options = [])
17
 * @method GetTaskResult getTaskResult(array $options = [])
18
 * @method GetTaskStatus getTaskStatus(array $options = [])
19
 * @method GetTemplate getTemplate(array $options = [])
20
 * @method ListFaceGroups listFaceGroups(array $options = [])
21
 * @method ListFaceImages listFaceImages(array $options = [])
22
 * @method ListFacePersons listFacePersons(array $options = [])
23
 * @method ListTemplates listTemplates(array $options = [])
24
 * @method RegisterFaceImage registerFaceImage(array $options = [])
25
 * @method UpdateTemplate updateTemplate(array $options = [])
26
 */
27
class MultimediaaiApiResolver extends ApiResolver
28
{
29
}
30
31
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
32
{
33
    /** @var string */
34
    public $product = 'multimediaai';
35
36
    /** @var string */
37
    public $version = '2019-08-10';
38
39
    /** @var string */
40
    public $method = 'POST';
41
}
42
43
/**
44
 * @method string getTemplateId()
45
 * @method $this withTemplateId($value)
46
 * @method string getVideoUrl()
47
 * @method $this withVideoUrl($value)
48
 * @method string getScales()
49
 * @method string getVideoName()
50
 * @method $this withVideoName($value)
51
 * @method string getCallbackUrl()
52
 * @method $this withCallbackUrl($value)
53
 * @method string getApplicationId()
54
 * @method $this withApplicationId($value)
55
 */
56
class CreateCoverTask extends Rpc
57
{
58
59
    /**
60
     * @param string $value
61
     *
62
     * @return $this
63
     */
64
    public function withScales($value)
65
    {
66
        $this->data['Scales'] = $value;
67
        $this->options['form_params']['Scales'] = $value;
68
69
        return $this;
70
    }
71
}
72
73
/**
74
 * @method string getDescription()
75
 * @method $this withDescription($value)
76
 * @method string getFaceGroupName()
77
 * @method $this withFaceGroupName($value)
78
 */
79
class CreateFaceGroup extends Rpc
80
{
81
}
82
83
/**
84
 * @method string getFaceGroupId()
85
 * @method $this withFaceGroupId($value)
86
 * @method string getImageUrls()
87
 * @method $this withImageUrls($value)
88
 * @method string getFacePersonName()
89
 * @method $this withFacePersonName($value)
90
 */
91
class CreateFacePerson extends Rpc
92
{
93
}
94
95
/**
96
 * @method string getTemplateId()
97
 * @method $this withTemplateId($value)
98
 * @method string getVideoUrl()
99
 * @method $this withVideoUrl($value)
100
 * @method string getScales()
101
 * @method string getVideoName()
102
 * @method $this withVideoName($value)
103
 * @method string getCallbackUrl()
104
 * @method $this withCallbackUrl($value)
105
 * @method string getApplicationId()
106
 * @method $this withApplicationId($value)
107
 */
108
class CreateGifTask extends Rpc
109
{
110
111
    /**
112
     * @param string $value
113
     *
114
     * @return $this
115
     */
116
    public function withScales($value)
117
    {
118
        $this->data['Scales'] = $value;
119
        $this->options['form_params']['Scales'] = $value;
120
121
        return $this;
122
    }
123
}
124
125
/**
126
 * @method string getTemplateId()
127
 * @method $this withTemplateId($value)
128
 * @method string getVideoUrl()
129
 * @method $this withVideoUrl($value)
130
 * @method string getVideoName()
131
 * @method $this withVideoName($value)
132
 * @method string getCallbackUrl()
133
 * @method $this withCallbackUrl($value)
134
 * @method string getApplicationId()
135
 * @method $this withApplicationId($value)
136
 */
137
class CreateLabelTask extends Rpc
138
{
139
}
140
141
/**
142
 * @method string getType()
143
 * @method $this withType($value)
144
 * @method string getContent()
145
 * @method $this withContent($value)
146
 * @method string getTemplateName()
147
 * @method $this withTemplateName($value)
148
 * @method string getIsDefault()
149
 * @method $this withIsDefault($value)
150
 */
151
class CreateTemplate extends Rpc
152
{
153
}
154
155
/**
156
 * @method string getFaceGroupId()
157
 * @method $this withFaceGroupId($value)
158
 */
159
class DeleteFaceGroup extends Rpc
160
{
161
}
162
163
/**
164
 * @method string getFaceGroupId()
165
 * @method $this withFaceGroupId($value)
166
 * @method string getFacePersonId()
167
 * @method $this withFacePersonId($value)
168
 * @method string getFaceImageId()
169
 * @method $this withFaceImageId($value)
170
 */
171
class DeleteFaceImage extends Rpc
172
{
173
}
174
175
/**
176
 * @method string getFaceGroupId()
177
 * @method $this withFaceGroupId($value)
178
 * @method string getFacePersonId()
179
 * @method $this withFacePersonId($value)
180
 */
181
class DeleteFacePerson extends Rpc
182
{
183
}
184
185
/**
186
 * @method string getTaskId()
187
 * @method $this withTaskId($value)
188
 */
189
class GetTaskResult extends Rpc
190
{
191
}
192
193
/**
194
 * @method string getTaskId()
195
 * @method $this withTaskId($value)
196
 */
197
class GetTaskStatus extends Rpc
198
{
199
}
200
201
/**
202
 * @method string getTemplateId()
203
 * @method $this withTemplateId($value)
204
 */
205
class GetTemplate extends Rpc
206
{
207
}
208
209
/**
210
 * @method string getPageNumber()
211
 * @method $this withPageNumber($value)
212
 * @method string getPageSize()
213
 * @method $this withPageSize($value)
214
 */
215
class ListFaceGroups extends Rpc
216
{
217
}
218
219
/**
220
 * @method string getFaceGroupId()
221
 * @method $this withFaceGroupId($value)
222
 * @method string getFacePersonId()
223
 * @method $this withFacePersonId($value)
224
 * @method string getPageNumber()
225
 * @method $this withPageNumber($value)
226
 * @method string getPageSize()
227
 * @method $this withPageSize($value)
228
 */
229
class ListFaceImages extends Rpc
230
{
231
}
232
233
/**
234
 * @method string getFaceGroupId()
235
 * @method $this withFaceGroupId($value)
236
 * @method string getFacePersonName()
237
 * @method $this withFacePersonName($value)
238
 * @method string getPageNumber()
239
 * @method $this withPageNumber($value)
240
 * @method string getPageSize()
241
 * @method $this withPageSize($value)
242
 */
243
class ListFacePersons extends Rpc
244
{
245
}
246
247
/**
248
 * @method string getTemplateId()
249
 * @method $this withTemplateId($value)
250
 * @method string getType()
251
 * @method $this withType($value)
252
 * @method string getPageNumber()
253
 * @method $this withPageNumber($value)
254
 * @method string getPageSize()
255
 * @method $this withPageSize($value)
256
 * @method string getTemplateName()
257
 * @method $this withTemplateName($value)
258
 */
259
class ListTemplates extends Rpc
260
{
261
}
262
263
/**
264
 * @method string getFaceGroupId()
265
 * @method $this withFaceGroupId($value)
266
 * @method string getFacePersonId()
267
 * @method $this withFacePersonId($value)
268
 * @method string getImageUrl()
269
 * @method $this withImageUrl($value)
270
 */
271
class RegisterFaceImage extends Rpc
272
{
273
}
274
275
/**
276
 * @method string getTemplateId()
277
 * @method $this withTemplateId($value)
278
 * @method string getType()
279
 * @method $this withType($value)
280
 * @method string getContent()
281
 * @method $this withContent($value)
282
 * @method string getTemplateName()
283
 * @method $this withTemplateName($value)
284
 * @method string getIsDefault()
285
 * @method $this withIsDefault($value)
286
 */
287
class UpdateTemplate extends Rpc
288
{
289
}
290