Class: Azure::BotService::Mgmt::V2018_07_12_preview::Models::Channel
- Inherits:
-
Object
- Object
- Azure::BotService::Mgmt::V2018_07_12_preview::Models::Channel
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/channel.rb
Overview
Channel definition
Direct Known Subclasses
DirectLineChannel, EmailChannel, FacebookChannel, KikChannel, MsTeamsChannel, SkypeChannel, SlackChannel, SmsChannel, TelegramChannel, WebChatChannel
Constant Summary collapse
- @@discriminatorMap =
Hash.new
Instance Attribute Summary collapse
-
#channelName ⇒ Object
Returns the value of attribute channelName.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Channel class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ Channel
constructor
A new instance of Channel.
Constructor Details
#initialize ⇒ Channel
Returns a new instance of Channel.
27 28 29 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/channel.rb', line 27 def initialize @channelName = "Channel" end |
Instance Attribute Details
#channelName ⇒ Object
Returns the value of attribute channelName.
31 32 33 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/channel.rb', line 31 def channelName @channelName end |
Class Method Details
.mapper ⇒ Object
Mapper for Channel class as Ruby Hash. This will be used for serialization/deserialization.
38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/channel.rb', line 38 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Channel', type: { name: 'Composite', polymorphic_discriminator: 'channelName', uber_parent: 'Channel', class_name: 'Channel', model_properties: { } } } end |