Fix tags for virtualized devices
This commit is contained in:
parent
7bea2b439f
commit
39413751ba
1 changed files with 16 additions and 4 deletions
|
@ -117,7 +117,13 @@ type VirtualizationClustersCreate struct {
|
|||
Slug string `json:"slug"`
|
||||
} `json:"site"`
|
||||
Comments string `json:"comments"`
|
||||
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 {
|
||||
} `json:"custom_fields"`
|
||||
Created string `json:"created"`
|
||||
|
@ -155,7 +161,13 @@ type VirtualizationClustersList struct {
|
|||
Slug string `json:"slug"`
|
||||
} `json:"site"`
|
||||
Comments string `json:"comments"`
|
||||
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 {
|
||||
} `json:"custom_fields"`
|
||||
Created string `json:"created"`
|
||||
|
|
Loading…
Reference in a new issue