diff --git a/netbox_prefixes.go b/netbox_prefixes.go index a25b021..1549a43 100644 --- a/netbox_prefixes.go +++ b/netbox_prefixes.go @@ -81,9 +81,15 @@ type IpamPrefixesList struct { PrefixCount int `json:"prefix_count"` VLANCount int `json:"vlan_count"` } `json:"role"` - IsPool bool `json:"is_pool"` - Description string `json:"description"` - Tags []string `json:"tags"` + IsPool bool `json:"is_pool"` + Description string `json:"description"` + Tags []struct { + ID int `json:"id"` + URL string `json:"url"` + Name string `json:"name"` + Slug string `json:"slug"` + Color string `json:"color"` + } `json:"tags"` CustomFields struct { } `json:"custom_fields"` Created string `json:"created"`