diff --git a/netbox_prefixes.go b/netbox_prefixes.go index bc26f4f..d124c16 100644 --- a/netbox_prefixes.go +++ b/netbox_prefixes.go @@ -21,7 +21,7 @@ type IpamPrefixesCreate struct { Site int `json:"site"` Vrf int `json:"vrf"` Tenant int `json:"tenant"` - Vlan int `json:"vlan"` + VLAN int `json:"vlan"` Status int `json:"status"` Role int `json:"role"` IsPool bool `json:"is_pool"` @@ -62,7 +62,7 @@ type IpamPrefixesList struct { Name string `json:"name"` Slug string `json:"slug"` } `json:"tenant"` - Vlan struct { + VLAN struct { ID int `json:"id"` URL string `json:"url"` Vid int `json:"vid"` @@ -79,7 +79,7 @@ type IpamPrefixesList struct { Name string `json:"name"` Slug string `json:"slug"` PrefixCount int `json:"prefix_count"` - VlanCount int `json:"vlan_count"` + VLANCount int `json:"vlan_count"` } `json:"role"` IsPool bool `json:"is_pool"` Description string `json:"description"` @@ -118,7 +118,7 @@ type PrefixFilter struct { Region string `schema:"region,omitempty"` SiteID string `schema:"site_id,omitempty"` Site string `schema:"site,omitempty"` - VlanID string `schema:"vlan_id,omitempty"` + VLANID string `schema:"vlan_id,omitempty"` Role string `schema:"role,omitempty"` Status string `schema:"status,omitempty"` }