java.lang.Object
com.azure.ai.documentintelligence.models.Document

public final class Document extends Object
An object describing the location and semantic content of a document.
  • Method Details

    • getDocType

      public String getDocType()
      Get the docType property: Document type.
      Returns:
      the docType value.
    • getBoundingRegions

      public List<BoundingRegion> getBoundingRegions()
      Get the boundingRegions property: Bounding regions covering the document.
      Returns:
      the boundingRegions value.
    • getSpans

      public List<DocumentSpan> getSpans()
      Get the spans property: Location of the document in the reading order concatenated content.
      Returns:
      the spans value.
    • getFields

      public Map<String,DocumentField> getFields()
      Get the fields property: Dictionary of named field values.
      Returns:
      the fields value.
    • getConfidence

      public double getConfidence()
      Get the confidence property: Confidence of correctly extracting the document.
      Returns:
      the confidence value.