Class DocumentKeyValuePair

java.lang.Object
com.azure.ai.formrecognizer.documentanalysis.models.DocumentKeyValuePair

public final class DocumentKeyValuePair extends Object
An object representing a form field with distinct field label (key) and field value (may be empty).
  • Constructor Details

    • DocumentKeyValuePair

      public DocumentKeyValuePair()
  • Method Details

    • getKey

      public DocumentKeyValueElement getKey()
      Get the key property: Field label of the key-value pair.
      Returns:
      the key value.
    • getValue

      public DocumentKeyValueElement getValue()
      Get the value property: Field value of the key-value pair.
      Returns:
      the value value.
    • getConfidence

      public float getConfidence()
      Get the confidence property: Confidence of correctly extracting the key-value pair.
      Returns:
      the confidence value.