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 ( 714f70...0bcac4 )
by
unknown
08:24 queued 02:27
created

GetVehicleRepairPlan::withCarNumberImage()   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\Objectdet\V20191230;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method ClassifyVehicleInsurance classifyVehicleInsurance(array $options = [])
9
 * @method DetectMainBody detectMainBody(array $options = [])
10
 * @method DetectObject detectObject(array $options = [])
11
 * @method DetectTransparentImage detectTransparentImage(array $options = [])
12
 * @method DetectVehicle detectVehicle(array $options = [])
13
 * @method DetectWhiteBaseImage detectWhiteBaseImage(array $options = [])
14
 * @method GenerateVehicleRepairPlan generateVehicleRepairPlan(array $options = [])
15
 * @method GetVehicleRepairPlan getVehicleRepairPlan(array $options = [])
16
 * @method RecognizeVehicleDamage recognizeVehicleDamage(array $options = [])
17
 * @method RecognizeVehicleDashboard recognizeVehicleDashboard(array $options = [])
18
 * @method RecognizeVehicleParts recognizeVehicleParts(array $options = [])
19
 */
20
class ObjectdetApiResolver extends ApiResolver
21
{
22
}
23
24
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
25
{
26
    /** @var string */
27
    public $product = 'objectdet';
28
29
    /** @var string */
30
    public $version = '2019-12-30';
31
32
    /** @var string */
33
    public $method = 'POST';
34
35
    /** @var string */
36
    public $serviceCode = 'objectdet';
37
}
38
39
/**
40
 * @method string getImageURL()
41
 */
42
class ClassifyVehicleInsurance extends Rpc
43
{
44
45
    /**
46
     * @param string $value
47
     *
48
     * @return $this
49
     */
50
    public function withImageURL($value)
51
    {
52
        $this->data['ImageURL'] = $value;
53
        $this->options['form_params']['ImageURL'] = $value;
54
55
        return $this;
56
    }
57
}
58
59
/**
60
 * @method string getImageURL()
61
 * @method $this withImageURL($value)
62
 */
63
class DetectMainBody extends Rpc
64
{
65
}
66
67
/**
68
 * @method string getImageURL()
69
 */
70
class DetectObject extends Rpc
71
{
72
73
    /**
74
     * @param string $value
75
     *
76
     * @return $this
77
     */
78
    public function withImageURL($value)
79
    {
80
        $this->data['ImageURL'] = $value;
81
        $this->options['form_params']['ImageURL'] = $value;
82
83
        return $this;
84
    }
85
}
86
87
/**
88
 * @method string getImageURL()
89
 */
90
class DetectTransparentImage extends Rpc
91
{
92
93
    /**
94
     * @param string $value
95
     *
96
     * @return $this
97
     */
98
    public function withImageURL($value)
99
    {
100
        $this->data['ImageURL'] = $value;
101
        $this->options['form_params']['ImageURL'] = $value;
102
103
        return $this;
104
    }
105
}
106
107
/**
108
 * @method string getImageType()
109
 * @method string getImageURL()
110
 */
111
class DetectVehicle extends Rpc
112
{
113
114
    /**
115
     * @param string $value
116
     *
117
     * @return $this
118
     */
119
    public function withImageType($value)
120
    {
121
        $this->data['ImageType'] = $value;
122
        $this->options['form_params']['ImageType'] = $value;
123
124
        return $this;
125
    }
126
127
    /**
128
     * @param string $value
129
     *
130
     * @return $this
131
     */
132
    public function withImageURL($value)
133
    {
134
        $this->data['ImageURL'] = $value;
135
        $this->options['form_params']['ImageURL'] = $value;
136
137
        return $this;
138
    }
139
}
140
141
/**
142
 * @method string getImageURL()
143
 */
144
class DetectWhiteBaseImage extends Rpc
145
{
146
147
    /**
148
     * @param string $value
149
     *
150
     * @return $this
151
     */
152
    public function withImageURL($value)
153
    {
154
        $this->data['ImageURL'] = $value;
155
        $this->options['form_params']['ImageURL'] = $value;
156
157
        return $this;
158
    }
159
}
160
161
/**
162
 * @method array getDamageImageList()
163
 */
164
class GenerateVehicleRepairPlan extends Rpc
165
{
166
167
    /**
168
     * @param array $damageImageList
169
     *
170
     * @return $this
171
     */
172
	public function withDamageImageList(array $damageImageList)
173
	{
174
	    $this->data['DamageImageList'] = $damageImageList;
175
		foreach ($damageImageList as $depth1 => $depth1Value) {
176
			if(isset($depth1Value['ImageUrl'])){
177
				$this->options['form_params']['DamageImageList.' . ($depth1 + 1) . '.ImageUrl'] = $depth1Value['ImageUrl'];
178
			}
179
			if(isset($depth1Value['CreateTimeStamp'])){
180
				$this->options['form_params']['DamageImageList.' . ($depth1 + 1) . '.CreateTimeStamp'] = $depth1Value['CreateTimeStamp'];
181
			}
182
		}
183
184
		return $this;
185
    }
186
}
187
188
/**
189
 * @method string getVinCodeImage()
190
 * @method string getCarNumberImage()
191
 * @method string getTaskId()
192
 */
193
class GetVehicleRepairPlan extends Rpc
194
{
195
196
    /**
197
     * @param string $value
198
     *
199
     * @return $this
200
     */
201
    public function withVinCodeImage($value)
202
    {
203
        $this->data['VinCodeImage'] = $value;
204
        $this->options['form_params']['VinCodeImage'] = $value;
205
206
        return $this;
207
    }
208
209
    /**
210
     * @param string $value
211
     *
212
     * @return $this
213
     */
214
    public function withCarNumberImage($value)
215
    {
216
        $this->data['CarNumberImage'] = $value;
217
        $this->options['form_params']['CarNumberImage'] = $value;
218
219
        return $this;
220
    }
221
222
    /**
223
     * @param string $value
224
     *
225
     * @return $this
226
     */
227
    public function withTaskId($value)
228
    {
229
        $this->data['TaskId'] = $value;
230
        $this->options['form_params']['TaskId'] = $value;
231
232
        return $this;
233
    }
234
}
235
236
/**
237
 * @method string getImageURL()
238
 */
239
class RecognizeVehicleDamage extends Rpc
240
{
241
242
    /**
243
     * @param string $value
244
     *
245
     * @return $this
246
     */
247
    public function withImageURL($value)
248
    {
249
        $this->data['ImageURL'] = $value;
250
        $this->options['form_params']['ImageURL'] = $value;
251
252
        return $this;
253
    }
254
}
255
256
/**
257
 * @method string getImageURL()
258
 */
259
class RecognizeVehicleDashboard extends Rpc
260
{
261
262
    /**
263
     * @param string $value
264
     *
265
     * @return $this
266
     */
267
    public function withImageURL($value)
268
    {
269
        $this->data['ImageURL'] = $value;
270
        $this->options['form_params']['ImageURL'] = $value;
271
272
        return $this;
273
    }
274
}
275
276
/**
277
 * @method string getImageURL()
278
 */
279
class RecognizeVehicleParts extends Rpc
280
{
281
282
    /**
283
     * @param string $value
284
     *
285
     * @return $this
286
     */
287
    public function withImageURL($value)
288
    {
289
        $this->data['ImageURL'] = $value;
290
        $this->options['form_params']['ImageURL'] = $value;
291
292
        return $this;
293
    }
294
}
295