StringValue

data class StringValue(val value: String) : RatingScaleItemValue

A string representing the value for a rating in a custom metric rating scale.

Constructors

Link copied to clipboard
constructor(value: String)

Properties

Link copied to clipboard

Inherited functions

Link copied to clipboard

Casts this RatingScaleItemValue as a FloatValue and retrieves its kotlin.Float value. Throws an exception if the RatingScaleItemValue is not a FloatValue.

Link copied to clipboard

Casts this RatingScaleItemValue as a FloatValue and retrieves its kotlin.Float value. Returns null if the RatingScaleItemValue is not a FloatValue.

Link copied to clipboard

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

Link copied to clipboard

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