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
-
Method Summary
Modifier and TypeMethodDescriptiongetEmail()
getId()
Deprecated.org.joda.time.DateTime
getOwner()
getPhone()
getRoles()
void
setApplications
(List<ApplicationRepresentation> applications) void
setDelegatedBy
(String delegatedBy) void
setDevicePermissions
(Map<String, List<String>> devicePermissions) void
setDisplayName
(String displayName) void
void
setEnabled
(Boolean enabled) void
setFirstName
(String firstName) void
void
void
setLastName
(String lastName) void
setLastPasswordChange
(Date lastPasswordChange) Deprecated.void
setLastPasswordChangeDateTime
(org.joda.time.DateTime lastPasswordChange) void
setNewsletter
(Boolean newsletter) void
void
setPassword
(String password) void
setPasswordStrength
(String passwordStrength) void
void
void
setSendPasswordResetEmail
(Boolean sendPasswordResetEmail) void
setShouldResetPassword
(Boolean shouldResetPassword) void
setSubusersCount
(Integer subusersCount) void
setSupportUserEnabled
(Boolean supportUserEnabled) void
setTwoFactorAuthenticationEnabled
(Boolean twoFactorAuthenticationEnabled) void
setUserName
(String userName) boolean
Methods inherited from class com.cumulocity.rest.representation.CustomPropertiesMapRepresentation
getCustomProperties, setCustomProperties
Methods 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
-