CheckNameAvailabilityResponseInner Class
- java.
lang. Object - com.
azure. resourcemanager. playwright. fluent. models. CheckNameAvailabilityResponseInner
- com.
Implements
public final class CheckNameAvailabilityResponseInner
implements JsonSerializable<CheckNameAvailabilityResponseInner>
The check availability result.
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Check |
fromJson(JsonReader jsonReader)
Reads an instance of Check |
| String |
message()
Get the message property: Detailed reason why the given name is not available. |
| Boolean |
nameAvailable()
Get the name |
|
Check |
reason()
Get the reason property: The reason why the given name is not available. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
Methods inherited from java.lang.Object
Method Details
fromJson
public static CheckNameAvailabilityResponseInner fromJson(JsonReader jsonReader)
Reads an instance of CheckNameAvailabilityResponseInner from the JsonReader.
Parameters:
Returns:
Throws:
message
public String message()
Get the message property: Detailed reason why the given name is not available.
Returns:
nameAvailable
public Boolean nameAvailable()
Get the nameAvailable property: Indicates if the resource name is available.
Returns:
reason
public CheckNameAvailabilityReason reason()
Get the reason property: The reason why the given name is not available.
Returns:
toJson
validate
public void validate()
Validates the instance.