Fix tags to support newer api.
This commit is contained in:
parent
e8bdaa8429
commit
7bea2b439f
1 changed files with 9 additions and 3 deletions
|
@ -81,9 +81,15 @@ type IpamPrefixesList struct {
|
||||||
PrefixCount int `json:"prefix_count"`
|
PrefixCount int `json:"prefix_count"`
|
||||||
VLANCount int `json:"vlan_count"`
|
VLANCount int `json:"vlan_count"`
|
||||||
} `json:"role"`
|
} `json:"role"`
|
||||||
IsPool bool `json:"is_pool"`
|
IsPool bool `json:"is_pool"`
|
||||||
Description string `json:"description"`
|
Description string `json:"description"`
|
||||||
Tags []string `json:"tags"`
|
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 {
|
CustomFields struct {
|
||||||
} `json:"custom_fields"`
|
} `json:"custom_fields"`
|
||||||
Created string `json:"created"`
|
Created string `json:"created"`
|
||||||
|
|
Loading…
Reference in a new issue