Package cloud.dnation.hetznerclient
Class ServerType
java.lang.Object
cloud.dnation.hetznerclient.IdentifiableResource
cloud.dnation.hetznerclient.ServerType
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
date="2025-09-21T08:14:59.463226706Z[Etc/UTC]")
public class ServerType
extends IdentifiableResource
ServerType
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic 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 TypeMethodDescriptiondeprecated(Boolean deprecated) description(String description) booleangetCores()Number of cpu cores a Server of this type will haveTrue if Server type is deprecated,Description of the Server typegetDisk()Disk size a Server of this type will have in GBMemory a Server of this type will have in GB,getName()Get nameinthashCode()voidvoidsetDeprecated(Boolean deprecated) voidsetDescription(String description) voidvoidvoidtoString()Methods inherited from class cloud.dnation.hetznerclient.IdentifiableResource
getId, id, setId
-
Field Details
-
SERIALIZED_NAME_NAME
- See Also:
-
SERIALIZED_NAME_DESCRIPTION
- See Also:
-
SERIALIZED_NAME_CORES
- See Also:
-
SERIALIZED_NAME_MEMORY
- See Also:
-
SERIALIZED_NAME_DISK
- See Also:
-
SERIALIZED_NAME_DEPRECATED
- See Also:
-
-
Constructor Details
-
ServerType
public ServerType()
-
-
Method Details
-
name
-
getName
Get name- Returns:
- name
-
setName
-
description
-
getDescription
Description of the Server type- Returns:
- description
-
setDescription
-
cores
-
getCores
Number of cpu cores a Server of this type will have- Returns:
- cores
-
setCores
-
memory
-
getMemory
Memory a Server of this type will have in GB,- Returns:
- memory
-
setMemory
-
disk
-
getDisk
Disk size a Server of this type will have in GB- Returns:
- disk
-
setDisk
-
deprecated
-
getDeprecated
True if Server type is deprecated,- Returns:
- deprecated
-
setDeprecated
-
equals
- Overrides:
equalsin classIdentifiableResource
-
hashCode
public int hashCode()- Overrides:
hashCodein classIdentifiableResource
-
toString
- Overrides:
toStringin classIdentifiableResource
-