public class AlongRouteSearchResponse
extends java.lang.Object
implements java.io.Serializable, com.tomtom.online.sdk.common.service.ServiceResponse
| Modifier and Type | Field and Description |
|---|---|
protected ResponseError |
error
Error code and description.
|
protected AlongRouteSearchResult[] |
results
A portion of results of the request, as specified in the summary by
total number of results, number of results and offset.
|
protected Summary |
summary
The summary of the response.
|
| Constructor and Description |
|---|
AlongRouteSearchResponse() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getErrorMessage()
The error message if applicable.
|
ImmutableList<AlongRouteSearchResult> |
getResults() |
boolean |
hasError()
True if error occurs, false otherwise.
|
protected Summary summary
protected AlongRouteSearchResult[] results
protected ResponseError error
public ImmutableList<AlongRouteSearchResult> getResults()
public boolean hasError()
hasError in interface com.tomtom.online.sdk.common.service.ServiceResponsepublic java.lang.String getErrorMessage()
getErrorMessage in interface com.tomtom.online.sdk.common.service.ServiceResponse