Package ai.nextbillion.maps
Class GeolocationApi.Response
java.lang.Object
ai.nextbillion.maps.GeolocationApi.Response
- All Implemented Interfaces:
ApiResponse<GeolocationResult>
- Enclosing class:
- GeolocationApi
public static class GeolocationApi.Response extends java.lang.Object implements ApiResponse<GeolocationResult>
-
Field Summary
-
Constructor Summary
Constructors Constructor Description Response() -
Method Summary
Modifier and Type Method Description ApiExceptiongetError()GeolocationResultgetResult()booleansuccessful()
-
Field Details
-
Constructor Details
-
Response
public Response()
-
-
Method Details
-
successful
public boolean successful()- Specified by:
successfulin interfaceApiResponse<GeolocationResult>
-
getResult
- Specified by:
getResultin interfaceApiResponse<GeolocationResult>
-
getError
- Specified by:
getErrorin interfaceApiResponse<GeolocationResult>
-