Class CheckNameAvailabilityResponseBodyInner
java.lang.Object
com.azure.resourcemanager.botservice.fluent.models.CheckNameAvailabilityResponseBodyInner
The response body returned for a request to Bot Service Management to check availability of a bot name.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionmessage()
Get the message property: additional message from the bot management api showing why a bot name is not available.valid()
Get the valid property: indicates if the bot name is valid.void
validate()
Validates the instance.withMessage
(String message) Set the message property: additional message from the bot management api showing why a bot name is not available.Set the valid property: indicates if the bot name is valid.
-
Constructor Details
-
CheckNameAvailabilityResponseBodyInner
public CheckNameAvailabilityResponseBodyInner()
-
-
Method Details
-
valid
Get the valid property: indicates if the bot name is valid.- Returns:
- the valid value.
-
withValid
Set the valid property: indicates if the bot name is valid.- Parameters:
valid
- the valid value to set.- Returns:
- the CheckNameAvailabilityResponseBodyInner object itself.
-
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
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.
-