sdk-search / com.tomtom.online.sdk.search.poi.details / Rating

Rating

@PublicPreview("2021.06") data class Rating : Serializable

An object that contains rating information.

Parameters

totalRatings - Total number of ratings.

value - Rating value, between min/max values inclusive.

minValue - Min value of the rating.

maxValue - Max value of the rating.

Constructors

<init>

Rating(totalRatings: Int?, value: Double?, minValue: Double?, maxValue: Double?)

An object that contains rating information.

Properties

maxValue

val maxValue: Double?

Max value of the rating.

minValue

val minValue: Double?

Min value of the rating.

totalRatings

val totalRatings: Int?

Total number of ratings.

value

val value: Double?

Rating value, between min/max values inclusive.