ReverseGeocodingBatchRequestBody Class

  • java.lang.Object
    • com.azure.maps.search.models.ReverseGeocodingBatchRequestBody

Implements

public final class ReverseGeocodingBatchRequestBody
implements JsonSerializable<ReverseGeocodingBatchRequestBody>

The list of reverse geocoding queries/requests to process. The list can contain a max of 100 queries and must contain at least 1 query.

Constructor Summary

Constructor Description
ReverseGeocodingBatchRequestBody()

Creates an instance of ReverseGeocodingBatchRequestBody class.

Method Summary

Modifier and Type Method and Description
static ReverseGeocodingBatchRequestBody fromJson(JsonReader jsonReader)

Reads an instance of ReverseGeocodingBatchRequestBody from the JsonReader.

List<com.azure.maps.search.implementation.models.ReverseGeocodingBatchRequestItem> getBatchItems()

Get the batchItems property: The list of queries to process.

ReverseGeocodingBatchRequestBody setBatchItems(List<ReverseGeocodingBatchRequestItem> batchItems)

Set the batchItems property: The list of queries to process.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

ReverseGeocodingBatchRequestBody

public ReverseGeocodingBatchRequestBody()

Creates an instance of ReverseGeocodingBatchRequestBody class.

Method Details

fromJson

public static ReverseGeocodingBatchRequestBody fromJson(JsonReader jsonReader)

Reads an instance of ReverseGeocodingBatchRequestBody from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ReverseGeocodingBatchRequestBody 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 ReverseGeocodingBatchRequestBody.

getBatchItems

public List<ReverseGeocodingBatchRequestItem> getBatchItems()

Get the batchItems property: The list of queries to process.

Returns:

the batchItems value.

setBatchItems

public ReverseGeocodingBatchRequestBody setBatchItems(List<ReverseGeocodingBatchRequestItem> batchItems)

Set the batchItems property: The list of queries to process.

Parameters:

batchItems - the batchItems value to set.

Returns:

the ReverseGeocodingBatchRequestBody object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to