Class: Azure::BotService::Mgmt::V2018_07_12_preview::Models::WebChatChannelProperties

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/web_chat_channel_properties.rb

Overview

The parameters to provide for the Web Chat channel.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#sitesArray<WebChatSite>

Returns The list of Web Chat sites.

Returns:



19
20
21
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/web_chat_channel_properties.rb', line 19

def sites
  @sites
end

#web_chat_embed_codeString

Returns Web chat control embed code.

Returns:

  • (String)

    Web chat control embed code



16
17
18
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/web_chat_channel_properties.rb', line 16

def web_chat_embed_code
  @web_chat_embed_code
end

Class Method Details

.mapperObject

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



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/web_chat_channel_properties.rb', line 26

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'WebChatChannelProperties',
    type: {
      name: 'Composite',
      class_name: 'WebChatChannelProperties',
      model_properties: {
        web_chat_embed_code: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'webChatEmbedCode',
          type: {
            name: 'String'
          }
        },
        sites: {
          client_side_validation: true,
          required: false,
          serialized_name: 'sites',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'WebChatSiteElementType',
                type: {
                  name: 'Composite',
                  class_name: 'WebChatSite'
                }
            }
          }
        }
      }
    }
  }
end