Class 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 Detail

      • CheckNameAvailabilityResponseBodyInner

        public CheckNameAvailabilityResponseBodyInner()
    • 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.