Package com.exoscale.sdk.model
Class PromoteSnapshotToTemplateRequest
- java.lang.Object
-
- com.exoscale.sdk.model.PromoteSnapshotToTemplateRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class PromoteSnapshotToTemplateRequest extends Object
PromoteSnapshotToTemplateRequest
-
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_DEFAULT_USER
static String
JSON_PROPERTY_DESCRIPTION
static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_PASSWORD_ENABLED
static String
JSON_PROPERTY_SSH_KEY_ENABLED
-
Constructor Summary
Constructors Constructor Description PromoteSnapshotToTemplateRequest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PromoteSnapshotToTemplateRequest
defaultUser(String defaultUser)
PromoteSnapshotToTemplateRequest
description(String description)
boolean
equals(Object o)
Return true if this promote_snapshot_to_template_request object is equal to o.String
getDefaultUser()
Template default userString
getDescription()
Template descriptionString
getName()
Template nameBoolean
getPasswordEnabled()
Enable password-based login in the templateBoolean
getSshKeyEnabled()
Enable SSH key-based login in the templateint
hashCode()
PromoteSnapshotToTemplateRequest
name(String name)
PromoteSnapshotToTemplateRequest
passwordEnabled(Boolean passwordEnabled)
void
setDefaultUser(String defaultUser)
void
setDescription(String description)
void
setName(String name)
void
setPasswordEnabled(Boolean passwordEnabled)
void
setSshKeyEnabled(Boolean sshKeyEnabled)
PromoteSnapshotToTemplateRequest
sshKeyEnabled(Boolean sshKeyEnabled)
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_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEFAULT_USER
public static final String JSON_PROPERTY_DEFAULT_USER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SSH_KEY_ENABLED
public static final String JSON_PROPERTY_SSH_KEY_ENABLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PASSWORD_ENABLED
public static final String JSON_PROPERTY_PASSWORD_ENABLED
- See Also:
- Constant Field Values
-
-
Method Detail
-
name
public PromoteSnapshotToTemplateRequest name(String name)
-
getName
@Nonnull public String getName()
Template name- Returns:
- name
-
setName
public void setName(String name)
-
description
public PromoteSnapshotToTemplateRequest description(String description)
-
getDescription
@Nullable public String getDescription()
Template description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
defaultUser
public PromoteSnapshotToTemplateRequest defaultUser(String defaultUser)
-
getDefaultUser
@Nullable public String getDefaultUser()
Template default user- Returns:
- defaultUser
-
setDefaultUser
public void setDefaultUser(String defaultUser)
-
sshKeyEnabled
public PromoteSnapshotToTemplateRequest sshKeyEnabled(Boolean sshKeyEnabled)
-
getSshKeyEnabled
@Nullable public Boolean getSshKeyEnabled()
Enable SSH key-based login in the template- Returns:
- sshKeyEnabled
-
setSshKeyEnabled
public void setSshKeyEnabled(Boolean sshKeyEnabled)
-
passwordEnabled
public PromoteSnapshotToTemplateRequest passwordEnabled(Boolean passwordEnabled)
-
getPasswordEnabled
@Nullable public Boolean getPasswordEnabled()
Enable password-based login in the template- Returns:
- passwordEnabled
-
setPasswordEnabled
public void setPasswordEnabled(Boolean passwordEnabled)
-
equals
public boolean equals(Object o)
Return true if this promote_snapshot_to_template_request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-