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 Details

    • RouteRangeResult

      public RouteRangeResult()
      Creates an instance of RouteRangeResult class.
  • Method Details

    • getFormatVersion

      public String getFormatVersion()
      Get the formatVersion property: Format Version property.
      Returns:
      the formatVersion value.
    • getReachableRange

      public RouteRange getReachableRange()
      Get the reachableRange property: Reachable Range.
      Returns:
      the reachableRange value.
    • setReachableRange

      public RouteRangeResult setReachableRange(RouteRange reachableRange)
      Set the reachableRange property: Reachable Range.
      Parameters:
      reachableRange - the reachableRange value to set.
      Returns:
      the RouteRangeResult object itself.
    • getReport

      public RouteReport getReport()
      Get the report property: Reports the effective settings used in the current call.
      Returns:
      the report value.
    • setReport

      public RouteRangeResult setReport(RouteReport report)
      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

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.azure.json.JsonSerializable<RouteRangeResult>
      Throws:
      IOException
    • fromJson

      public static RouteRangeResult fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      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.