Make LocalContextData an interface
This so that we can embed JSON in there.
This commit is contained in:
parent
ffcda95b15
commit
f5bf955b0e
1 changed files with 5 additions and 5 deletions
|
@ -79,7 +79,7 @@ type VirtualMachines struct {
|
||||||
type NewVirtualMachine struct {
|
type NewVirtualMachine struct {
|
||||||
CustomFields *struct{} `json:"custom_fields,omitempty"`
|
CustomFields *struct{} `json:"custom_fields,omitempty"`
|
||||||
Status string `json:"status"`
|
Status string `json:"status"`
|
||||||
LocalContextData string `json:"local_context_data,omitempty"`
|
LocalContextData interface{} `json:"local_context_data,omitempty"`
|
||||||
Comments string `json:"comments,omitempty"`
|
Comments string `json:"comments,omitempty"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Tags *[]struct {
|
Tags *[]struct {
|
||||||
|
|
Loading…
Reference in a new issue