TransferError Class

  • java.lang.Object
    • com.azure.resourcemanager.billing.models.TransferError

Implements

public final class TransferError
implements JsonSerializable<TransferError>

Error details for transfer execution.

Constructor Summary

Constructor Description
TransferError()

Creates an instance of TransferError class.

Method Summary

Modifier and Type Method and Description
String code()

Get the code property: Error code.

static TransferError fromJson(JsonReader jsonReader)

Reads an instance of TransferError from the JsonReader.

String message()

Get the message property: Error message.

JsonWriter 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:

the code value.

fromJson

public static TransferError fromJson(JsonReader jsonReader)

Reads an instance of TransferError from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of TransferError if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the TransferError.

message

public String message()

Get the message property: Error message.

Returns:

the message value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to