TrainingDocumentInfo Class

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

public final class TrainingDocumentInfo

The TrainingDocumentInfo model.

Constructor Summary

Constructor Description
TrainingDocumentInfo(String name, TrainingStatus status, int pageCount, List<FormRecognizerError> errors)

Constructs a TrainingDocumentInfo object.

Method Summary

Modifier and Type Method and Description
List<FormRecognizerError> 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.

TrainingStatus 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 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

getErrors

public List getErrors()

Get the list of errors.

Returns:

the unmodifiable list of errors.

getModelId

public String getModelId()

Get the Model identifier.

Returns:

the modelId value.

getName

public String getName()

Get the training document name.

Returns:

the training document name.

getPageCount

public int getPageCount()

Get the total number of pages trained.

Returns:

the total number of pages trained.

getStatus

public TrainingStatus getStatus()

Get the status of the training operation.

Returns:

the status of the training operation.

Applies to