Package com.azure.maps.search.models
Class BatchReverseSearchResult
java.lang.Object
com.azure.maps.search.models.BatchReverseSearchResult
This object is returned from a successful Search Address Batch service call.
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a newBatchReverseSearchResult
with default properties.BatchReverseSearchResult
(BatchResultSummary batchSummary, List<ReverseSearchAddressBatchItem> batchItems) Creates a newBatchReverseSearchResult
with a summary and batch items. -
Method Summary
Modifier and TypeMethodDescriptionReturn this id for this batch.Get the batchItems property: Array containing the batch results.Get the batchSummary property: Summary of the results for the batch request.void
setBatchId
(String batchId) Sets the if of this batch.
-
Constructor Details
-
BatchReverseSearchResult
public BatchReverseSearchResult()Creates a newBatchReverseSearchResult
with default properties. -
BatchReverseSearchResult
public BatchReverseSearchResult(BatchResultSummary batchSummary, List<ReverseSearchAddressBatchItem> batchItems) Creates a newBatchReverseSearchResult
with a summary and batch items.- Parameters:
batchSummary
- the summary of this batch's search results.batchItems
- the items returned in this search.
-
-
Method Details
-
getBatchSummary
Get the batchSummary property: Summary of the results for the batch request.- Returns:
- the batchSummary value.
-
getBatchItems
Get the batchItems property: Array containing the batch results.- Returns:
- the batchItems value.
-
getBatchId
Return this id for this batch. Only available when the batch is cached.- Returns:
- the batch id
-
setBatchId
Sets the if of this batch.- Parameters:
batchId
- the id of this batch, retrieved from the asynchronous API.
-