MapsIndoorsAndroid
MapboxAdapter
/
com.mapsindoors.mapbox.services.directions.data
/
Routes
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()
)
Content copied to clipboard
Constructors
Properties
Constructors
Routes
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()
)
Content copied to clipboard
Properties
distance
Link copied to clipboard
@
SerializedName
(
value
=
"distance"
)
var
distance
:
Double
?
=
null
Content copied to clipboard
duration
Link copied to clipboard
@
SerializedName
(
value
=
"duration"
)
var
duration
:
Double
?
=
null
Content copied to clipboard
geometry
Link copied to clipboard
@
SerializedName
(
value
=
"geometry"
)
var
geometry
:
Geometry
?
Content copied to clipboard
legs
Link copied to clipboard
@
SerializedName
(
value
=
"legs"
)
var
legs
:
ArrayList
<
Legs
>
Content copied to clipboard
weight
Link copied to clipboard
@
SerializedName
(
value
=
"weight"
)
var
weight
:
Double
?
=
null
Content copied to clipboard
weightName
Link copied to clipboard
@
SerializedName
(
value
=
"weight_name"
)
var
weightName
:
String
?
=
null
Content copied to clipboard