Class: Azure::BotService::Mgmt::V2018_07_12_preview::Models::TelegramChannelProperties
- Inherits:
-
Object
- Object
- Azure::BotService::Mgmt::V2018_07_12_preview::Models::TelegramChannelProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/telegram_channel_properties.rb
Overview
The parameters to provide for the Telegram channel.
Instance Attribute Summary collapse
-
#access_token ⇒ String
POST to the action Channel List API, otherwise empty.
-
#is_enabled ⇒ Boolean
Whether this channel is enabled for the bot.
-
#is_validated ⇒ Boolean
Whether this channel is validated for the bot.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for TelegramChannelProperties class as Ruby Hash.
Instance Attribute Details
#access_token ⇒ String
POST to the action Channel List API, otherwise empty.
17 18 19 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/telegram_channel_properties.rb', line 17 def access_token @access_token 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/telegram_channel_properties.rb', line 23 def is_enabled @is_enabled end |
#is_validated ⇒ Boolean
Returns Whether this channel is validated for the bot.
20 21 22 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/telegram_channel_properties.rb', line 20 def is_validated @is_validated end |
Class Method Details
.mapper ⇒ Object
Mapper for TelegramChannelProperties 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/telegram_channel_properties.rb', line 30 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'TelegramChannelProperties', type: { name: 'Composite', class_name: 'TelegramChannelProperties', model_properties: { access_token: { client_side_validation: true, required: true, serialized_name: 'accessToken', type: { name: 'String' } }, is_validated: { client_side_validation: true, required: false, serialized_name: 'isValidated', type: { name: 'Boolean' } }, is_enabled: { client_side_validation: true, required: true, serialized_name: 'isEnabled', type: { name: 'Boolean' } } } } } end |