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 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.
    • getSuppressNewUserEmail

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

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

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