-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathStatisticsEntry.php
119 lines (108 loc) · 2.13 KB
/
StatisticsEntry.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
<?php declare(strict_types=1);
namespace MyENA\RGW\Models;
use MyENA\RGW\AbstractModel;
use OpenApi\Annotations as OA;
/**
* @OA\Schema(
* schema="RGWStatisticsEntry",
* type="object",
* @OA\Property(
* property="size_kb",
* type="integer"
* ),
* @OA\Property(
* property="size_kb_actual",
* type="integer"
* ),
* @OA\Property(
* property="num_objects",
* type="integer"
* ),
* @OA\Property(
* property="size",
* type="integer"
* ),
* @OA\Property(
* property="size_actual",
* type="integer"
* ),
* @OA\Property(
* property="size_utilized",
* type="integer"
* ),
* @OA\Property(
* property="size_kb_utilized",
* type="integer"
* )
* )
*/
/**
* Class StatisticsEntry
* @package MyENA\RGW\Models
*/
class StatisticsEntry extends AbstractModel
{
/** @var int */
protected $sizeKb = 0;
/** @var int */
protected $sizeKbActual = 0;
/** @var int */
protected $numObjects = 0;
/** @var int */
protected $size = 0;
/** @var int */
protected $sizeActual = 0;
/** @var int */
protected $sizeUtilized = 0;
/** @var int */
protected $sizeKbUtilized = 0;
/**
* @return int
*/
public function getSizeKb(): int
{
return $this->sizeKb;
}
/**
* @return int
*/
public function getSizeKbActual(): int
{
return $this->sizeKbActual;
}
/**
* @return int
*/
public function getNumObjects(): int
{
return $this->numObjects;
}
/**
* @return int
*/
public function getSize(): int
{
return $this->size;
}
/**
* @return int
*/
public function getSizeActual(): int
{
return $this->sizeActual;
}
/**
* @return int
*/
public function getSizeUtilized(): int
{
return $this->sizeUtilized;
}
/**
* @return int
*/
public function getSizeKbUtilized(): int
{
return $this->sizeKbUtilized;
}
}