Class: Azure::BotService::Mgmt::V2018_07_12_preview::Models::SlackChannel
- Inherits:
-
Channel
- Object
- Channel
- Azure::BotService::Mgmt::V2018_07_12_preview::Models::SlackChannel
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel.rb
Overview
Slack channel definition
Instance Attribute Summary collapse
-
#channelName ⇒ Object
Returns the value of attribute channelName.
-
#properties ⇒ SlackChannelProperties
Slack channel resource.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SlackChannel class as Ruby Hash.
Instance Method Summary collapse
-
#initialize ⇒ SlackChannel
constructor
A new instance of SlackChannel.
Constructor Details
#initialize ⇒ SlackChannel
Returns a new instance of SlackChannel.
16 17 18 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel.rb', line 16 def initialize @channelName = "SlackChannel" end |
Instance Attribute Details
#channelName ⇒ Object
Returns the value of attribute channelName.
20 21 22 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel.rb', line 20 def channelName @channelName end |
#properties ⇒ SlackChannelProperties
Slack channel resource
24 25 26 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel.rb', line 24 def properties @properties end |
Class Method Details
.mapper ⇒ Object
Mapper for SlackChannel 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/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel.rb', line 31 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SlackChannel', type: { name: 'Composite', class_name: 'SlackChannel', 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: 'SlackChannelProperties' } } } } } end |