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 boolean
canEqual(Object other)
boolean
equals(Object o)
ApiRequest
getApiRequest()
Information from Mindee about the api request.String
getRawResponse()
The raw server response.int
hashCode()
void
setApiRequest(ApiRequest apiRequest)
Information from Mindee about the api request.void
setRawResponse(String contents)
String
toString()
-
-
-
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)
-
-