ValidateTransferResponse Class

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

Implements

public final class ValidateTransferResponse
implements JsonSerializable<ValidateTransferResponse>

Transfer validation response.

Constructor Summary

Constructor Description
ValidateTransferResponse()

Creates an instance of ValidateTransferResponse class.

Method Summary

Modifier and Type Method and Description
static ValidateTransferResponse fromJson(JsonReader jsonReader)

Reads an instance of ValidateTransferResponse from the JsonReader.

String productId()

Get the productId property: The product id for which this result applies.

List<ValidationResultProperties> results()

Get the results property: The array of validation results.

String status()

Get the status property: The status of validation.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

ValidateTransferResponse withResults(List<ValidationResultProperties> results)

Set the results property: The array of validation results.

Methods inherited from java.lang.Object

Constructor Details

ValidateTransferResponse

public ValidateTransferResponse()

Creates an instance of ValidateTransferResponse class.

Method Details

fromJson

public static ValidateTransferResponse fromJson(JsonReader jsonReader)

Reads an instance of ValidateTransferResponse from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of ValidateTransferResponse 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 ValidateTransferResponse.

productId

public String productId()

Get the productId property: The product id for which this result applies.

Returns:

the productId value.

results

public List<ValidationResultProperties> results()

Get the results property: The array of validation results.

Returns:

the results value.

status

public String status()

Get the status property: The status of validation.

Returns:

the status value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withResults

public ValidateTransferResponse withResults(List<ValidationResultProperties> results)

Set the results property: The array of validation results.

Parameters:

results - the results value to set.

Returns:

the ValidateTransferResponse object itself.

Applies to