Package com.mindee.parsing.common
Class ApiResponse
- java.lang.Object
-
- com.mindee.parsing.common.ApiResponse
-
- Direct Known Subclasses:
AsyncPredictResponse,PredictResponse,WorkflowResponse
public abstract class ApiResponse extends Object
Base class for all responses from the Mindee API.
-
-
Constructor Summary
Constructors Constructor Description ApiResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected booleancanEqual(Object other)booleanequals(Object o)ApiRequestgetApiRequest()Information from Mindee about the api request.StringgetRawResponse()The raw server response.inthashCode()voidsetApiRequest(ApiRequest apiRequest)Information from Mindee about the api request.voidsetRawResponse(String contents)StringtoString()
-
-
-
Method Detail
-
setRawResponse
public void setRawResponse(String contents)
-
getApiRequest
public ApiRequest getApiRequest()
Information from Mindee about the api request.
-
getRawResponse
public String getRawResponse()
The raw server response. This is not formatted in any way by the library and may contain newline and tab characters.
-
setApiRequest
public void setApiRequest(ApiRequest apiRequest)
Information from Mindee about the api request.
-
canEqual
protected boolean canEqual(Object other)
-
-