Class GeocodingBatchResponseSummary

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

public final class GeocodingBatchResponseSummary extends Object implements com.azure.json.JsonSerializable<GeocodingBatchResponseSummary>
Summary for the batch request.
  • Constructor Details

    • GeocodingBatchResponseSummary

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

    • getSuccessfulRequests

      public Integer getSuccessfulRequests()
      Get the successfulRequests property: Number of successful requests in the batch.
      Returns:
      the successfulRequests value.
    • setSuccessfulRequests

      public GeocodingBatchResponseSummary setSuccessfulRequests(Integer successfulRequests)
      Set the successfulRequests property: Number of successful requests in the batch.
      Parameters:
      successfulRequests - the successfulRequests value to set.
      Returns:
      the GeocodingBatchResponseSummary object itself.
    • getTotalRequests

      public Integer getTotalRequests()
      Get the totalRequests property: Total number of requests in the batch.
      Returns:
      the totalRequests value.
    • setTotalRequests

      public GeocodingBatchResponseSummary setTotalRequests(Integer totalRequests)
      Set the totalRequests property: Total number of requests in the batch.
      Parameters:
      totalRequests - the totalRequests value to set.
      Returns:
      the GeocodingBatchResponseSummary 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<GeocodingBatchResponseSummary>
      Throws:
      IOException
    • fromJson

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