# encoding: utf-8
# Code generated by Microsoft (R) AutoRest Code Generator.
# Changes may cause incorrect behavior and will be lost if the code is
# regenerated.

module Azure::BotService::Mgmt::V2017_12_01_preview
  module Models
    #
    # The parameters to provide for the Microsoft Teams channel.
    #
    class MsTeamsChannelProperties

      include MsRestAzure

      # @return [Boolean] Enable messaging for Microsoft Teams channel
      attr_accessor :enable_messaging

      # @return [Boolean] Enable media cards for Microsoft Teams channel
      attr_accessor :enable_media_cards

      # @return [Boolean] Enable video for Microsoft Teams channel
      attr_accessor :enable_video

      # @return [Boolean] Enable calling for Microsoft Teams channel
      attr_accessor :enable_calling

      # @return [String] Enable messaging for Microsoft Teams channel
      attr_accessor :call_mode

      # @return [Boolean] Whether this channel is enabled for the bot
      attr_accessor :is_enabled


      #
      # Mapper for MsTeamsChannelProperties class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      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
    end
  end
end
