@Generated(value="io.swagger.codegen.languages.JavaClientCodegen", date="2023-07-13T01:30:51.265Z") public class Enrollment extends Object
Constructor and Description |
---|
Enrollment() |
Modifier and Type | Method and Description |
---|---|
Enrollment |
consentRequired(Boolean consentRequired) |
Enrollment |
enrolledBy(String enrolledBy) |
Enrollment |
enrolledOn(DateTime enrolledOn) |
boolean |
equals(Object o) |
Enrollment |
externalId(String externalId) |
String |
getEnrolledBy()
If the user is not enrolled through consenting to participate, this will be the user ID of the API caller who enrolled the user in the study (otherwise it is blank).
|
DateTime |
getEnrolledOn()
The timestamp of enrollment (either the timestamp of the consent signature if self-enrolled, or the time the enrollment record was created).
|
String |
getExternalId()
An optional, arbitrary string identifier that identifies this user in an external system (as a member of this study; one external ID can be tracked per study).
|
String |
getNote()
An optional, study-scoped participant note.
|
String |
getType()
Enrollment
|
String |
getUserId()
The ID of the enrolled user
|
String |
getWithdrawalNote()
An optional note that can be supplied by the person doing a withdrawal as to why a participant is being removed from the study.
|
String |
getWithdrawnBy()
If the user is not withdrawing their own consent, this will be the user ID of the API caller who withdrew the user (otherwise it is blank).
|
DateTime |
getWithdrawnOn()
The timestamp of withdrawal from the study (either the timestamp of the revocation of the consent signature if self-enrolled, or the time the enrollment record was withdrawn).
|
int |
hashCode() |
Boolean |
isConsentRequired()
If true, this user must still sign consents for the study before they can participate.
|
Enrollment |
note(String note) |
void |
setConsentRequired(Boolean consentRequired) |
void |
setEnrolledBy(String enrolledBy) |
void |
setEnrolledOn(DateTime enrolledOn) |
void |
setExternalId(String externalId) |
void |
setNote(String note) |
void |
setUserId(String userId) |
void |
setWithdrawalNote(String withdrawalNote) |
void |
setWithdrawnBy(String withdrawnBy) |
void |
setWithdrawnOn(DateTime withdrawnOn) |
String |
toString() |
Enrollment |
userId(String userId) |
Enrollment |
withdrawalNote(String withdrawalNote) |
Enrollment |
withdrawnBy(String withdrawnBy) |
Enrollment |
withdrawnOn(DateTime withdrawnOn) |
public Enrollment externalId(String externalId)
public String getExternalId()
public void setExternalId(String externalId)
public Enrollment userId(String userId)
public String getUserId()
public void setUserId(String userId)
public Enrollment consentRequired(Boolean consentRequired)
public Boolean isConsentRequired()
public void setConsentRequired(Boolean consentRequired)
public Enrollment enrolledOn(DateTime enrolledOn)
public DateTime getEnrolledOn()
public void setEnrolledOn(DateTime enrolledOn)
public Enrollment enrolledBy(String enrolledBy)
public String getEnrolledBy()
public void setEnrolledBy(String enrolledBy)
public Enrollment withdrawnOn(DateTime withdrawnOn)
public DateTime getWithdrawnOn()
public void setWithdrawnOn(DateTime withdrawnOn)
public Enrollment withdrawnBy(String withdrawnBy)
public String getWithdrawnBy()
public void setWithdrawnBy(String withdrawnBy)
public Enrollment withdrawalNote(String withdrawalNote)
public String getWithdrawalNote()
public void setWithdrawalNote(String withdrawalNote)
public Enrollment note(String note)
public String getNote()
public void setNote(String note)
public String getType()
Copyright © 2023 Sage Bionetworks. All rights reserved.