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 ( 3e8160...8d4ed2 )
by
unknown
06:08
created

CreateAsyncPredict::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 RunContactReview runContactReview(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
    /** @var string */
29
    public $serviceCode = 'nlpautoml';
30
}
31
32
/**
33
 * @method string getTopK()
34
 * @method string getFileType()
35
 * @method string getDetailTag()
36
 * @method string getContent()
37
 * @method string getFileContent()
38
 * @method string getModelId()
39
 * @method string getFileUrl()
40
 * @method string getModelVersion()
41
 */
42
class CreateAsyncPredict extends Rpc
43
{
44
45
    /**
46
     * @param string $value
47
     *
48
     * @return $this
49
     */
50
    public function withTopK($value)
51
    {
52
        $this->data['TopK'] = $value;
53
        $this->options['form_params']['TopK'] = $value;
54
55
        return $this;
56
    }
57
58
    /**
59
     * @param string $value
60
     *
61
     * @return $this
62
     */
63
    public function withFileType($value)
64
    {
65
        $this->data['FileType'] = $value;
66
        $this->options['form_params']['FileType'] = $value;
67
68
        return $this;
69
    }
70
71
    /**
72
     * @param string $value
73
     *
74
     * @return $this
75
     */
76
    public function withDetailTag($value)
77
    {
78
        $this->data['DetailTag'] = $value;
79
        $this->options['form_params']['DetailTag'] = $value;
80
81
        return $this;
82
    }
83
84
    /**
85
     * @param string $value
86
     *
87
     * @return $this
88
     */
89
    public function withContent($value)
90
    {
91
        $this->data['Content'] = $value;
92
        $this->options['form_params']['Content'] = $value;
93
94
        return $this;
95
    }
96
97
    /**
98
     * @param string $value
99
     *
100
     * @return $this
101
     */
102
    public function withFileContent($value)
103
    {
104
        $this->data['FileContent'] = $value;
105
        $this->options['form_params']['FileContent'] = $value;
106
107
        return $this;
108
    }
109
110
    /**
111
     * @param string $value
112
     *
113
     * @return $this
114
     */
115
    public function withModelId($value)
116
    {
117
        $this->data['ModelId'] = $value;
118
        $this->options['form_params']['ModelId'] = $value;
119
120
        return $this;
121
    }
122
123
    /**
124
     * @param string $value
125
     *
126
     * @return $this
127
     */
128
    public function withFileUrl($value)
129
    {
130
        $this->data['FileUrl'] = $value;
131
        $this->options['form_params']['FileUrl'] = $value;
132
133
        return $this;
134
    }
135
136
    /**
137
     * @param string $value
138
     *
139
     * @return $this
140
     */
141
    public function withModelVersion($value)
142
    {
143
        $this->data['ModelVersion'] = $value;
144
        $this->options['form_params']['ModelVersion'] = $value;
145
146
        return $this;
147
    }
148
}
149
150
/**
151
 * @method string getAsyncPredictId()
152
 * @method $this withAsyncPredictId($value)
153
 */
154
class GetAsyncPredict extends Rpc
155
{
156
157
    /** @var string */
158
    public $method = 'GET';
159
}
160
161
/**
162
 * @method string getTopK()
163
 * @method string getModelId()
164
 * @method string getDetailTag()
165
 * @method string getContent()
166
 * @method string getModelVersion()
167
 */
168
class GetPredictResult extends Rpc
169
{
170
171
    /**
172
     * @param string $value
173
     *
174
     * @return $this
175
     */
176
    public function withTopK($value)
177
    {
178
        $this->data['TopK'] = $value;
179
        $this->options['form_params']['TopK'] = $value;
180
181
        return $this;
182
    }
183
184
    /**
185
     * @param string $value
186
     *
187
     * @return $this
188
     */
189
    public function withModelId($value)
190
    {
191
        $this->data['ModelId'] = $value;
192
        $this->options['form_params']['ModelId'] = $value;
193
194
        return $this;
195
    }
196
197
    /**
198
     * @param string $value
199
     *
200
     * @return $this
201
     */
202
    public function withDetailTag($value)
203
    {
204
        $this->data['DetailTag'] = $value;
205
        $this->options['form_params']['DetailTag'] = $value;
206
207
        return $this;
208
    }
209
210
    /**
211
     * @param string $value
212
     *
213
     * @return $this
214
     */
215
    public function withContent($value)
216
    {
217
        $this->data['Content'] = $value;
218
        $this->options['form_params']['Content'] = $value;
219
220
        return $this;
221
    }
222
223
    /**
224
     * @param string $value
225
     *
226
     * @return $this
227
     */
228
    public function withModelVersion($value)
229
    {
230
        $this->data['ModelVersion'] = $value;
231
        $this->options['form_params']['ModelVersion'] = $value;
232
233
        return $this;
234
    }
235
}
236
237
/**
238
 * @method string getContactScene()
239
 * @method string getContactPath()
240
 */
241
class RunContactReview extends Rpc
242
{
243
244
    /**
245
     * @param string $value
246
     *
247
     * @return $this
248
     */
249
    public function withContactScene($value)
250
    {
251
        $this->data['ContactScene'] = $value;
252
        $this->options['form_params']['ContactScene'] = $value;
253
254
        return $this;
255
    }
256
257
    /**
258
     * @param string $value
259
     *
260
     * @return $this
261
     */
262
    public function withContactPath($value)
263
    {
264
        $this->data['ContactPath'] = $value;
265
        $this->options['form_params']['ContactPath'] = $value;
266
267
        return $this;
268
    }
269
}
270