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()
)
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()
)
Properties
distance
Link copied to clipboard
@
SerializedName
(
value
=
"distance"
)
var
distance
:
Double
?
=
null
duration
Link copied to clipboard
@
SerializedName
(
value
=
"duration"
)
var
duration
:
Double
?
=
null
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
?
=
null
weight
Name
Link copied to clipboard
@
SerializedName
(
value
=
"weight_name"
)
var
weightName
:
String
?
=
null