From fd2b48952fdd9087a894292dee8987a6d578494a Mon Sep 17 00:00:00 2001 From: ravikumar29524 Date: Fri, 7 Jan 2022 19:26:52 +0530 Subject: [PATCH] Making create user as string type --- pkg/models/instances.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/models/instances.go b/pkg/models/instances.go index 45096e6..5809fad 100644 --- a/pkg/models/instances.go +++ b/pkg/models/instances.go @@ -63,7 +63,7 @@ type CreateInstanceBodyConfig struct { VmwareDomainName string `json:"vmwareDomainName,omitempty"` VmwareCustomSpec string `json:"vmwareCustomSpec,omitempty"` NestedVirtualization string `json:"nestedVirtualization,omitempty"` - CreateUser bool `json:"createUser,omitempty"` + CreateUser string `json:"createUser,omitempty"` VMwareFolderID string `json:"vmwareFolderId,omitempty"` } @@ -192,7 +192,7 @@ type GetInstanceResponseInstanceConfig struct { Isvpcselectable bool `json:"isVpcSelectable,omitempty"` Smbiosassettag string `json:"smbiosAssetTag,omitempty"` Isec2 bool `json:"isEC2,omitempty"` - Createuser bool `json:"createUser,omitempty"` + Createuser interface{} `json:"createUser,omitempty"` Nestedvirtualization interface{} `json:"nestedVirtualization,omitempty"` Vmwarefolderid string `json:"vmwareFolderId,omitempty"` Expose []interface{} `json:"expose,omitempty"`