Package com.mindee.parsing.common
Class WorkflowResponse<DocT extends Inference>
- java.lang.Object
-
- com.mindee.parsing.common.ApiResponse
-
- com.mindee.parsing.common.WorkflowResponse<DocT>
-
- Direct Known Subclasses:
WorkflowResponse.Default
public class WorkflowResponse<DocT extends Inference> extends ApiResponse
Represents the server response after a document is sent to a workflow.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
WorkflowResponse.Default
Default product is GeneratedV1.
-
Constructor Summary
Constructors Constructor Description WorkflowResponse()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected boolean
canEqual(Object other)
boolean
equals(Object o)
Execution<DocT>
getExecution()
Set the prediction model used to parse the document.int
hashCode()
void
setExecution(Execution<DocT> execution)
Set the prediction model used to parse the document.String
toString()
-
Methods inherited from class com.mindee.parsing.common.ApiResponse
getApiRequest, getRawResponse, setApiRequest, setRawResponse
-
-
-
-
Method Detail
-
getExecution
public Execution<DocT> getExecution()
Set the prediction model used to parse the document. The response object will be instantiated based on this parameter.
-
setExecution
public void setExecution(Execution<DocT> execution)
Set the prediction model used to parse the document. The response object will be instantiated based on this parameter.
-
toString
public String toString()
- Overrides:
toString
in classApiResponse
-
equals
public boolean equals(Object o)
- Overrides:
equals
in classApiResponse
-
canEqual
protected boolean canEqual(Object other)
- Overrides:
canEqual
in classApiResponse
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classApiResponse
-
-