ContentAnalyzerAnalyzeOperationStatus Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. ContentAnalyzerAnalyzeOperationStatus
- com.
Implements
public final class ContentAnalyzerAnalyzeOperationStatus
implements JsonSerializable<ContentAnalyzerAnalyzeOperationStatus>
Provides status details for analyze operations.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Content |
fromJson(JsonReader jsonReader)
Reads an instance of Content |
|
Response |
getError()
Get the error property: Error object that describes the error when status is "Failed". |
| String |
getId()
Get the id property: The unique ID of the operation. |
|
Analysis |
getResult()
Get the result property: The result of the operation. |
|
Operation |
getStatus()
Get the status property: The status of the operation. |
|
Usage |
getUsage()
Get the usage property: Usage details of the analyze operation. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static ContentAnalyzerAnalyzeOperationStatus fromJson(JsonReader jsonReader)
Reads an instance of ContentAnalyzerAnalyzeOperationStatus from the JsonReader.
Parameters:
Returns:
Throws:
getError
public ResponseError getError()
Get the error property: Error object that describes the error when status is "Failed".
Returns:
getId
public String getId()
Get the id property: The unique ID of the operation.
Returns:
getResult
public AnalysisResult getResult()
Get the result property: The result of the operation.
Returns:
getStatus
public OperationState getStatus()
Get the status property: The status of the operation.
Returns:
getUsage
public UsageDetails getUsage()
Get the usage property: Usage details of the analyze operation.
Returns: