You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
decort-golang-sdk/pkg/cloudapi/locations/models.go

32 lines
464 B

package locations
// Main information about locations
type ItemLocation struct {
// 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"`
// Flag
Flag string `json:"flag"`
// Meta
Meta []interface{} `json:"_meta"`
// CKey
CKey string `json:"_ckey"`
}
// List of locations
type ListLocations []ItemLocation