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 ( ee40b2...664ab6 )
by Cees-Jan
07:03
created

Overview   A

Complexity

Total Complexity 15

Size/Duplication

Total Lines 197
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 15
lcom 0
cbo 1
dl 0
loc 197
rs 10
c 0
b 0
f 0

15 Methods

Rating   Name   Duplication   Size   Complexity  
A managementVersion() 0 4 1
A ratesMode() 0 4 1
A exchangeTypes() 0 4 1
A rabbitmqVersion() 0 4 1
A clusterName() 0 4 1
A erlangVersion() 0 4 1
A erlangFullVersion() 0 4 1
A messageStats() 0 4 1
A queueTotals() 0 4 1
A objectTotals() 0 4 1
A statisticsDbEventQueue() 0 4 1
A node() 0 4 1
A statisticsDbNode() 0 4 1
A listeners() 0 4 1
A contexts() 0 4 1
1
<?php declare(strict_types=1);
2
3
namespace ApiClients\Client\RabbitMQ\Management\Resource;
4
5
use ApiClients\Foundation\Hydrator\Annotations\Collection;
6
use ApiClients\Foundation\Hydrator\Annotations\EmptyResource;
7
use ApiClients\Foundation\Hydrator\Annotations\Nested;
8
use ApiClients\Foundation\Resource\AbstractResource;
9
10
/**
11
 * @Collection(
12
 *     exchange_types="Overview\ExchangeType",
13
 *     listeners="Overview\Listener",
14
 *     contexts="Overview\Context"
15
 * )
16
 * @Nested(
17
 *     message_stats="Overview\MessageStats",
18
 *     queue_totals="Overview\QueueTotals",
19
 *     object_totals="Overview\ObjectTotals"
20
 * )
21
 * @EmptyResource("EmptyOverview")
22
 */
23
abstract class Overview extends AbstractResource implements OverviewInterface
24
{
25
    /**
26
     * @var string
27
     */
28
    protected $management_version;
29
30
    /**
31
     * @var string
32
     */
33
    protected $rates_mode;
34
35
    /**
36
     * @var array
37
     */
38
    protected $exchange_types;
39
40
    /**
41
     * @var string
42
     */
43
    protected $rabbitmq_version;
44
45
    /**
46
     * @var string
47
     */
48
    protected $cluster_name;
49
50
    /**
51
     * @var string
52
     */
53
    protected $erlang_version;
54
55
    /**
56
     * @var string
57
     */
58
    protected $erlang_full_version;
59
60
    /**
61
     * @var Overview\MessageStats
62
     */
63
    protected $message_stats;
64
65
    /**
66
     * @var Overview\QueueTotals
67
     */
68
    protected $queue_totals;
69
70
    /**
71
     * @var Overview\ObjectTotals
72
     */
73
    protected $object_totals;
74
75
    /**
76
     * @var int
77
     */
78
    protected $statistics_db_event_queue;
79
80
    /**
81
     * @var string
82
     */
83
    protected $node;
84
85
    /**
86
     * @var string
87
     */
88
    protected $statistics_db_node;
89
90
    /**
91
     * @var array
92
     */
93
    protected $listeners;
94
95
    /**
96
     * @var array
97
     */
98
    protected $contexts;
99
100
    /**
101
     * @return string
102
     */
103
    public function managementVersion() : string
104
    {
105
        return $this->management_version;
106
    }
107
108
    /**
109
     * @return string
110
     */
111
    public function ratesMode() : string
112
    {
113
        return $this->rates_mode;
114
    }
115
116
    /**
117
     * @return array
118
     */
119
    public function exchangeTypes() : array
120
    {
121
        return $this->exchange_types;
122
    }
123
124
    /**
125
     * @return string
126
     */
127
    public function rabbitmqVersion() : string
128
    {
129
        return $this->rabbitmq_version;
130
    }
131
132
    /**
133
     * @return string
134
     */
135
    public function clusterName() : string
136
    {
137
        return $this->cluster_name;
138
    }
139
140
    /**
141
     * @return string
142
     */
143
    public function erlangVersion() : string
144
    {
145
        return $this->erlang_version;
146
    }
147
148
    /**
149
     * @return string
150
     */
151
    public function erlangFullVersion() : string
152
    {
153
        return $this->erlang_full_version;
154
    }
155
156
    /**
157
     * @return Overview\MessageStats
158
     */
159
    public function messageStats() : Overview\MessageStats
160
    {
161
        return $this->message_stats;
162
    }
163
164
    /**
165
     * @return Overview\QueueTotals
166
     */
167
    public function queueTotals() : Overview\QueueTotals
168
    {
169
        return $this->queue_totals;
170
    }
171
172
    /**
173
     * @return Overview\ObjectTotals
174
     */
175
    public function objectTotals() : Overview\ObjectTotals
176
    {
177
        return $this->object_totals;
178
    }
179
180
    /**
181
     * @return int
182
     */
183
    public function statisticsDbEventQueue() : int
184
    {
185
        return $this->statistics_db_event_queue;
186
    }
187
188
    /**
189
     * @return string
190
     */
191
    public function node() : string
192
    {
193
        return $this->node;
194
    }
195
196
    /**
197
     * @return string
198
     */
199
    public function statisticsDbNode() : string
200
    {
201
        return $this->statistics_db_node;
202
    }
203
204
    /**
205
     * @return array
206
     */
207
    public function listeners() : array
208
    {
209
        return $this->listeners;
210
    }
211
212
    /**
213
     * @return array
214
     */
215
    public function contexts() : array
216
    {
217
        return $this->contexts;
218
    }
219
}
220