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 ( 2556fa...08bd80 )
by
unknown
08:03
created

DetectKneeXRay::withUrl()   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\Imageprocess\V20200320;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method DetectCovid19Cad detectCovid19Cad(array $options = [])
9
 * @method DetectKneeXRay detectKneeXRay(array $options = [])
10
 * @method DetectLungNodule detectLungNodule(array $options = [])
11
 * @method DetectSpineMRI detectSpineMRI(array $options = [])
12
 * @method GetAsyncJobResult getAsyncJobResult(array $options = [])
13
 * @method TranslateMed translateMed(array $options = [])
14
 */
15
class ImageprocessApiResolver extends ApiResolver
16
{
17
}
18
19
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
20
{
21
    /** @var string */
22
    public $product = 'imageprocess';
23
24
    /** @var string */
25
    public $version = '2020-03-20';
26
27
    /** @var string */
28
    public $method = 'POST';
29
30
    /** @var string */
31
    public $serviceCode = 'imageprocess';
32
}
33
34
/**
35
 * @method array getURLList()
36
 * @method string getAsync()
37
 */
38
class DetectCovid19Cad extends Rpc
39
{
40
41
    /**
42
     * @param array $uRLList
43
     *
44
     * @return $this
45
     */
46
	public function withURLList(array $uRLList)
47
	{
48
	    $this->data['URLList'] = $uRLList;
49
		foreach ($uRLList as $depth1 => $depth1Value) {
50
			if(isset($depth1Value['URL'])){
51
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
52
			}
53
		}
54
55
		return $this;
56
    }
57
58
    /**
59
     * @param string $value
60
     *
61
     * @return $this
62
     */
63
    public function withAsync($value)
64
    {
65
        $this->data['Async'] = $value;
66
        $this->options['form_params']['Async'] = $value;
67
68
        return $this;
69
    }
70
}
71
72
/**
73
 * @method string getDataFormat()
74
 * @method string getUrl()
75
 */
76
class DetectKneeXRay extends Rpc
77
{
78
79
    /**
80
     * @param string $value
81
     *
82
     * @return $this
83
     */
84
    public function withDataFormat($value)
85
    {
86
        $this->data['DataFormat'] = $value;
87
        $this->options['form_params']['DataFormat'] = $value;
88
89
        return $this;
90
    }
91
92
    /**
93
     * @param string $value
94
     *
95
     * @return $this
96
     */
97
    public function withUrl($value)
98
    {
99
        $this->data['Url'] = $value;
100
        $this->options['form_params']['Url'] = $value;
101
102
        return $this;
103
    }
104
}
105
106
/**
107
 * @method array getURLList()
108
 * @method string getAsync()
109
 */
110
class DetectLungNodule extends Rpc
111
{
112
113
    /**
114
     * @param array $uRLList
115
     *
116
     * @return $this
117
     */
118
	public function withURLList(array $uRLList)
119
	{
120
	    $this->data['URLList'] = $uRLList;
121
		foreach ($uRLList as $depth1 => $depth1Value) {
122
			if(isset($depth1Value['URL'])){
123
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
124
			}
125
		}
126
127
		return $this;
128
    }
129
130
    /**
131
     * @param string $value
132
     *
133
     * @return $this
134
     */
135
    public function withAsync($value)
136
    {
137
        $this->data['Async'] = $value;
138
        $this->options['form_params']['Async'] = $value;
139
140
        return $this;
141
    }
142
}
143
144
/**
145
 * @method array getURLList()
146
 */
147
class DetectSpineMRI extends Rpc
148
{
149
150
    /**
151
     * @param array $uRLList
152
     *
153
     * @return $this
154
     */
155
	public function withURLList(array $uRLList)
156
	{
157
	    $this->data['URLList'] = $uRLList;
158
		foreach ($uRLList as $depth1 => $depth1Value) {
159
			if(isset($depth1Value['URL'])){
160
				$this->options['form_params']['URLList.' . ($depth1 + 1) . '.URL'] = $depth1Value['URL'];
161
			}
162
		}
163
164
		return $this;
165
    }
166
}
167
168
/**
169
 * @method string getAsync()
170
 * @method string getJobId()
171
 */
172
class GetAsyncJobResult extends Rpc
173
{
174
175
    /**
176
     * @param string $value
177
     *
178
     * @return $this
179
     */
180
    public function withAsync($value)
181
    {
182
        $this->data['Async'] = $value;
183
        $this->options['form_params']['Async'] = $value;
184
185
        return $this;
186
    }
187
188
    /**
189
     * @param string $value
190
     *
191
     * @return $this
192
     */
193
    public function withJobId($value)
194
    {
195
        $this->data['JobId'] = $value;
196
        $this->options['form_params']['JobId'] = $value;
197
198
        return $this;
199
    }
200
}
201
202
/**
203
 * @method string getFromLanguage()
204
 * @method string getToLanguage()
205
 * @method string getText()
206
 */
207
class TranslateMed extends Rpc
208
{
209
210
    /**
211
     * @param string $value
212
     *
213
     * @return $this
214
     */
215
    public function withFromLanguage($value)
216
    {
217
        $this->data['FromLanguage'] = $value;
218
        $this->options['form_params']['FromLanguage'] = $value;
219
220
        return $this;
221
    }
222
223
    /**
224
     * @param string $value
225
     *
226
     * @return $this
227
     */
228
    public function withToLanguage($value)
229
    {
230
        $this->data['ToLanguage'] = $value;
231
        $this->options['form_params']['ToLanguage'] = $value;
232
233
        return $this;
234
    }
235
236
    /**
237
     * @param string $value
238
     *
239
     * @return $this
240
     */
241
    public function withText($value)
242
    {
243
        $this->data['Text'] = $value;
244
        $this->options['form_params']['Text'] = $value;
245
246
        return $this;
247
    }
248
}
249