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 ( 90e65c...fbf8cc )
by
unknown
04:41
created

RunPreTrainService::withPredictContent()   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
 */
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
    /** @var string */
30
    public $serviceCode = 'nlpautoml';
31
}
32
33
/**
34
 * @method string getTopK()
35
 * @method string getFileType()
36
 * @method string getDetailTag()
37
 * @method string getContent()
38
 * @method string getFileContent()
39
 * @method string getModelId()
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 withContent($value)
91
    {
92
        $this->data['Content'] = $value;
93
        $this->options['form_params']['Content'] = $value;
94
95
        return $this;
96
    }
97
98
    /**
99
     * @param string $value
100
     *
101
     * @return $this
102
     */
103
    public function withFileContent($value)
104
    {
105
        $this->data['FileContent'] = $value;
106
        $this->options['form_params']['FileContent'] = $value;
107
108
        return $this;
109
    }
110
111
    /**
112
     * @param string $value
113
     *
114
     * @return $this
115
     */
116
    public function withModelId($value)
117
    {
118
        $this->data['ModelId'] = $value;
119
        $this->options['form_params']['ModelId'] = $value;
120
121
        return $this;
122
    }
123
124
    /**
125
     * @param string $value
126
     *
127
     * @return $this
128
     */
129
    public function withFileUrl($value)
130
    {
131
        $this->data['FileUrl'] = $value;
132
        $this->options['form_params']['FileUrl'] = $value;
133
134
        return $this;
135
    }
136
137
    /**
138
     * @param string $value
139
     *
140
     * @return $this
141
     */
142
    public function withModelVersion($value)
143
    {
144
        $this->data['ModelVersion'] = $value;
145
        $this->options['form_params']['ModelVersion'] = $value;
146
147
        return $this;
148
    }
149
}
150
151
/**
152
 * @method string getAsyncPredictId()
153
 * @method $this withAsyncPredictId($value)
154
 */
155
class GetAsyncPredict extends Rpc
156
{
157
158
    /** @var string */
159
    public $method = 'GET';
160
}
161
162
/**
163
 * @method string getTopK()
164
 * @method string getModelId()
165
 * @method string getDetailTag()
166
 * @method string getContent()
167
 * @method string getModelVersion()
168
 */
169
class GetPredictResult extends Rpc
170
{
171
172
    /**
173
     * @param string $value
174
     *
175
     * @return $this
176
     */
177
    public function withTopK($value)
178
    {
179
        $this->data['TopK'] = $value;
180
        $this->options['form_params']['TopK'] = $value;
181
182
        return $this;
183
    }
184
185
    /**
186
     * @param string $value
187
     *
188
     * @return $this
189
     */
190
    public function withModelId($value)
191
    {
192
        $this->data['ModelId'] = $value;
193
        $this->options['form_params']['ModelId'] = $value;
194
195
        return $this;
196
    }
197
198
    /**
199
     * @param string $value
200
     *
201
     * @return $this
202
     */
203
    public function withDetailTag($value)
204
    {
205
        $this->data['DetailTag'] = $value;
206
        $this->options['form_params']['DetailTag'] = $value;
207
208
        return $this;
209
    }
210
211
    /**
212
     * @param string $value
213
     *
214
     * @return $this
215
     */
216
    public function withContent($value)
217
    {
218
        $this->data['Content'] = $value;
219
        $this->options['form_params']['Content'] = $value;
220
221
        return $this;
222
    }
223
224
    /**
225
     * @param string $value
226
     *
227
     * @return $this
228
     */
229
    public function withModelVersion($value)
230
    {
231
        $this->data['ModelVersion'] = $value;
232
        $this->options['form_params']['ModelVersion'] = $value;
233
234
        return $this;
235
    }
236
}
237
238
/**
239
 * @method string getContactScene()
240
 * @method string getContactPath()
241
 */
242
class RunContactReview extends Rpc
243
{
244
245
    /**
246
     * @param string $value
247
     *
248
     * @return $this
249
     */
250
    public function withContactScene($value)
251
    {
252
        $this->data['ContactScene'] = $value;
253
        $this->options['form_params']['ContactScene'] = $value;
254
255
        return $this;
256
    }
257
258
    /**
259
     * @param string $value
260
     *
261
     * @return $this
262
     */
263
    public function withContactPath($value)
264
    {
265
        $this->data['ContactPath'] = $value;
266
        $this->options['form_params']['ContactPath'] = $value;
267
268
        return $this;
269
    }
270
}
271
272
/**
273
 * @method string getPredictContent()
274
 * @method string getServiceVersion()
275
 * @method string getServiceName()
276
 */
277
class RunPreTrainService extends Rpc
278
{
279
280
    /**
281
     * @param string $value
282
     *
283
     * @return $this
284
     */
285
    public function withPredictContent($value)
286
    {
287
        $this->data['PredictContent'] = $value;
288
        $this->options['form_params']['PredictContent'] = $value;
289
290
        return $this;
291
    }
292
293
    /**
294
     * @param string $value
295
     *
296
     * @return $this
297
     */
298
    public function withServiceVersion($value)
299
    {
300
        $this->data['ServiceVersion'] = $value;
301
        $this->options['form_params']['ServiceVersion'] = $value;
302
303
        return $this;
304
    }
305
306
    /**
307
     * @param string $value
308
     *
309
     * @return $this
310
     */
311
    public function withServiceName($value)
312
    {
313
        $this->data['ServiceName'] = $value;
314
        $this->options['form_params']['ServiceName'] = $value;
315
316
        return $this;
317
    }
318
}
319