RoadSegment

@JsonClass(generateAdapter = true)
data class RoadSegment(@Json(name = "duration") val duration: String?, @Json(name = "placeId") val placeId: String)

Constructors

Link copied to clipboard
constructor(@Json(name = "duration") duration: String?, @Json(name = "placeId") placeId: String)

Properties

Link copied to clipboard

Duration of the road segment. Example: "8s"

Link copied to clipboard

Google Maps Place ID of the location. Example: "ChIJk_s92NyipBIRUMnDG8Kq2Js"