DnsNameAvailabilityResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.network.fluent.models.DnsNameAvailabilityResultInner

Implements

public final class DnsNameAvailabilityResultInner
implements JsonSerializable<DnsNameAvailabilityResultInner>

Response for the CheckDnsNameAvailability API service call.

Constructor Summary

Constructor Description
DnsNameAvailabilityResultInner()

Creates an instance of DnsNameAvailabilityResultInner class.

Method Summary

Modifier and Type Method and Description
Boolean available()

Get the available property: Domain availability (True/False).

static DnsNameAvailabilityResultInner fromJson(JsonReader jsonReader)

Reads an instance of DnsNameAvailabilityResultInner from the JsonReader.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

DnsNameAvailabilityResultInner withAvailable(Boolean available)

Set the available property: Domain availability (True/False).

Methods inherited from java.lang.Object

Constructor Details

DnsNameAvailabilityResultInner

public DnsNameAvailabilityResultInner()

Creates an instance of DnsNameAvailabilityResultInner class.

Method Details

available

public Boolean available()

Get the available property: Domain availability (True/False).

Returns:

the available value.

fromJson

public static DnsNameAvailabilityResultInner fromJson(JsonReader jsonReader)

Reads an instance of DnsNameAvailabilityResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

withAvailable

public DnsNameAvailabilityResultInner withAvailable(Boolean available)

Set the available property: Domain availability (True/False).

Parameters:

available - the available value to set.

Returns:

the DnsNameAvailabilityResultInner object itself.

Applies to