Package cloud.dnation.hetznerclient
Class DatacenterDetail
- java.lang.Object
-
- cloud.dnation.hetznerclient.IdentifiableResource
-
- cloud.dnation.hetznerclient.DatacenterDetail
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2024-04-26T18:25:35.290404Z[Etc/UTC]") public class DatacenterDetail extends IdentifiableResourceDatacenterDetail
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_LOCATIONstatic StringSERIALIZED_NAME_NAME-
Fields inherited from class cloud.dnation.hetznerclient.IdentifiableResource
SERIALIZED_NAME_ID
-
-
Constructor Summary
Constructors Constructor Description DatacenterDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DatacenterDetaildescription(String description)booleanequals(Object o)StringgetDescription()Description of the DatacenterLocationDetailgetLocation()Get locationStringgetName()Unique identifier of the DatacenterinthashCode()DatacenterDetaillocation(LocationDetail location)DatacenterDetailname(String name)voidsetDescription(String description)voidsetLocation(LocationDetail location)voidsetName(String name)StringtoString()-
Methods inherited from class cloud.dnation.hetznerclient.IdentifiableResource
getId, id, setId
-
-
-
-
Field Detail
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LOCATION
public static final String SERIALIZED_NAME_LOCATION
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public DatacenterDetail name(String name)
-
getName
@Nullable public String getName()
Unique identifier of the Datacenter- Returns:
- name
-
setName
public void setName(String name)
-
description
public DatacenterDetail description(String description)
-
getDescription
@Nullable public String getDescription()
Description of the Datacenter- Returns:
- description
-
setDescription
public void setDescription(String description)
-
location
public DatacenterDetail location(LocationDetail location)
-
getLocation
@Nullable public LocationDetail getLocation()
Get location- Returns:
- location
-
setLocation
public void setLocation(LocationDetail location)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classIdentifiableResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classIdentifiableResource
-
toString
public String toString()
- Overrides:
toStringin classIdentifiableResource
-
-