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.
Completed
Push — master ( eed597...9f0cdf )
by Cees-Jan
07:00
created

MessageStats::ack()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 4
c 0
b 0
f 0
rs 10
cc 1
eloc 2
nc 1
nop 0
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\RabbitMQ\Management\Resource;
4
5
use ApiClients\Foundation\Hydrator\Annotations\EmptyResource;
6
use ApiClients\Foundation\Hydrator\Annotations\Nested;
7
use ApiClients\Foundation\Resource\AbstractResource;
8
9
/**
10
 * @Nested(
11
 *     deliver_details="Details",
12
 *     deliver_no_ack_details="Details",
13
 *     get_details="Details",
14
 *     get_no_ack_details="Details",
15
 *     publish_details="Details",
16
 *     publish_in_details="Details",
17
 *     publish_out_details="Details",
18
 *     ack_details="Details",
19
 *     deliver_get_details="Details",
20
 *     confirm_details="Details",
21
 *     return_unroutable_details="Details",
22
 *     redeliver_details="Details"
23
 * )
24
 * @EmptyResource("EmptyMessageStats")
25
 */
26
abstract class MessageStats extends AbstractResource implements MessageStatsInterface
27
{
28
    /**
29
     * @var int
30
     */
31
    protected $deliver;
32
33
    /**
34
     * @var Details
35
     */
36
    protected $deliver_details;
37
38
    /**
39
     * @var int
40
     */
41
    protected $deliver_no_ack;
42
43
    /**
44
     * @var Details
45
     */
46
    protected $deliver_no_ack_details;
47
48
    /**
49
     * @var int
50
     */
51
    protected $get;
52
53
    /**
54
     * @var Details
55
     */
56
    protected $get_details;
57
58
    /**
59
     * @var int
60
     */
61
    protected $get_no_ack;
62
63
    /**
64
     * @var Details
65
     */
66
    protected $get_no_ack_details;
67
68
    /**
69
     * @var int
70
     */
71
    protected $publish;
72
73
    /**
74
     * @var Details
75
     */
76
    protected $publish_details;
77
78
    /**
79
     * @var int
80
     */
81
    protected $publish_in;
82
83
    /**
84
     * @var Details
85
     */
86
    protected $publish_in_details;
87
88
    /**
89
     * @var int
90
     */
91
    protected $publish_out;
92
93
    /**
94
     * @var Details
95
     */
96
    protected $publish_out_details;
97
98
    /**
99
     * @var int
100
     */
101
    protected $ack;
102
103
    /**
104
     * @var Details
105
     */
106
    protected $ack_details;
107
108
    /**
109
     * @var int
110
     */
111
    protected $deliver_get;
112
113
    /**
114
     * @var Details
115
     */
116
    protected $deliver_get_details;
117
118
    /**
119
     * @var int
120
     */
121
    protected $confirm;
122
123
    /**
124
     * @var Details
125
     */
126
    protected $confirm_details;
127
128
    /**
129
     * @var int
130
     */
131
    protected $return_unroutable;
132
133
    /**
134
     * @var Details
135
     */
136
    protected $return_unroutable_details;
137
138
    /**
139
     * @var int
140
     */
141
    protected $redeliver;
142
143
    /**
144
     * @var Details
145
     */
146
    protected $redeliver_details;
147
148
    /**
149
     * @return int
150
     */
151
    public function deliver() : int
152
    {
153
        return $this->deliver;
154
    }
155
156
    /**
157
     * @return Details
158
     */
159
    public function deliverDetails() : Details
160
    {
161
        return $this->deliver_details;
162
    }
163
164
    /**
165
     * @return int
166
     */
167
    public function deliverNoAck() : int
168
    {
169
        return $this->deliver_no_ack;
170
    }
171
172
    /**
173
     * @return Details
174
     */
175
    public function deliverNoAckDetails() : Details
176
    {
177
        return $this->deliver_no_ack_details;
178
    }
179
180
    /**
181
     * @return int
182
     */
183
    public function get() : int
184
    {
185
        return $this->get;
186
    }
187
188
    /**
189
     * @return Details
190
     */
191
    public function getDetails() : Details
192
    {
193
        return $this->get_details;
194
    }
195
196
    /**
197
     * @return int
198
     */
199
    public function getNoAck() : int
200
    {
201
        return $this->get_no_ack;
202
    }
203
204
    /**
205
     * @return Details
206
     */
207
    public function getNoAckDetails() : Details
208
    {
209
        return $this->get_no_ack_details;
210
    }
211
212
    /**
213
     * @return int
214
     */
215
    public function publish() : int
216
    {
217
        return $this->publish;
218
    }
219
220
    /**
221
     * @return Details
222
     */
223
    public function publishDetails() : Details
224
    {
225
        return $this->publish_details;
226
    }
227
228
    /**
229
     * @return int
230
     */
231
    public function publishIn() : int
232
    {
233
        return $this->publish_in;
234
    }
235
236
    /**
237
     * @return Details
238
     */
239
    public function publishInDetails() : Details
240
    {
241
        return $this->publish_in_details;
242
    }
243
244
    /**
245
     * @return int
246
     */
247
    public function publishOut() : int
248
    {
249
        return $this->publish_out;
250
    }
251
252
    /**
253
     * @return Details
254
     */
255
    public function publishOutDetails() : Details
256
    {
257
        return $this->publish_out_details;
258
    }
259
260
    /**
261
     * @return int
262
     */
263
    public function ack() : int
264
    {
265
        return $this->ack;
266
    }
267
268
    /**
269
     * @return Details
270
     */
271
    public function ackDetails() : Details
272
    {
273
        return $this->ack_details;
274
    }
275
276
    /**
277
     * @return int
278
     */
279
    public function deliverGet() : int
280
    {
281
        return $this->deliver_get;
282
    }
283
284
    /**
285
     * @return Details
286
     */
287
    public function deliverGetDetails() : Details
288
    {
289
        return $this->deliver_get_details;
290
    }
291
292
    /**
293
     * @return int
294
     */
295
    public function confirm() : int
296
    {
297
        return $this->confirm;
298
    }
299
300
    /**
301
     * @return Details
302
     */
303
    public function confirmDetails() : Details
304
    {
305
        return $this->confirm_details;
306
    }
307
308
    /**
309
     * @return int
310
     */
311
    public function returnUnroutable() : int
312
    {
313
        return $this->return_unroutable;
314
    }
315
316
    /**
317
     * @return Details
318
     */
319
    public function returnUnroutableDetails() : Details
320
    {
321
        return $this->return_unroutable_details;
322
    }
323
324
    /**
325
     * @return int
326
     */
327
    public function redeliver() : int
328
    {
329
        return $this->redeliver;
330
    }
331
332
    /**
333
     * @return Details
334
     */
335
    public function redeliverDetails() : Details
336
    {
337
        return $this->redeliver_details;
338
    }
339
}
340