SearchResults

data class SearchResults(    val provider: String,     val request: String,     val response: String?,     val error: String?,     val searchQuery: String,     val results: List<HistorySearchResult>?) : EventDTO

SearchResults.

Constructors

Link copied to clipboard
fun SearchResults(    provider: String,     request: String,     response: String?,     error: String?,     searchQuery: String,     results: List<HistorySearchResult>?)

Properties

Link copied to clipboard
val error: String?

message and details of getting search point, null in case of successful response

Link copied to clipboard
val provider: String

used search provider, e.g. mapbox, google

Link copied to clipboard
val request: String

HTTP request or SDK method with parameters being used to get search point, all secure tokens should be sanitized

Link copied to clipboard
val response: String?

or result of the method with search result, null in case of error

Link copied to clipboard
val results: List<HistorySearchResult>?
Link copied to clipboard
val searchQuery: String

used search text to find point or coordinates to reverse geocoding