Class DocumentModelDetails
java.lang.Object
com.azure.ai.documentintelligence.models.DocumentModelDetails
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DocumentModelDetails>
public final class DocumentModelDetails
extends Object
implements com.azure.json.JsonSerializable<DocumentModelDetails>
Document model info.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentModelDetails
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of DocumentModelDetails from the JsonReader.Get the apiVersion property: API version used to create this document model.Get the azureBlobFileListSource property: Azure Blob Storage file list specifying the training data.Get the azureBlobSource property: Azure Blob Storage location containing the training data.Get the buildMode property: Custom document model build mode.Get the classifierId property: For composed models, the custom classifier to split and classify the input file.Get the createdDateTime property: Date and time (UTC) when the document model was created.Get the description property: Document model description.Get the docTypes property: Supported document types.Get the expirationDateTime property: Date and time (UTC) when the document model will expire.Get the modelId property: Unique document model name.getSplit()
Get the split property: For composed models, the file splitting behavior.getTags()
Get the tags property: List of key-value tag attributes associated with the document model.Get the trainingHours property: Number of V100-equivalent GPU hours consumed for model training.Get the warnings property: List of warnings encountered while building the model.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getModelId
Get the modelId property: Unique document model name.- Returns:
- the modelId value.
-
getDescription
Get the description property: Document model description.- Returns:
- the description value.
-
getCreatedDateTime
Get the createdDateTime property: Date and time (UTC) when the document model was created.- Returns:
- the createdDateTime value.
-
getExpirationDateTime
Get the expirationDateTime property: Date and time (UTC) when the document model will expire.- Returns:
- the expirationDateTime value.
-
getApiVersion
Get the apiVersion property: API version used to create this document model.- Returns:
- the apiVersion value.
-
getTags
Get the tags property: List of key-value tag attributes associated with the document model.- Returns:
- the tags value.
-
getBuildMode
Get the buildMode property: Custom document model build mode.- Returns:
- the buildMode value.
-
getAzureBlobSource
Get the azureBlobSource property: Azure Blob Storage location containing the training data. Either azureBlobSource or azureBlobFileListSource must be specified.- Returns:
- the azureBlobSource value.
-
getAzureBlobFileListSource
Get the azureBlobFileListSource property: Azure Blob Storage file list specifying the training data. Either azureBlobSource or azureBlobFileListSource must be specified.- Returns:
- the azureBlobFileListSource value.
-
getClassifierId
Get the classifierId property: For composed models, the custom classifier to split and classify the input file.- Returns:
- the classifierId value.
-
getSplit
Get the split property: For composed models, the file splitting behavior.- Returns:
- the split value.
-
getDocTypes
Get the docTypes property: Supported document types.- Returns:
- the docTypes value.
-
getWarnings
Get the warnings property: List of warnings encountered while building the model.- Returns:
- the warnings value.
-
getTrainingHours
Get the trainingHours property: Number of V100-equivalent GPU hours consumed for model training.- Returns:
- the trainingHours value.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<DocumentModelDetails>
- Throws:
IOException
-
fromJson
public static DocumentModelDetails fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DocumentModelDetails from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of DocumentModelDetails if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.
- Throws:
IllegalStateException
- If the deserialized JSON object was missing any required properties.IOException
- If an error occurs while reading the DocumentModelDetails.
-