Make LocalContextData an interface

This so that we can embed JSON in there.
This commit is contained in:
Kalle Carlbark 2022-02-09 15:52:27 +01:00
parent ffcda95b15
commit f5bf955b0e
No known key found for this signature in database

View file

@ -79,7 +79,7 @@ type VirtualMachines struct {
type NewVirtualMachine struct {
CustomFields *struct{} `json:"custom_fields,omitempty"`
Status string `json:"status"`
LocalContextData string `json:"local_context_data,omitempty"`
LocalContextData interface{} `json:"local_context_data,omitempty"`
Comments string `json:"comments,omitempty"`
Name string `json:"name"`
Tags *[]struct {