Repository navigation
Expand file tree
/
Copy pathNetworkContainer.php
More file actions
112 lines (91 loc) · 2.5 KB
/
Copy pathNetworkContainer.php
File metadata and controls
112 lines (91 loc) · 2.5 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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
<?php
declare(strict_types=1);
namespace Docker\API\Model;
use Docker\API\Runtime\AdditionalAndPatternProperties;
use Docker\API\Runtime\AdditionalPropertiesInterface;
class NetworkContainer implements AdditionalPropertiesInterface
{
use AdditionalAndPatternProperties;
/**
* @var array
*/
protected $initialized = [];
public function isInitialized($property): bool
{
return \array_key_exists($property, $this->initialized);
}
/**
* @var string|null
*/
protected $name;
/**
* @var string|null
*/
protected $endpointID;
/**
* @var string|null
*/
protected $macAddress;
/**
* @var string|null
*/
protected $iPv4Address;
/**
* @var string|null
*/
protected $iPv6Address;
public function getName(): ?string
{
return $this->name;
}
public function setName(?string $name): self
{
$this->initialized['name'] = true;
$this->name = $name;
return $this;
}
public function getEndpointID(): ?string
{
return $this->endpointID;
}
public function setEndpointID(?string $endpointID): self
{
$this->initialized['endpointID'] = true;
$this->endpointID = $endpointID;
return $this;
}
public function getMacAddress(): ?string
{
return $this->macAddress;
}
public function setMacAddress(?string $macAddress): self
{
$this->initialized['macAddress'] = true;
$this->macAddress = $macAddress;
return $this;
}
public function getIPv4Address(): ?string
{
return $this->iPv4Address;
}
public function setIPv4Address(?string $iPv4Address): self
{
$this->initialized['iPv4Address'] = true;
$this->iPv4Address = $iPv4Address;
return $this;
}
public function getIPv6Address(): ?string
{
return $this->iPv6Address;
}
public function setIPv6Address(?string $iPv6Address): self
{
$this->initialized['iPv6Address'] = true;
$this->iPv6Address = $iPv6Address;
return $this;
}
public function definedProperties(): array
{
return ['name' => ['Name', 'getName', 'setName'], 'endpointID' => ['EndpointID', 'getEndpointID', 'setEndpointID'], 'macAddress' => ['MacAddress', 'getMacAddress', 'setMacAddress'], 'iPv4Address' => ['IPv4Address', 'getIPv4Address', 'setIPv4Address'], 'iPv6Address' => ['IPv6Address', 'getIPv6Address', 'setIPv6Address']];
}
}