Routes

data class Routes(    var weightName: String? = null,     var weight: Double? = null,     var duration: Double? = null,     var distance: Double? = null,     var legs: ArrayList<Legs> = arrayListOf(),     var geometry: Geometry? = Geometry())

Constructors

Link copied to clipboard
fun Routes(    weightName: String? = null,     weight: Double? = null,     duration: Double? = null,     distance: Double? = null,     legs: ArrayList<Legs> = arrayListOf(),     geometry: Geometry? = Geometry())

Properties

Link copied to clipboard
@SerializedName(value = "distance")
var distance: Double? = null
Link copied to clipboard
@SerializedName(value = "duration")
var duration: Double? = null
Link copied to clipboard
@SerializedName(value = "geometry")
var geometry: Geometry?
Link copied to clipboard
@SerializedName(value = "legs")
var legs: ArrayList<Legs>
Link copied to clipboard
@SerializedName(value = "weight")
var weight: Double? = null
Link copied to clipboard
@SerializedName(value = "weight_name")
var weightName: String? = null