Package com.exoscale.sdk.model
Class Template
- java.lang.Object
-
- com.exoscale.sdk.model.Template
-
@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.4.0") public class Template extends Object
Instance template
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Template.BootModeEnum
Boot mode (default: legacy)static class
Template.VisibilityEnum
Template visibility
-
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_CREATED_AT
static String
JSON_PROPERTY_DEFAULT_USER
static String
JSON_PROPERTY_DESCRIPTION
static String
JSON_PROPERTY_FAMILY
static String
JSON_PROPERTY_ID
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
static String
JSON_PROPERTY_VISIBILITY
static String
JSON_PROPERTY_ZONES
-
Constructor Summary
Constructors Constructor Description Template()
Template(String maintainer, String family, String build, UUID id, String version, OffsetDateTime createdAt, Template.VisibilityEnum visibility)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Template
addZonesItem(ZoneName zonesItem)
Template
bootMode(Template.BootModeEnum bootMode)
Template
checksum(String checksum)
Template
defaultUser(String defaultUser)
Template
description(String description)
boolean
equals(Object o)
Return true if this template object is equal to o.Template.BootModeEnum
getBootMode()
Boot mode (default: legacy)String
getBuild()
Template buildString
getChecksum()
Template MD5 checksumOffsetDateTime
getCreatedAt()
Template creation dateString
getDefaultUser()
Template default userString
getDescription()
Template descriptionString
getFamily()
Template familyUUID
getId()
Template IDString
getMaintainer()
Template maintainerString
getName()
Template nameBoolean
getPasswordEnabled()
Enable password-based loginLong
getSize()
Template size minimum: 0Boolean
getSshKeyEnabled()
Enable SSH key-based loginString
getUrl()
Template source URLString
getVersion()
Template versionTemplate.VisibilityEnum
getVisibility()
Template visibilityList<ZoneName>
getZones()
Zones availabilityint
hashCode()
Template
name(String name)
Template
passwordEnabled(Boolean passwordEnabled)
void
setBootMode(Template.BootModeEnum bootMode)
void
setChecksum(String checksum)
void
setDefaultUser(String defaultUser)
void
setDescription(String description)
void
setName(String name)
void
setPasswordEnabled(Boolean passwordEnabled)
void
setSize(Long size)
void
setSshKeyEnabled(Boolean sshKeyEnabled)
void
setUrl(String url)
void
setZones(List<ZoneName> zones)
Template
size(Long size)
Template
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.Template
url(String url)
Template
zones(List<ZoneName> zones)
-
-
-
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_FAMILY
public static final String JSON_PROPERTY_FAMILY
- 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_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_ZONES
public static final String JSON_PROPERTY_ZONES
- 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
-
JSON_PROPERTY_CREATED_AT
public static final String JSON_PROPERTY_CREATED_AT
- See Also:
- Constant Field Values
-
JSON_PROPERTY_VISIBILITY
public static final String JSON_PROPERTY_VISIBILITY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
Template
public Template()
-
Template
public Template(String maintainer, String family, String build, UUID id, String version, OffsetDateTime createdAt, Template.VisibilityEnum visibility)
-
-
Method Detail
-
getMaintainer
@Nullable public String getMaintainer()
Template maintainer- Returns:
- maintainer
-
getDescription
@Nullable public String getDescription()
Template description- Returns:
- description
-
setDescription
public void setDescription(String description)
-
getSshKeyEnabled
@Nullable public Boolean getSshKeyEnabled()
Enable SSH key-based login- Returns:
- sshKeyEnabled
-
setSshKeyEnabled
public void setSshKeyEnabled(Boolean sshKeyEnabled)
-
getFamily
@Nullable public String getFamily()
Template family- Returns:
- family
-
getName
@Nullable public String getName()
Template name- Returns:
- name
-
setName
public void setName(String name)
-
getDefaultUser
@Nullable public String getDefaultUser()
Template default user- Returns:
- defaultUser
-
setDefaultUser
public void setDefaultUser(String defaultUser)
-
getSize
@Nullable public Long getSize()
Template size minimum: 0- Returns:
- size
-
setSize
public void setSize(Long size)
-
getPasswordEnabled
@Nullable public Boolean getPasswordEnabled()
Enable password-based login- Returns:
- passwordEnabled
-
setPasswordEnabled
public void setPasswordEnabled(Boolean passwordEnabled)
-
getBuild
@Nullable public String getBuild()
Template build- Returns:
- build
-
getChecksum
@Nullable public String getChecksum()
Template MD5 checksum- Returns:
- checksum
-
setChecksum
public void setChecksum(String checksum)
-
bootMode
public Template bootMode(Template.BootModeEnum bootMode)
-
getBootMode
@Nullable public Template.BootModeEnum getBootMode()
Boot mode (default: legacy)- Returns:
- bootMode
-
setBootMode
public void setBootMode(Template.BootModeEnum bootMode)
-
getId
@Nullable public UUID getId()
Template ID- Returns:
- id
-
getUrl
@Nullable public String getUrl()
Template source URL- Returns:
- url
-
setUrl
public void setUrl(String url)
-
getVersion
@Nullable public String getVersion()
Template version- Returns:
- version
-
getCreatedAt
@Nullable public OffsetDateTime getCreatedAt()
Template creation date- Returns:
- createdAt
-
getVisibility
@Nullable public Template.VisibilityEnum getVisibility()
Template visibility- Returns:
- visibility
-
equals
public boolean equals(Object o)
Return true if this template object is equal to o.
-
toUrlQueryString
public String toUrlQueryString()
Convert the instance into URL query string.- Returns:
- URL query string
-
-