RatingLevel

@ApiStatus.Experimental
data class RatingLevel constructor(val id: String, val description: String = id)

One level on an ordinal rating scale, such as one point on a five-point mood scale. The id identifies the level on the wire and in provider responses. The description defaults to the id, so a caller can name a level once and use that name as both its identity and its label.

Constructors

Link copied to clipboard
constructor(id: String, description: String = id)

Properties

Link copied to clipboard
Link copied to clipboard
val id: String