ServiceErrorDetail Class
- java.
lang. Object - com.
azure. resourcemanager. quota. models. ServiceErrorDetail
- com.
Implements
public final class ServiceErrorDetail
implements JsonSerializable<ServiceErrorDetail>
Error details.
Constructor Summary
| Constructor | Description |
|---|---|
| ServiceErrorDetail() |
Creates an instance of Service |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
code()
Get the code property: Error code. |
|
static
Service |
fromJson(JsonReader jsonReader)
Reads an instance of Service |
| String |
message()
Get the message property: Error message. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Constructor Details
ServiceErrorDetail
public ServiceErrorDetail()
Creates an instance of ServiceErrorDetail class.
Method Details
code
public String code()
Get the code property: Error code.
Returns:
fromJson
public static ServiceErrorDetail fromJson(JsonReader jsonReader)
Reads an instance of ServiceErrorDetail from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: Error message.
Returns:
toJson
validate
public void validate()
Validates the instance.