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
|
// NewVirtualMachine is used to create new VirtualizationVirtualMachines
|
||||||
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 {
|
||||||
Name string `json:"name,omitempty"`
|
Name string `json:"name,omitempty"`
|
||||||
Slug string `json:"slug,omitempty"`
|
Slug string `json:"slug,omitempty"`
|
||||||
|
|
Loading…
Reference in a new issue