StringValue

data class StringValue(val value: String) : EvaluationAnswerData

The string value for an answer in a contact evaluation.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited 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.