class Azure::BotService::Mgmt::V2017_12_01_preview::Models::MsTeamsChannelProperties

The parameters to provide for the Microsoft Teams channel.

Attributes

call_mode[RW]

@return [String] Enable messaging for Microsoft Teams channel

enable_calling[RW]

@return [Boolean] Enable calling for Microsoft Teams channel

enable_media_cards[RW]

@return [Boolean] Enable media cards for Microsoft Teams channel

enable_messaging[RW]

@return [Boolean] Enable messaging for Microsoft Teams channel

enable_video[RW]

@return [Boolean] Enable video for Microsoft Teams channel

is_enabled[RW]

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

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/ms_teams_channel_properties.rb, line 38
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'MsTeamsChannelProperties',
    type: {
      name: 'Composite',
      class_name: 'MsTeamsChannelProperties',
      model_properties: {
        enable_messaging: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enableMessaging',
          type: {
            name: 'Boolean'
          }
        },
        enable_media_cards: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enableMediaCards',
          type: {
            name: 'Boolean'
          }
        },
        enable_video: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enableVideo',
          type: {
            name: 'Boolean'
          }
        },
        enable_calling: {
          client_side_validation: true,
          required: false,
          serialized_name: 'enableCalling',
          type: {
            name: 'Boolean'
          }
        },
        call_mode: {
          client_side_validation: true,
          required: false,
          serialized_name: 'callMode',
          type: {
            name: 'String'
          }
        },
        is_enabled: {
          client_side_validation: true,
          required: true,
          serialized_name: 'isEnabled',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end