Class DocumentFieldType
java.lang.Object
com.azure.core.util.ExpandableStringEnum<DocumentFieldType>
com.azure.ai.documentintelligence.models.DocumentFieldType
- All Implemented Interfaces:
com.azure.core.util.ExpandableEnum<String>
public final class DocumentFieldType
extends com.azure.core.util.ExpandableStringEnum<DocumentFieldType>
Semantic data type of the field value.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final DocumentFieldTypeParsed address.static final DocumentFieldTypeList of subfields of the same type.static final DocumentFieldTypeBoolean value, normalized to true or false.static final DocumentFieldTypeCountry/region, normalized to ISO 3166-1 alpha-3 format (ex.static final DocumentFieldTypeCurrency amount with optional currency symbol and unit.static final DocumentFieldTypeDate, normalized to ISO 8601 (YYYY-MM-DD) format.static final DocumentFieldTypeInteger number, normalized to 64-bit signed integer.static final DocumentFieldTypeFloating point number, normalized to double precision floating point.static final DocumentFieldTypeNamed list of subfields of potentially different types.static final DocumentFieldTypePhone number, normalized to E.164 (+{CountryCode}{SubscriberNumber}) format.static final DocumentFieldTypeArray of selected string values.static final DocumentFieldTypeIs field selected?.static final DocumentFieldTypeIs signature present?.static final DocumentFieldTypePlain text.static final DocumentFieldTypeTime, normalized to ISO 8601 (hh:mm:ss) format. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic DocumentFieldTypefromString(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, getValue, 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.