1 | <?php |
||
16 | class FloatingIp extends OperatorResource implements Listable, Creatable, Retrievable, Updateable, Deletable |
||
|
|||
17 | { |
||
18 | /** @var string */ |
||
19 | public $id; |
||
20 | |||
21 | /** @var string */ |
||
22 | public $status; |
||
23 | |||
24 | /** @var string */ |
||
25 | public $floatingNetworkId; |
||
26 | |||
27 | /** @var string */ |
||
28 | public $routerId; |
||
29 | |||
30 | /** @var string */ |
||
31 | public $fixedIpAddress; |
||
32 | |||
33 | /** @var string */ |
||
34 | public $floatingIpAddress; |
||
35 | |||
36 | /** @var string */ |
||
37 | public $tenantId; |
||
38 | |||
39 | /** @var string */ |
||
40 | public $portId; |
||
41 | |||
42 | protected $aliases = [ |
||
43 | "floating_network_id" => 'floatingNetworkId', |
||
44 | "router_id" => 'routerId', |
||
45 | "fixed_ip_address" => 'fixedIpAddress', |
||
46 | "floating_ip_address" => 'floatingIpAddress', |
||
47 | "tenant_id" => 'tenantId', |
||
48 | "port_id" => 'portId', |
||
49 | ]; |
||
50 | |||
51 | protected $resourceKey = 'floatingip'; |
||
52 | protected $resourcesKey = 'floatingips'; |
||
53 | |||
54 | public function create(array $userOptions): Creatable |
||
59 | |||
60 | public function update() |
||
65 | |||
66 | public function delete() |
||
70 | |||
71 | public function retrieve() |
||
75 | } |
||
76 |