Files
decort-golang-sdk/pkg/cloudapi/locations/models.go

47 lines
740 B
Go
Raw Normal View History

2022-10-03 16:56:47 +03:00
package locations
2022-12-22 17:56:47 +03:00
// Main information about locations
type ItemLocation struct {
2024-03-14 14:52:56 +03:00
// AuthBroker
AuthBroker []string `json:"authBroker"`
2022-12-22 17:56:47 +03:00
// 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"`
2025-07-15 17:39:18 +03:00
// Network Modes
NetworkModes []string `json:"network_modes"`
2022-12-22 17:56:47 +03:00
// Flag
Flag string `json:"flag"`
// Meta
Meta []interface{} `json:"_meta"`
// CKey
CKey string `json:"_ckey"`
2025-05-07 13:15:39 +03:00
// Support of SDN
SDNSupport bool `json:"sdn_support"`
2022-10-03 16:56:47 +03:00
}
2022-12-22 17:56:47 +03:00
// List of locations
2023-06-30 11:21:47 +03:00
type ListLocations struct {
// Data
Data []ItemLocation `json:"data"`
// Entry count
EntryCount uint64 `json:"entryCount"`
}