Fix tags for virtualized devices
This commit is contained in:
parent
7bea2b439f
commit
39413751ba
1 changed files with 16 additions and 4 deletions
|
@ -116,8 +116,14 @@ type VirtualizationClustersCreate struct {
|
|||
Name string `json:"name"`
|
||||
Slug string `json:"slug"`
|
||||
} `json:"site"`
|
||||
Comments string `json:"comments"`
|
||||
Tags []string `json:"tags"`
|
||||
Comments string `json:"comments"`
|
||||
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"`
|
||||
|
@ -154,8 +160,14 @@ type VirtualizationClustersList struct {
|
|||
Name string `json:"name"`
|
||||
Slug string `json:"slug"`
|
||||
} `json:"site"`
|
||||
Comments string `json:"comments"`
|
||||
Tags []string `json:"tags"`
|
||||
Comments string `json:"comments"`
|
||||
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