Class DocumentClassifierDetails
java.lang.Object
com.azure.ai.documentintelligence.models.DocumentClassifierDetails
- All Implemented Interfaces:
com.azure.json.JsonSerializable<DocumentClassifierDetails>
public final class DocumentClassifierDetails
extends Object
implements com.azure.json.JsonSerializable<DocumentClassifierDetails>
Document classifier info.
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentClassifierDetailsfromJson(com.azure.json.JsonReader jsonReader) Reads an instance of DocumentClassifierDetails from the JsonReader.Get the apiVersion property: API version used to create this document classifier.Get the baseClassifierId property: Base classifierId on top of which the classifier was trained.Get the classifierId property: Unique document classifier name.Get the createdOn property: Date and time (UTC) when the document classifier was created.Get the description property: Document classifier description.Get the documentTypes property: List of document types to classify against.Get the expiresOn property: Date and time (UTC) when the document classifier will expire.Get the modifiedOn property: Date and time (UTC) when the document model was last modified.Get the warnings property: List of warnings encountered while building the classifier.com.azure.json.JsonWritertoJson(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getClassifierId
Get the classifierId property: Unique document classifier name.- Returns:
- the classifierId value.
-
getDescription
Get the description property: Document classifier description.- Returns:
- the description value.
-
getCreatedOn
Get the createdOn property: Date and time (UTC) when the document classifier was created.- Returns:
- the createdOn value.
-
getExpiresOn
Get the expiresOn property: Date and time (UTC) when the document classifier will expire.- Returns:
- the expiresOn value.
-
getModifiedOn
Get the modifiedOn property: Date and time (UTC) when the document model was last modified.- Returns:
- the modifiedOn value.
-
getApiVersion
Get the apiVersion property: API version used to create this document classifier.- Returns:
- the apiVersion value.
-
getBaseClassifierId
Get the baseClassifierId property: Base classifierId on top of which the classifier was trained.- Returns:
- the baseClassifierId value.
-
getDocumentTypes
Get the documentTypes property: List of document types to classify against.- Returns:
- the documentTypes value.
-
getWarnings
Get the warnings property: List of warnings encountered while building the classifier.- Returns:
- the warnings value.
-
toJson
- Specified by:
toJsonin interfacecom.azure.json.JsonSerializable<DocumentClassifierDetails>- Throws:
IOException
-
fromJson
public static DocumentClassifierDetails fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of DocumentClassifierDetails from the JsonReader.- Parameters:
jsonReader- The JsonReader being read.- Returns:
- An instance of DocumentClassifierDetails 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 DocumentClassifierDetails.
-