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 ( 336cf7...7b50a3 )
by
unknown
11:39
created

DescribeIpLocationService::withEagleEyeUserData()   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\AntiddosPublic\V20170518;
4
5
use AlibabaCloud\Client\Resolver\ApiResolver;
6
7
/**
8
 * @method DescribeBgpPackByIp describeBgpPackByIp(array $options = [])
9
 * @method DescribeCap describeCap(array $options = [])
10
 * @method DescribeDdosCount describeDdosCount(array $options = [])
11
 * @method DescribeDdosCredit describeDdosCredit(array $options = [])
12
 * @method DescribeDdosEventList describeDdosEventList(array $options = [])
13
 * @method DescribeDdosThreshold describeDdosThreshold(array $options = [])
14
 * @method DescribeInstance describeInstance(array $options = [])
15
 * @method DescribeInstanceIpAddress describeInstanceIpAddress(array $options = [])
16
 * @method DescribeIpDdosThreshold describeIpDdosThreshold(array $options = [])
17
 * @method DescribeIpLocationService describeIpLocationService(array $options = [])
18
 * @method DescribeRegions describeRegions(array $options = [])
19
 * @method ModifyDdosStatus modifyDdosStatus(array $options = [])
20
 * @method ModifyDefenseThreshold modifyDefenseThreshold(array $options = [])
21
 */
22
class AntiddosPublicApiResolver extends ApiResolver
23
{
24
}
25
26
class Rpc extends \AlibabaCloud\Client\Resolver\Rpc
27
{
28
    /** @var string */
29
    public $product = 'antiddos-public';
30
31
    /** @var string */
32
    public $version = '2017-05-18';
33
34
    /** @var string */
35
    public $method = 'POST';
36
}
37
38
/**
39
 * @method string getSourceIp()
40
 * @method $this withSourceIp($value)
41
 * @method string getDdosRegionId()
42
 * @method $this withDdosRegionId($value)
43
 * @method string getLang()
44
 * @method $this withLang($value)
45
 * @method string getIp()
46
 * @method $this withIp($value)
47
 */
48
class DescribeBgpPackByIp extends Rpc
49
{
50
}
51
52
/**
53
 * @method string getInternetIp()
54
 * @method $this withInternetIp($value)
55
 * @method string getBegTime()
56
 * @method $this withBegTime($value)
57
 * @method string getSourceIp()
58
 * @method $this withSourceIp($value)
59
 * @method string getDdosRegionId()
60
 * @method $this withDdosRegionId($value)
61
 * @method string getInstanceType()
62
 * @method $this withInstanceType($value)
63
 * @method string getLang()
64
 * @method $this withLang($value)
65
 * @method string getInstanceId()
66
 * @method $this withInstanceId($value)
67
 */
68
class DescribeCap extends Rpc
69
{
70
}
71
72
/**
73
 * @method string getSourceIp()
74
 * @method $this withSourceIp($value)
75
 * @method string getDdosRegionId()
76
 * @method $this withDdosRegionId($value)
77
 * @method string getInstanceType()
78
 * @method $this withInstanceType($value)
79
 * @method string getLang()
80
 * @method $this withLang($value)
81
 */
82
class DescribeDdosCount extends Rpc
83
{
84
}
85
86
/**
87
 * @method string getSourceIp()
88
 * @method $this withSourceIp($value)
89
 * @method string getDdosRegionId()
90
 * @method $this withDdosRegionId($value)
91
 * @method string getLang()
92
 * @method $this withLang($value)
93
 */
94
class DescribeDdosCredit extends Rpc
95
{
96
}
97
98
/**
99
 * @method string getInternetIp()
100
 * @method $this withInternetIp($value)
101
 * @method string getSourceIp()
102
 * @method $this withSourceIp($value)
103
 * @method string getPageSize()
104
 * @method $this withPageSize($value)
105
 * @method string getDdosRegionId()
106
 * @method $this withDdosRegionId($value)
107
 * @method string getInstanceType()
108
 * @method $this withInstanceType($value)
109
 * @method string getLang()
110
 * @method $this withLang($value)
111
 * @method string getCurrentPage()
112
 * @method $this withCurrentPage($value)
113
 * @method string getInstanceId()
114
 * @method $this withInstanceId($value)
115
 */
116
class DescribeDdosEventList extends Rpc
117
{
118
}
119
120
/**
121
 * @method string getDdosType()
122
 * @method $this withDdosType($value)
123
 * @method string getSourceIp()
124
 * @method $this withSourceIp($value)
125
 * @method string getDdosRegionId()
126
 * @method $this withDdosRegionId($value)
127
 * @method string getInstanceType()
128
 * @method $this withInstanceType($value)
129
 * @method string getLang()
130
 * @method $this withLang($value)
131
 * @method array getInstanceIds()
132
 */
133
class DescribeDdosThreshold extends Rpc
134
{
135
136
    /**
137
     * @param array $instanceIds
138
     *
139
     * @return $this
140
     */
141
	public function withInstanceIds(array $instanceIds)
142
	{
143
	    $this->data['InstanceIds'] = $instanceIds;
144
		foreach ($instanceIds as $i => $iValue) {
145
			$this->options['query']['InstanceIds.' . ($i + 1)] = $iValue;
146
		}
147
148
		return $this;
149
    }
150
}
151
152
/**
153
 * @method string getEagleEyeRpcId()
154
 * @method string getSourceIp()
155
 * @method $this withSourceIp($value)
156
 * @method string getEagleEyeTraceId()
157
 * @method string getPageSize()
158
 * @method $this withPageSize($value)
159
 * @method string getDdosRegionId()
160
 * @method $this withDdosRegionId($value)
161
 * @method string getInstanceType()
162
 * @method $this withInstanceType($value)
163
 * @method string getLang()
164
 * @method $this withLang($value)
165
 * @method string getDdosStatus()
166
 * @method $this withDdosStatus($value)
167
 * @method string getCurrentPage()
168
 * @method $this withCurrentPage($value)
169
 * @method string getInstanceName()
170
 * @method $this withInstanceName($value)
171
 * @method string getInstanceId()
172
 * @method $this withInstanceId($value)
173
 * @method string getEagleEyeUserData()
174
 * @method string getInstanceIp()
175
 * @method $this withInstanceIp($value)
176
 */
177
class DescribeInstance extends Rpc
178
{
179
180
    /**
181
     * @param string $value
182
     *
183
     * @return $this
184
     */
185
    public function withEagleEyeRpcId($value)
186
    {
187
        $this->data['EagleEyeRpcId'] = $value;
188
        $this->options['form_params']['eagleEyeRpcId'] = $value;
189
190
        return $this;
191
    }
192
193
    /**
194
     * @param string $value
195
     *
196
     * @return $this
197
     */
198
    public function withEagleEyeTraceId($value)
199
    {
200
        $this->data['EagleEyeTraceId'] = $value;
201
        $this->options['form_params']['eagleEyeTraceId'] = $value;
202
203
        return $this;
204
    }
205
206
    /**
207
     * @param string $value
208
     *
209
     * @return $this
210
     */
211
    public function withEagleEyeUserData($value)
212
    {
213
        $this->data['EagleEyeUserData'] = $value;
214
        $this->options['form_params']['eagleEyeUserData'] = $value;
215
216
        return $this;
217
    }
218
}
219
220
/**
221
 * @method string getEagleEyeRpcId()
222
 * @method string getSourceIp()
223
 * @method $this withSourceIp($value)
224
 * @method string getEagleEyeTraceId()
225
 * @method string getPageSize()
226
 * @method $this withPageSize($value)
227
 * @method string getDdosRegionId()
228
 * @method $this withDdosRegionId($value)
229
 * @method string getInstanceType()
230
 * @method $this withInstanceType($value)
231
 * @method string getLang()
232
 * @method $this withLang($value)
233
 * @method string getDdosStatus()
234
 * @method $this withDdosStatus($value)
235
 * @method string getCurrentPage()
236
 * @method $this withCurrentPage($value)
237
 * @method string getInstanceName()
238
 * @method $this withInstanceName($value)
239
 * @method string getInstanceId()
240
 * @method $this withInstanceId($value)
241
 * @method string getEagleEyeUserData()
242
 * @method string getInstanceIp()
243
 * @method $this withInstanceIp($value)
244
 */
245
class DescribeInstanceIpAddress extends Rpc
246
{
247
248
    /**
249
     * @param string $value
250
     *
251
     * @return $this
252
     */
253
    public function withEagleEyeRpcId($value)
254
    {
255
        $this->data['EagleEyeRpcId'] = $value;
256
        $this->options['form_params']['EagleEyeRpcId'] = $value;
257
258
        return $this;
259
    }
260
261
    /**
262
     * @param string $value
263
     *
264
     * @return $this
265
     */
266
    public function withEagleEyeTraceId($value)
267
    {
268
        $this->data['EagleEyeTraceId'] = $value;
269
        $this->options['form_params']['EagleEyeTraceId'] = $value;
270
271
        return $this;
272
    }
273
274
    /**
275
     * @param string $value
276
     *
277
     * @return $this
278
     */
279
    public function withEagleEyeUserData($value)
280
    {
281
        $this->data['EagleEyeUserData'] = $value;
282
        $this->options['form_params']['EagleEyeUserData'] = $value;
283
284
        return $this;
285
    }
286
}
287
288
/**
289
 * @method string getInternetIp()
290
 * @method $this withInternetIp($value)
291
 * @method string getDdosType()
292
 * @method $this withDdosType($value)
293
 * @method string getSourceIp()
294
 * @method $this withSourceIp($value)
295
 * @method string getDdosRegionId()
296
 * @method $this withDdosRegionId($value)
297
 * @method string getInstanceType()
298
 * @method $this withInstanceType($value)
299
 * @method string getLang()
300
 * @method $this withLang($value)
301
 * @method string getInstanceId()
302
 * @method $this withInstanceId($value)
303
 */
304
class DescribeIpDdosThreshold extends Rpc
305
{
306
}
307
308
/**
309
 * @method string getInternetIp()
310
 * @method $this withInternetIp($value)
311
 * @method string getEagleEyeRpcId()
312
 * @method string getSourceIp()
313
 * @method $this withSourceIp($value)
314
 * @method string getEagleEyeTraceId()
315
 * @method string getLang()
316
 * @method $this withLang($value)
317
 * @method string getEagleEyeUserData()
318
 */
319
class DescribeIpLocationService extends Rpc
320
{
321
322
    /**
323
     * @param string $value
324
     *
325
     * @return $this
326
     */
327
    public function withEagleEyeRpcId($value)
328
    {
329
        $this->data['EagleEyeRpcId'] = $value;
330
        $this->options['form_params']['EagleEyeRpcId'] = $value;
331
332
        return $this;
333
    }
334
335
    /**
336
     * @param string $value
337
     *
338
     * @return $this
339
     */
340
    public function withEagleEyeTraceId($value)
341
    {
342
        $this->data['EagleEyeTraceId'] = $value;
343
        $this->options['form_params']['EagleEyeTraceId'] = $value;
344
345
        return $this;
346
    }
347
348
    /**
349
     * @param string $value
350
     *
351
     * @return $this
352
     */
353
    public function withEagleEyeUserData($value)
354
    {
355
        $this->data['EagleEyeUserData'] = $value;
356
        $this->options['form_params']['EagleEyeUserData'] = $value;
357
358
        return $this;
359
    }
360
}
361
362
/**
363
 * @method string getSourceIp()
364
 * @method $this withSourceIp($value)
365
 * @method string getLang()
366
 * @method $this withLang($value)
367
 */
368
class DescribeRegions extends Rpc
369
{
370
}
371
372
/**
373
 * @method string getInternetIp()
374
 * @method $this withInternetIp($value)
375
 * @method string getSourceIp()
376
 * @method $this withSourceIp($value)
377
 * @method string getDdosRegionId()
378
 * @method $this withDdosRegionId($value)
379
 * @method string getInstanceType()
380
 * @method $this withInstanceType($value)
381
 * @method string getLang()
382
 * @method $this withLang($value)
383
 * @method string getInstanceId()
384
 * @method $this withInstanceId($value)
385
 */
386
class ModifyDdosStatus extends Rpc
387
{
388
}
389
390
/**
391
 * @method string getInternetIp()
392
 * @method $this withInternetIp($value)
393
 * @method string getSourceIp()
394
 * @method $this withSourceIp($value)
395
 * @method string getDdosRegionId()
396
 * @method $this withDdosRegionId($value)
397
 * @method string getInstanceType()
398
 * @method $this withInstanceType($value)
399
 * @method string getLang()
400
 * @method $this withLang($value)
401
 * @method string getBps()
402
 * @method $this withBps($value)
403
 * @method string getPps()
404
 * @method $this withPps($value)
405
 * @method string getInstanceId()
406
 * @method $this withInstanceId($value)
407
 * @method string getIsAuto()
408
 * @method $this withIsAuto($value)
409
 */
410
class ModifyDefenseThreshold extends Rpc
411
{
412
}
413