@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2022-11-05T00:31:27.098Z") public class StudyParticipant extends Object
Constructor and Description |
---|
StudyParticipant() |
Modifier and Type | Method and Description |
---|---|
StudyParticipant |
addDataGroupsItem(String dataGroupsItem) |
StudyParticipant |
addLanguagesItem(String languagesItem) |
StudyParticipant |
addRolesItem(Role rolesItem) |
StudyParticipant |
attributes(Map<String,String> attributes) |
StudyParticipant |
clientData(Object clientData) |
StudyParticipant |
clientTimeZone(String clientTimeZone) |
StudyParticipant |
consented(Boolean consented) |
StudyParticipant |
dataGroups(List<String> dataGroups) |
StudyParticipant |
email(String email) |
StudyParticipant |
emailVerified(Boolean emailVerified) |
boolean |
equals(Object o) |
StudyParticipant |
externalIds(Map<String,String> externalIds) |
StudyParticipant |
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.
|
Map<String,List<UserConsentHistory>> |
getConsentHistories()
A complete historical record of all the user's consents and withdrawals of consent for all studies in the app.
|
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.
|
Map<String,EnrollmentInfo> |
getEnrollments()
Records of every enrollment (whether withdrawn or not) in every study for this participant.
|
Map<String,String> |
getExternalIds()
The exernal IDs this participant is associated to, mapped to the study that issued the external ID.
|
String |
getFirstName()
First name (given name) of the user.
|
String |
getHealthCode()
Only included in studies that have been configured to return the health code, and only to researchers through the researcher APIs.
|
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.
|
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).
|
Phone |
getPhone()
Get phone
|
List<Role> |
getRoles()
Get roles
|
SharingScope |
getSharingScope()
Get sharingScope
|
AccountStatus |
getStatus()
Get status
|
List<String> |
getStudyIds()
The studies this participant is associated to.
|
String |
getSynapseUserId()
The numerical identifier for a Synapse account.
|
String |
getTimeZone()
User's original time zone, as measured by the timezone used to request activities, as a string offset in ISO8601 format.
|
String |
getType()
StudyParticipant
|
int |
hashCode() |
Boolean |
isConsented()
True if the user has consented to all required consents, based on the user's most recent request info (client info, languages, data groups).
|
Boolean |
isEmailVerified()
Has the user verified that they have control of this email address?
|
Boolean |
isNotifyByEmail()
True if the user has consented to be contacted via email outside the application, false otherwise.
|
Boolean |
isPhoneVerified()
Has the user verified that they have control of this phone number?
|
StudyParticipant |
languages(List<String> languages) |
StudyParticipant |
lastName(String lastName) |
StudyParticipant |
note(String note) |
StudyParticipant |
notifyByEmail(Boolean notifyByEmail) |
StudyParticipant |
orgMembership(String orgMembership) |
StudyParticipant |
phone(Phone phone) |
StudyParticipant |
phoneVerified(Boolean phoneVerified) |
StudyParticipant |
putAttributesItem(String key,
String attributesItem) |
StudyParticipant |
putExternalIdsItem(String key,
String externalIdsItem) |
StudyParticipant |
roles(List<Role> roles) |
void |
setAttributes(Map<String,String> attributes) |
void |
setClientData(Object clientData) |
void |
setClientTimeZone(String clientTimeZone) |
void |
setConsented(Boolean consented) |
void |
setDataGroups(List<String> dataGroups) |
void |
setEmail(String email) |
void |
setEmailVerified(Boolean emailVerified) |
void |
setExternalIds(Map<String,String> externalIds) |
void |
setFirstName(String firstName) |
void |
setLanguages(List<String> languages) |
void |
setLastName(String lastName) |
void |
setNote(String note) |
void |
setNotifyByEmail(Boolean notifyByEmail) |
void |
setOrgMembership(String orgMembership) |
void |
setPhone(Phone phone) |
void |
setPhoneVerified(Boolean phoneVerified) |
void |
setRoles(List<Role> roles) |
void |
setSharingScope(SharingScope sharingScope) |
void |
setStatus(AccountStatus status) |
void |
setSynapseUserId(String synapseUserId) |
void |
setTimeZone(String timeZone) |
StudyParticipant |
sharingScope(SharingScope sharingScope) |
StudyParticipant |
status(AccountStatus status) |
StudyParticipant |
synapseUserId(String synapseUserId) |
StudyParticipant |
timeZone(String timeZone) |
String |
toString() |
public StudyParticipant firstName(String firstName)
public String getFirstName()
public void setFirstName(String firstName)
public StudyParticipant lastName(String lastName)
public String getLastName()
public void setLastName(String lastName)
public StudyParticipant synapseUserId(String synapseUserId)
public String getSynapseUserId()
public void setSynapseUserId(String synapseUserId)
public String getId()
public StudyParticipant notifyByEmail(Boolean notifyByEmail)
public Boolean isNotifyByEmail()
public void setNotifyByEmail(Boolean notifyByEmail)
public StudyParticipant attributes(Map<String,String> attributes)
public StudyParticipant putAttributesItem(String key, String attributesItem)
public Map<String,String> getAttributes()
public StudyParticipant sharingScope(SharingScope sharingScope)
public SharingScope getSharingScope()
public void setSharingScope(SharingScope sharingScope)
public DateTime getCreatedOn()
public StudyParticipant emailVerified(Boolean emailVerified)
public Boolean isEmailVerified()
public void setEmailVerified(Boolean emailVerified)
public StudyParticipant phoneVerified(Boolean phoneVerified)
public Boolean isPhoneVerified()
public void setPhoneVerified(Boolean phoneVerified)
public StudyParticipant status(AccountStatus status)
public AccountStatus getStatus()
public void setStatus(AccountStatus status)
public StudyParticipant roles(List<Role> roles)
public StudyParticipant addRolesItem(Role rolesItem)
public StudyParticipant dataGroups(List<String> dataGroups)
public StudyParticipant addDataGroupsItem(String dataGroupsItem)
public List<String> getDataGroups()
public StudyParticipant clientData(Object clientData)
public Object getClientData()
public void setClientData(Object clientData)
public StudyParticipant languages(List<String> languages)
public StudyParticipant addLanguagesItem(String languagesItem)
public List<String> getLanguages()
public List<String> getStudyIds()
public StudyParticipant externalIds(Map<String,String> externalIds)
public StudyParticipant putExternalIdsItem(String key, String externalIdsItem)
public Map<String,String> getExternalIds()
public StudyParticipant orgMembership(String orgMembership)
public String getOrgMembership()
public void setOrgMembership(String orgMembership)
public StudyParticipant note(String note)
public String getNote()
public void setNote(String note)
public StudyParticipant clientTimeZone(String clientTimeZone)
public String getClientTimeZone()
public void setClientTimeZone(String clientTimeZone)
public String getHealthCode()
public StudyParticipant email(String email)
public String getEmail()
public void setEmail(String email)
public StudyParticipant phone(Phone phone)
public Phone getPhone()
public void setPhone(Phone phone)
public Map<String,List<UserConsentHistory>> getConsentHistories()
public Map<String,EnrollmentInfo> getEnrollments()
public StudyParticipant consented(Boolean consented)
public Boolean isConsented()
public void setConsented(Boolean consented)
public StudyParticipant timeZone(String timeZone)
public String getTimeZone()
public void setTimeZone(String timeZone)
public String getType()
Copyright © 2022 Sage Bionetworks. All rights reserved.