Class UserAccount
java.lang.Object
com.xebialabs.xlrelease.api.v1.forms.UserAccount
A compound object containing user information, using in API
-
Constructor Summary
ConstructorsConstructorDescriptionUserAccount(String username, com.xebialabs.xlrelease.domain.UserProfile profile, boolean isInternal) UserAccount(String username, com.xebialabs.xlrelease.domain.UserProfile profile, boolean isInternal, boolean personalAccessTokenEnabled) -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()intbooleanbooleanbooleanbooleanbooleanbooleanbooleanvoidsetAccountLocked(boolean accountLocked) voidsetAnalyticsEnabled(boolean analyticsEnabled) voidsetDateFormat(String dateFormat) voidsetDefaultFolderPage(String defaultFolderPage) voidsetDefaultGlobalPage(String defaultGlobalPage) voidvoidsetExternalId(String externalId) voidsetFailedLoginAttemptCount(int failedLoginAttemptCount) voidsetFirstDayOfWeek(Integer firstDayOfWeek) voidsetFullName(String fullName) voidsetLastActive(Date lastActive) voidsetLastFailedLoginAt(Date lastFailedLoginAt) voidsetLoginAllowed(boolean loginAllowed) voidsetPassword(String password) voidsetPreviousPassword(String previousPassword) voidsetTimeFormat(String timeFormat) voidsetUsername(String username) com.xebialabs.xlrelease.domain.UserProfile
-
Constructor Details
-
UserAccount
public UserAccount() -
UserAccount
public UserAccount(String username, com.xebialabs.xlrelease.domain.UserProfile profile, boolean isInternal) -
UserAccount
public UserAccount(String username, com.xebialabs.xlrelease.domain.UserProfile profile, boolean isInternal, boolean personalAccessTokenEnabled)
-
-
Method Details
-
toUserProfile
public com.xebialabs.xlrelease.domain.UserProfile toUserProfile() -
getUsername
-
setUsername
-
isExternal
public boolean isExternal() -
isPersonalAccessTokenEnabled
public boolean isPersonalAccessTokenEnabled() -
getProfileId
-
getEmail
-
setEmail
-
getPassword
-
setPassword
-
hasPassword
public boolean hasPassword() -
getPreviousPassword
-
setPreviousPassword
-
getFullName
-
setFullName
-
getExternalId
-
setExternalId
-
isLoginAllowed
public boolean isLoginAllowed() -
setLoginAllowed
public void setLoginAllowed(boolean loginAllowed) -
getDateFormat
-
setDateFormat
-
getFirstDayOfWeek
-
setFirstDayOfWeek
-
getTimeFormat
-
setTimeFormat
-
getLastActive
-
setLastActive
-
isAnalyticsEnabled
public boolean isAnalyticsEnabled() -
setAnalyticsEnabled
public void setAnalyticsEnabled(boolean analyticsEnabled) -
getDefaultGlobalPage
-
setDefaultGlobalPage
-
getDefaultFolderPage
-
setDefaultFolderPage
-
isSystemTenant
public boolean isSystemTenant() -
isAccountLocked
public boolean isAccountLocked() -
setAccountLocked
public void setAccountLocked(boolean accountLocked) -
getFailedLoginAttemptCount
public int getFailedLoginAttemptCount() -
setFailedLoginAttemptCount
public void setFailedLoginAttemptCount(int failedLoginAttemptCount) -
getLastFailedLoginAt
-
setLastFailedLoginAt
-