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 ( f38619...77f9cd )
by Yong
02:07 queued 11s
created

PutBucketPolicy::withBid()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 6
Code Lines 3

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
eloc 3
dl 0
loc 6
c 0
b 0
f 0
rs 10
cc 1
nc 1
nop 1
1
<?php
2
3
namespace AlibabaCloud\OssAdmin\V20130712;
4
5
use AlibabaCloud\Rpc;
6
7
class V20130712Rpc extends Rpc
8
{
9
    /** @var string */
10
    public $product = 'OssAdmin';
11
12
    /** @var string */
13
    public $version = '2013-07-12';
14
15
    /** @var string */
16
    public $method = 'POST';
17
}
18
19
/**
20
 * @method string getUid()
21
 * @method string getBucketName()
22
 * @method $this withBucketName($value)
23
 * @method string getOwnerAccount()
24
 * @method $this withOwnerAccount($value)
25
 * @method string getBid()
26
 */
27
class GetBucketPolicy extends V20130712Rpc
28
{
29
30
    /**
31
     * @param string $value
32
     *
33
     * @return $this
34
     */
35
    public function withUid($value)
36
    {
37
        $this->data['Uid'] = $value;
38
        $this->options['query']['uid'] = $value;
39
40
        return $this;
41
    }
42
43
    /**
44
     * @param string $value
45
     *
46
     * @return $this
47
     */
48
    public function withBid($value)
49
    {
50
        $this->data['Bid'] = $value;
51
        $this->options['query']['bid'] = $value;
52
53
        return $this;
54
    }
55
}
56
57
/**
58
 * @method string getResourceOwnerId()
59
 * @method $this withResourceOwnerId($value)
60
 * @method string getResourceOwnerAccount()
61
 * @method $this withResourceOwnerAccount($value)
62
 * @method string getOwnerAccount()
63
 * @method $this withOwnerAccount($value)
64
 * @method string getAliUid()
65
 * @method string getOwnerId()
66
 * @method $this withOwnerId($value)
67
 * @method string getRegion()
68
 */
69
class CreateOssInstance extends V20130712Rpc
70
{
71
72
    /**
73
     * @param string $value
74
     *
75
     * @return $this
76
     */
77
    public function withAliUid($value)
78
    {
79
        $this->data['AliUid'] = $value;
80
        $this->options['query']['aliUid'] = $value;
81
82
        return $this;
83
    }
84
85
    /**
86
     * @param string $value
87
     *
88
     * @return $this
89
     */
90
    public function withRegion($value)
91
    {
92
        $this->data['Region'] = $value;
93
        $this->options['query']['region'] = $value;
94
95
        return $this;
96
    }
97
}
98
99
/**
100
 * @method string getBucket()
101
 * @method $this withBucket($value)
102
 * @method string getUid()
103
 * @method string getOwnerAccount()
104
 * @method $this withOwnerAccount($value)
105
 * @method string getBid()
106
 * @method string getStatus()
107
 * @method $this withStatus($value)
108
 */
109
class PutBucketStatus extends V20130712Rpc
110
{
111
112
    /**
113
     * @param string $value
114
     *
115
     * @return $this
116
     */
117
    public function withUid($value)
118
    {
119
        $this->data['Uid'] = $value;
120
        $this->options['query']['uid'] = $value;
121
122
        return $this;
123
    }
124
125
    /**
126
     * @param string $value
127
     *
128
     * @return $this
129
     */
130
    public function withBid($value)
131
    {
132
        $this->data['Bid'] = $value;
133
        $this->options['query']['bid'] = $value;
134
135
        return $this;
136
    }
137
}
138
139
/**
140
 * @method string getLogPrefix()
141
 * @method $this withLogPrefix($value)
142
 * @method string getOwnerAccount()
143
 * @method $this withOwnerAccount($value)
144
 * @method string getErrorFile()
145
 * @method $this withErrorFile($value)
146
 * @method string getIndexFile()
147
 * @method $this withIndexFile($value)
148
 * @method string getDisallowEmptyRefer()
149
 * @method $this withDisallowEmptyRefer($value)
150
 * @method string getUid()
151
 * @method string getLogBucket()
152
 * @method $this withLogBucket($value)
153
 * @method string getBucketName()
154
 * @method $this withBucketName($value)
155
 * @method string getLocation()
156
 * @method $this withLocation($value)
157
 * @method string getBid()
158
 * @method string getEnableDualCluster()
159
 * @method $this withEnableDualCluster($value)
160
 * @method string getWhiteReferList()
161
 * @method $this withWhiteReferList($value)
162
 * @method string getIamPolicy()
163
 * @method $this withIamPolicy($value)
164
 */
165
class PutBucketPolicy extends V20130712Rpc
166
{
167
168
    /**
169
     * @param string $value
170
     *
171
     * @return $this
172
     */
173
    public function withUid($value)
174
    {
175
        $this->data['Uid'] = $value;
176
        $this->options['query']['uid'] = $value;
177
178
        return $this;
179
    }
180
181
    /**
182
     * @param string $value
183
     *
184
     * @return $this
185
     */
186
    public function withBid($value)
187
    {
188
        $this->data['Bid'] = $value;
189
        $this->options['query']['bid'] = $value;
190
191
        return $this;
192
    }
193
}
194
195
/**
196
 * @method string getUid()
197
 * @method string getOwnerAccount()
198
 * @method $this withOwnerAccount($value)
199
 * @method string getBid()
200
 * @method string getBucketLimit()
201
 * @method $this withBucketLimit($value)
202
 */
203
class PutBucketLimit extends V20130712Rpc
204
{
205
206
    /**
207
     * @param string $value
208
     *
209
     * @return $this
210
     */
211
    public function withUid($value)
212
    {
213
        $this->data['Uid'] = $value;
214
        $this->options['query']['uid'] = $value;
215
216
        return $this;
217
    }
218
219
    /**
220
     * @param string $value
221
     *
222
     * @return $this
223
     */
224
    public function withBid($value)
225
    {
226
        $this->data['Bid'] = $value;
227
        $this->options['query']['bid'] = $value;
228
229
        return $this;
230
    }
231
}
232