Class CheckNameAvailabilityResponseBodyInner
- java.lang.Object
-
- com.azure.resourcemanager.botservice.fluent.models.CheckNameAvailabilityResponseBodyInner
-
public final class CheckNameAvailabilityResponseBodyInner extends Object
The response body returned for a request to Bot Service Management to check availability of a bot name.
-
-
Constructor Summary
Constructors Constructor Description CheckNameAvailabilityResponseBodyInner()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
message()
Get the message property: additional message from the bot management api showing why a bot name is not available.Boolean
valid()
Get the valid property: indicates if the bot name is valid.void
validate()
Validates the instance.CheckNameAvailabilityResponseBodyInner
withMessage(String message)
Set the message property: additional message from the bot management api showing why a bot name is not available.CheckNameAvailabilityResponseBodyInner
withValid(Boolean valid)
Set the valid property: indicates if the bot name is valid.
-
-
-
Method Detail
-
valid
public Boolean valid()
Get the valid property: indicates if the bot name is valid.- Returns:
- the valid value.
-
withValid
public CheckNameAvailabilityResponseBodyInner withValid(Boolean valid)
Set the valid property: indicates if the bot name is valid.- Parameters:
valid
- the valid value to set.- Returns:
- the CheckNameAvailabilityResponseBodyInner object itself.
-
message
public String message()
Get the message property: additional message from the bot management api showing why a bot name is not available.- Returns:
- the message value.
-
withMessage
public CheckNameAvailabilityResponseBodyInner withMessage(String message)
Set the message property: additional message from the bot management api showing why a bot name is not available.- Parameters:
message
- the message value to set.- Returns:
- the CheckNameAvailabilityResponseBodyInner object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-
-