Route

@Serializable
data class Route(val summary: RouteSummary, val segments: List<Segment>, val geometry: String? = null, val wayPoints: List<Int>? = null)

Single route variant returned by the API.

Constructors

Link copied to clipboard
constructor(summary: RouteSummary, segments: List<Segment>, geometry: String? = null, wayPoints: List<Int>? = null)

Properties

Link copied to clipboard
val geometry: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
@SerialName(value = "way_points")
val wayPoints: List<Int>? = null