Class: Azure::BotService::Mgmt::V2018_07_12_preview::Models::Channel

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

Overview

Channel definition

Constant Summary collapse

@@discriminatorMap =
Hash.new

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Constructor Details

#initializeChannel

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

#channelNameObject

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

.mapperObject

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