Class PromoteSnapshotToTemplateRequest


  • @Generated(value="org.openapitools.codegen.languages.JavaClientCodegen",
               comments="Generator version: 7.4.0")
    public class PromoteSnapshotToTemplateRequest
    extends Object
    PromoteSnapshotToTemplateRequest
    • Constructor Detail

      • PromoteSnapshotToTemplateRequest

        public PromoteSnapshotToTemplateRequest()
    • Method Detail

      • getName

        @Nonnull
        public String getName()
        Template name
        Returns:
        name
      • setName

        public void setName​(String name)
      • getDescription

        @Nullable
        public String getDescription()
        Template description
        Returns:
        description
      • setDescription

        public void setDescription​(String description)
      • getDefaultUser

        @Nullable
        public String getDefaultUser()
        Template default user
        Returns:
        defaultUser
      • setDefaultUser

        public void setDefaultUser​(String defaultUser)
      • getSshKeyEnabled

        @Nullable
        public Boolean getSshKeyEnabled()
        Enable SSH key-based login in the template
        Returns:
        sshKeyEnabled
      • setSshKeyEnabled

        public void setSshKeyEnabled​(Boolean sshKeyEnabled)
      • 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.
        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