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 ( de6f6a...9359ba )
by
unknown
04:52
created

RunSmartCallService::withServiceName()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 1
Bugs 0 Features 0
Metric Value
eloc 3
c 1
b 0
f 0
dl 0
loc 6
rs 10
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 RunContactReview runContactReview(array $options = [])
12
 * @method RunPreTrainService runPreTrainService(array $options = [])
13
 * @method RunSmartCallService runSmartCallService(array $options = [])
14
 */
15
class NlpAutomlApiResolver extends ApiResolver
16
{
17
}
18
19
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
20
{
21
    /** @var string */
22
    public $product = 'nlp-automl';
23
24
    /** @var string */
25
    public $version = '2019-11-11';
26
27
    /** @var string */
28
    public $method = 'POST';
29
30
    /** @var string */
31
    public $serviceCode = 'nlpautoml';
32
}
33
34
/**
35
 * @method string getTopK()
36
 * @method string getFileType()
37
 * @method string getDetailTag()
38
 * @method string getContent()
39
 * @method string getFileContent()
40
 * @method string getModelId()
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 withContent($value)
92
    {
93
        $this->data['Content'] = $value;
94
        $this->options['form_params']['Content'] = $value;
95
96
        return $this;
97
    }
98
99
    /**
100
     * @param string $value
101
     *
102
     * @return $this
103
     */
104
    public function withFileContent($value)
105
    {
106
        $this->data['FileContent'] = $value;
107
        $this->options['form_params']['FileContent'] = $value;
108
109
        return $this;
110
    }
111
112
    /**
113
     * @param string $value
114
     *
115
     * @return $this
116
     */
117
    public function withModelId($value)
118
    {
119
        $this->data['ModelId'] = $value;
120
        $this->options['form_params']['ModelId'] = $value;
121
122
        return $this;
123
    }
124
125
    /**
126
     * @param string $value
127
     *
128
     * @return $this
129
     */
130
    public function withFileUrl($value)
131
    {
132
        $this->data['FileUrl'] = $value;
133
        $this->options['form_params']['FileUrl'] = $value;
134
135
        return $this;
136
    }
137
138
    /**
139
     * @param string $value
140
     *
141
     * @return $this
142
     */
143
    public function withModelVersion($value)
144
    {
145
        $this->data['ModelVersion'] = $value;
146
        $this->options['form_params']['ModelVersion'] = $value;
147
148
        return $this;
149
    }
150
}
151
152
/**
153
 * @method string getAsyncPredictId()
154
 * @method $this withAsyncPredictId($value)
155
 */
156
class GetAsyncPredict extends Rpc
157
{
158
159
    /** @var string */
160
    public $method = 'GET';
161
}
162
163
/**
164
 * @method string getTopK()
165
 * @method string getModelId()
166
 * @method string getDetailTag()
167
 * @method string getContent()
168
 * @method string getModelVersion()
169
 */
170
class GetPredictResult extends Rpc
171
{
172
173
    /**
174
     * @param string $value
175
     *
176
     * @return $this
177
     */
178
    public function withTopK($value)
179
    {
180
        $this->data['TopK'] = $value;
181
        $this->options['form_params']['TopK'] = $value;
182
183
        return $this;
184
    }
185
186
    /**
187
     * @param string $value
188
     *
189
     * @return $this
190
     */
191
    public function withModelId($value)
192
    {
193
        $this->data['ModelId'] = $value;
194
        $this->options['form_params']['ModelId'] = $value;
195
196
        return $this;
197
    }
198
199
    /**
200
     * @param string $value
201
     *
202
     * @return $this
203
     */
204
    public function withDetailTag($value)
205
    {
206
        $this->data['DetailTag'] = $value;
207
        $this->options['form_params']['DetailTag'] = $value;
208
209
        return $this;
210
    }
211
212
    /**
213
     * @param string $value
214
     *
215
     * @return $this
216
     */
217
    public function withContent($value)
218
    {
219
        $this->data['Content'] = $value;
220
        $this->options['form_params']['Content'] = $value;
221
222
        return $this;
223
    }
224
225
    /**
226
     * @param string $value
227
     *
228
     * @return $this
229
     */
230
    public function withModelVersion($value)
231
    {
232
        $this->data['ModelVersion'] = $value;
233
        $this->options['form_params']['ModelVersion'] = $value;
234
235
        return $this;
236
    }
237
}
238
239
/**
240
 * @method string getContactScene()
241
 * @method string getContactPath()
242
 */
243
class RunContactReview extends Rpc
244
{
245
246
    /**
247
     * @param string $value
248
     *
249
     * @return $this
250
     */
251
    public function withContactScene($value)
252
    {
253
        $this->data['ContactScene'] = $value;
254
        $this->options['form_params']['ContactScene'] = $value;
255
256
        return $this;
257
    }
258
259
    /**
260
     * @param string $value
261
     *
262
     * @return $this
263
     */
264
    public function withContactPath($value)
265
    {
266
        $this->data['ContactPath'] = $value;
267
        $this->options['form_params']['ContactPath'] = $value;
268
269
        return $this;
270
    }
271
}
272
273
/**
274
 * @method string getPredictContent()
275
 * @method string getServiceVersion()
276
 * @method string getServiceName()
277
 */
278
class RunPreTrainService extends Rpc
279
{
280
281
    /**
282
     * @param string $value
283
     *
284
     * @return $this
285
     */
286
    public function withPredictContent($value)
287
    {
288
        $this->data['PredictContent'] = $value;
289
        $this->options['form_params']['PredictContent'] = $value;
290
291
        return $this;
292
    }
293
294
    /**
295
     * @param string $value
296
     *
297
     * @return $this
298
     */
299
    public function withServiceVersion($value)
300
    {
301
        $this->data['ServiceVersion'] = $value;
302
        $this->options['form_params']['ServiceVersion'] = $value;
303
304
        return $this;
305
    }
306
307
    /**
308
     * @param string $value
309
     *
310
     * @return $this
311
     */
312
    public function withServiceName($value)
313
    {
314
        $this->data['ServiceName'] = $value;
315
        $this->options['form_params']['ServiceName'] = $value;
316
317
        return $this;
318
    }
319
}
320
321
/**
322
 * @method string getSessionId()
323
 * @method string getRobotId()
324
 * @method string getParamContent()
325
 * @method string getServiceName()
326
 */
327
class RunSmartCallService extends Rpc
328
{
329
330
    /**
331
     * @param string $value
332
     *
333
     * @return $this
334
     */
335
    public function withSessionId($value)
336
    {
337
        $this->data['SessionId'] = $value;
338
        $this->options['form_params']['SessionId'] = $value;
339
340
        return $this;
341
    }
342
343
    /**
344
     * @param string $value
345
     *
346
     * @return $this
347
     */
348
    public function withRobotId($value)
349
    {
350
        $this->data['RobotId'] = $value;
351
        $this->options['form_params']['RobotId'] = $value;
352
353
        return $this;
354
    }
355
356
    /**
357
     * @param string $value
358
     *
359
     * @return $this
360
     */
361
    public function withParamContent($value)
362
    {
363
        $this->data['ParamContent'] = $value;
364
        $this->options['form_params']['ParamContent'] = $value;
365
366
        return $this;
367
    }
368
369
    /**
370
     * @param string $value
371
     *
372
     * @return $this
373
     */
374
    public function withServiceName($value)
375
    {
376
        $this->data['ServiceName'] = $value;
377
        $this->options['form_params']['ServiceName'] = $value;
378
379
        return $this;
380
    }
381
}
382