Class PredictResponse<T extends Inference>

  • Type Parameters:
    T - Set the prediction model used to parse the document. The response object will be instantiated based on this parameter.

    public class PredictResponse<T extends Inference>
    extends ApiResponse
    Represent a `predict` response from Mindee API.
    • Constructor Detail

      • PredictResponse

        public PredictResponse()
    • Method Detail

      • getDocument

        public Document<T> getDocument()
        Set the prediction model used to parse the document. The response object will be instantiated based on this parameter.
      • setDocument

        public void setDocument​(Document<T> document)
        Set the prediction model used to parse the document. The response object will be instantiated based on this parameter.