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

DescribeWhiteListEffectiveAssets::withStrategyId()   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 DescribeWhiteListEffectiveAssets
9
 *
10
 * @method string getSourceIp()
11
 * @method string getPageSize()
12
 * @method string getRemark()
13
 * @method string getStrategyId()
14
 * @method string getCurrentPage()
15
 * @method string getLang()
16
 * @method string getNeedStatistics()
17
 */
18
class DescribeWhiteListEffectiveAssets extends Rpc
19
{
20
    public $product = 'aegis';
21
22
    public $version = '2016-11-11';
23
24
    public $method = 'POST';
25
26
    public $serviceCode = 'vipaegis';
27
28
    /**
29
     * @param string $sourceIp
30
     *
31
     * @return $this
32
     */
33
    public function withSourceIp($sourceIp)
34
    {
35
        $this->data['SourceIp'] = $sourceIp;
36
        $this->options['query']['SourceIp'] = $sourceIp;
37
38
        return $this;
39
    }
40
41
    /**
42
     * @param string $pageSize
43
     *
44
     * @return $this
45
     */
46
    public function withPageSize($pageSize)
47
    {
48
        $this->data['PageSize'] = $pageSize;
49
        $this->options['query']['PageSize'] = $pageSize;
50
51
        return $this;
52
    }
53
54
    /**
55
     * @param string $remark
56
     *
57
     * @return $this
58
     */
59
    public function withRemark($remark)
60
    {
61
        $this->data['Remark'] = $remark;
62
        $this->options['query']['Remark'] = $remark;
63
64
        return $this;
65
    }
66
67
    /**
68
     * @param string $strategyId
69
     *
70
     * @return $this
71
     */
72
    public function withStrategyId($strategyId)
73
    {
74
        $this->data['StrategyId'] = $strategyId;
75
        $this->options['query']['StrategyId'] = $strategyId;
76
77
        return $this;
78
    }
79
80
    /**
81
     * @param string $currentPage
82
     *
83
     * @return $this
84
     */
85
    public function withCurrentPage($currentPage)
86
    {
87
        $this->data['CurrentPage'] = $currentPage;
88
        $this->options['query']['CurrentPage'] = $currentPage;
89
90
        return $this;
91
    }
92
93
    /**
94
     * @param string $lang
95
     *
96
     * @return $this
97
     */
98
    public function withLang($lang)
99
    {
100
        $this->data['Lang'] = $lang;
101
        $this->options['query']['Lang'] = $lang;
102
103
        return $this;
104
    }
105
106
    /**
107
     * @param string $needStatistics
108
     *
109
     * @return $this
110
     */
111
    public function withNeedStatistics($needStatistics)
112
    {
113
        $this->data['NeedStatistics'] = $needStatistics;
114
        $this->options['query']['NeedStatistics'] = $needStatistics;
115
116
        return $this;
117
    }
118
}
119