Class TrainingDocumentInfo

java.lang.Object
com.azure.ai.formrecognizer.training.models.TrainingDocumentInfo

public final class TrainingDocumentInfo extends Object
The TrainingDocumentInfo model.
  • Constructor Details

    • TrainingDocumentInfo

      public TrainingDocumentInfo(String name, TrainingStatus status, int pageCount, List<FormRecognizerError> errors)
      Constructs a TrainingDocumentInfo object.
      Parameters:
      name - the training document name.
      status - the status of the training operation for that document.
      pageCount - the total number of pages trained.
      errors - the list of errors.
  • Method Details

    • getName

      public String getName()
      Get the training document name.
      Returns:
      the training document name.
    • getStatus

      public TrainingStatus getStatus()
      Get the status of the training operation.
      Returns:
      the status of the training operation.
    • getPageCount

      public int getPageCount()
      Get the total number of pages trained.
      Returns:
      the total number of pages trained.
    • getErrors

      public List<FormRecognizerError> getErrors()
      Get the list of errors.
      Returns:
      the unmodifiable list of errors.
    • getModelId

      public String getModelId()
      Get the Model identifier.
      Returns:
      the modelId value.