Package com.azure.maps.route.models
Class RouteRangeResult
java.lang.Object
com.azure.maps.route.models.RouteRangeResult
- All Implemented Interfaces:
com.azure.json.JsonSerializable<RouteRangeResult>
public final class RouteRangeResult
extends Object
implements com.azure.json.JsonSerializable<RouteRangeResult>
This object is returned from a successful Route Reachable Range call.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic RouteRangeResultfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of RouteRangeResult from the JsonReader.Get the formatVersion property: Format Version property.Get the reachableRange property: Reachable Range.Get the report property: Reports the effective settings used in the current call.setReachableRange(RouteRange reachableRange) Set the reachableRange property: Reachable Range.setReport(RouteReport report) Set the report property: Reports the effective settings used in the current call.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Constructor Details
-
RouteRangeResult
public RouteRangeResult()Creates an instance of RouteRangeResult class.
-
-
Method Details
-
getFormatVersion
Get the formatVersion property: Format Version property.- Returns:
- the formatVersion value.
-
getReachableRange
Get the reachableRange property: Reachable Range.- Returns:
- the reachableRange value.
-
setReachableRange
Set the reachableRange property: Reachable Range.- Parameters:
reachableRange- the reachableRange value to set.- Returns:
- the RouteRangeResult object itself.
-
getReport
Get the report property: Reports the effective settings used in the current call.- Returns:
- the report value.
-
setReport
Set the report property: Reports the effective settings used in the current call.- Parameters:
report- the report value to set.- Returns:
- the RouteRangeResult object itself.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<RouteRangeResult>- Throws:
IOException
-
fromJson
Reads an instance of RouteRangeResult from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of RouteRangeResult if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IOException- If an error occurs while reading the RouteRangeResult.
-