EvaluationAnswerData

Information about answer data for a contact evaluation. Answer data must be either string, numeric, or not applicable.

Inheritors

Types

Link copied to clipboard
data class NotApplicable(val value: Boolean) : EvaluationAnswerData

The flag to mark the question as not applicable.

Link copied to clipboard
data class NumericValue(val value: Double) : EvaluationAnswerData

The numeric value for an answer in a contact evaluation.

Link copied to clipboard
Link copied to clipboard
data class StringValue(val value: String) : EvaluationAnswerData

The string value for an answer in a contact evaluation.

Functions

Link copied to clipboard

Casts this EvaluationAnswerData as a NotApplicable and retrieves its kotlin.Boolean value. Throws an exception if the EvaluationAnswerData is not a NotApplicable.

Link copied to clipboard

Casts this EvaluationAnswerData as a NotApplicable and retrieves its kotlin.Boolean value. Returns null if the EvaluationAnswerData is not a NotApplicable.

Link copied to clipboard

Casts this EvaluationAnswerData as a NumericValue and retrieves its kotlin.Double value. Throws an exception if the EvaluationAnswerData is not a NumericValue.

Link copied to clipboard

Casts this EvaluationAnswerData as a NumericValue and retrieves its kotlin.Double value. Returns null if the EvaluationAnswerData is not a NumericValue.

Link copied to clipboard

Casts this EvaluationAnswerData as a StringValue and retrieves its kotlin.String value. Throws an exception if the EvaluationAnswerData is not a StringValue.

Link copied to clipboard

Casts this EvaluationAnswerData as a StringValue and retrieves its kotlin.String value. Returns null if the EvaluationAnswerData is not a StringValue.