class Azure::BotService::Mgmt::V2018_07_12_preview::Models::CheckNameAvailabilityRequestBody

The request body for a request to Bot Service Management to check availability of a bot name.

Attributes

name[RW]

@return [String] the name of the bot for which availability needs to be checked.

type[RW]

@return [String] the type of the bot for which availability needs to be checked

Private Class Methods

mapper() click to toggle source

Mapper for CheckNameAvailabilityRequestBody class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/check_name_availability_request_body.rb, line 29
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'CheckNameAvailabilityRequestBody',
    type: {
      name: 'Composite',
      class_name: 'CheckNameAvailabilityRequestBody',
      model_properties: {
        name: {
          client_side_validation: true,
          required: false,
          serialized_name: 'name',
          type: {
            name: 'String'
          }
        },
        type: {
          client_side_validation: true,
          required: false,
          serialized_name: 'type',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end