AnalyzeOperationDetails Class
- java.
lang. Object - com.
azure. ai. documentintelligence. models. AnalyzeOperationDetails
- com.
Implements
public final class AnalyzeOperationDetails
implements JsonSerializable<AnalyzeOperationDetails>
Status and result of the analyze operation.
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Analyze |
fromJson(JsonReader jsonReader)
Reads an instance of Analyze |
Analyze |
getAnalyzeResult()
Get the analyze |
Offset |
getCreatedOn()
Get the created |
Document |
getError()
Get the error property: Encountered error during document analysis. |
Offset |
getLastUpdatedOn()
Get the last |
String |
getResultId()
Gets the operation |
Document |
getStatus()
Get the status property: Operation status. |
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static AnalyzeOperationDetails fromJson(JsonReader jsonReader)
Reads an instance of AnalyzeOperationDetails from the JsonReader.
Parameters:
Returns:
Throws:
getAnalyzeResult
public AnalyzeResult getAnalyzeResult()
Get the analyzeResult property: Document analysis result.
Returns:
getCreatedOn
public OffsetDateTime getCreatedOn()
Get the createdOn property: Date and time (UTC) when the analyze operation was submitted.
Returns:
getError
public DocumentIntelligenceError getError()
Get the error property: Encountered error during document analysis.
Returns:
getLastUpdatedOn
public OffsetDateTime getLastUpdatedOn()
Get the lastUpdatedOn property: Date and time (UTC) when the status was last updated.
Returns:
getResultId
public String getResultId()
Gets the operationId property: Operation ID.
Returns:
getStatus
public DocumentIntelligenceOperationStatus getStatus()
Get the status property: Operation status. notStarted, running, succeeded, or failed.
Returns:
toJson
Applies to
Azure SDK for Java