Class Template


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class Template
    extends Object
    Instance template
    • 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)
      • passwordEnabled

        public Template passwordEnabled​(Boolean passwordEnabled)
      • 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)
      • getBootMode

        @Nullable
        public Template.BootModeEnum getBootMode()
        Boot mode (default: legacy)
        Returns:
        bootMode
      • getId

        @Nullable
        public UUID getId()
        Template ID
        Returns:
        id
      • getZones

        @Nullable
        public List<ZoneName> getZones()
        Zones availability
        Returns:
        zones
      • 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
      • equals

        public boolean equals​(Object o)
        Return true if this template object is equal to o.
        Overrides:
        equals in class Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • toUrlQueryString

        public String toUrlQueryString()
        Convert the instance into URL query string.
        Returns:
        URL query string
      • toUrlQueryString

        public String toUrlQueryString​(String prefix)
        Convert the instance into URL query string.
        Parameters:
        prefix - prefix of the query string
        Returns:
        URL query string