MapsIndoorsAndroid
MapboxAdapter
/
com.mapsindoors.mapbox.services.distancematrix
/
DistanceMatrixResponse
Distance
Matrix
Response
class
DistanceMatrixResponse
(
var
code
:
String
=
""
,
var
durations
:
ArrayList
<
ArrayList
<
Double
>
?
>
=
arrayListOf()
,
var
distances
:
ArrayList
<
ArrayList
<
Double
>
?
>
=
arrayListOf()
,
var
destinations
:
ArrayList
<
Destinations
?
>
=
arrayListOf()
,
var
sources
:
ArrayList
<
Sources
?
>
=
arrayListOf()
)
Constructors
Functions
Properties
Constructors
Distance
Matrix
Response
Link copied to clipboard
fun
DistanceMatrixResponse
(
code
:
String
=
""
,
durations
:
ArrayList
<
ArrayList
<
Double
>
?
>
=
arrayListOf()
,
distances
:
ArrayList
<
ArrayList
<
Double
>
?
>
=
arrayListOf()
,
destinations
:
ArrayList
<
Destinations
?
>
=
arrayListOf()
,
sources
:
ArrayList
<
Sources
?
>
=
arrayListOf()
)
Functions
to
MPDistance
Matrix
Response
Link copied to clipboard
fun
toMPDistanceMatrixResponse
(
)
:
MPDistanceMatrixResponse
Properties
code
Link copied to clipboard
@
SerializedName
(
value
=
"code"
)
var
code
:
String
destinations
Link copied to clipboard
@
SerializedName
(
value
=
"destinations"
)
var
destinations
:
ArrayList
<
Destinations
?
>
distances
Link copied to clipboard
@
SerializedName
(
value
=
"distances"
)
var
distances
:
ArrayList
<
ArrayList
<
Double
>
?
>
durations
Link copied to clipboard
@
SerializedName
(
value
=
"durations"
)
var
durations
:
ArrayList
<
ArrayList
<
Double
>
?
>
sources
Link copied to clipboard
@
SerializedName
(
value
=
"sources"
)
var
sources
:
ArrayList
<
Sources
?
>