@@ -20,20 +20,21 @@ const (
2020
2121// A Firewall is a set of networking rules (iptables) applied to Devices with which it is associated
2222type Firewall struct {
23- ID int `json:"id"`
24- Label string `json:"label"`
25- Status FirewallStatus `json:"status"`
26- Tags []string `json:"tags,omitempty"`
27- Rules FirewallRuleSet `json:"rules"`
28- Created * time.Time `json:"-"`
29- Updated * time.Time `json:"-"`
23+ ID int `json:"id"`
24+ Label string `json:"label"`
25+ Status FirewallStatus `json:"status"`
26+ Tags []string `json:"tags"`
27+ Rules FirewallRuleSet `json:"rules"`
28+ Entities []FirewallDeviceEntity `json:"entities"`
29+ Created * time.Time `json:"-"`
30+ Updated * time.Time `json:"-"`
3031}
3132
3233// DevicesCreationOptions fields are used when adding devices during the Firewall creation process.
3334type DevicesCreationOptions struct {
34- Linodes []int `json:"linodes,omitempty"`
35- NodeBalancers []int `json:"nodebalancers,omitempty"`
36- Interfaces []int `json:"interfaces ,omitempty"`
35+ Linodes []int `json:"linodes,omitempty"`
36+ NodeBalancers []int `json:"nodebalancers,omitempty"`
37+ LinodeInterfaces []int `json:"linode_interfaces ,omitempty"`
3738}
3839
3940// FirewallCreateOptions fields are those accepted by CreateFirewall
0 commit comments