@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2022-11-05T00:31:27.098Z") public class Account extends Object
Constructor and Description |
---|
Account() |
Modifier and Type | Method and Description |
---|---|
Account |
addDataGroupsItem(String dataGroupsItem) |
Account |
addLanguagesItem(String languagesItem) |
Account |
addRolesItem(Role rolesItem) |
Account |
attributes(Map<String,String> attributes) |
Account |
clientData(Object clientData) |
Account |
clientTimeZone(String clientTimeZone) |
Account |
dataGroups(List<String> dataGroups) |
Account |
email(String email) |
Account |
emailVerified(Boolean emailVerified) |
boolean |
equals(Object o) |
Account |
firstName(String firstName) |
Map<String,String> |
getAttributes()
A map of user profile attributes that have been set for this user (the attributes themselves must be specified in the app's configuration, and the values are stored encrypted in case they capture personally-identifying information).
|
Object |
getClientData()
Client data for a user should be in a syntactically valid JSON format.
|
String |
getClientTimeZone()
Participant's time zone.
|
DateTime |
getCreatedOn()
The date and time the account was created.
|
List<String> |
getDataGroups()
The data groups set for this user.
|
String |
getEmail()
The user's email.
|
String |
getFirstName()
First name (given name) of the user.
|
String |
getId()
An ID assigned to this account by Bridge system.
|
List<String> |
getLanguages()
Two letter language codes to assign to this user (these are initially retrieved from the user's `Accept-Language` header and then persisted as part of account configuration).
|
String |
getLastName()
Last name (family name) of the user.
|
DateTime |
getModifiedOn()
The date and time the account was last modified.
|
String |
getNote()
Optional note related to user account.
|
String |
getOrgMembership()
The identifier of the organization this account is a member of (this will be an administrative account and not a study participant).
|
String |
getPassword()
Account password.
|
Phone |
getPhone()
Get phone
|
List<Role> |
getRoles()
Get roles
|
AccountStatus |
getStatus()
Get status
|
String |
getSynapseUserId()
The numerical identifier for a Synapse account.
|
String |
getType()
Account
|
Long |
getVersion()
The optimistic locking version of the account.
|
int |
hashCode() |
Boolean |
isAdmin()
True if this is an administrative account (usually with roles and an association to an organization), or false if this is a study participant account.
|
Boolean |
isEmailVerified()
Has the user verified that they have control of this email address?
|
Boolean |
isPhoneVerified()
Has the user verified that they have control of this phone number?
|
Account |
languages(List<String> languages) |
Account |
lastName(String lastName) |
Account |
note(String note) |
Account |
orgMembership(String orgMembership) |
Account |
password(String password) |
Account |
phone(Phone phone) |
Account |
phoneVerified(Boolean phoneVerified) |
Account |
putAttributesItem(String key,
String attributesItem) |
Account |
roles(List<Role> roles) |
void |
setAttributes(Map<String,String> attributes) |
void |
setClientData(Object clientData) |
void |
setClientTimeZone(String clientTimeZone) |
void |
setDataGroups(List<String> dataGroups) |
void |
setEmail(String email) |
void |
setEmailVerified(Boolean emailVerified) |
void |
setFirstName(String firstName) |
void |
setLanguages(List<String> languages) |
void |
setLastName(String lastName) |
void |
setNote(String note) |
void |
setOrgMembership(String orgMembership) |
void |
setPassword(String password) |
void |
setPhone(Phone phone) |
void |
setPhoneVerified(Boolean phoneVerified) |
void |
setRoles(List<Role> roles) |
void |
setStatus(AccountStatus status) |
void |
setSynapseUserId(String synapseUserId) |
void |
setVersion(Long version) |
Account |
status(AccountStatus status) |
Account |
synapseUserId(String synapseUserId) |
String |
toString() |
Account |
version(Long version) |
public String getId()
public String getFirstName()
public void setFirstName(String firstName)
public String getLastName()
public void setLastName(String lastName)
public String getSynapseUserId()
public void setSynapseUserId(String synapseUserId)
public String getEmail()
public void setEmail(String email)
public Phone getPhone()
public void setPhone(Phone phone)
public String getPassword()
public void setPassword(String password)
public Map<String,String> getAttributes()
public DateTime getCreatedOn()
public DateTime getModifiedOn()
public Boolean isEmailVerified()
public void setEmailVerified(Boolean emailVerified)
public Boolean isPhoneVerified()
public void setPhoneVerified(Boolean phoneVerified)
public Account status(AccountStatus status)
public AccountStatus getStatus()
public void setStatus(AccountStatus status)
public List<String> getDataGroups()
public Object getClientData()
public void setClientData(Object clientData)
public List<String> getLanguages()
public String getOrgMembership()
public void setOrgMembership(String orgMembership)
public String getNote()
public void setNote(String note)
public String getClientTimeZone()
public void setClientTimeZone(String clientTimeZone)
public Boolean isAdmin()
public Long getVersion()
public void setVersion(Long version)
public String getType()
Copyright © 2022 Sage Bionetworks. All rights reserved.