Class AnalyzeResult
java.lang.Object
com.azure.ai.documentintelligence.models.AnalyzeResult
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AnalyzeResult>
public final class AnalyzeResult
extends Object
implements com.azure.json.JsonSerializable<AnalyzeResult>
Document analysis result.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AnalyzeResult
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of AnalyzeResult from the JsonReader.Get the apiVersion property: API version used to produce this result.Get the content property: Concatenate string representation of all textual and visual elements in reading order.Get the contentFormat property: Format of the analyze result top-level content.Get the documents property: Extracted documents.Get the figures property: Extracted figures.Get the keyValuePairs property: Extracted key-value pairs.Get the languages property: Detected languages.Get the modelId property: Document model ID used to produce this result.getPages()
Get the pages property: Analyzed pages.Get the paragraphs property: Extracted paragraphs.Get the sections property: Extracted sections.Get the stringIndexType property: Method used to compute string offset and length.Get the styles property: Extracted font styles.Get the tables property: Extracted tables.Get the warnings property: List of warnings encountered.com.azure.json.JsonWriter
toJson
(com.azure.json.JsonWriter jsonWriter) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.azure.json.JsonSerializable
toJson, toJson, toJsonBytes, toJsonString
-
Method Details
-
getApiVersion
Get the apiVersion property: API version used to produce this result.- Returns:
- the apiVersion value.
-
getModelId
Get the modelId property: Document model ID used to produce this result.- Returns:
- the modelId value.
-
getStringIndexType
Get the stringIndexType property: Method used to compute string offset and length.- Returns:
- the stringIndexType value.
-
getContentFormat
Get the contentFormat property: Format of the analyze result top-level content.- Returns:
- the contentFormat value.
-
getContent
Get the content property: Concatenate string representation of all textual and visual elements in reading order.- Returns:
- the content value.
-
getPages
Get the pages property: Analyzed pages.- Returns:
- the pages value.
-
getParagraphs
Get the paragraphs property: Extracted paragraphs.- Returns:
- the paragraphs value.
-
getTables
Get the tables property: Extracted tables.- Returns:
- the tables value.
-
getFigures
Get the figures property: Extracted figures.- Returns:
- the figures value.
-
getSections
Get the sections property: Extracted sections.- Returns:
- the sections value.
-
getKeyValuePairs
Get the keyValuePairs property: Extracted key-value pairs.- Returns:
- the keyValuePairs value.
-
getStyles
Get the styles property: Extracted font styles.- Returns:
- the styles value.
-
getLanguages
Get the languages property: Detected languages.- Returns:
- the languages value.
-
getDocuments
Get the documents property: Extracted documents.- Returns:
- the documents value.
-
getWarnings
Get the warnings property: List of warnings encountered.- Returns:
- the warnings value.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<AnalyzeResult>
- Throws:
IOException
-
fromJson
Reads an instance of AnalyzeResult from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of AnalyzeResult 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 AnalyzeResult.
-