From f0c5180e032e60ffe7b1a1bc96d77d87fa503036 Mon Sep 17 00:00:00 2001 From: Kalle Carlbark Date: Mon, 2 Mar 2020 10:14:17 +0100 Subject: [PATCH] s/Vlan/VLAN/g --- netbox_prefixes.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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"` }