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