RouteMatrixSummary Class
- java.
lang. Object - com.
azure. maps. route. models. RouteMatrixSummary
- com.
Implements
public final class RouteMatrixSummary
implements JsonSerializable<RouteMatrixSummary>
Summary object.
Constructor Summary
| Constructor | Description |
|---|---|
| RouteMatrixSummary() |
Creates an instance of Route |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Route |
fromJson(JsonReader jsonReader)
Reads an instance of Route |
| Integer |
getSuccessfulRoutes()
Get the successful |
| Integer |
getTotalRoutes()
Get the total |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Constructor Details
RouteMatrixSummary
public RouteMatrixSummary()
Creates an instance of RouteMatrixSummary class.
Method Details
fromJson
public static RouteMatrixSummary fromJson(JsonReader jsonReader)
Reads an instance of RouteMatrixSummary from the JsonReader.
Parameters:
Returns:
Throws:
getSuccessfulRoutes
public Integer getSuccessfulRoutes()
Get the successfulRoutes property: Number of successful routes in the response.
Returns:
getTotalRoutes
public Integer getTotalRoutes()
Get the totalRoutes property: Total number of routes requested. Number of cells in the input matrix.
Returns: