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 ( b3ce80...2fff2b )
by
unknown
06:52
created

InvokeAction::withInvokeAction()   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
dl 0
loc 6
rs 10
c 1
b 0
f 0
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\NlpAutoml\V20190701;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method AddMtIntervenePackage addMtIntervenePackage(array $options = [])
9
 * @method AddMTInterveneWord addMTInterveneWord(array $options = [])
10
 * @method BindIntervenePackageAndModel bindIntervenePackageAndModel(array $options = [])
11
 * @method GetPredictDoc getPredictDoc(array $options = [])
12
 * @method InvokeAction invokeAction(array $options = [])
13
 * @method PredictMTModel predictMTModel(array $options = [])
14
 * @method PredictMTModelByDoc predictMTModelByDoc(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-07-01';
27
28
    /** @var string */
29
    public $method = 'POST';
30
31
    /** @var string */
32
    public $serviceCode = 'nlpautoml';
33
}
34
35
/**
36
 * @method string getSourceLanguage()
37
 * @method $this withSourceLanguage($value)
38
 * @method string getProduct()
39
 * @method $this withProduct($value)
40
 * @method string getPackageName()
41
 * @method $this withPackageName($value)
42
 * @method string getTenantId()
43
 * @method $this withTenantId($value)
44
 * @method string getProjectType()
45
 * @method $this withProjectType($value)
46
 * @method string getSourceType()
47
 * @method $this withSourceType($value)
48
 * @method string getTargetLanguage()
49
 * @method $this withTargetLanguage($value)
50
 * @method string getCategory()
51
 * @method $this withCategory($value)
52
 * @method string getProjectId()
53
 * @method $this withProjectId($value)
54
 */
55
class AddMtIntervenePackage extends Rpc
56
{
57
}
58
59
/**
60
 * @method string getProduct()
61
 * @method $this withProduct($value)
62
 * @method string getSourceText()
63
 * @method $this withSourceText($value)
64
 * @method string getPackageId()
65
 * @method $this withPackageId($value)
66
 * @method string getTargetText()
67
 * @method $this withTargetText($value)
68
 * @method string getTenantId()
69
 * @method $this withTenantId($value)
70
 * @method string getProjectId()
71
 * @method $this withProjectId($value)
72
 */
73
class AddMTInterveneWord extends Rpc
74
{
75
}
76
77
/**
78
 * @method string getProduct()
79
 * @method $this withProduct($value)
80
 * @method string getModelId()
81
 * @method $this withModelId($value)
82
 * @method string getPackageId()
83
 * @method $this withPackageId($value)
84
 * @method string getTenantId()
85
 * @method $this withTenantId($value)
86
 * @method string getProjectId()
87
 * @method $this withProjectId($value)
88
 * @method string getModelVersion()
89
 * @method $this withModelVersion($value)
90
 */
91
class BindIntervenePackageAndModel extends Rpc
92
{
93
}
94
95
/**
96
 * @method string getProduct()
97
 * @method $this withProduct($value)
98
 * @method string getDocId()
99
 * @method $this withDocId($value)
100
 */
101
class GetPredictDoc extends Rpc
102
{
103
}
104
105
/**
106
 * @method string getInvokeProduct()
107
 * @method $this withInvokeProduct($value)
108
 * @method string getInvokeAction()
109
 * @method string getInvokeParams()
110
 * @method string getInvokeRegion()
111
 * @method $this withInvokeRegion($value)
112
 */
113
class InvokeAction extends Rpc
114
{
115
116
    /**
117
     * @param string $value
118
     *
119
     * @return $this
120
     */
121
    public function withInvokeAction($value)
122
    {
123
        $this->data['InvokeAction'] = $value;
124
        $this->options['form_params']['InvokeAction'] = $value;
125
126
        return $this;
127
    }
128
129
    /**
130
     * @param string $value
131
     *
132
     * @return $this
133
     */
134
    public function withInvokeParams($value)
135
    {
136
        $this->data['InvokeParams'] = $value;
137
        $this->options['form_params']['InvokeParams'] = $value;
138
139
        return $this;
140
    }
141
}
142
143
/**
144
 * @method string getProduct()
145
 * @method $this withProduct($value)
146
 * @method string getModelId()
147
 * @method $this withModelId($value)
148
 * @method string getContent()
149
 * @method string getModelVersion()
150
 * @method $this withModelVersion($value)
151
 */
152
class PredictMTModel extends Rpc
153
{
154
155
    /**
156
     * @param string $value
157
     *
158
     * @return $this
159
     */
160
    public function withContent($value)
161
    {
162
        $this->data['Content'] = $value;
163
        $this->options['form_params']['Content'] = $value;
164
165
        return $this;
166
    }
167
}
168
169
/**
170
 * @method string getFileType()
171
 * @method $this withFileType($value)
172
 * @method string getProduct()
173
 * @method $this withProduct($value)
174
 * @method string getModelId()
175
 * @method $this withModelId($value)
176
 * @method string getFileContent()
177
 * @method string getNeedXLIFF()
178
 * @method $this withNeedXLIFF($value)
179
 * @method string getModelVersion()
180
 * @method $this withModelVersion($value)
181
 */
182
class PredictMTModelByDoc extends Rpc
183
{
184
185
    /**
186
     * @param string $value
187
     *
188
     * @return $this
189
     */
190
    public function withFileContent($value)
191
    {
192
        $this->data['FileContent'] = $value;
193
        $this->options['form_params']['FileContent'] = $value;
194
195
        return $this;
196
    }
197
}
198