Class: Azure::BotService::Mgmt::V2018_07_12_preview::Models::EmailChannelProperties
- Inherits:
-
Object
- Object
- Azure::BotService::Mgmt::V2018_07_12_preview::Models::EmailChannelProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/email_channel_properties.rb
Overview
The parameters to provide for the Email channel.
Instance Attribute Summary collapse
-
#email_address ⇒ String
The email address.
-
#is_enabled ⇒ Boolean
Whether this channel is enabled for the bot.
-
#password ⇒ String
returned through POST to the action Channel List API, otherwise empty.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for EmailChannelProperties class as Ruby Hash.
Instance Attribute Details
#email_address ⇒ String
Returns The email address.
16 17 18 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/email_channel_properties.rb', line 16 def email_address @email_address end |
#is_enabled ⇒ Boolean
Returns Whether this channel is enabled for the bot.
23 24 25 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/email_channel_properties.rb', line 23 def is_enabled @is_enabled end |
#password ⇒ String
returned through POST to the action Channel List API, otherwise empty.
20 21 22 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/email_channel_properties.rb', line 20 def password @password end |
Class Method Details
.mapper ⇒ Object
Mapper for EmailChannelProperties class as Ruby Hash. This will be used for serialization/deserialization.
30 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 61 62 63 64 65 66 |
# 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 |