Class User


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

      • User

        public User()
    • Method Detail

      • getSso

        @Nullable
        public Boolean getSso()
        SSO enabled
        Returns:
        sso
      • setSso

        public void setSso​(Boolean sso)
      • twoFactorAuthentication

        public User twoFactorAuthentication​(Boolean twoFactorAuthentication)
      • getTwoFactorAuthentication

        @Nullable
        public Boolean getTwoFactorAuthentication()
        Two Factor Authentication enabled
        Returns:
        twoFactorAuthentication
      • setTwoFactorAuthentication

        public void setTwoFactorAuthentication​(Boolean twoFactorAuthentication)
      • getEmail

        @Nonnull
        public String getEmail()
        User Email
        Returns:
        email
      • getId

        @Nullable
        public UUID getId()
        User ID
        Returns:
        id
      • getRole

        @Nonnull
        public IamRole getRole()
        Get role
        Returns:
        role
      • setRole

        public void setRole​(IamRole role)
      • getPending

        @Nullable
        public Boolean getPending()
        True if the user has not yet created an Exoscale account
        Returns:
        pending
      • equals

        public boolean equals​(Object o)
        Return true if this user 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