Class AnalyzeBatchOperationDetails
java.lang.Object
com.azure.ai.documentintelligence.models.AnalyzeBatchOperationDetails
- All Implemented Interfaces:
com.azure.json.JsonSerializable<AnalyzeBatchOperationDetails>
public final class AnalyzeBatchOperationDetails
extends Object
implements com.azure.json.JsonSerializable<AnalyzeBatchOperationDetails>
Status and result of the analyze batch operation.
-
Method Summary
Modifier and TypeMethodDescriptionstatic AnalyzeBatchOperationDetails
fromJson
(com.azure.json.JsonReader jsonReader) Reads an instance of AnalyzeBatchOperationDetails from the JsonReader.Get the createdOn property: Date and time (UTC) when the operation was submitted.getError()
Get the error property: Encountered error during batch document analysis.Get the lastUpdatedOn property: Date and time (UTC) when the status was last updated.Get the percentCompleted property: Operation progress (0-100).Get the result property: Batch document analysis result.Get the resultId property: Analyze batch operation result ID.Get the status property: Operation status. notStarted, running, succeeded, or failed.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
-
getResultId
Get the resultId property: Analyze batch operation result ID.- Returns:
- the resultId value.
-
getStatus
Get the status property: Operation status. notStarted, running, succeeded, or failed.- Returns:
- the status value.
-
getCreatedOn
Get the createdOn property: Date and time (UTC) when the operation was submitted.- Returns:
- the createdOn value.
-
getLastUpdatedOn
Get the lastUpdatedOn property: Date and time (UTC) when the status was last updated.- Returns:
- the lastUpdatedOn value.
-
getPercentCompleted
Get the percentCompleted property: Operation progress (0-100).- Returns:
- the percentCompleted value.
-
getError
Get the error property: Encountered error during batch document analysis.- Returns:
- the error value.
-
getResult
Get the result property: Batch document analysis result.- Returns:
- the result value.
-
toJson
- Specified by:
toJson
in interfacecom.azure.json.JsonSerializable<AnalyzeBatchOperationDetails>
- Throws:
IOException
-
fromJson
public static AnalyzeBatchOperationDetails fromJson(com.azure.json.JsonReader jsonReader) throws IOException Reads an instance of AnalyzeBatchOperationDetails from the JsonReader.- Parameters:
jsonReader
- The JsonReader being read.- Returns:
- An instance of AnalyzeBatchOperationDetails 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 AnalyzeBatchOperationDetails.
-