sdk-search / com.tomtom.online.sdk.search.data.batch / BatchSearchResponse

BatchSearchResponse

open class BatchSearchResponse : ServiceBaseResponse, Batchable

Response to an Batch Search request.

Constructors

<init>

BatchSearchResponse()

Response to an Batch Search request.

Properties

responses

var responses: Array<BatchableSearchResponse!>!

successfulRequests

var successfulRequests: Int

totalRequests

var totalRequests: Int

Functions

getEvChargingStationsAvailabilityResponses

open fun getEvChargingStationsAvailabilityResponses(): MutableList<EvChargingStationsAvailabilityResponse!>!

Gets a list of Reverse Geocoding Search results of a Batch Search query. This list will be empty if there were no requests of this type.

getFuzzySearchResponses

open fun getFuzzySearchResponses(): MutableList<FuzzySearchResponse!>!

Gets a list of Fuzzy Search results of a Batch Search query. This list will be empty if there were no requests of this type.

getGeometrySearchResponses

open fun getGeometrySearchResponses(): MutableList<GeometrySearchResponse!>!

Gets a list of Geometry Search results of a Batch Search query. This list will be empty if there were no requests of this type.

getReverseGeocoderSearchResponses

open fun getReverseGeocoderSearchResponses(): MutableList<ReverseGeocoderSearchResponse!>!

Gets a list of Reverse Geocoding Search results of a Batch Search query. This list will be empty if there were no requests of this type.

getSearchResponses

open fun getSearchResponses(): ImmutableList<BatchableSearchResponse!>!

Gets the list of results of a Batch Search query. For each item, use BatchableSearchResponseVisitor to obtain the specific response type.

getSuccessfulRequests

open fun getSuccessfulRequests(): Int

Returns the number of successful requests.

getTotalRequests

open fun getTotalRequests(): Int

Returns the total number of requests.

toString

open fun toString(): String