Class UserModel

java.lang.Object
net.avalara.avatax.rest.client.models.UserModel

public class UserModel extends Object
An account user who is permitted to use AvaTax.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    Getter for accountId The unique ID number of the account to which this user belongs.
    Getter for companyId If this user is locked to one company (and its children), this is the unique ID number of the company to which this user belongs.
    Getter for createdDate The date when this record was created.
    Getter for email The email address to be used to contact this user.
    Getter for firstName The first or given name of the user.
    Getter for id The unique ID number of this user.
    Getter for isActive True if this user is currently active.
    Getter for isDeleted A boolean flag to identify if the user is deleted
    Getter for lastName The last or family name of the user.
    Getter for migratedDate The date/time when this record was migrated to Avalara Identity modified.
    Getter for modifiedDate The date/time when this record was last modified.
    Getter for passwordStatus The status of the user's password.
    Getter for postalCode The postal code in which this user resides.
    Getter for securityRoleId The security level for this user.
    Getter for subjectId Matches the subjectId of corresponding user record in AI.
    Getter for suppressNewUserEmail Suppress new user email
    Getter for userName The username which is used to log on to the AvaTax website, or to authenticate against API calls.
    void
    Setter for accountId The unique ID number of the account to which this user belongs.
    void
    Setter for companyId If this user is locked to one company (and its children), this is the unique ID number of the company to which this user belongs.
    void
    Setter for createdDate The date when this record was created.
    void
    Setter for email The email address to be used to contact this user.
    void
    Setter for firstName The first or given name of the user.
    void
    setId(Integer value)
    Setter for id The unique ID number of this user.
    void
    Setter for isActive True if this user is currently active.
    void
    Setter for isDeleted A boolean flag to identify if the user is deleted
    void
    Setter for lastName The last or family name of the user.
    void
    Setter for migratedDate The date/time when this record was migrated to Avalara Identity modified.
    void
    Setter for modifiedDate The date/time when this record was last modified.
    void
    Setter for passwordStatus The status of the user's password.
    void
    Setter for postalCode The postal code in which this user resides.
    void
    Setter for securityRoleId The security level for this user.
    void
    Setter for subjectId Matches the subjectId of corresponding user record in AI.
    void
    Setter for suppressNewUserEmail Suppress new user email
    void
    Setter for userName The username which is used to log on to the AvaTax website, or to authenticate against API calls.
    Returns a JSON string representation of UserModel

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
  • Constructor Details

    • UserModel

      public UserModel()
  • Method Details

    • getId

      public Integer getId()
      Getter for id The unique ID number of this user.
    • setId

      public void setId(Integer value)
      Setter for id The unique ID number of this user.
    • getAccountId

      public Integer getAccountId()
      Getter for accountId The unique ID number of the account to which this user belongs.
    • setAccountId

      public void setAccountId(Integer value)
      Setter for accountId The unique ID number of the account to which this user belongs.
    • getCompanyId

      public Integer getCompanyId()
      Getter for companyId If this user is locked to one company (and its children), this is the unique ID number of the company to which this user belongs.
    • setCompanyId

      public void setCompanyId(Integer value)
      Setter for companyId If this user is locked to one company (and its children), this is the unique ID number of the company to which this user belongs.
    • getUserName

      public String getUserName()
      Getter for userName The username which is used to log on to the AvaTax website, or to authenticate against API calls.
    • setUserName

      public void setUserName(String value)
      Setter for userName The username which is used to log on to the AvaTax website, or to authenticate against API calls.
    • getFirstName

      public String getFirstName()
      Getter for firstName The first or given name of the user.
    • setFirstName

      public void setFirstName(String value)
      Setter for firstName The first or given name of the user.
    • getLastName

      public String getLastName()
      Getter for lastName The last or family name of the user.
    • setLastName

      public void setLastName(String value)
      Setter for lastName The last or family name of the user.
    • getEmail

      public String getEmail()
      Getter for email The email address to be used to contact this user. If the user has forgotten a password, an email can be sent to this email address with information on how to reset this password.
    • setEmail

      public void setEmail(String value)
      Setter for email The email address to be used to contact this user. If the user has forgotten a password, an email can be sent to this email address with information on how to reset this password.
    • getPostalCode

      public String getPostalCode()
      Getter for postalCode The postal code in which this user resides.
    • setPostalCode

      public void setPostalCode(String value)
      Setter for postalCode The postal code in which this user resides.
    • getSecurityRoleId

      public SecurityRoleId getSecurityRoleId()
      Getter for securityRoleId The security level for this user.
    • setSecurityRoleId

      public void setSecurityRoleId(SecurityRoleId value)
      Setter for securityRoleId The security level for this user.
    • getPasswordStatus

      public PasswordStatusId getPasswordStatus()
      Getter for passwordStatus The status of the user's password. For a new user created, this is always going to be `UserMustChange`
    • setPasswordStatus

      public void setPasswordStatus(PasswordStatusId value)
      Setter for passwordStatus The status of the user's password. For a new user created, this is always going to be `UserMustChange`
    • getIsActive

      public Boolean getIsActive()
      Getter for isActive True if this user is currently active.
    • setIsActive

      public void setIsActive(Boolean value)
      Setter for isActive True if this user is currently active.
    • getCreatedDate

      public Date getCreatedDate()
      Getter for createdDate The date when this record was created.
    • setCreatedDate

      public void setCreatedDate(Date value)
      Setter for createdDate The date when this record was created.
    • getModifiedDate

      public Date getModifiedDate()
      Getter for modifiedDate The date/time when this record was last modified.
    • setModifiedDate

      public void setModifiedDate(Date value)
      Setter for modifiedDate The date/time when this record was last modified.
    • getSubjectId

      public String getSubjectId()
      Getter for subjectId Matches the subjectId of corresponding user record in AI.
    • setSubjectId

      public void setSubjectId(String value)
      Setter for subjectId Matches the subjectId of corresponding user record in AI.
    • getMigratedDate

      public String getMigratedDate()
      Getter for migratedDate The date/time when this record was migrated to Avalara Identity modified.
    • setMigratedDate

      public void setMigratedDate(String value)
      Setter for migratedDate The date/time when this record was migrated to Avalara Identity modified.
    • getSuppressNewUserEmail

      public Boolean getSuppressNewUserEmail()
      Getter for suppressNewUserEmail Suppress new user email
    • setSuppressNewUserEmail

      public void setSuppressNewUserEmail(Boolean value)
      Setter for suppressNewUserEmail Suppress new user email
    • getIsDeleted

      public Boolean getIsDeleted()
      Getter for isDeleted A boolean flag to identify if the user is deleted
    • setIsDeleted

      public void setIsDeleted(Boolean value)
      Setter for isDeleted A boolean flag to identify if the user is deleted
    • toString

      public String toString()
      Returns a JSON string representation of UserModel
      Overrides:
      toString in class Object