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 ( a2dbd6...175d2f )
by
unknown
10:49
created

DeleteModel::withModelId()   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
dl 0
loc 6
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\NlpAutoml\V20191111;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method CreateAsyncPredict createAsyncPredict(array $options = [])
9
 * @method GetAsyncPredict getAsyncPredict(array $options = [])
10
 * @method GetPredictResult getPredictResult(array $options = [])
11
 * @method RunPreTrainService runPreTrainService(array $options = [])
12
 */
13
class NlpAutomlApiResolver extends ApiResolver
14
{
15
}
16
17
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
18
{
19
    /** @var string */
20
    public $product = 'nlp-automl';
21
22
    /** @var string */
23
    public $version = '2019-11-11';
24
25
    /** @var string */
26
    public $method = 'POST';
27
}
28
29
/**
30
 * @method string getTopK()
31
 * @method string getFileType()
32
 * @method string getDetailTag()
33
 * @method string getFetchContent()
34
 * @method string getContent()
35
 * @method string getFileContent()
36
 * @method string getServiceName()
37
 * @method string getProduct()
38
 * @method string getModelId()
39
 * @method string getServiceVersion()
40
 * @method string getFileUrl()
41
 * @method string getModelVersion()
42
 */
43
class CreateAsyncPredict extends Rpc
44
{
45
46
    /**
47
     * @param string $value
48
     *
49
     * @return $this
50
     */
51
    public function withTopK($value)
52
    {
53
        $this->data['TopK'] = $value;
54
        $this->options['form_params']['TopK'] = $value;
55
56
        return $this;
57
    }
58
59
    /**
60
     * @param string $value
61
     *
62
     * @return $this
63
     */
64
    public function withFileType($value)
65
    {
66
        $this->data['FileType'] = $value;
67
        $this->options['form_params']['FileType'] = $value;
68
69
        return $this;
70
    }
71
72
    /**
73
     * @param string $value
74
     *
75
     * @return $this
76
     */
77
    public function withDetailTag($value)
78
    {
79
        $this->data['DetailTag'] = $value;
80
        $this->options['form_params']['DetailTag'] = $value;
81
82
        return $this;
83
    }
84
85
    /**
86
     * @param string $value
87
     *
88
     * @return $this
89
     */
90
    public function withFetchContent($value)
91
    {
92
        $this->data['FetchContent'] = $value;
93
        $this->options['form_params']['FetchContent'] = $value;
94
95
        return $this;
96
    }
97
98
    /**
99
     * @param string $value
100
     *
101
     * @return $this
102
     */
103
    public function withContent($value)
104
    {
105
        $this->data['Content'] = $value;
106
        $this->options['form_params']['Content'] = $value;
107
108
        return $this;
109
    }
110
111
    /**
112
     * @param string $value
113
     *
114
     * @return $this
115
     */
116
    public function withFileContent($value)
117
    {
118
        $this->data['FileContent'] = $value;
119
        $this->options['form_params']['FileContent'] = $value;
120
121
        return $this;
122
    }
123
124
    /**
125
     * @param string $value
126
     *
127
     * @return $this
128
     */
129
    public function withServiceName($value)
130
    {
131
        $this->data['ServiceName'] = $value;
132
        $this->options['form_params']['ServiceName'] = $value;
133
134
        return $this;
135
    }
136
137
    /**
138
     * @param string $value
139
     *
140
     * @return $this
141
     */
142
    public function withProduct($value)
143
    {
144
        $this->data['Product'] = $value;
145
        $this->options['form_params']['Product'] = $value;
146
147
        return $this;
148
    }
149
150
    /**
151
     * @param string $value
152
     *
153
     * @return $this
154
     */
155
    public function withModelId($value)
156
    {
157
        $this->data['ModelId'] = $value;
158
        $this->options['form_params']['ModelId'] = $value;
159
160
        return $this;
161
    }
162
163
    /**
164
     * @param string $value
165
     *
166
     * @return $this
167
     */
168
    public function withServiceVersion($value)
169
    {
170
        $this->data['ServiceVersion'] = $value;
171
        $this->options['form_params']['ServiceVersion'] = $value;
172
173
        return $this;
174
    }
175
176
    /**
177
     * @param string $value
178
     *
179
     * @return $this
180
     */
181
    public function withFileUrl($value)
182
    {
183
        $this->data['FileUrl'] = $value;
184
        $this->options['form_params']['FileUrl'] = $value;
185
186
        return $this;
187
    }
188
189
    /**
190
     * @param string $value
191
     *
192
     * @return $this
193
     */
194
    public function withModelVersion($value)
195
    {
196
        $this->data['ModelVersion'] = $value;
197
        $this->options['form_params']['ModelVersion'] = $value;
198
199
        return $this;
200
    }
201
}
202
203
/**
204
 * @method string getProduct()
205
 * @method $this withProduct($value)
206
 * @method string getAsyncPredictId()
207
 * @method $this withAsyncPredictId($value)
208
 */
209
class GetAsyncPredict extends Rpc
210
{
211
212
    /** @var string */
213
    public $method = 'GET';
214
}
215
216
/**
217
 * @method string getTopK()
218
 * @method string getProduct()
219
 * @method string getModelId()
220
 * @method string getDetailTag()
221
 * @method string getContent()
222
 * @method string getModelVersion()
223
 */
224
class GetPredictResult extends Rpc
225
{
226
227
    /**
228
     * @param string $value
229
     *
230
     * @return $this
231
     */
232
    public function withTopK($value)
233
    {
234
        $this->data['TopK'] = $value;
235
        $this->options['form_params']['TopK'] = $value;
236
237
        return $this;
238
    }
239
240
    /**
241
     * @param string $value
242
     *
243
     * @return $this
244
     */
245
    public function withProduct($value)
246
    {
247
        $this->data['Product'] = $value;
248
        $this->options['form_params']['Product'] = $value;
249
250
        return $this;
251
    }
252
253
    /**
254
     * @param string $value
255
     *
256
     * @return $this
257
     */
258
    public function withModelId($value)
259
    {
260
        $this->data['ModelId'] = $value;
261
        $this->options['form_params']['ModelId'] = $value;
262
263
        return $this;
264
    }
265
266
    /**
267
     * @param string $value
268
     *
269
     * @return $this
270
     */
271
    public function withDetailTag($value)
272
    {
273
        $this->data['DetailTag'] = $value;
274
        $this->options['form_params']['DetailTag'] = $value;
275
276
        return $this;
277
    }
278
279
    /**
280
     * @param string $value
281
     *
282
     * @return $this
283
     */
284
    public function withContent($value)
285
    {
286
        $this->data['Content'] = $value;
287
        $this->options['form_params']['Content'] = $value;
288
289
        return $this;
290
    }
291
292
    /**
293
     * @param string $value
294
     *
295
     * @return $this
296
     */
297
    public function withModelVersion($value)
298
    {
299
        $this->data['ModelVersion'] = $value;
300
        $this->options['form_params']['ModelVersion'] = $value;
301
302
        return $this;
303
    }
304
}
305
306
/**
307
 * @method string getProduct()
308
 * @method string getPredictContent()
309
 * @method string getServiceVersion()
310
 * @method string getServiceName()
311
 */
312
class RunPreTrainService extends Rpc
313
{
314
315
    /**
316
     * @param string $value
317
     *
318
     * @return $this
319
     */
320
    public function withProduct($value)
321
    {
322
        $this->data['Product'] = $value;
323
        $this->options['form_params']['Product'] = $value;
324
325
        return $this;
326
    }
327
328
    /**
329
     * @param string $value
330
     *
331
     * @return $this
332
     */
333
    public function withPredictContent($value)
334
    {
335
        $this->data['PredictContent'] = $value;
336
        $this->options['form_params']['PredictContent'] = $value;
337
338
        return $this;
339
    }
340
341
    /**
342
     * @param string $value
343
     *
344
     * @return $this
345
     */
346
    public function withServiceVersion($value)
347
    {
348
        $this->data['ServiceVersion'] = $value;
349
        $this->options['form_params']['ServiceVersion'] = $value;
350
351
        return $this;
352
    }
353
354
    /**
355
     * @param string $value
356
     *
357
     * @return $this
358
     */
359
    public function withServiceName($value)
360
    {
361
        $this->data['ServiceName'] = $value;
362
        $this->options['form_params']['ServiceName'] = $value;
363
364
        return $this;
365
    }
366
}
367