Class CheckNameAvailabilityRequestBody

java.lang.Object
com.azure.resourcemanager.botservice.models.CheckNameAvailabilityRequestBody

public final class CheckNameAvailabilityRequestBody extends Object
The request body for a request to Bot Service Management to check availability of a bot name.
  • Constructor Details

    • CheckNameAvailabilityRequestBody

      public CheckNameAvailabilityRequestBody()
  • Method Details

    • name

      public String name()
      Get the name property: the name of the bot for which availability needs to be checked.
      Returns:
      the name value.
    • withName

      public CheckNameAvailabilityRequestBody withName(String name)
      Set the name property: the name of the bot for which availability needs to be checked.
      Parameters:
      name - the name value to set.
      Returns:
      the CheckNameAvailabilityRequestBody object itself.
    • type

      public String type()
      Get the type property: the type of the bot for which availability needs to be checked.
      Returns:
      the type value.
    • withType

      public CheckNameAvailabilityRequestBody withType(String type)
      Set the type property: the type of the bot for which availability needs to be checked.
      Parameters:
      type - the type value to set.
      Returns:
      the CheckNameAvailabilityRequestBody object itself.
    • validate

      public void validate()
      Validates the instance.
      Throws:
      IllegalArgumentException - thrown if the instance is not valid.