ContentAnalyzerOperationStatus Class
- java.
lang. Object - com.
azure. ai. contentunderstanding. models. ContentAnalyzerOperationStatus
- com.
Implements
public final class ContentAnalyzerOperationStatus
implements JsonSerializable<ContentAnalyzerOperationStatus>
Provides status details for analyzer creation 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. |
|
Content |
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 analyzer creation operation. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static ContentAnalyzerOperationStatus fromJson(JsonReader jsonReader)
Reads an instance of ContentAnalyzerOperationStatus 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 ContentAnalyzer 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 analyzer creation operation.
Returns: