AddressValidationResponseInner Class

  • java.lang.Object
    • com.azure.resourcemanager.billing.fluent.models.AddressValidationResponseInner

Implements

public final class AddressValidationResponseInner
implements JsonSerializable<AddressValidationResponseInner>

Result of the address validation.

Constructor Summary

Constructor Description
AddressValidationResponseInner()

Creates an instance of AddressValidationResponseInner class.

Method Summary

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

Reads an instance of AddressValidationResponseInner from the JsonReader.

AddressValidationStatus status()

Get the status property: Status of the address validation.

List<AddressDetails> suggestedAddresses()

Get the suggestedAddresses property: The list of suggested addresses.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

String validationMessage()

Get the validationMessage property: Validation error message.

Methods inherited from java.lang.Object

Constructor Details

AddressValidationResponseInner

public AddressValidationResponseInner()

Creates an instance of AddressValidationResponseInner class.

Method Details

fromJson

public static AddressValidationResponseInner fromJson(JsonReader jsonReader)

Reads an instance of AddressValidationResponseInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

status

public AddressValidationStatus status()

Get the status property: Status of the address validation.

Returns:

the status value.

suggestedAddresses

public List<AddressDetails> suggestedAddresses()

Get the suggestedAddresses property: The list of suggested addresses.

Returns:

the suggestedAddresses value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

validationMessage

public String validationMessage()

Get the validationMessage property: Validation error message.

Returns:

the validationMessage value.

Applies to