Skip to content

Commit

Permalink
feat: expose additional location attributes on server (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
berwaluk authored May 10, 2024
1 parent eb1baac commit 73cb486
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions server.go
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,15 @@ type ServerProperties struct {
// Helps to identify which data center an object belongs to.
LocationUUID string `json:"location_uuid"`

// The human-readable name of the location. It supports the full UTF-8 character set, with a maximum of 64 characters.
LocationCountry string `json:"location_country"`

// Uses IATA airport code, which works as a location identifier.
LocationIata string `json:"location_iata"`

// The human-readable name of the location. It supports the full UTF-8 character set, with a maximum of 64 characters.
LocationName string `json:"location_name"`

// The power status of the server.
Power bool `json:"power"`

Expand Down

0 comments on commit 73cb486

Please sign in to comment.