MapsIndoorsAndroid
androidJvm
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()
)
Members
Constructors
Routes
Link copied to clipboard
constructor
(
weightName
:
String
?
=
null
,
weight
:
Double
?
=
null
,
duration
:
Double
?
=
null
,
distance
:
Double
?
=
null
,
legs
:
ArrayList
<
Legs
>
=
arrayListOf()
,
geometry
:
Geometry
?
=
Geometry()
)
Properties
distance
Link copied to clipboard
@
SerializedName
(
value
=
"distance"
)
var
distance
:
Double
?
duration
Link copied to clipboard
@
SerializedName
(
value
=
"duration"
)
var
duration
:
Double
?
geometry
Link copied to clipboard
@
SerializedName
(
value
=
"geometry"
)
var
geometry
:
Geometry
?
legs
Link copied to clipboard
@
SerializedName
(
value
=
"legs"
)
var
legs
:
ArrayList
<
Legs
>
weight
Link copied to clipboard
@
SerializedName
(
value
=
"weight"
)
var
weight
:
Double
?
weight
Name
Link copied to clipboard
@
SerializedName
(
value
=
"weight_name"
)
var
weightName
:
String
?