DistanceValue

data class DistanceValue(val value: Double? = null, val text: String? = null)

The total distance expressed in meters (value) and as text. The textual value uses the unit system specified with the units parameter of the original request.

Parameters

value The distance in meters.

text

The readable distance using the unit system specified.

Constructors

Link copied to clipboard
constructor(value: Double? = null, text: String? = null)

Properties

Link copied to clipboard
@SerializedName(value = "text")
val text: String? = null
Link copied to clipboard
@SerializedName(value = "value")
val value: Double? = null