sdk-search / com.tomtom.online.sdk.search.data.poidetails / Rating

Rating

open class Rating : Serializable

Object that contains rating information on a scale from min and max values.

Constructors

<init>

Rating()

Object that contains rating information on a scale from min and max values.

Functions

getMaxValue

open fun getMaxValue(): Optional<Double!>!

Returns the max value of the rating.

getMinValue

open fun getMinValue(): Optional<Double!>!

Returns the min value of the rating.

getTotalRatings

open fun getTotalRatings(): Optional<Int!>!

Returns the total number of ratings.

getValue

open fun getValue(): Optional<Double!>!

Returns the rating value, between min/max values inclusive.

toString

open fun toString(): String