Class UserRepresentation
java.lang.Object
com.cumulocity.rest.representation.BaseResourceRepresentation
com.cumulocity.rest.representation.CustomPropertiesMapRepresentation
com.cumulocity.rest.representation.user.UserRepresentation
- All Implemented Interfaces:
ResourceRepresentation
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetEmail()getId()Deprecated.org.joda.time.DateTimegetOwner()getPhone()getRoles()voidsetApplications(List<ApplicationRepresentation> applications) voidsetDelegatedBy(String delegatedBy) voidsetDevicePermissions(Map<String, List<String>> devicePermissions) voidsetDisplayName(String displayName) voidvoidsetEnabled(Boolean enabled) voidsetFirstName(String firstName) voidvoidvoidsetLastName(String lastName) voidsetLastPasswordChange(Date lastPasswordChange) Deprecated.voidsetLastPasswordChangeDateTime(org.joda.time.DateTime lastPasswordChange) voidsetNewsletter(Boolean newsletter) voidvoidsetPassword(String password) voidsetPasswordStrength(String passwordStrength) voidvoidvoidsetSendPasswordResetEmail(Boolean sendPasswordResetEmail) voidsetShouldResetPassword(Boolean shouldResetPassword) voidsetSubusersCount(Integer subusersCount) voidsetSupportUserEnabled(Boolean supportUserEnabled) voidsetTwoFactorAuthenticationEnabled(Boolean twoFactorAuthenticationEnabled) voidsetUserName(String userName) booleanMethods inherited from class com.cumulocity.rest.representation.CustomPropertiesMapRepresentation
getCustomProperties, setCustomPropertiesMethods inherited from class com.cumulocity.rest.representation.BaseResourceRepresentation
getSelf, getSelfDecoded, setSelf, toJSON, toString
-
Constructor Details
-
UserRepresentation
public UserRepresentation()
-
-
Method Details
-
getUserName
-
setUserName
-
getOwner
-
setOwner
-
getDelegatedBy
-
setDelegatedBy
-
getPassword
-
setPassword
-
getFirstName
-
setFirstName
-
getLastName
-
setLastName
-
getPhone
-
setPhone
-
getEmail
-
setEmail
-
getPasswordStrength
-
setPasswordStrength
-
getShouldResetPassword
-
setShouldResetPassword
-
getSupportUserEnabled
-
setSupportUserEnabled
-
getEnabled
-
setEnabled
-
getDevicePermissions
-
setDevicePermissions
-
getGroups
-
setGroups
-
getRoles
-
setRoles
-
getId
-
setId
-
getLastPasswordChange
@JSONProperty(value="deprecated_LastPasswordChange", ignore=true) @Deprecated public Date getLastPasswordChange()Deprecated. -
setLastPasswordChange
Deprecated. -
getLastPasswordChangeDateTime
@JSONProperty(value="lastPasswordChange", ignoreIfNull=true) @JSONConverter(type=DateTimeConverter.class) public org.joda.time.DateTime getLastPasswordChangeDateTime() -
setLastPasswordChangeDateTime
public void setLastPasswordChangeDateTime(org.joda.time.DateTime lastPasswordChange) -
getApplications
-
setApplications
@JSONTypeHint(ApplicationRepresentation.class) public void setApplications(List<ApplicationRepresentation> applications) -
getSendPasswordResetEmail
-
shouldSendPasswordResetEmail
@JSONProperty(ignore=true) public boolean shouldSendPasswordResetEmail() -
setSendPasswordResetEmail
@JSONProperty(ignoreIfNull=true) public void setSendPasswordResetEmail(Boolean sendPasswordResetEmail) -
getTwoFactorAuthenticationEnabled
-
setTwoFactorAuthenticationEnabled
-
getNewsletter
-
setNewsletter
-
getSubusersCount
-
setSubusersCount
-
getDisplayName
-
setDisplayName
-