Class: Azure::BotService::Mgmt::V2018_07_12_preview::Models::SlackChannel

Inherits:
Channel
  • Object
show all
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

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeSlackChannel

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

#channelNameObject

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

#propertiesSlackChannelProperties

Slack channel resource

Returns:



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

.mapperObject

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