Class AnalyzeBatchResultDetails
java.lang.Object
com.azure.ai.documentintelligence.models.AnalyzeBatchResultDetails
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AnalyzeBatchResultDetails>
public final class AnalyzeBatchResultDetails
extends Object
implements com.azure.json.JsonSerializable<AnalyzeBatchResultDetails>
Operation detail for a document in a batch analysis.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AnalyzeBatchResultDetails
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of AnalyzeBatchResultDetails from the JsonReader.getError()
Get the error property: Encountered error.Get the resultUrl property: URL of the analyze result JSON.Get the sourceUrl property: URL of the source document.Get the status property: Analyze status. succeeded, failed, or skipped.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
-
getStatus
Get the status property: Analyze status. succeeded, failed, or skipped.- Returns:
- the status value.
-
getSourceUrl
Get the sourceUrl property: URL of the source document.- Returns:
- the sourceUrl value.
-
getResultUrl
Get the resultUrl property: URL of the analyze result JSON.- Returns:
- the resultUrl value.
-
getError
Get the error property: Encountered error.- Returns:
- the error value.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<AnalyzeBatchResultDetails>
- Throws:
IOException
-
fromJson
public static AnalyzeBatchResultDetails fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AnalyzeBatchResultDetails from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of AnalyzeBatchResultDetails 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 AnalyzeBatchResultDetails.
-