Package cloud.dnation.hetznerclient
Class CreateSshKeyResponse
- java.lang.Object
-
- cloud.dnation.hetznerclient.CreateSshKeyResponse
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", date="2023-07-29T09:46:38.528060Z[Etc/UTC]") public class CreateSshKeyResponse extends ObjectCreateSshKeyResponse
-
-
Field Summary
Fields Modifier and Type Field Description static StringSERIALIZED_NAME_CREATEDstatic StringSERIALIZED_NAME_FINGERPRINTstatic StringSERIALIZED_NAME_IDstatic StringSERIALIZED_NAME_LABELSstatic StringSERIALIZED_NAME_NAMEstatic StringSERIALIZED_NAME_PUBLIC_KEY
-
Constructor Summary
Constructors Constructor Description CreateSshKeyResponse()
-
Method Summary
-
-
-
Field Detail
-
SERIALIZED_NAME_CREATED
public static final String SERIALIZED_NAME_CREATED
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_FINGERPRINT
public static final String SERIALIZED_NAME_FINGERPRINT
- See Also:
- Constant Field Values
-
SERIALIZED_NAME_ID
public static final String SERIALIZED_NAME_ID
- 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_PUBLIC_KEY
public static final String SERIALIZED_NAME_PUBLIC_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
created
public CreateSshKeyResponse created(String created)
-
getCreated
@Nullable public String getCreated()
Point in time when the Resource was created (in ISO-8601 format)- Returns:
- created
-
setCreated
public void setCreated(String created)
-
fingerprint
public CreateSshKeyResponse fingerprint(String fingerprint)
-
getFingerprint
@Nullable public String getFingerprint()
Fingerprint of public key- Returns:
- fingerprint
-
setFingerprint
public void setFingerprint(String fingerprint)
-
id
public CreateSshKeyResponse id(Long id)
-
getId
@Nullable public Long getId()
Object identifier/unique key- Returns:
- id
-
setId
public void setId(Long id)
-
labels
public CreateSshKeyResponse labels(Map<String,String> labels)
-
putLabelsItem
public CreateSshKeyResponse putLabelsItem(String key, String labelsItem)
-
getLabels
@Nullable public Map<String,String> getLabels()
User-defined labels (key-value pairs)- Returns:
- labels
-
name
public CreateSshKeyResponse name(String name)
-
getName
@Nullable public String getName()
Name of the Resource. Must be unique per Project.- Returns:
- name
-
setName
public void setName(String name)
-
publicKey
public CreateSshKeyResponse publicKey(String publicKey)
-
getPublicKey
@Nullable public String getPublicKey()
Public key- Returns:
- publicKey
-
setPublicKey
public void setPublicKey(String publicKey)
-
-