AssessmentInfo

@Serializable
data class AssessmentInfo(val key: String, val guid: String, val appId: String, val identifier: String, val revision: Int? = null, val label: String, val minutesToComplete: Int? = null, val colorScheme: ColorScheme? = null, val configUrl: String, val imageResource: ImageResource? = null, val type: String? = null)

Information about an assessment in order to render it in a UI prior to execution.

Parameters

key

Because assessments can be configured with different display information, they are not referenced in the schedule portion of a timeline by their GUIDs. Instead they are given a unique string key that is used to look up the assessment.

guid

Each assessment revision is assigned a unique GUID which can be used to retrieve it through the API. Assessments will also have a unique combination of an identifier and a revision, and can be retrieved as a set of revisions under a given identifier.

appId
identifier

A human-readable identifier for an assessment, which can have one or more revisions.

revision

The revision of the assessment under the given identifier (the identifier and the revision together are mapped to a single GUID which can be used to reference the assessment; only the GUID is required in this object).

label
minutesToComplete

The number of minutes it takes for a participant to complete this assessment.

colorScheme
configUrl

The URL to download the configuration associated with this assessment.

type

AssessmentInfo

Constructors

Link copied to clipboard
constructor(key: String, guid: String, appId: String, identifier: String, revision: Int? = null, label: String, minutesToComplete: Int? = null, colorScheme: ColorScheme? = null, configUrl: String, imageResource: ImageResource? = null, type: String? = null)

Properties

Link copied to clipboard
@SerialName(value = "appId")
val appId: String
Link copied to clipboard
@SerialName(value = "colorScheme")
val colorScheme: ColorScheme? = null
Link copied to clipboard
@Transient
val configPath: String

Path portion of config url

Link copied to clipboard
@SerialName(value = "configUrl")
val configUrl: String
Link copied to clipboard
@SerialName(value = "guid")
val guid: String
Link copied to clipboard
@SerialName(value = "identifier")
val identifier: String
Link copied to clipboard
@SerialName(value = "imageResource")
val imageResource: ImageResource? = null
Link copied to clipboard
@SerialName(value = "key")
val key: String
Link copied to clipboard
@SerialName(value = "label")
val label: String
Link copied to clipboard
@SerialName(value = "minutesToComplete")
val minutesToComplete: Int? = null
Link copied to clipboard
@SerialName(value = "revision")
val revision: Int? = null
Link copied to clipboard
@SerialName(value = "type")
val type: String? = null