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 ( d6070f...2d5abb )
by
unknown
06:57
created

GetPredictResultHigh::withTopK()   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 GetPredictResultHigh getPredictResultHigh(array $options = [])
13
 * @method RunPreTrainService runPreTrainService(array $options = [])
14
 * @method RunPreTrainServiceNew runPreTrainServiceNew(array $options = [])
15
 */
16
class NlpAutomlApiResolver extends ApiResolver
17
{
18
}
19
20
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
21
{
22
    /** @var string */
23
    public $product = 'nlp-automl';
24
25
    /** @var string */
26
    public $version = '2019-11-11';
27
28
    /** @var string */
29
    public $method = 'POST';
30
}
31
32
/**
33
 * @method string getTopK()
34
 * @method string getFileType()
35
 * @method string getDetailTag()
36
 * @method string getFetchContent()
37
 * @method string getContent()
38
 * @method string getFileContent()
39
 * @method string getServiceName()
40
 * @method string getProduct()
41
 * @method string getModelId()
42
 * @method string getServiceVersion()
43
 * @method string getFileUrl()
44
 * @method string getModelVersion()
45
 */
46
class CreateAsyncPredict extends Rpc
47
{
48
49
    /**
50
     * @param string $value
51
     *
52
     * @return $this
53
     */
54
    public function withTopK($value)
55
    {
56
        $this->data['TopK'] = $value;
57
        $this->options['form_params']['TopK'] = $value;
58
59
        return $this;
60
    }
61
62
    /**
63
     * @param string $value
64
     *
65
     * @return $this
66
     */
67
    public function withFileType($value)
68
    {
69
        $this->data['FileType'] = $value;
70
        $this->options['form_params']['FileType'] = $value;
71
72
        return $this;
73
    }
74
75
    /**
76
     * @param string $value
77
     *
78
     * @return $this
79
     */
80
    public function withDetailTag($value)
81
    {
82
        $this->data['DetailTag'] = $value;
83
        $this->options['form_params']['DetailTag'] = $value;
84
85
        return $this;
86
    }
87
88
    /**
89
     * @param string $value
90
     *
91
     * @return $this
92
     */
93
    public function withFetchContent($value)
94
    {
95
        $this->data['FetchContent'] = $value;
96
        $this->options['form_params']['FetchContent'] = $value;
97
98
        return $this;
99
    }
100
101
    /**
102
     * @param string $value
103
     *
104
     * @return $this
105
     */
106
    public function withContent($value)
107
    {
108
        $this->data['Content'] = $value;
109
        $this->options['form_params']['Content'] = $value;
110
111
        return $this;
112
    }
113
114
    /**
115
     * @param string $value
116
     *
117
     * @return $this
118
     */
119
    public function withFileContent($value)
120
    {
121
        $this->data['FileContent'] = $value;
122
        $this->options['form_params']['FileContent'] = $value;
123
124
        return $this;
125
    }
126
127
    /**
128
     * @param string $value
129
     *
130
     * @return $this
131
     */
132
    public function withServiceName($value)
133
    {
134
        $this->data['ServiceName'] = $value;
135
        $this->options['form_params']['ServiceName'] = $value;
136
137
        return $this;
138
    }
139
140
    /**
141
     * @param string $value
142
     *
143
     * @return $this
144
     */
145
    public function withProduct($value)
146
    {
147
        $this->data['Product'] = $value;
148
        $this->options['form_params']['Product'] = $value;
149
150
        return $this;
151
    }
152
153
    /**
154
     * @param string $value
155
     *
156
     * @return $this
157
     */
158
    public function withModelId($value)
159
    {
160
        $this->data['ModelId'] = $value;
161
        $this->options['form_params']['ModelId'] = $value;
162
163
        return $this;
164
    }
165
166
    /**
167
     * @param string $value
168
     *
169
     * @return $this
170
     */
171
    public function withServiceVersion($value)
172
    {
173
        $this->data['ServiceVersion'] = $value;
174
        $this->options['form_params']['ServiceVersion'] = $value;
175
176
        return $this;
177
    }
178
179
    /**
180
     * @param string $value
181
     *
182
     * @return $this
183
     */
184
    public function withFileUrl($value)
185
    {
186
        $this->data['FileUrl'] = $value;
187
        $this->options['form_params']['FileUrl'] = $value;
188
189
        return $this;
190
    }
191
192
    /**
193
     * @param string $value
194
     *
195
     * @return $this
196
     */
197
    public function withModelVersion($value)
198
    {
199
        $this->data['ModelVersion'] = $value;
200
        $this->options['form_params']['ModelVersion'] = $value;
201
202
        return $this;
203
    }
204
}
205
206
/**
207
 * @method string getCustomerUserParentId()
208
 * @method string getEndTime()
209
 * @method string getBeginTime()
210
 * @method string getType()
211
 * @method string getModelType()
212
 */
213
class FindUserReport4Alinlp extends Rpc
214
{
215
216
    /**
217
     * @param string $value
218
     *
219
     * @return $this
220
     */
221
    public function withCustomerUserParentId($value)
222
    {
223
        $this->data['CustomerUserParentId'] = $value;
224
        $this->options['form_params']['CustomerUserParentId'] = $value;
225
226
        return $this;
227
    }
228
229
    /**
230
     * @param string $value
231
     *
232
     * @return $this
233
     */
234
    public function withEndTime($value)
235
    {
236
        $this->data['EndTime'] = $value;
237
        $this->options['form_params']['EndTime'] = $value;
238
239
        return $this;
240
    }
241
242
    /**
243
     * @param string $value
244
     *
245
     * @return $this
246
     */
247
    public function withBeginTime($value)
248
    {
249
        $this->data['BeginTime'] = $value;
250
        $this->options['form_params']['BeginTime'] = $value;
251
252
        return $this;
253
    }
254
255
    /**
256
     * @param string $value
257
     *
258
     * @return $this
259
     */
260
    public function withType($value)
261
    {
262
        $this->data['Type'] = $value;
263
        $this->options['form_params']['Type'] = $value;
264
265
        return $this;
266
    }
267
268
    /**
269
     * @param string $value
270
     *
271
     * @return $this
272
     */
273
    public function withModelType($value)
274
    {
275
        $this->data['ModelType'] = $value;
276
        $this->options['form_params']['ModelType'] = $value;
277
278
        return $this;
279
    }
280
}
281
282
/**
283
 * @method string getProduct()
284
 * @method $this withProduct($value)
285
 * @method string getAsyncPredictId()
286
 * @method $this withAsyncPredictId($value)
287
 */
288
class GetAsyncPredict extends Rpc
289
{
290
291
    /** @var string */
292
    public $method = 'GET';
293
}
294
295
/**
296
 * @method string getTopK()
297
 * @method string getProduct()
298
 * @method string getModelId()
299
 * @method string getDetailTag()
300
 * @method string getContent()
301
 * @method string getModelVersion()
302
 */
303
class GetPredictResult extends Rpc
304
{
305
306
    /**
307
     * @param string $value
308
     *
309
     * @return $this
310
     */
311
    public function withTopK($value)
312
    {
313
        $this->data['TopK'] = $value;
314
        $this->options['form_params']['TopK'] = $value;
315
316
        return $this;
317
    }
318
319
    /**
320
     * @param string $value
321
     *
322
     * @return $this
323
     */
324
    public function withProduct($value)
325
    {
326
        $this->data['Product'] = $value;
327
        $this->options['form_params']['Product'] = $value;
328
329
        return $this;
330
    }
331
332
    /**
333
     * @param string $value
334
     *
335
     * @return $this
336
     */
337
    public function withModelId($value)
338
    {
339
        $this->data['ModelId'] = $value;
340
        $this->options['form_params']['ModelId'] = $value;
341
342
        return $this;
343
    }
344
345
    /**
346
     * @param string $value
347
     *
348
     * @return $this
349
     */
350
    public function withDetailTag($value)
351
    {
352
        $this->data['DetailTag'] = $value;
353
        $this->options['form_params']['DetailTag'] = $value;
354
355
        return $this;
356
    }
357
358
    /**
359
     * @param string $value
360
     *
361
     * @return $this
362
     */
363
    public function withContent($value)
364
    {
365
        $this->data['Content'] = $value;
366
        $this->options['form_params']['Content'] = $value;
367
368
        return $this;
369
    }
370
371
    /**
372
     * @param string $value
373
     *
374
     * @return $this
375
     */
376
    public function withModelVersion($value)
377
    {
378
        $this->data['ModelVersion'] = $value;
379
        $this->options['form_params']['ModelVersion'] = $value;
380
381
        return $this;
382
    }
383
}
384
385
/**
386
 * @method string getTopK()
387
 * @method string getProduct()
388
 * @method string getModelId()
389
 * @method string getDetailTag()
390
 * @method string getContent()
391
 * @method string getModelVersion()
392
 */
393
class GetPredictResultHigh extends Rpc
394
{
395
396
    /**
397
     * @param string $value
398
     *
399
     * @return $this
400
     */
401
    public function withTopK($value)
402
    {
403
        $this->data['TopK'] = $value;
404
        $this->options['form_params']['TopK'] = $value;
405
406
        return $this;
407
    }
408
409
    /**
410
     * @param string $value
411
     *
412
     * @return $this
413
     */
414
    public function withProduct($value)
415
    {
416
        $this->data['Product'] = $value;
417
        $this->options['form_params']['Product'] = $value;
418
419
        return $this;
420
    }
421
422
    /**
423
     * @param string $value
424
     *
425
     * @return $this
426
     */
427
    public function withModelId($value)
428
    {
429
        $this->data['ModelId'] = $value;
430
        $this->options['form_params']['ModelId'] = $value;
431
432
        return $this;
433
    }
434
435
    /**
436
     * @param string $value
437
     *
438
     * @return $this
439
     */
440
    public function withDetailTag($value)
441
    {
442
        $this->data['DetailTag'] = $value;
443
        $this->options['form_params']['DetailTag'] = $value;
444
445
        return $this;
446
    }
447
448
    /**
449
     * @param string $value
450
     *
451
     * @return $this
452
     */
453
    public function withContent($value)
454
    {
455
        $this->data['Content'] = $value;
456
        $this->options['form_params']['Content'] = $value;
457
458
        return $this;
459
    }
460
461
    /**
462
     * @param string $value
463
     *
464
     * @return $this
465
     */
466
    public function withModelVersion($value)
467
    {
468
        $this->data['ModelVersion'] = $value;
469
        $this->options['form_params']['ModelVersion'] = $value;
470
471
        return $this;
472
    }
473
}
474
475
/**
476
 * @method string getProduct()
477
 * @method string getPredictContent()
478
 * @method string getServiceVersion()
479
 * @method string getServiceName()
480
 */
481
class RunPreTrainService extends Rpc
482
{
483
484
    /**
485
     * @param string $value
486
     *
487
     * @return $this
488
     */
489
    public function withProduct($value)
490
    {
491
        $this->data['Product'] = $value;
492
        $this->options['form_params']['Product'] = $value;
493
494
        return $this;
495
    }
496
497
    /**
498
     * @param string $value
499
     *
500
     * @return $this
501
     */
502
    public function withPredictContent($value)
503
    {
504
        $this->data['PredictContent'] = $value;
505
        $this->options['form_params']['PredictContent'] = $value;
506
507
        return $this;
508
    }
509
510
    /**
511
     * @param string $value
512
     *
513
     * @return $this
514
     */
515
    public function withServiceVersion($value)
516
    {
517
        $this->data['ServiceVersion'] = $value;
518
        $this->options['form_params']['ServiceVersion'] = $value;
519
520
        return $this;
521
    }
522
523
    /**
524
     * @param string $value
525
     *
526
     * @return $this
527
     */
528
    public function withServiceName($value)
529
    {
530
        $this->data['ServiceName'] = $value;
531
        $this->options['form_params']['ServiceName'] = $value;
532
533
        return $this;
534
    }
535
}
536
537
/**
538
 * @method string getProduct()
539
 * @method string getPredictContent()
540
 * @method string getServiceVersion()
541
 * @method string getServiceName()
542
 */
543
class RunPreTrainServiceNew extends Rpc
544
{
545
546
    /**
547
     * @param string $value
548
     *
549
     * @return $this
550
     */
551
    public function withProduct($value)
552
    {
553
        $this->data['Product'] = $value;
554
        $this->options['form_params']['Product'] = $value;
555
556
        return $this;
557
    }
558
559
    /**
560
     * @param string $value
561
     *
562
     * @return $this
563
     */
564
    public function withPredictContent($value)
565
    {
566
        $this->data['PredictContent'] = $value;
567
        $this->options['form_params']['PredictContent'] = $value;
568
569
        return $this;
570
    }
571
572
    /**
573
     * @param string $value
574
     *
575
     * @return $this
576
     */
577
    public function withServiceVersion($value)
578
    {
579
        $this->data['ServiceVersion'] = $value;
580
        $this->options['form_params']['ServiceVersion'] = $value;
581
582
        return $this;
583
    }
584
585
    /**
586
     * @param string $value
587
     *
588
     * @return $this
589
     */
590
    public function withServiceName($value)
591
    {
592
        $this->data['ServiceName'] = $value;
593
        $this->options['form_params']['ServiceName'] = $value;
594
595
        return $this;
596
    }
597
}
598