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

UpdateOssStockStatus::withAutoFreezeType()   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\Green\V20170823;
4
5
use AlibabaCloud\Rpc;
6
7
/**
8
 * Api UpdateOssStockStatus
9
 *
10
 * @method string getImageAutoFreeze()
11
 * @method string getResourceTypeList()
12
 * @method string getVideoFrameInterval()
13
 * @method string getVideoMaxSize()
14
 * @method string getStartDate()
15
 * @method string getAutoFreezeType()
16
 * @method string getEndDate()
17
 * @method string getBucketConfigList()
18
 * @method string getSourceIp()
19
 * @method string getSceneList()
20
 * @method string getVideoAutoFreezeSceneList()
21
 * @method string getLang()
22
 * @method string getVideoMaxFrames()
23
 * @method string getOperation()
24
 */
25
class UpdateOssStockStatus extends Rpc
26
{
27
    public $product = 'Green';
28
29
    public $version = '2017-08-23';
30
31
    public $method = 'POST';
32
33
    public $serviceCode = 'green';
34
35
    /**
36
     * @param string $imageAutoFreeze
37
     *
38
     * @return $this
39
     */
40
    public function withImageAutoFreeze($imageAutoFreeze)
41
    {
42
        $this->data['ImageAutoFreeze'] = $imageAutoFreeze;
43
        $this->options['query']['ImageAutoFreeze'] = $imageAutoFreeze;
44
45
        return $this;
46
    }
47
48
    /**
49
     * @param string $resourceTypeList
50
     *
51
     * @return $this
52
     */
53
    public function withResourceTypeList($resourceTypeList)
54
    {
55
        $this->data['ResourceTypeList'] = $resourceTypeList;
56
        $this->options['query']['ResourceTypeList'] = $resourceTypeList;
57
58
        return $this;
59
    }
60
61
    /**
62
     * @param string $videoFrameInterval
63
     *
64
     * @return $this
65
     */
66
    public function withVideoFrameInterval($videoFrameInterval)
67
    {
68
        $this->data['VideoFrameInterval'] = $videoFrameInterval;
69
        $this->options['query']['VideoFrameInterval'] = $videoFrameInterval;
70
71
        return $this;
72
    }
73
74
    /**
75
     * @param string $videoMaxSize
76
     *
77
     * @return $this
78
     */
79
    public function withVideoMaxSize($videoMaxSize)
80
    {
81
        $this->data['VideoMaxSize'] = $videoMaxSize;
82
        $this->options['query']['VideoMaxSize'] = $videoMaxSize;
83
84
        return $this;
85
    }
86
87
    /**
88
     * @param string $startDate
89
     *
90
     * @return $this
91
     */
92
    public function withStartDate($startDate)
93
    {
94
        $this->data['StartDate'] = $startDate;
95
        $this->options['query']['StartDate'] = $startDate;
96
97
        return $this;
98
    }
99
100
    /**
101
     * @param string $autoFreezeType
102
     *
103
     * @return $this
104
     */
105
    public function withAutoFreezeType($autoFreezeType)
106
    {
107
        $this->data['AutoFreezeType'] = $autoFreezeType;
108
        $this->options['query']['AutoFreezeType'] = $autoFreezeType;
109
110
        return $this;
111
    }
112
113
    /**
114
     * @param string $endDate
115
     *
116
     * @return $this
117
     */
118
    public function withEndDate($endDate)
119
    {
120
        $this->data['EndDate'] = $endDate;
121
        $this->options['query']['EndDate'] = $endDate;
122
123
        return $this;
124
    }
125
126
    /**
127
     * @param string $bucketConfigList
128
     *
129
     * @return $this
130
     */
131
    public function withBucketConfigList($bucketConfigList)
132
    {
133
        $this->data['BucketConfigList'] = $bucketConfigList;
134
        $this->options['query']['BucketConfigList'] = $bucketConfigList;
135
136
        return $this;
137
    }
138
139
    /**
140
     * @param string $sourceIp
141
     *
142
     * @return $this
143
     */
144
    public function withSourceIp($sourceIp)
145
    {
146
        $this->data['SourceIp'] = $sourceIp;
147
        $this->options['query']['SourceIp'] = $sourceIp;
148
149
        return $this;
150
    }
151
152
    /**
153
     * @param string $sceneList
154
     *
155
     * @return $this
156
     */
157
    public function withSceneList($sceneList)
158
    {
159
        $this->data['SceneList'] = $sceneList;
160
        $this->options['query']['SceneList'] = $sceneList;
161
162
        return $this;
163
    }
164
165
    /**
166
     * @param string $videoAutoFreezeSceneList
167
     *
168
     * @return $this
169
     */
170
    public function withVideoAutoFreezeSceneList($videoAutoFreezeSceneList)
171
    {
172
        $this->data['VideoAutoFreezeSceneList'] = $videoAutoFreezeSceneList;
173
        $this->options['query']['VideoAutoFreezeSceneList'] = $videoAutoFreezeSceneList;
174
175
        return $this;
176
    }
177
178
    /**
179
     * @param string $lang
180
     *
181
     * @return $this
182
     */
183
    public function withLang($lang)
184
    {
185
        $this->data['Lang'] = $lang;
186
        $this->options['query']['Lang'] = $lang;
187
188
        return $this;
189
    }
190
191
    /**
192
     * @param string $videoMaxFrames
193
     *
194
     * @return $this
195
     */
196
    public function withVideoMaxFrames($videoMaxFrames)
197
    {
198
        $this->data['VideoMaxFrames'] = $videoMaxFrames;
199
        $this->options['query']['VideoMaxFrames'] = $videoMaxFrames;
200
201
        return $this;
202
    }
203
204
    /**
205
     * @param string $operation
206
     *
207
     * @return $this
208
     */
209
    public function withOperation($operation)
210
    {
211
        $this->data['Operation'] = $operation;
212
        $this->options['query']['Operation'] = $operation;
213
214
        return $this;
215
    }
216
}
217