OperationError Class
- java.
lang. Object - com.
azure. resourcemanager. devtestlabs. models. OperationError
- com.
Implements
public final class OperationError
implements JsonSerializable<OperationError>
Error details for the operation in case of a failure.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
code()
Get the code property: The error code of the operation error. |
|
static
Operation |
fromJson(JsonReader jsonReader)
Reads an instance of Operation |
| String |
message()
Get the message property: The error message of the operation error. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
code
public String code()
Get the code property: The error code of the operation error.
Returns:
fromJson
public static OperationError fromJson(JsonReader jsonReader)
Reads an instance of OperationError from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: The error message of the operation error.
Returns: