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
public class UserRepresentation extends CustomPropertiesMapRepresentation
-
-
Constructor Summary
Constructors Constructor Description UserRepresentation()
-
Method Summary
-
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
-
-
-
-
Method Detail
-
getUserName
@JSONProperty(ignoreIfNull=true) public String getUserName()
-
setUserName
public void setUserName(String userName)
-
getOwner
@JSONProperty(ignoreIfNull=true) public String getOwner()
-
setOwner
public void setOwner(String owner)
-
getDelegatedBy
@JSONProperty(ignoreIfNull=true) public String getDelegatedBy()
-
setDelegatedBy
public void setDelegatedBy(String delegatedBy)
-
getPassword
@JSONProperty(ignoreIfNull=true) public String getPassword()
-
setPassword
public void setPassword(String password)
-
getFirstName
@JSONProperty(ignoreIfNull=true) public String getFirstName()
-
setFirstName
public void setFirstName(String firstName)
-
getLastName
@JSONProperty(ignoreIfNull=true) public String getLastName()
-
setLastName
public void setLastName(String lastName)
-
getPhone
@JSONProperty(ignoreIfNull=true) public String getPhone()
-
setPhone
public void setPhone(String phone)
-
getEmail
@JSONProperty(ignoreIfNull=true) public String getEmail()
-
setEmail
public void setEmail(String email)
-
getPasswordStrength
@JSONProperty(ignoreIfNull=true) public String getPasswordStrength()
-
setPasswordStrength
public void setPasswordStrength(String passwordStrength)
-
getShouldResetPassword
@JSONProperty(ignoreIfNull=true) public Boolean getShouldResetPassword()
-
setShouldResetPassword
public void setShouldResetPassword(Boolean shouldResetPassword)
-
getSupportUserEnabled
@JSONProperty(ignoreIfNull=true) public Boolean getSupportUserEnabled()
-
setSupportUserEnabled
public void setSupportUserEnabled(Boolean supportUserEnabled)
-
getEnabled
@JSONProperty(ignoreIfNull=true) public Boolean getEnabled()
-
setEnabled
public void setEnabled(Boolean enabled)
-
getDevicePermissions
@JSONProperty(ignoreIfNull=true) public Map<String,List<String>> getDevicePermissions()
-
getGroups
@JSONProperty(ignoreIfNull=true) public GroupReferenceCollectionRepresentation getGroups()
-
setGroups
public void setGroups(GroupReferenceCollectionRepresentation groups)
-
getRoles
@JSONProperty(ignoreIfNull=true) public RoleReferenceCollectionRepresentation getRoles()
-
setRoles
public void setRoles(RoleReferenceCollectionRepresentation roles)
-
getId
@JSONProperty(ignoreIfNull=true) public String getId()
-
setId
public void setId(String id)
-
getLastPasswordChange
@JSONProperty(value="deprecated_LastPasswordChange", ignore=true) @Deprecated public Date getLastPasswordChange()
Deprecated.
-
setLastPasswordChange
@Deprecated public void setLastPasswordChange(Date lastPasswordChange)
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
@JSONProperty(ignoreIfNull=true) public List<ApplicationRepresentation> getApplications()
-
setApplications
@JSONTypeHint(ApplicationRepresentation.class) public void setApplications(List<ApplicationRepresentation> applications)
-
getSendPasswordResetEmail
@JSONProperty(ignoreIfNull=true) public Boolean getSendPasswordResetEmail()
-
shouldSendPasswordResetEmail
@JSONProperty(ignore=true) public boolean shouldSendPasswordResetEmail()
-
setSendPasswordResetEmail
@JSONProperty(ignoreIfNull=true) public void setSendPasswordResetEmail(Boolean sendPasswordResetEmail)
-
getTwoFactorAuthenticationEnabled
@JSONProperty(ignoreIfNull=true) public Boolean getTwoFactorAuthenticationEnabled()
-
setTwoFactorAuthenticationEnabled
public void setTwoFactorAuthenticationEnabled(Boolean twoFactorAuthenticationEnabled)
-
getNewsletter
@JSONProperty(ignoreIfNull=true) public Boolean getNewsletter()
-
setNewsletter
public void setNewsletter(Boolean newsletter)
-
getSubusersCount
@JSONProperty(ignoreIfNull=true) public Integer getSubusersCount()
-
setSubusersCount
public void setSubusersCount(Integer subusersCount)
-
getDisplayName
@JSONProperty(ignoreIfNull=true) public String getDisplayName()
-
setDisplayName
public void setDisplayName(String displayName)
-
-