forked from docker-php/docker-php-api
-
-
Notifications
You must be signed in to change notification settings - Fork 9
Expand file tree
/
Copy pathEndpointIPAMConfig.php
More file actions
75 lines (62 loc) · 1.46 KB
/
Copy pathEndpointIPAMConfig.php
File metadata and controls
75 lines (62 loc) · 1.46 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
<?php
declare(strict_types=1);
namespace Docker\API\Model;
class EndpointIPAMConfig extends \ArrayObject
{
/**
* @var array
*/
protected $initialized = [];
public function isInitialized($property): bool
{
return \array_key_exists($property, $this->initialized);
}
/**
* @var string|null
*/
protected $iPv4Address;
/**
* @var string|null
*/
protected $iPv6Address;
/**
* @var list<string>|null
*/
protected $linkLocalIPs;
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;
}
/**
* @return list<string>|null
*/
public function getLinkLocalIPs(): ?array
{
return $this->linkLocalIPs;
}
/**
* @param list<string>|null $linkLocalIPs
*/
public function setLinkLocalIPs(?array $linkLocalIPs): self
{
$this->initialized['linkLocalIPs'] = true;
$this->linkLocalIPs = $linkLocalIPs;
return $this;
}
}