Skip to content

Commit 8d69abf

Browse files
committed
Add InterfaceID field
1 parent 289dc84 commit 8d69abf

1 file changed

Lines changed: 12 additions & 11 deletions

File tree

instance_ips.go

Lines changed: 12 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -21,17 +21,18 @@ type InstanceIPv4Response struct {
2121

2222
// InstanceIP represents an Instance IP with additional DNS and networking details
2323
type InstanceIP struct {
24-
Address string `json:"address"`
25-
Gateway string `json:"gateway"`
26-
SubnetMask string `json:"subnet_mask"`
27-
Prefix int `json:"prefix"`
28-
Type InstanceIPType `json:"type"`
29-
Public bool `json:"public"`
30-
RDNS string `json:"rdns"`
31-
LinodeID int `json:"linode_id"`
32-
Region string `json:"region"`
33-
VPCNAT1To1 *InstanceIPNAT1To1 `json:"vpc_nat_1_1"`
34-
Reserved bool `json:"reserved"`
24+
Address string `json:"address"`
25+
Gateway string `json:"gateway"`
26+
SubnetMask string `json:"subnet_mask"`
27+
Prefix int `json:"prefix"`
28+
Type InstanceIPType `json:"type"`
29+
Public bool `json:"public"`
30+
RDNS string `json:"rdns"`
31+
LinodeID int `json:"linode_id"`
32+
Region string `json:"region"`
33+
VPCNAT1To1 *InstanceIPNAT1To1 `json:"vpc_nat_1_1"`
34+
Reserved bool `json:"reserved"`
35+
InterfaceID *int `json:"interface_id"`
3536
}
3637

3738
// VPCIP represents a private IP address in a VPC subnet with additional networking details

0 commit comments

Comments
 (0)