CheckNameAvailabilityResultInner Class

  • java.lang.Object
    • com.azure.resourcemanager.dataprotection.fluent.models.CheckNameAvailabilityResultInner

Implements

public final class CheckNameAvailabilityResultInner
implements JsonSerializable<CheckNameAvailabilityResultInner>

CheckNameAvailability Result.

Method Summary

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

Reads an instance of CheckNameAvailabilityResultInner from the JsonReader.

String message()

Get the message property: Gets or sets the message.

Boolean nameAvailable()

Get the nameAvailable property: Gets or sets a value indicating whether [name available].

String reason()

Get the reason property: Gets or sets the reason.

JsonWriter toJson(JsonWriter jsonWriter)

Methods inherited from java.lang.Object

Method Details

fromJson

public static CheckNameAvailabilityResultInner fromJson(JsonReader jsonReader)

Reads an instance of CheckNameAvailabilityResultInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

message

public String message()

Get the message property: Gets or sets the message.

Returns:

the message value.

nameAvailable

public Boolean nameAvailable()

Get the nameAvailable property: Gets or sets a value indicating whether [name available].

Returns:

the nameAvailable value.

reason

public String reason()

Get the reason property: Gets or sets the reason.

Returns:

the reason value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

Applies to