Class: Azure::BotService::Mgmt::V2017_12_01_preview::Models::WebChatChannel
- Inherits:
-
Channel
- Object
- Channel
- Azure::BotService::Mgmt::V2017_12_01_preview::Models::WebChatChannel
- Includes:
- MsRestAzure
- Defined in:
- lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/web_chat_channel.rb
Overview
Web Chat channel definition
Instance Attribute Summary collapse
-
#channelName ⇒ Object
Returns the value of attribute channelName.
-
#properties ⇒ WebChatChannelProperties
Web Chat channel resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for WebChatChannel class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ WebChatChannel
constructor
A new instance of WebChatChannel.
Constructor Details
#initialize ⇒ WebChatChannel
Returns a new instance of WebChatChannel.
16 17 18 |
# File 'lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/web_chat_channel.rb', line 16 def initialize @channelName = "WebChatChannel" end |
Instance Attribute Details
#channelName ⇒ Object
Returns the value of attribute channelName.
20 21 22 |
# File 'lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/web_chat_channel.rb', line 20 def channelName @channelName end |
#properties ⇒ WebChatChannelProperties
Web Chat channel resource
24 25 26 |
# File 'lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/web_chat_channel.rb', line 24 def properties @properties end |
Class Method Details
.mapper ⇒ Object
Mapper for WebChatChannel class as Ruby Hash. This will be used for serialization/deserialization.
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 |
# File 'lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/web_chat_channel.rb', line 31 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 |