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 ( b7e892...9c1878 )
by
unknown
04:09
created

GetAsyncJobResult::withAsync()   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
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\Imageseg\V20191230;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method GetAsyncJobResult getAsyncJobResult(array $options = [])
9
 * @method ParseFace parseFace(array $options = [])
10
 * @method RefineMask refineMask(array $options = [])
11
 * @method SegmentAnimal segmentAnimal(array $options = [])
12
 * @method SegmentBody segmentBody(array $options = [])
13
 * @method SegmentCommodity segmentCommodity(array $options = [])
14
 * @method SegmentCommonImage segmentCommonImage(array $options = [])
15
 * @method SegmentFace segmentFace(array $options = [])
16
 * @method SegmentFurniture segmentFurniture(array $options = [])
17
 * @method SegmentHair segmentHair(array $options = [])
18
 * @method SegmentHDBody segmentHDBody(array $options = [])
19
 * @method SegmentHead segmentHead(array $options = [])
20
 * @method SegmentSky segmentSky(array $options = [])
21
 * @method SegmentVehicle segmentVehicle(array $options = [])
22
 */
23
class ImagesegApiResolver extends ApiResolver
24
{
25
}
26
27
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
28
{
29
    /** @var string */
30
    public $product = 'imageseg';
31
32
    /** @var string */
33
    public $version = '2019-12-30';
34
35
    /** @var string */
36
    public $method = 'POST';
37
38
    /** @var string */
39
    public $serviceCode = 'imageseg';
40
}
41
42
/**
43
 * @method string getAsync()
44
 * @method string getJobId()
45
 */
46
class GetAsyncJobResult extends Rpc
47
{
48
49
    /**
50
     * @param string $value
51
     *
52
     * @return $this
53
     */
54
    public function withAsync($value)
55
    {
56
        $this->data['Async'] = $value;
57
        $this->options['form_params']['Async'] = $value;
58
59
        return $this;
60
    }
61
62
    /**
63
     * @param string $value
64
     *
65
     * @return $this
66
     */
67
    public function withJobId($value)
68
    {
69
        $this->data['JobId'] = $value;
70
        $this->options['form_params']['JobId'] = $value;
71
72
        return $this;
73
    }
74
}
75
76
/**
77
 * @method string getImageURL()
78
 * @method $this withImageURL($value)
79
 */
80
class ParseFace extends Rpc
81
{
82
}
83
84
/**
85
 * @method string getMaskImageURL()
86
 * @method string getImageURL()
87
 */
88
class RefineMask extends Rpc
89
{
90
91
    /**
92
     * @param string $value
93
     *
94
     * @return $this
95
     */
96
    public function withMaskImageURL($value)
97
    {
98
        $this->data['MaskImageURL'] = $value;
99
        $this->options['form_params']['MaskImageURL'] = $value;
100
101
        return $this;
102
    }
103
104
    /**
105
     * @param string $value
106
     *
107
     * @return $this
108
     */
109
    public function withImageURL($value)
110
    {
111
        $this->data['ImageURL'] = $value;
112
        $this->options['form_params']['ImageURL'] = $value;
113
114
        return $this;
115
    }
116
}
117
118
/**
119
 * @method string getImageURL()
120
 * @method $this withImageURL($value)
121
 */
122
class SegmentAnimal extends Rpc
123
{
124
}
125
126
/**
127
 * @method string getAsync()
128
 * @method string getImageURL()
129
 * @method $this withImageURL($value)
130
 */
131
class SegmentBody extends Rpc
132
{
133
134
    /**
135
     * @param string $value
136
     *
137
     * @return $this
138
     */
139
    public function withAsync($value)
140
    {
141
        $this->data['Async'] = $value;
142
        $this->options['form_params']['Async'] = $value;
143
144
        return $this;
145
    }
146
}
147
148
/**
149
 * @method string getImageURL()
150
 * @method $this withImageURL($value)
151
 */
152
class SegmentCommodity extends Rpc
153
{
154
}
155
156
/**
157
 * @method string getImageURL()
158
 * @method $this withImageURL($value)
159
 */
160
class SegmentCommonImage extends Rpc
161
{
162
}
163
164
/**
165
 * @method string getImageURL()
166
 * @method $this withImageURL($value)
167
 */
168
class SegmentFace extends Rpc
169
{
170
}
171
172
/**
173
 * @method string getImageURL()
174
 */
175
class SegmentFurniture extends Rpc
176
{
177
178
    /**
179
     * @param string $value
180
     *
181
     * @return $this
182
     */
183
    public function withImageURL($value)
184
    {
185
        $this->data['ImageURL'] = $value;
186
        $this->options['form_params']['ImageURL'] = $value;
187
188
        return $this;
189
    }
190
}
191
192
/**
193
 * @method string getImageURL()
194
 * @method $this withImageURL($value)
195
 */
196
class SegmentHair extends Rpc
197
{
198
}
199
200
/**
201
 * @method string getImageURL()
202
 * @method $this withImageURL($value)
203
 */
204
class SegmentHDBody extends Rpc
205
{
206
}
207
208
/**
209
 * @method string getImageURL()
210
 * @method $this withImageURL($value)
211
 */
212
class SegmentHead extends Rpc
213
{
214
}
215
216
/**
217
 * @method string getImageURL()
218
 * @method $this withImageURL($value)
219
 */
220
class SegmentSky extends Rpc
221
{
222
}
223
224
/**
225
 * @method string getImageURL()
226
 */
227
class SegmentVehicle extends Rpc
228
{
229
230
    /**
231
     * @param string $value
232
     *
233
     * @return $this
234
     */
235
    public function withImageURL($value)
236
    {
237
        $this->data['ImageURL'] = $value;
238
        $this->options['form_params']['ImageURL'] = $value;
239
240
        return $this;
241
    }
242
}
243