MatrixRoutingResponse(results: MutableMap<MatrixRoutingResultKey!, MatrixRoutingResult!>!, error: ResponseStatus!, totalRoutes: Int, successfulRoutes: Int)
A constructor of the matrix routing Response called after a matrix routing Request. It initializes fields with the results of a matrix routing query.
results
- MutableMap<MatrixRoutingResultKey!, MatrixRoutingResult!>!: A map which contains the results of a matrix query.
error
- ResponseStatus!: The code which is used if an error occurred during routing.
totalRoutes
- Int: The number of total routes calculated.
successfulRoutes
- Int: The number of routes that were successful.