Class GeocodingBatchResponse

java.lang.Object
com.azure.maps.search.models.GeocodingBatchResponse
All Implemented Interfaces:
com.azure.json.JsonSerializable<GeocodingBatchResponse>

public final class GeocodingBatchResponse extends Object implements com.azure.json.JsonSerializable<GeocodingBatchResponse>
This object is returned from a successful Geocoding Batch service call.
  • Constructor Details

    • GeocodingBatchResponse

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

    • getSummary

      public GeocodingBatchResponseSummary getSummary()
      Get the summary property: Summary for the batch request.
      Returns:
      the summary value.
    • setSummary

      Set the summary property: Summary for the batch request.
      Parameters:
      summary - the summary value to set.
      Returns:
      the GeocodingBatchResponse object itself.
    • getBatchItems

      public List<com.azure.maps.search.implementation.models.GeocodingBatchResponseItem> getBatchItems()
      Get the batchItems property: Array containing the batch results.
      Returns:
      the batchItems value.
    • setBatchItems

      public GeocodingBatchResponse setBatchItems(List<com.azure.maps.search.implementation.models.GeocodingBatchResponseItem> batchItems)
      Set the batchItems property: Array containing the batch results.
      Parameters:
      batchItems - the batchItems value to set.
      Returns:
      the GeocodingBatchResponse object itself.
    • getNextLink

      public String getNextLink()
      Get the nextLink property: The is the link to the next page of the features returned. If it's the last page, no this field.
      Returns:
      the nextLink value.
    • setNextLink

      public GeocodingBatchResponse setNextLink(String nextLink)
      Set the nextLink property: The is the link to the next page of the features returned. If it's the last page, no this field.
      Parameters:
      nextLink - the nextLink value to set.
      Returns:
      the GeocodingBatchResponse 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<GeocodingBatchResponse>
      Throws:
      IOException
    • fromJson

      public static GeocodingBatchResponse fromJson(com.azure.json.JsonReader jsonReader) throws IOException
      Reads an instance of GeocodingBatchResponse from the JsonReader.
      Parameters:
      jsonReader - The JsonReader being read.
      Returns:
      An instance of GeocodingBatchResponse 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 GeocodingBatchResponse.