Package com.exoscale.sdk.model
Class RegisterTemplateRequest
- java.lang.Object
-
- com.exoscale.sdk.model.RegisterTemplateRequest
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class RegisterTemplateRequest extends Object
RegisterTemplateRequest
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
RegisterTemplateRequest.BootModeEnum
Boot mode (default: legacy)
-
Field Summary
Fields Modifier and Type Field Description static String
JSON_PROPERTY_BOOT_MODE
static String
JSON_PROPERTY_BUILD
static String
JSON_PROPERTY_CHECKSUM
static String
JSON_PROPERTY_DEFAULT_USER
static String
JSON_PROPERTY_DESCRIPTION
static String
JSON_PROPERTY_MAINTAINER
static String
JSON_PROPERTY_NAME
static String
JSON_PROPERTY_PASSWORD_ENABLED
static String
JSON_PROPERTY_SIZE
static String
JSON_PROPERTY_SSH_KEY_ENABLED
static String
JSON_PROPERTY_URL
static String
JSON_PROPERTY_VERSION
-
Constructor Summary
Constructors Constructor Description RegisterTemplateRequest()
-
Method Summary
-
-
-
Field Detail
-
JSON_PROPERTY_MAINTAINER
public static final String JSON_PROPERTY_MAINTAINER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DESCRIPTION
public static final String JSON_PROPERTY_DESCRIPTION
- 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_NAME
public static final String JSON_PROPERTY_NAME
- See Also:
- Constant Field Values
-
JSON_PROPERTY_DEFAULT_USER
public static final String JSON_PROPERTY_DEFAULT_USER
- See Also:
- Constant Field Values
-
JSON_PROPERTY_SIZE
public static final String JSON_PROPERTY_SIZE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PASSWORD_ENABLED
public static final String JSON_PROPERTY_PASSWORD_ENABLED
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BUILD
public static final String JSON_PROPERTY_BUILD
- See Also:
- Constant Field Values
-
JSON_PROPERTY_CHECKSUM
public static final String JSON_PROPERTY_CHECKSUM
- See Also:
- Constant Field Values
-
JSON_PROPERTY_BOOT_MODE
public static final String JSON_PROPERTY_BOOT_MODE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URL
public static final String JSON_PROPERTY_URL
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VERSION
public static final String JSON_PROPERTY_VERSION
- See Also:
- Constant Field Values
-
-
Method Detail
-
maintainer
public RegisterTemplateRequest maintainer(String maintainer)
-
getMaintainer
@Nullable public String getMaintainer()
Template maintainer- Returns:
- maintainer
-
setMaintainer
public void setMaintainer(String maintainer)
-
description
public RegisterTemplateRequest description(String description)
-
getDescription
@Nullable public String getDescription()
Template description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
sshKeyEnabled
public RegisterTemplateRequest sshKeyEnabled(Boolean sshKeyEnabled)
-
getSshKeyEnabled
@Nonnull public Boolean getSshKeyEnabled()
Enable SSH key-based login- Returns:
- sshKeyEnabled
-
setSshKeyEnabled
public void setSshKeyEnabled(Boolean sshKeyEnabled)
-
name
public RegisterTemplateRequest name(String name)
-
getName
@Nonnull public String getName()
Template name- Returns:
- name
-
setName
public void setName(String name)
-
defaultUser
public RegisterTemplateRequest defaultUser(String defaultUser)
-
getDefaultUser
@Nullable public String getDefaultUser()
Template default user- Returns:
- defaultUser
-
setDefaultUser
public void setDefaultUser(String defaultUser)
-
size
public RegisterTemplateRequest size(Long size)
-
getSize
@Nullable public Long getSize()
Template size minimum: 0- Returns:
- size
-
setSize
public void setSize(Long size)
-
passwordEnabled
public RegisterTemplateRequest passwordEnabled(Boolean passwordEnabled)
-
getPasswordEnabled
@Nonnull public Boolean getPasswordEnabled()
Enable password-based login- Returns:
- passwordEnabled
-
setPasswordEnabled
public void setPasswordEnabled(Boolean passwordEnabled)
-
build
public RegisterTemplateRequest build(String build)
-
getBuild
@Nullable public String getBuild()
Template build- Returns:
- build
-
setBuild
public void setBuild(String build)
-
checksum
public RegisterTemplateRequest checksum(String checksum)
-
getChecksum
@Nonnull public String getChecksum()
Template MD5 checksum- Returns:
- checksum
-
setChecksum
public void setChecksum(String checksum)
-
bootMode
public RegisterTemplateRequest bootMode(RegisterTemplateRequest.BootModeEnum bootMode)
-
getBootMode
@Nullable public RegisterTemplateRequest.BootModeEnum getBootMode()
Boot mode (default: legacy)- Returns:
- bootMode
-
setBootMode
public void setBootMode(RegisterTemplateRequest.BootModeEnum bootMode)
-
url
public RegisterTemplateRequest url(String url)
-
getUrl
@Nonnull public String getUrl()
Template source URL- Returns:
- url
-
setUrl
public void setUrl(String url)
-
version
public RegisterTemplateRequest version(String version)
-
getVersion
@Nullable public String getVersion()
Template version- Returns:
- version
-
setVersion
public void setVersion(String version)
-
equals
public boolean equals(Object o)
Return true if this register_template_request object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-