StudyDetails

@Serializable
data class StudyDetails(val studyId: UUID, val ownerId: UUID, val name: String, val createdOn: Instant, val description: String?, val invitation: StudyInvitation, val protocolSnapshot: StudyProtocolSnapshot?)

Contains detailed information about a study, such as the configured study protocol.

Constructors

Link copied to clipboard
fun StudyDetails(studyId: UUID, ownerId: UUID, name: String, createdOn: Instant, description: String?, invitation: StudyInvitation, protocolSnapshot: StudyProtocolSnapshot?)

Properties

Link copied to clipboard
val createdOn: Instant

The date when this study was created.

Link copied to clipboard

A description for the study, assigned by, and only visible to, the study owner.

Link copied to clipboard
val invitation: StudyInvitation

A description of the study, shared with participants once they are invited to the study.

Link copied to clipboard

A descriptive name for the study, assigned by, and only visible to, the study owner.

Link copied to clipboard
val ownerId: UUID

The ID of the entity (e.g., person or group) that created this study.

Link copied to clipboard
val protocolSnapshot: StudyProtocolSnapshot?

A snapshot of the protocol to use in this study, or null when not yet defined.

Link copied to clipboard
val studyId: UUID