Repository navigation
Expand file tree
/
Copy pathContainerStorageStats.php
More file actions
95 lines (77 loc) · 2.43 KB
/
Copy pathContainerStorageStats.php
File metadata and controls
95 lines (77 loc) · 2.43 KB
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
<?php
declare(strict_types=1);
namespace Docker\API\Model;
use Docker\API\Runtime\AdditionalAndPatternProperties;
use Docker\API\Runtime\AdditionalPropertiesInterface;
class ContainerStorageStats implements AdditionalPropertiesInterface
{
use AdditionalAndPatternProperties;
/**
* @var array
*/
protected $initialized = [];
public function isInitialized($property): bool
{
return \array_key_exists($property, $this->initialized);
}
/**
* @var int|null
*/
protected $readCountNormalized;
/**
* @var int|null
*/
protected $readSizeBytes;
/**
* @var int|null
*/
protected $writeCountNormalized;
/**
* @var int|null
*/
protected $writeSizeBytes;
public function getReadCountNormalized(): ?int
{
return $this->readCountNormalized;
}
public function setReadCountNormalized(?int $readCountNormalized): self
{
$this->initialized['readCountNormalized'] = true;
$this->readCountNormalized = $readCountNormalized;
return $this;
}
public function getReadSizeBytes(): ?int
{
return $this->readSizeBytes;
}
public function setReadSizeBytes(?int $readSizeBytes): self
{
$this->initialized['readSizeBytes'] = true;
$this->readSizeBytes = $readSizeBytes;
return $this;
}
public function getWriteCountNormalized(): ?int
{
return $this->writeCountNormalized;
}
public function setWriteCountNormalized(?int $writeCountNormalized): self
{
$this->initialized['writeCountNormalized'] = true;
$this->writeCountNormalized = $writeCountNormalized;
return $this;
}
public function getWriteSizeBytes(): ?int
{
return $this->writeSizeBytes;
}
public function setWriteSizeBytes(?int $writeSizeBytes): self
{
$this->initialized['writeSizeBytes'] = true;
$this->writeSizeBytes = $writeSizeBytes;
return $this;
}
public function definedProperties(): array
{
return ['readCountNormalized' => ['read_count_normalized', 'getReadCountNormalized', 'setReadCountNormalized'], 'readSizeBytes' => ['read_size_bytes', 'getReadSizeBytes', 'setReadSizeBytes'], 'writeCountNormalized' => ['write_count_normalized', 'getWriteCountNormalized', 'setWriteCountNormalized'], 'writeSizeBytes' => ['write_size_bytes', 'getWriteSizeBytes', 'setWriteSizeBytes']];
}
}