Бөлісу құралы:


AppAvailabilityInfoInner Class

  • java.lang.Object
    • com.azure.resourcemanager.iotcentral.fluent.models.AppAvailabilityInfoInner

Implements

public final class AppAvailabilityInfoInner
implements JsonSerializable<AppAvailabilityInfoInner>

The properties indicating whether a given IoT Central application name or subdomain is available.

Constructor Summary

Constructor Description
AppAvailabilityInfoInner()

Creates an instance of AppAvailabilityInfoInner class.

Method Summary

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

Reads an instance of AppAvailabilityInfoInner from the JsonReader.

String message()

Get the message property: The detailed reason message.

Boolean nameAvailable()

Get the nameAvailable property: The value which indicates whether the provided name is available.

String reason()

Get the reason property: The reason for unavailability.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

Methods inherited from java.lang.Object

Constructor Details

AppAvailabilityInfoInner

public AppAvailabilityInfoInner()

Creates an instance of AppAvailabilityInfoInner class.

Method Details

fromJson

public static AppAvailabilityInfoInner fromJson(JsonReader jsonReader)

Reads an instance of AppAvailabilityInfoInner from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

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

message

public String message()

Get the message property: The detailed reason message.

Returns:

the message value.

nameAvailable

public Boolean nameAvailable()

Get the nameAvailable property: The value which indicates whether the provided name is available.

Returns:

the nameAvailable value.

reason

public String reason()

Get the reason property: The reason for unavailability.

Returns:

the reason value.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Applies to