Package cloud.dnation.hetznerclient
Class LocationDetail
java.lang.Object
cloud.dnation.hetznerclient.IdentifiableResource
cloud.dnation.hetznerclient.LocationDetail
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-09-21T08:14:59.463226706Z[Etc/UTC]")
public class LocationDetail
extends IdentifiableResource
LocationDetail
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final StringFields inherited from class cloud.dnation.hetznerclient.IdentifiableResource
SERIALIZED_NAME_ID -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) booleangetCity()City the Location is closest toISO 3166-1 alpha-2 code of the country the Location resides inDescription of the LocationLatitude of the city closest to the LocationLongitude of the city closest to the LocationgetName()Unique identifier of the LocationName of network zone this Location resides ininthashCode()latitude(BigDecimal latitude) longitude(BigDecimal longitude) networkZone(String networkZone) voidvoidsetCountry(String country) voidsetDescription(String description) voidsetLatitude(BigDecimal latitude) voidsetLongitude(BigDecimal longitude) voidvoidsetNetworkZone(String networkZone) toString()Methods inherited from class cloud.dnation.hetznerclient.IdentifiableResource
getId, id, setId
-
Field Details
-
SERIALIZED_NAME_CITY
- See Also:
-
SERIALIZED_NAME_COUNTRY
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_LATITUDE
- See Also:
-
SERIALIZED_NAME_LONGITUDE
- See Also:
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_NETWORK_ZONE
- See Also:
-
-
Constructor Details
-
LocationDetail
public LocationDetail()
-
-
Method Details
-
city
-
getCity
City the Location is closest to- Returns:
- city
-
setCity
-
country
-
getCountry
ISO 3166-1 alpha-2 code of the country the Location resides in- Returns:
- country
-
setCountry
-
description
-
getDescription
Description of the Location- Returns:
- description
-
setDescription
-
latitude
-
getLatitude
Latitude of the city closest to the Location- Returns:
- latitude
-
setLatitude
-
longitude
-
getLongitude
Longitude of the city closest to the Location- Returns:
- longitude
-
setLongitude
-
name
-
getName
Unique identifier of the Location- Returns:
- name
-
setName
-
networkZone
-
getNetworkZone
Name of network zone this Location resides in- Returns:
- networkZone
-
setNetworkZone
-
equals
- Overrides:
equalsin classIdentifiableResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classIdentifiableResource
-
toString
- Overrides:
toStringin classIdentifiableResource
-