OperationStatus Class
- java.
lang. Object - com.
azure. developer. loadtesting. models. OperationStatus
- com.
Implements
public final class OperationStatus
implements JsonSerializable<OperationStatus>
Status of a long running operation.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
|
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. |
|
Operation |
getKind()
Get the kind property: The kind of the operation. |
|
Operation |
getStatus()
Get the status property: The state of the operation. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static OperationStatus fromJson(JsonReader jsonReader)
Reads an instance of OperationStatus 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:
getKind
public OperationKind getKind()
Get the kind property: The kind of the operation.
Returns:
getStatus
public OperationState getStatus()
Get the status property: The state of the operation.
Returns: