OperationStatus Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. OperationStatus
- com.
Implements
public final class OperationStatus
implements JsonSerializable<OperationStatus>
A status describing the success/failure of the enablement/disablement operation.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
code()
Get the code property: The operation status code. |
|
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
| String |
message()
Get the message property: Additional information regarding the success/failure of the operation. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
code
public String code()
Get the code property: The operation status code.
Returns:
fromJson
public static OperationStatus fromJson(JsonReader jsonReader)
Reads an instance of OperationStatus from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: Additional information regarding the success/failure of the operation.
Returns:
toJson
validate
public void validate()
Validates the instance.