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 Details

    • getClassifierId

      public String getClassifierId()
      Get the classifierId property: Unique document classifier name.
      Returns:
      the classifierId value.
    • getDescription

      public String getDescription()
      Get the description property: Document classifier description.
      Returns:
      the description value.
    • getCreatedDateTime

      public OffsetDateTime getCreatedDateTime()
      Get the createdDateTime property: Date and time (UTC) when the document classifier was created.
      Returns:
      the createdDateTime value.
    • getExpirationDateTime

      public OffsetDateTime getExpirationDateTime()
      Get the expirationDateTime property: Date and time (UTC) when the document classifier will expire.
      Returns:
      the expirationDateTime value.
    • getApiVersion

      public String getApiVersion()
      Get the apiVersion property: API version used to create this document classifier.
      Returns:
      the apiVersion value.
    • getBaseClassifierId

      public String getBaseClassifierId()
      Get the baseClassifierId property: Base classifierId on top of which the classifier was trained.
      Returns:
      the baseClassifierId value.
    • getDocTypes

      public Map<String,ClassifierDocumentTypeDetails> getDocTypes()
      Get the docTypes property: List of document types to classify against.
      Returns:
      the docTypes value.
    • getWarnings

      public List<Warning> getWarnings()
      Get the warnings property: List of warnings encountered while building the classifier.
      Returns:
      the warnings value.
    • toJson

      public com.azure.json.JsonWriter toJson(com.azure.json.JsonWriter jsonWriter) throws IOException
      Specified by:
      toJson in interface com.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.