Package com.exoscale.sdk.model
Class RegisterSshKeyRequest
- java.lang.Object
-
- com.exoscale.sdk.model.RegisterSshKeyRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class RegisterSshKeyRequest extends Object
RegisterSshKeyRequest
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_PUBLIC_KEY
-
Constructor Summary
Constructors Constructor Description RegisterSshKeyRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
Return true if this register_ssh_key_request object is equal to o.String
getName()
SSH key nameString
getPublicKey()
Public key valueint
hashCode()
RegisterSshKeyRequest
name(String name)
RegisterSshKeyRequest
publicKey(String publicKey)
void
setName(String name)
void
setPublicKey(String publicKey)
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_PUBLIC_KEY
public static final String JSON_PROPERTY_PUBLIC_KEY
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public RegisterSshKeyRequest name(String name)
-
getName
@Nonnull public String getName()
SSH key name- Returns:
- name
-
setName
public void setName(String name)
-
publicKey
public RegisterSshKeyRequest publicKey(String publicKey)
-
getPublicKey
@Nonnull public String getPublicKey()
Public key value- Returns:
- publicKey
-
setPublicKey
public void setPublicKey(String publicKey)
-
equals
public boolean equals(Object o)
Return true if this register_ssh_key_request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-