Package com.exoscale.sdk.model
Class SshKey
- java.lang.Object
-
- com.exoscale.sdk.model.SshKey
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class SshKey extends Object
SSH key
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_FINGERPRINT
static String
JSON_PROPERTY_NAME
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this ssh-key object is equal to o.String
getFingerprint()
SSH key fingerprintString
getName()
SSH key nameint
hashCode()
SshKey
name(String name)
void
setName(String name)
String
toString()
String
toUrlQueryString()
Convert the instance into URL query string.String
toUrlQueryString(String prefix)
Convert the instance into URL query string.
-
-
-
Field Detail
-
JSON_PROPERTY_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_FINGERPRINT
public static final String JSON_PROPERTY_FINGERPRINT
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
SshKey
public SshKey()
-
SshKey
public SshKey(String fingerprint)
-
-
Method Detail
-
getName
@Nullable public String getName()
SSH key name- Returns:
- name
-
setName
public void setName(String name)
-
getFingerprint
@Nullable public String getFingerprint()
SSH key fingerprint- Returns:
- fingerprint
-
equals
public boolean equals(Object o)
Return true if this ssh-key object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-