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.
Passed
Push — master ( 95035f...c9c871 )
by
unknown
07:19
created

GetJobDescription   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
wmc 1
eloc 5
dl 0
loc 16
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A withResourceOwnerId() 0 6 1
1
<?php
2
3
namespace AlibabaCloud\BatchCompute\V20150630;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method PostJob postJob(array $options = [])
9
 * @method GetTasks getTasks(array $options = [])
10
 * @method DeleteJob deleteJob(array $options = [])
11
 * @method ListJobs listJobs(array $options = [])
12
 * @method ListSnapshots listSnapshots(array $options = [])
13
 * @method ListImages listImages(array $options = [])
14
 * @method GetJobDescription getJobDescription(array $options = [])
15
 * @method ReleaseJob releaseJob(array $options = [])
16
 * @method GetJob getJob(array $options = [])
17
 * @method PutJob putJob(array $options = [])
18
 * @method ModifyJob modifyJob(array $options = [])
19
 */
20
class BatchComputeApiResolver extends ApiResolver
21
{
22
}
23
24
class Roa extends \AlibabaCloud\Client\Resolver\Roa
25
{
26
    /** @var string */
27
    public $product = 'BatchCompute';
28
29
    /** @var string */
30
    public $version = '2015-06-30';
31
}
32
33
/**
34
 * @method string getResourceOwnerId()
35
 */
36
class PostJob extends Roa
37
{
38
    /** @var string */
39
    public $pathPattern = '/jobs';
40
41
    /** @var string */
42
    public $method = 'POST';
43
44
    /**
45
     * @param string $value
46
     *
47
     * @return $this
48
     */
49
    public function withResourceOwnerId($value)
50
    {
51
        $this->data['ResourceOwnerId'] = $value;
52
        $this->options['query']['ResourceOwnerId'] = $value;
53
54
        return $this;
55
    }
56
}
57
58
/**
59
 * @method string getResourceOwnerId()
60
 * @method string getResourceName()
61
 * @method $this withResourceName($value)
62
 */
63
class GetTasks extends Roa
64
{
65
    /** @var string */
66
    public $pathPattern = '/jobs/[ResourceName]/tasks';
67
68
    /**
69
     * @param string $value
70
     *
71
     * @return $this
72
     */
73
    public function withResourceOwnerId($value)
74
    {
75
        $this->data['ResourceOwnerId'] = $value;
76
        $this->options['query']['ResourceOwnerId'] = $value;
77
78
        return $this;
79
    }
80
}
81
82
/**
83
 * @method string getResourceOwnerId()
84
 * @method string getResourceName()
85
 * @method $this withResourceName($value)
86
 */
87
class DeleteJob extends Roa
88
{
89
    /** @var string */
90
    public $pathPattern = '/jobs/[ResourceName]';
91
92
    /** @var string */
93
    public $method = 'DELETE';
94
95
    /**
96
     * @param string $value
97
     *
98
     * @return $this
99
     */
100
    public function withResourceOwnerId($value)
101
    {
102
        $this->data['ResourceOwnerId'] = $value;
103
        $this->options['query']['ResourceOwnerId'] = $value;
104
105
        return $this;
106
    }
107
}
108
109
/**
110
 * @method string getResourceOwnerId()
111
 */
112
class ListJobs extends Roa
113
{
114
    /** @var string */
115
    public $pathPattern = '/jobs';
116
117
    /**
118
     * @param string $value
119
     *
120
     * @return $this
121
     */
122
    public function withResourceOwnerId($value)
123
    {
124
        $this->data['ResourceOwnerId'] = $value;
125
        $this->options['query']['ResourceOwnerId'] = $value;
126
127
        return $this;
128
    }
129
}
130
131
/**
132
 * @method string getResourceOwnerId()
133
 */
134
class ListSnapshots extends Roa
135
{
136
    /** @var string */
137
    public $pathPattern = '/snapshots';
138
139
    /**
140
     * @param string $value
141
     *
142
     * @return $this
143
     */
144
    public function withResourceOwnerId($value)
145
    {
146
        $this->data['ResourceOwnerId'] = $value;
147
        $this->options['query']['ResourceOwnerId'] = $value;
148
149
        return $this;
150
    }
151
}
152
153
/**
154
 * @method string getResourceOwnerId()
155
 */
156
class ListImages extends Roa
157
{
158
    /** @var string */
159
    public $pathPattern = '/images';
160
161
    /**
162
     * @param string $value
163
     *
164
     * @return $this
165
     */
166
    public function withResourceOwnerId($value)
167
    {
168
        $this->data['ResourceOwnerId'] = $value;
169
        $this->options['query']['ResourceOwnerId'] = $value;
170
171
        return $this;
172
    }
173
}
174
175
/**
176
 * @method string getResourceOwnerId()
177
 * @method string getResourceName()
178
 * @method $this withResourceName($value)
179
 */
180
class GetJobDescription extends Roa
181
{
182
    /** @var string */
183
    public $pathPattern = '/jobs/[ResourceName]/description';
184
185
    /**
186
     * @param string $value
187
     *
188
     * @return $this
189
     */
190
    public function withResourceOwnerId($value)
191
    {
192
        $this->data['ResourceOwnerId'] = $value;
193
        $this->options['query']['ResourceOwnerId'] = $value;
194
195
        return $this;
196
    }
197
}
198
199
/**
200
 * @method string getResourceOwnerId()
201
 * @method string getResourceName()
202
 * @method $this withResourceName($value)
203
 */
204
class ReleaseJob extends Roa
205
{
206
    /** @var string */
207
    public $pathPattern = '/2013-01-11/jobs/[ResourceName]';
208
209
    /** @var string */
210
    public $method = 'DELETE';
211
212
    /**
213
     * @param string $value
214
     *
215
     * @return $this
216
     */
217
    public function withResourceOwnerId($value)
218
    {
219
        $this->data['ResourceOwnerId'] = $value;
220
        $this->options['query']['ResourceOwnerId'] = $value;
221
222
        return $this;
223
    }
224
}
225
226
/**
227
 * @method string getResourceOwnerId()
228
 * @method string getResourceName()
229
 * @method $this withResourceName($value)
230
 */
231
class GetJob extends Roa
232
{
233
    /** @var string */
234
    public $pathPattern = '/jobs/[ResourceName]';
235
236
    /**
237
     * @param string $value
238
     *
239
     * @return $this
240
     */
241
    public function withResourceOwnerId($value)
242
    {
243
        $this->data['ResourceOwnerId'] = $value;
244
        $this->options['query']['ResourceOwnerId'] = $value;
245
246
        return $this;
247
    }
248
}
249
250
/**
251
 * @method string getResourceOwnerId()
252
 * @method string getResourceName()
253
 * @method $this withResourceName($value)
254
 */
255
class PutJob extends Roa
256
{
257
    /** @var string */
258
    public $pathPattern = '/jobs/[ResourceName]/Priority';
259
260
    /** @var string */
261
    public $method = 'PUT';
262
263
    /**
264
     * @param string $value
265
     *
266
     * @return $this
267
     */
268
    public function withResourceOwnerId($value)
269
    {
270
        $this->data['ResourceOwnerId'] = $value;
271
        $this->options['query']['ResourceOwnerId'] = $value;
272
273
        return $this;
274
    }
275
}
276
277
/**
278
 * @method string getResourceOwnerId()
279
 * @method string getResourceName()
280
 * @method $this withResourceName($value)
281
 */
282
class ModifyJob extends Roa
283
{
284
    /** @var string */
285
    public $pathPattern = '/jobs/[ResourceName]';
286
287
    /** @var string */
288
    public $method = 'PUT';
289
290
    /**
291
     * @param string $value
292
     *
293
     * @return $this
294
     */
295
    public function withResourceOwnerId($value)
296
    {
297
        $this->data['ResourceOwnerId'] = $value;
298
        $this->options['query']['ResourceOwnerId'] = $value;
299
300
        return $this;
301
    }
302
}
303