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 ( 5c383d...bca1fd )
by
unknown
06:50
created

FindUserReport4Alinlp::withBeginTime()   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 FindUserReport4Alinlp findUserReport4Alinlp(array $options = [])
10
 * @method GetAsyncPredict getAsyncPredict(array $options = [])
11
 * @method GetPredictResult getPredictResult(array $options = [])
12
 * @method RunPreTrainService runPreTrainService(array $options = [])
13
 */
14
class NlpAutomlApiResolver extends ApiResolver
15
{
16
}
17
18
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
19
{
20
    /** @var string */
21
    public $product = 'nlp-automl';
22
23
    /** @var string */
24
    public $version = '2019-11-11';
25
26
    /** @var string */
27
    public $method = 'POST';
28
}
29
30
/**
31
 * @method string getTopK()
32
 * @method string getFileType()
33
 * @method string getDetailTag()
34
 * @method string getFetchContent()
35
 * @method string getContent()
36
 * @method string getFileContent()
37
 * @method string getServiceName()
38
 * @method string getProduct()
39
 * @method string getModelId()
40
 * @method string getServiceVersion()
41
 * @method string getFileUrl()
42
 * @method string getModelVersion()
43
 */
44
class CreateAsyncPredict extends Rpc
45
{
46
47
    /**
48
     * @param string $value
49
     *
50
     * @return $this
51
     */
52
    public function withTopK($value)
53
    {
54
        $this->data['TopK'] = $value;
55
        $this->options['form_params']['TopK'] = $value;
56
57
        return $this;
58
    }
59
60
    /**
61
     * @param string $value
62
     *
63
     * @return $this
64
     */
65
    public function withFileType($value)
66
    {
67
        $this->data['FileType'] = $value;
68
        $this->options['form_params']['FileType'] = $value;
69
70
        return $this;
71
    }
72
73
    /**
74
     * @param string $value
75
     *
76
     * @return $this
77
     */
78
    public function withDetailTag($value)
79
    {
80
        $this->data['DetailTag'] = $value;
81
        $this->options['form_params']['DetailTag'] = $value;
82
83
        return $this;
84
    }
85
86
    /**
87
     * @param string $value
88
     *
89
     * @return $this
90
     */
91
    public function withFetchContent($value)
92
    {
93
        $this->data['FetchContent'] = $value;
94
        $this->options['form_params']['FetchContent'] = $value;
95
96
        return $this;
97
    }
98
99
    /**
100
     * @param string $value
101
     *
102
     * @return $this
103
     */
104
    public function withContent($value)
105
    {
106
        $this->data['Content'] = $value;
107
        $this->options['form_params']['Content'] = $value;
108
109
        return $this;
110
    }
111
112
    /**
113
     * @param string $value
114
     *
115
     * @return $this
116
     */
117
    public function withFileContent($value)
118
    {
119
        $this->data['FileContent'] = $value;
120
        $this->options['form_params']['FileContent'] = $value;
121
122
        return $this;
123
    }
124
125
    /**
126
     * @param string $value
127
     *
128
     * @return $this
129
     */
130
    public function withServiceName($value)
131
    {
132
        $this->data['ServiceName'] = $value;
133
        $this->options['form_params']['ServiceName'] = $value;
134
135
        return $this;
136
    }
137
138
    /**
139
     * @param string $value
140
     *
141
     * @return $this
142
     */
143
    public function withProduct($value)
144
    {
145
        $this->data['Product'] = $value;
146
        $this->options['form_params']['Product'] = $value;
147
148
        return $this;
149
    }
150
151
    /**
152
     * @param string $value
153
     *
154
     * @return $this
155
     */
156
    public function withModelId($value)
157
    {
158
        $this->data['ModelId'] = $value;
159
        $this->options['form_params']['ModelId'] = $value;
160
161
        return $this;
162
    }
163
164
    /**
165
     * @param string $value
166
     *
167
     * @return $this
168
     */
169
    public function withServiceVersion($value)
170
    {
171
        $this->data['ServiceVersion'] = $value;
172
        $this->options['form_params']['ServiceVersion'] = $value;
173
174
        return $this;
175
    }
176
177
    /**
178
     * @param string $value
179
     *
180
     * @return $this
181
     */
182
    public function withFileUrl($value)
183
    {
184
        $this->data['FileUrl'] = $value;
185
        $this->options['form_params']['FileUrl'] = $value;
186
187
        return $this;
188
    }
189
190
    /**
191
     * @param string $value
192
     *
193
     * @return $this
194
     */
195
    public function withModelVersion($value)
196
    {
197
        $this->data['ModelVersion'] = $value;
198
        $this->options['form_params']['ModelVersion'] = $value;
199
200
        return $this;
201
    }
202
}
203
204
/**
205
 * @method string getCustomerUserParentId()
206
 * @method string getEndTime()
207
 * @method string getBeginTime()
208
 * @method string getType()
209
 * @method string getModelType()
210
 */
211
class FindUserReport4Alinlp extends Rpc
212
{
213
214
    /**
215
     * @param string $value
216
     *
217
     * @return $this
218
     */
219
    public function withCustomerUserParentId($value)
220
    {
221
        $this->data['CustomerUserParentId'] = $value;
222
        $this->options['form_params']['CustomerUserParentId'] = $value;
223
224
        return $this;
225
    }
226
227
    /**
228
     * @param string $value
229
     *
230
     * @return $this
231
     */
232
    public function withEndTime($value)
233
    {
234
        $this->data['EndTime'] = $value;
235
        $this->options['form_params']['EndTime'] = $value;
236
237
        return $this;
238
    }
239
240
    /**
241
     * @param string $value
242
     *
243
     * @return $this
244
     */
245
    public function withBeginTime($value)
246
    {
247
        $this->data['BeginTime'] = $value;
248
        $this->options['form_params']['BeginTime'] = $value;
249
250
        return $this;
251
    }
252
253
    /**
254
     * @param string $value
255
     *
256
     * @return $this
257
     */
258
    public function withType($value)
259
    {
260
        $this->data['Type'] = $value;
261
        $this->options['form_params']['Type'] = $value;
262
263
        return $this;
264
    }
265
266
    /**
267
     * @param string $value
268
     *
269
     * @return $this
270
     */
271
    public function withModelType($value)
272
    {
273
        $this->data['ModelType'] = $value;
274
        $this->options['form_params']['ModelType'] = $value;
275
276
        return $this;
277
    }
278
}
279
280
/**
281
 * @method string getProduct()
282
 * @method $this withProduct($value)
283
 * @method string getAsyncPredictId()
284
 * @method $this withAsyncPredictId($value)
285
 */
286
class GetAsyncPredict extends Rpc
287
{
288
289
    /** @var string */
290
    public $method = 'GET';
291
}
292
293
/**
294
 * @method string getTopK()
295
 * @method string getProduct()
296
 * @method string getModelId()
297
 * @method string getDetailTag()
298
 * @method string getContent()
299
 * @method string getModelVersion()
300
 */
301
class GetPredictResult extends Rpc
302
{
303
304
    /**
305
     * @param string $value
306
     *
307
     * @return $this
308
     */
309
    public function withTopK($value)
310
    {
311
        $this->data['TopK'] = $value;
312
        $this->options['form_params']['TopK'] = $value;
313
314
        return $this;
315
    }
316
317
    /**
318
     * @param string $value
319
     *
320
     * @return $this
321
     */
322
    public function withProduct($value)
323
    {
324
        $this->data['Product'] = $value;
325
        $this->options['form_params']['Product'] = $value;
326
327
        return $this;
328
    }
329
330
    /**
331
     * @param string $value
332
     *
333
     * @return $this
334
     */
335
    public function withModelId($value)
336
    {
337
        $this->data['ModelId'] = $value;
338
        $this->options['form_params']['ModelId'] = $value;
339
340
        return $this;
341
    }
342
343
    /**
344
     * @param string $value
345
     *
346
     * @return $this
347
     */
348
    public function withDetailTag($value)
349
    {
350
        $this->data['DetailTag'] = $value;
351
        $this->options['form_params']['DetailTag'] = $value;
352
353
        return $this;
354
    }
355
356
    /**
357
     * @param string $value
358
     *
359
     * @return $this
360
     */
361
    public function withContent($value)
362
    {
363
        $this->data['Content'] = $value;
364
        $this->options['form_params']['Content'] = $value;
365
366
        return $this;
367
    }
368
369
    /**
370
     * @param string $value
371
     *
372
     * @return $this
373
     */
374
    public function withModelVersion($value)
375
    {
376
        $this->data['ModelVersion'] = $value;
377
        $this->options['form_params']['ModelVersion'] = $value;
378
379
        return $this;
380
    }
381
}
382
383
/**
384
 * @method string getProduct()
385
 * @method string getPredictContent()
386
 * @method string getServiceVersion()
387
 * @method string getServiceName()
388
 */
389
class RunPreTrainService extends Rpc
390
{
391
392
    /**
393
     * @param string $value
394
     *
395
     * @return $this
396
     */
397
    public function withProduct($value)
398
    {
399
        $this->data['Product'] = $value;
400
        $this->options['form_params']['Product'] = $value;
401
402
        return $this;
403
    }
404
405
    /**
406
     * @param string $value
407
     *
408
     * @return $this
409
     */
410
    public function withPredictContent($value)
411
    {
412
        $this->data['PredictContent'] = $value;
413
        $this->options['form_params']['PredictContent'] = $value;
414
415
        return $this;
416
    }
417
418
    /**
419
     * @param string $value
420
     *
421
     * @return $this
422
     */
423
    public function withServiceVersion($value)
424
    {
425
        $this->data['ServiceVersion'] = $value;
426
        $this->options['form_params']['ServiceVersion'] = $value;
427
428
        return $this;
429
    }
430
431
    /**
432
     * @param string $value
433
     *
434
     * @return $this
435
     */
436
    public function withServiceName($value)
437
    {
438
        $this->data['ServiceName'] = $value;
439
        $this->options['form_params']['ServiceName'] = $value;
440
441
        return $this;
442
    }
443
}
444