GeocodingBatchResponse Class

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

Implements

public final class GeocodingBatchResponse
implements JsonSerializable<GeocodingBatchResponse>

This object is returned from a successful Geocoding Batch service call.

Constructor Summary

Constructor Description
GeocodingBatchResponse()

Creates an instance of GeocodingBatchResponse class.

Method Summary

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

Reads an instance of GeocodingBatchResponse from the JsonReader.

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

Get the batchItems property: Array containing the batch results.

String getNextLink()

Get the nextLink property: The is the link to the next page of the features returned.

GeocodingBatchResponseSummary getSummary()

Get the summary property: Summary for the batch request.

GeocodingBatchResponse setBatchItems(List<GeocodingBatchResponseItem> batchItems)

Set the batchItems property: Array containing the batch results.

GeocodingBatchResponse setNextLink(String nextLink)

Set the nextLink property: The is the link to the next page of the features returned.

GeocodingBatchResponse setSummary(GeocodingBatchResponseSummary summary)

Set the summary property: Summary for the batch request.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Constructor Details

GeocodingBatchResponse

public GeocodingBatchResponse()

Creates an instance of GeocodingBatchResponse class.

Method Details

fromJson

public static GeocodingBatchResponse fromJson(JsonReader jsonReader)

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.

getBatchItems

public List<GeocodingBatchResponseItem> getBatchItems()

Get the batchItems property: Array containing the batch results.

Returns:

the batchItems value.

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.

getSummary

public GeocodingBatchResponseSummary getSummary()

Get the summary property: Summary for the batch request.

Returns:

the summary value.

setBatchItems

public GeocodingBatchResponse setBatchItems(List<GeocodingBatchResponseItem> batchItems)

Set the batchItems property: Array containing the batch results.

Parameters:

batchItems - the batchItems value to set.

Returns:

the GeocodingBatchResponse object itself.

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.

setSummary

public GeocodingBatchResponse setSummary(GeocodingBatchResponseSummary summary)

Set the summary property: Summary for the batch request.

Parameters:

summary - the summary value to set.

Returns:

the GeocodingBatchResponse object itself.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to