package locations // Main information about locations type ItemLocation struct { // AuthBroker AuthBroker []string `json:"authBroker"` // Budget Budget bool `json:"budget"` // Grid ID GID uint64 `json:"gid"` // ID ID uint64 `json:"id"` // GUID GUID uint64 `json:"guid"` // Location code LocationCode string `json:"locationCode"` // Name Name string `json:"name"` // Network Modes NetworkModes []string `json:"network_modes"` // Flag Flag string `json:"flag"` // Meta Meta []interface{} `json:"_meta"` // CKey CKey string `json:"_ckey"` // Support of SDN SDNSupport bool `json:"sdn_support"` // Is Zero Access enabled ZeroAccessEnabled bool `json:"zeroaccess_enabled"` // Is BRO enabled BROEnabled bool `json:"bro_enabled"` // Are VM Folders enabled VMFoldersEnabled bool `json:"vm_folders_enabled"` // SDN Web config SDNWeb SDNWeb `json:"sdn_web"` // BVP Web config BVPWeb BVPWeb `json:"bvp_web"` } // List of locations type ListLocations struct { // Data Data []ItemLocation `json:"data"` // Entry count EntryCount uint64 `json:"entryCount"` } // SDN Web config type SDNWeb struct { // Whether the config is enabled Enabled bool `json:"enabled"` // URL URL string `json:"url"` // Number of the port Port uint64 `json:"port"` } // BVP Web config type BVPWeb struct { // Whether the config is enabled Enabled bool `json:"enabled"` // URL URL string `json:"url"` // Number of ther port Port uint64 `json:"port"` }