Package ai.nextbillion.maps
Class GeocodingApi.Response
java.lang.Object
ai.nextbillion.maps.GeocodingApi.Response
- All Implemented Interfaces:
ApiResponse<java.lang.String[]>
- Enclosing class:
- GeocodingApi
public static class GeocodingApi.Response extends java.lang.Object implements ApiResponse<java.lang.String[]>
-
Field Summary
Fields Modifier and Type Field Description java.lang.StringerrorMessagejava.lang.String[]namesjava.lang.Stringstatus -
Constructor Summary
Constructors Constructor Description Response() -
Method Summary
Modifier and Type Method Description ApiExceptiongetError()java.lang.String[]getResult()booleansuccessful()
-
Field Details
-
status
public java.lang.String status -
errorMessage
public java.lang.String errorMessage -
names
public java.lang.String[] names
-
-
Constructor Details
-
Response
public Response()
-
-
Method Details
-
successful
public boolean successful()- Specified by:
successfulin interfaceApiResponse<java.lang.String[]>
-
getResult
public java.lang.String[] getResult()- Specified by:
getResultin interfaceApiResponse<java.lang.String[]>
-
getError
- Specified by:
getErrorin interfaceApiResponse<java.lang.String[]>
-