Fix tags to support newer api.
This commit is contained in:
parent
e8bdaa8429
commit
7bea2b439f
1 changed files with 9 additions and 3 deletions
|
@ -83,7 +83,13 @@ type IpamPrefixesList struct {
|
||||||
} `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