class Azure::BotService::Mgmt::V2017_12_01_preview::Models::Channel

Channel definition

Attributes

channelName[RW]

Public Class Methods

mapper() click to toggle source

Mapper for Channel class as Ruby Hash. This will be used for serialization/deserialization.

# File lib/2017-12-01-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
new() click to toggle source
# File lib/2017-12-01-preview/generated/azure_mgmt_bot_service/models/channel.rb, line 27
def initialize
  @channelName = "Channel"
end