Package com.xebialabs.xlrelease.api.v1.forms

# Class UserAccount

java.lang.Object
com.xebialabs.xlrelease.api.v1.forms.UserAccount

public class UserAccount extends Object
A compound object containing user information, using in API

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `UserAccount()`
  `UserAccount(String username, UserProfile profile, boolean isInternal)`
  `UserAccount(String username, UserProfile profile, boolean isInternal, boolean personalAccessTokenEnabled)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `String`
  `getDateFormat()`
  `String`
  `getEmail()`
  `String`
  `getExternalId()`
  `Integer`
  `getFirstDayOfWeek()`
  `String`
  `getFullName()`
  `Date`
  `getLastActive()`
  `String`
  `getPassword()`
  `String`
  `getPreviousPassword()`
  `String`
  `getProfileId()`
  `String`
  `getTimeFormat()`
  `String`
  `getUsername()`
  `boolean`
  `hasPassword()`
  `boolean`
  `isAnalyticsEnabled()`
  `boolean`
  `isExternal()`
  `boolean`
  `isLoginAllowed()`
  `boolean`
  `isPersonalAccessTokenEnabled()`
  `void`
  `setAnalyticsEnabled(boolean analyticsEnabled)`
  `void`
  `setDateFormat(String dateFormat)`
  `void`
  `setEmail(String email)`
  `void`
  `setExternalId(String externalId)`
  `void`
  `setFirstDayOfWeek(Integer firstDayOfWeek)`
  `void`
  `setFullName(String fullName)`
  `void`
  `setLastActive(Date lastActive)`
  `void`
  `setLoginAllowed(boolean loginAllowed)`
  `void`
  `setPassword(String password)`
  `void`
  `setPreviousPassword(String previousPassword)`
  `void`
  `setTimeFormat(String timeFormat)`
  `void`
  `setUsername(String username)`
  `UserProfile`
  `toUserProfile()`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### UserAccount

    public UserAccount()

  - ### UserAccount

    public UserAccount(String username, UserProfile profile, boolean isInternal)

  - ### UserAccount

    public UserAccount(String username, UserProfile profile, boolean isInternal, boolean personalAccessTokenEnabled)

- ## Method Details

  - ### toUserProfile

    public UserProfile toUserProfile()

  - ### getUsername

    public String getUsername()

  - ### setUsername

    public void setUsername(String username)

  - ### isExternal

    public boolean isExternal()

  - ### isPersonalAccessTokenEnabled

    public boolean isPersonalAccessTokenEnabled()

  - ### getProfileId

    public String getProfileId()

  - ### getEmail

    public String getEmail()

  - ### setEmail

    public void setEmail(String email)

  - ### getPassword

    public String getPassword()

  - ### setPassword

    public void setPassword(String password)

  - ### hasPassword

    public boolean hasPassword()

  - ### getPreviousPassword

    public String getPreviousPassword()

  - ### setPreviousPassword

    public void setPreviousPassword(String previousPassword)

  - ### getFullName

    public String getFullName()

  - ### setFullName

    public void setFullName(String fullName)

  - ### getExternalId

    public String getExternalId()

  - ### setExternalId

    public void setExternalId(String externalId)

  - ### isLoginAllowed

    public boolean isLoginAllowed()

  - ### setLoginAllowed

    public void setLoginAllowed(boolean loginAllowed)

  - ### getDateFormat

    public String getDateFormat()

  - ### setDateFormat

    public void setDateFormat(String dateFormat)

  - ### getFirstDayOfWeek

    public Integer getFirstDayOfWeek()

  - ### setFirstDayOfWeek

    public void setFirstDayOfWeek(Integer firstDayOfWeek)

  - ### getTimeFormat

    public String getTimeFormat()

  - ### setTimeFormat

    public void setTimeFormat(String timeFormat)

  - ### getLastActive

    public Date getLastActive()

  - ### setLastActive

    public void setLastActive(Date lastActive)

  - ### isAnalyticsEnabled

    public boolean isAnalyticsEnabled()

  - ### setAnalyticsEnabled

    public void setAnalyticsEnabled(boolean analyticsEnabled)