public class UserRepresentation extends CustomPropertiesMapRepresentation
Constructor and Description |
---|
UserRepresentation() |
getCustomProperties, setCustomProperties
getSelf, getSelfDecoded, setSelf, toJSON, toString
@JSONProperty(ignoreIfNull=true) public String getUserName()
public void setUserName(String userName)
@JSONProperty(ignoreIfNull=true) public String getOwner()
public void setOwner(String owner)
@JSONProperty(ignoreIfNull=true) public String getDelegatedBy()
public void setDelegatedBy(String delegatedBy)
@JSONProperty(ignoreIfNull=true) public String getPassword()
public void setPassword(String password)
@JSONProperty(ignoreIfNull=true) public String getFirstName()
public void setFirstName(String firstName)
@JSONProperty(ignoreIfNull=true) public String getLastName()
public void setLastName(String lastName)
@JSONProperty(ignoreIfNull=true) public String getPhone()
public void setPhone(String phone)
@JSONProperty(ignoreIfNull=true) public String getEmail()
public void setEmail(String email)
@JSONProperty(ignoreIfNull=true) public String getPasswordStrength()
public void setPasswordStrength(String passwordStrength)
@JSONProperty(ignoreIfNull=true) public Boolean getShouldResetPassword()
public void setShouldResetPassword(Boolean shouldResetPassword)
@JSONProperty(ignoreIfNull=true) public Boolean getSupportUserEnabled()
public void setSupportUserEnabled(Boolean supportUserEnabled)
@JSONProperty(ignoreIfNull=true) public Boolean getEnabled()
public void setEnabled(Boolean enabled)
@JSONProperty(ignoreIfNull=true) public Map<String,List<String>> getDevicePermissions()
@JSONProperty(ignoreIfNull=true) public GroupReferenceCollectionRepresentation getGroups()
public void setGroups(GroupReferenceCollectionRepresentation groups)
@JSONProperty(ignoreIfNull=true) public RoleReferenceCollectionRepresentation getRoles()
public void setRoles(RoleReferenceCollectionRepresentation roles)
@JSONProperty(ignoreIfNull=true) public String getId()
public void setId(String id)
@JSONProperty(value="deprecated_LastPasswordChange", ignore=true) @Deprecated public Date getLastPasswordChange()
@Deprecated public void setLastPasswordChange(Date lastPasswordChange)
@JSONProperty(value="lastPasswordChange", ignoreIfNull=true) @JSONConverter(type=com.cumulocity.model.DateTimeConverter.class) public org.joda.time.DateTime getLastPasswordChangeDateTime()
public void setLastPasswordChangeDateTime(org.joda.time.DateTime lastPasswordChange)
@JSONProperty(ignoreIfNull=true) public List<ApplicationRepresentation> getApplications()
@JSONTypeHint(value=ApplicationRepresentation.class) public void setApplications(List<ApplicationRepresentation> applications)
@JSONProperty(ignoreIfNull=true) public Boolean getSendPasswordResetEmail()
@JSONProperty(ignore=true) public boolean shouldSendPasswordResetEmail()
@JSONProperty(ignoreIfNull=true) public void setSendPasswordResetEmail(Boolean sendPasswordResetEmail)
@JSONProperty(ignoreIfNull=true) public Boolean getTwoFactorAuthenticationEnabled()
public void setTwoFactorAuthenticationEnabled(Boolean twoFactorAuthenticationEnabled)
@JSONProperty(ignoreIfNull=true) public Boolean getNewsletter()
public void setNewsletter(Boolean newsletter)
@JSONProperty(ignoreIfNull=true) public Integer getSubusersCount()
public void setSubusersCount(Integer subusersCount)
@JSONProperty(ignoreIfNull=true) public String getDisplayName()
public void setDisplayName(String displayName)
Copyright © 2020 (C) Cumulocity GmbH. All rights reserved.