Class TrainingDocumentInfo
java.lang.Object
com.azure.ai.formrecognizer.training.models.TrainingDocumentInfo
The TrainingDocumentInfo model.
-
Constructor Summary
ConstructorDescriptionTrainingDocumentInfo
(String name, TrainingStatus status, int pageCount, List<FormRecognizerError> errors) Constructs a TrainingDocumentInfo object. -
Method Summary
Modifier and TypeMethodDescriptionGet the list of errors.Get the Model identifier.getName()
Get the training document name.int
Get the total number of pages trained.Get the status of the training operation.
-
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
Get the training document name.- Returns:
- the training document name.
-
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
Get the list of errors.- Returns:
- the unmodifiable list of errors.
-
getModelId
Get the Model identifier.- Returns:
- the
modelId
value.
-