# 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::V2018_07_12_preview
  module Models
    #
    # Web Chat channel definition
    #
    class WebChatChannel < Channel

      include MsRestAzure


      def initialize
        @channelName = "WebChatChannel"
      end

      attr_accessor :channelName

      # @return [WebChatChannelProperties] The set of properties specific to
      # Web Chat channel resource
      attr_accessor :properties


      #
      # Mapper for WebChatChannel class as Ruby Hash.
      # This will be used for serialization/deserialization.
      #
      def self.mapper()
        {
          client_side_validation: true,
          required: false,
          serialized_name: 'WebChatChannel',
          type: {
            name: 'Composite',
            class_name: 'WebChatChannel',
            model_properties: {
              channelName: {
                client_side_validation: true,
                required: true,
                serialized_name: 'channelName',
                type: {
                  name: 'String'
                }
              },
              properties: {
                client_side_validation: true,
                required: false,
                serialized_name: 'properties',
                type: {
                  name: 'Composite',
                  class_name: 'WebChatChannelProperties'
                }
              }
            }
          }
        }
      end
    end
  end
end
