package locations

// Main information about locations
type ItemLocation struct {
	// AuthBroker
	AuthBroker []string `json:"authBroker"`

	// 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"`
}

// List of locations
type ListLocations struct {
	// Data
	Data []ItemLocation `json:"data"`

	// Entry count
	EntryCount uint64 `json:"entryCount"`
}
