Package ai.nextbillion.maps
Class ImageResult.Response
java.lang.Object
ai.nextbillion.maps.ImageResult.Response
- All Implemented Interfaces:
ApiResponse<ImageResult>
- Enclosing class:
- ImageResult
public static class ImageResult.Response extends java.lang.Object implements ApiResponse<ImageResult>
ImageResult.Response is a type system hack to enable API endpoints to return a
ImageResult.-
Constructor Summary
Constructors Constructor Description Response() -
Method Summary
Modifier and Type Method Description ApiExceptiongetError()ImageResultgetResult()booleansuccessful()
-
Constructor Details
-
Response
public Response()
-
-
Method Details
-
successful
public boolean successful()- Specified by:
successfulin interfaceApiResponse<ImageResult>
-
getError
- Specified by:
getErrorin interfaceApiResponse<ImageResult>
-
getResult
- Specified by:
getResultin interfaceApiResponse<ImageResult>
-