Class DocumentFieldType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DocumentFieldType>
com.azure.ai.documentintelligence.models.DocumentFieldType
public final class DocumentFieldType
extends com.azure.core.util.ExpandableStringEnum<DocumentFieldType>
Semantic data type of the field value.
-
Field Summary
Modifier and TypeFieldDescriptionstatic final DocumentFieldType
Parsed address.static final DocumentFieldType
List of subfields of the same type.static final DocumentFieldType
Boolean value, normalized to true or false.static final DocumentFieldType
Country/region, normalized to ISO 3166-1 alpha-3 format (ex.static final DocumentFieldType
Currency amount with optional currency symbol and unit.static final DocumentFieldType
Date, normalized to ISO 8601 (YYYY-MM-DD) format.static final DocumentFieldType
Integer number, normalized to 64-bit signed integer.static final DocumentFieldType
Floating point number, normalized to double precision floating point.static final DocumentFieldType
Named list of subfields of potentially different types.static final DocumentFieldType
Phone number, normalized to E.164 (+{CountryCode}{SubscriberNumber}) format.static final DocumentFieldType
Array of selected string values.static final DocumentFieldType
Is field selected?.static final DocumentFieldType
Is signature present?.static final DocumentFieldType
Plain text.static final DocumentFieldType
Time, normalized to ISO 8601 (hh:mm:ss) format. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentFieldType
fromString
(String name) Creates or finds a DocumentFieldType from its string representation.static Collection<DocumentFieldType>
values()
Gets known DocumentFieldType values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
STRING
Plain text. -
DATE
Date, normalized to ISO 8601 (YYYY-MM-DD) format. -
TIME
Time, normalized to ISO 8601 (hh:mm:ss) format. -
PHONE_NUMBER
Phone number, normalized to E.164 (+{CountryCode}{SubscriberNumber}) format. -
NUMBER
Floating point number, normalized to double precision floating point. -
INTEGER
Integer number, normalized to 64-bit signed integer. -
SELECTION_MARK
Is field selected?. -
COUNTRY_REGION
Country/region, normalized to ISO 3166-1 alpha-3 format (ex. USA). -
SIGNATURE
Is signature present?. -
ARRAY
List of subfields of the same type. -
OBJECT
Named list of subfields of potentially different types. -
CURRENCY
Currency amount with optional currency symbol and unit. -
ADDRESS
Parsed address. -
BOOLEAN
Boolean value, normalized to true or false. -
SELECTION_GROUP
Array of selected string values.
-
-
Constructor Details
-
DocumentFieldType
Deprecated.Use thefromString(String)
factory method.Creates a new instance of DocumentFieldType value.
-
-
Method Details
-
fromString
Creates or finds a DocumentFieldType from its string representation.- Parameters:
name
- a name to look for.- Returns:
- the corresponding DocumentFieldType.
-
values
Gets known DocumentFieldType values.- Returns:
- known DocumentFieldType values.
-
fromString(String)
factory method.