ScheduledSession

@Serializable
data class ScheduledSession(val refGuid: String, val instanceGuid: String, val startEventId: String? = null, var startTime: LocalTime, val delayTime: String? = null, val expiration: DateTimePeriod, val persistent: Boolean = false, val studyBurstId: String? = null, val studyBurstNum: Int? = null, val timeWindowGuid: String? = null, val assessments: List<ScheduledAssessment>, val startDate: LocalDate, val endDate: LocalDate, val type: String? = null)

An individual session instance the participant should perform as part of the study. The refGuid property will refer to a session in the list of sessions in this timeline. The instanceGuid is a unique GUID to identify any data that is generated from the execution of this scheduled session. This allows scientists to contextualize data based on when it was gathered in the execution of the study’s schedule. Further details about how a client should interpret a timeline can be found at the Bridge developer portal.

Parameters

refGuid
instanceGuid
startEventId

An event ID for this scheduled session. The event ID may be mapped to a timestamp for a user. If the event ID does not exist for the user, the client should ignore this scheduled session. Otherwise, it should be shown to the user according to the scheduling information.

startDay
endDay
startTime
delayTime
expiration
persistent
studyBurstId
studyBurstNum
timeWindowGuid
assessments
type

ScheduledSession

Constructors

Link copied to clipboard
constructor(refGuid: String, instanceGuid: String, startEventId: String? = null, startTime: LocalTime, delayTime: String? = null, expiration: DateTimePeriod, persistent: Boolean = false, studyBurstId: String? = null, studyBurstNum: Int? = null, timeWindowGuid: String? = null, assessments: List<ScheduledAssessment>, startDate: LocalDate, endDate: LocalDate, type: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "assessments")
val assessments: List<ScheduledAssessment>
Link copied to clipboard
@SerialName(value = "delayTime")
val delayTime: String? = null
Link copied to clipboard
@SerialName(value = "endDate")
val endDate: LocalDate
Link copied to clipboard
@SerialName(value = "expiration")
val expiration: DateTimePeriod
Link copied to clipboard
@SerialName(value = "instanceGuid")
val instanceGuid: String
Link copied to clipboard
@SerialName(value = "persistent")
val persistent: Boolean = false
Link copied to clipboard
@SerialName(value = "refGuid")
val refGuid: String
Link copied to clipboard
@SerialName(value = "startDate")
val startDate: LocalDate
Link copied to clipboard
@Transient
val startDateTime: LocalDateTime
Link copied to clipboard
@SerialName(value = "startEventId")
val startEventId: String? = null
Link copied to clipboard
@SerialName(value = "startTime")
var startTime: LocalTime
Link copied to clipboard
@SerialName(value = "studyBurstId")
val studyBurstId: String? = null
Link copied to clipboard
@SerialName(value = "studyBurstNum")
val studyBurstNum: Int? = null
Link copied to clipboard
@SerialName(value = "timeWindowGuid")
val timeWindowGuid: String? = null
Link copied to clipboard
@SerialName(value = "type")
val type: String? = null