class Azure::BotService::Mgmt::V2018_07_12_preview::Models::EmailChannelProperties

The parameters to provide for the Email channel.

Attributes

email_address[RW]

@return [String] The email address

is_enabled[RW]

@return [Boolean] Whether this channel is enabled for the bot

password[RW]

@return [String] The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty.

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/email_channel_properties.rb, line 30
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'EmailChannelProperties',
    type: {
      name: 'Composite',
      class_name: 'EmailChannelProperties',
      model_properties: {
        email_address: {
          client_side_validation: true,
          required: true,
          serialized_name: 'emailAddress',
          type: {
            name: 'String'
          }
        },
        password: {
          client_side_validation: true,
          required: true,
          serialized_name: 'password',
          type: {
            name: 'String'
          }
        },
        is_enabled: {
          client_side_validation: true,
          required: true,
          serialized_name: 'isEnabled',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end