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
|
@ -77,11 +77,11 @@ type VirtualMachines struct {
|
|||
|
||||
// NewVirtualMachine is used to create new VirtualizationVirtualMachines
|
||||
type NewVirtualMachine struct {
|
||||
CustomFields *struct{} `json:"custom_fields,omitempty"`
|
||||
Status string `json:"status"`
|
||||
LocalContextData string `json:"local_context_data,omitempty"`
|
||||
Comments string `json:"comments,omitempty"`
|
||||
Name string `json:"name"`
|
||||
CustomFields *struct{} `json:"custom_fields,omitempty"`
|
||||
Status string `json:"status"`
|
||||
LocalContextData interface{} `json:"local_context_data,omitempty"`
|
||||
Comments string `json:"comments,omitempty"`
|
||||
Name string `json:"name"`
|
||||
Tags *[]struct {
|
||||
Name string `json:"name,omitempty"`
|
||||
Slug string `json:"slug,omitempty"`
|
||||
|
|
Loading…
Reference in a new issue