public final class CustomFormModel extends Object
| Constructor and Description |
|---|
CustomFormModel(String modelId,
CustomFormModelStatus modelStatus,
OffsetDateTime trainingStartedOn,
OffsetDateTime trainingCompletedOn,
List<CustomFormSubmodel> submodels,
List<FormRecognizerError> modelError,
List<TrainingDocumentInfo> trainingDocuments)
Constructs a CustomFormModel object.
|
| Modifier and Type | Method and Description |
|---|---|
CustomFormModelProperties |
getCustomModelProperties()
Get model metadata properties.
|
List<FormRecognizerError> |
getModelError()
Get the errors returned during the training operation.
|
String |
getModelId()
Get the Model identifier.
|
String |
getModelName()
Get the user defined model display name.
|
CustomFormModelStatus |
getModelStatus()
Get the status of the model.
|
List<CustomFormSubmodel> |
getSubmodels()
Get the list of sub model that are part of this model, each of which can recognize
and extract fields from a different type of form.
|
OffsetDateTime |
getTrainingCompletedOn()
Get the Date and time (UTC) when the model training was completed.
|
List<TrainingDocumentInfo> |
getTrainingDocuments()
Get the list of the documents used to train the model and any errors reported in each document.
|
OffsetDateTime |
getTrainingStartedOn()
Get the Date and time (UTC) when the training of the model was started.
|
public CustomFormModel(String modelId, CustomFormModelStatus modelStatus, OffsetDateTime trainingStartedOn, OffsetDateTime trainingCompletedOn, List<CustomFormSubmodel> submodels, List<FormRecognizerError> modelError, List<TrainingDocumentInfo> trainingDocuments)
modelId - Model identifier.modelStatus - Status of the model.trainingStartedOn - Date and time (UTC) when the training of model was started.trainingCompletedOn - Date and time (UTC) when the model training was completed.submodels - List of sub model that are part of this model, each of which can recognize and extract fields
from a different type of form.modelError - List of errors returned during the training operation.trainingDocuments - List of the documents used to train the model.public String getModelId()
modelId value.public CustomFormModelStatus getModelStatus()
modelStatus value.public OffsetDateTime getTrainingStartedOn()
trainingStartedOn value.public OffsetDateTime getTrainingCompletedOn()
trainingCompletedOn value.public List<FormRecognizerError> getModelError()
public List<CustomFormSubmodel> getSubmodels()
public List<TrainingDocumentInfo> getTrainingDocuments()
public CustomFormModelProperties getCustomModelProperties()
public String getModelName()
Copyright © 2021 Microsoft Corporation. All rights reserved.