Package cloud.dnation.hetznerclient
Class ImageDetail
- java.lang.Object
-
- cloud.dnation.hetznerclient.IdentifiableResource
-
- cloud.dnation.hetznerclient.ImageDetail
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-29T09:46:38.528060Z[Etc/UTC]") public class ImageDetail extends IdentifiableResourceImageDetail
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_DESCRIPTIONstatic StringSERIALIZED_NAME_LABELSstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_STATUSstatic StringSERIALIZED_NAME_TYPE-
Fields inherited from class cloud.dnation.hetznerclient.IdentifiableResource
SERIALIZED_NAME_ID
-
-
Constructor Summary
Constructors Constructor Description ImageDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ImageDetaildescription(String description)booleanequals(Object o)StringgetDescription()Description of the ImageMap<String,String>getLabels()User-defined labels (key-value pairs)StringgetName()Unique identifier of the Image.StringgetStatus()Whether the Image can be used or if it's still being created or unavailableStringgetType()Type of the ImageinthashCode()ImageDetaillabels(Map<String,String> labels)ImageDetailname(String name)ImageDetailputLabelsItem(String key, String labelsItem)voidsetDescription(String description)voidsetLabels(Map<String,String> labels)voidsetName(String name)voidsetStatus(String status)voidsetType(String type)ImageDetailstatus(String status)StringtoString()ImageDetailtype(String type)-
Methods inherited from class cloud.dnation.hetznerclient.IdentifiableResource
getId, id, setId
-
-
-
-
Field Detail
-
SERIALIZED_NAME_DESCRIPTION
public static final String SERIALIZED_NAME_DESCRIPTION
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_LABELS
public static final String SERIALIZED_NAME_LABELS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_NAME
public static final String SERIALIZED_NAME_NAME
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_STATUS
public static final String SERIALIZED_NAME_STATUS
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_TYPE
public static final String SERIALIZED_NAME_TYPE
- See Also:
- Constant Field Values
-
-
Method Detail
-
description
public ImageDetail description(String description)
-
getDescription
@Nullable public String getDescription()
Description of the Image- Returns:
- description
-
setDescription
public void setDescription(String description)
-
labels
public ImageDetail labels(Map<String,String> labels)
-
putLabelsItem
public ImageDetail putLabelsItem(String key, String labelsItem)
-
getLabels
@Nullable public Map<String,String> getLabels()
User-defined labels (key-value pairs)- Returns:
- labels
-
name
public ImageDetail name(String name)
-
getName
@Nullable public String getName()
Unique identifier of the Image. This value is only set for system Images.- Returns:
- name
-
setName
public void setName(String name)
-
status
public ImageDetail status(String status)
-
getStatus
@Nullable public String getStatus()
Whether the Image can be used or if it's still being created or unavailable- Returns:
- status
-
setStatus
public void setStatus(String status)
-
type
public ImageDetail type(String type)
-
getType
@Nullable public String getType()
Type of the Image- Returns:
- type
-
setType
public void setType(String type)
-
equals
public boolean equals(Object o)
- Overrides:
equalsin classIdentifiableResource
-
hashCode
public int hashCode()
- Overrides:
hashCodein classIdentifiableResource
-
toString
public String toString()
- Overrides:
toStringin classIdentifiableResource
-
-