class Azure::BotService::Mgmt::V2018_07_12_preview::Models::KikChannelProperties

The parameters to provide for the Kik channel.

Attributes

api_key[RW]

@return [String] Kik API key. Value only returned through POST to the action Channel List API, otherwise empty.

is_enabled[RW]

@return [Boolean] Whether this channel is enabled for the bot

is_validated[RW]

@return [Boolean] Whether this channel is validated for the bot

user_name[RW]

@return [String] The Kik user name

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/kik_channel_properties.rb, line 33
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'KikChannelProperties',
    type: {
      name: 'Composite',
      class_name: 'KikChannelProperties',
      model_properties: {
        user_name: {
          client_side_validation: true,
          required: true,
          serialized_name: 'userName',
          type: {
            name: 'String'
          }
        },
        api_key: {
          client_side_validation: true,
          required: true,
          serialized_name: 'apiKey',
          type: {
            name: 'String'
          }
        },
        is_validated: {
          client_side_validation: true,
          required: false,
          serialized_name: 'isValidated',
          type: {
            name: 'Boolean'
          }
        },
        is_enabled: {
          client_side_validation: true,
          required: true,
          serialized_name: 'isEnabled',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end