TrainingDocumentInfo Class
- java.
lang. Object - com.
azure. ai. formrecognizer. training. models. TrainingDocumentInfo
- com.
public final class TrainingDocumentInfo
The TrainingDocumentInfo model.
Constructor Summary
| Constructor | Description |
|---|---|
| TrainingDocumentInfo(String name, TrainingStatus status, int pageCount, List<FormRecognizerError> errors) |
Constructs a Training |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
List<Form |
getErrors()
Get the list of errors. |
| String |
getModelId()
Get the Model identifier. |
| String |
getName()
Get the training document name. |
| int |
getPageCount()
Get the total number of pages trained. |
|
Training |
getStatus()
Get the status of the training operation. |
Methods inherited from java.lang.Object
Constructor Details
TrainingDocumentInfo
public TrainingDocumentInfo(String name, TrainingStatus status, int pageCount, List<FormRecognizerError> errors)
Constructs a TrainingDocumentInfo object.
Parameters:
Method Details
getErrors
public List<FormRecognizerError> getErrors()
Get the list of errors.
Returns:
getModelId
public String getModelId()
Get the Model identifier.
Returns:
modelId value.getName
public String getName()
Get the training document name.
Returns:
getPageCount
public int getPageCount()
Get the total number of pages trained.
Returns:
getStatus
public TrainingStatus getStatus()
Get the status of the training operation.
Returns: