ErrorInfo Class
- java.
lang. Object - com.
azure. resourcemanager. datamigration. models. ErrorInfo
- com.
Implements
public final class ErrorInfo
implements JsonSerializable<ErrorInfo>
Error details.
Constructor Summary
| Constructor | Description |
|---|---|
| ErrorInfo() |
Creates an instance of Error |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| String |
code()
Get the code property: Error code. |
|
static
Error |
fromJson(JsonReader jsonReader)
Reads an instance of Error |
| 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
ErrorInfo
public ErrorInfo()
Creates an instance of ErrorInfo class.
Method Details
code
public String code()
Get the code property: Error code.
Returns:
fromJson
public static ErrorInfo fromJson(JsonReader jsonReader)
Reads an instance of ErrorInfo 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.