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
Pull Request — master (#54)
by Yong
15:08
created

DescribeWhiteListStrategyList   A

Complexity

Total Complexity 3

Size/Duplication

Total Lines 47
Duplicated Lines 0 %

Importance

Changes 0
Metric Value
eloc 14
dl 0
loc 47
rs 10
c 0
b 0
f 0
wmc 3

3 Methods

Rating   Name   Duplication   Size   Complexity  
A withSourceIp() 0 6 1
A withStrategyIds() 0 6 1
A withLang() 0 6 1
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