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 ( e0d152...402192 )
by Yong
02:28 queued 32s
created

DescribeWhiteListStrategyList::withSourceIp()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
cc 1
eloc 3
nc 1
nop 1
dl 0
loc 6
rs 10
c 0
b 0
f 0
1
<?php
2
3
namespace AlibabaCloud\Aegis\V20161111;
4
5
use AlibabaCloud\Rpc;
6
7
/**
8
 * Api DescribeWhiteListStrategyList
9
 *
10
 * @method string getSourceIp()
11
 * @method string getStrategyIds()
12
 * @method string getLang()
13
 */
14
class DescribeWhiteListStrategyList extends Rpc
15
{
16
    public $product = 'aegis';
17
18
    public $version = '2016-11-11';
19
20
    public $method = 'POST';
21
22
    public $serviceCode = 'vipaegis';
23
24
    /**
25
     * @param string $sourceIp
26
     *
27
     * @return $this
28
     */
29
    public function withSourceIp($sourceIp)
30
    {
31
        $this->data['SourceIp'] = $sourceIp;
32
        $this->options['query']['SourceIp'] = $sourceIp;
33
34
        return $this;
35
    }
36
37
    /**
38
     * @param string $strategyIds
39
     *
40
     * @return $this
41
     */
42
    public function withStrategyIds($strategyIds)
43
    {
44
        $this->data['StrategyIds'] = $strategyIds;
45
        $this->options['query']['StrategyIds'] = $strategyIds;
46
47
        return $this;
48
    }
49
50
    /**
51
     * @param string $lang
52
     *
53
     * @return $this
54
     */
55
    public function withLang($lang)
56
    {
57
        $this->data['Lang'] = $lang;
58
        $this->options['query']['Lang'] = $lang;
59
60
        return $this;
61
    }
62
}
63