NameAvailabilityInfoInner Class
- java.
lang. Object - com.
azure. resourcemanager. deviceprovisioningservices. fluent. models. NameAvailabilityInfoInner
- com.
Implements
public final class NameAvailabilityInfoInner
implements JsonSerializable<NameAvailabilityInfoInner>
Description of name availability.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Name |
fromJson(JsonReader jsonReader)
Reads an instance of Name |
| String |
message()
Get the message property: message containing a detailed reason name is unavailable. |
| Boolean |
nameAvailable()
Get the name |
|
Name |
reason()
Get the reason property: specifies the reason a name is unavailable. |
|
Json |
toJson(JsonWriter jsonWriter) |
Methods inherited from java.lang.Object
Method Details
fromJson
public static NameAvailabilityInfoInner fromJson(JsonReader jsonReader)
Reads an instance of NameAvailabilityInfoInner from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: message containing a detailed reason name is unavailable.
Returns:
nameAvailable
public Boolean nameAvailable()
Get the nameAvailable property: specifies if a name is available or not.
Returns:
reason
public NameUnavailabilityReason reason()
Get the reason property: specifies the reason a name is unavailable.
Returns: