Class: Azure::BotService::Mgmt::V2018_07_12_preview::Models::SmsChannelProperties
- Inherits:
-
Object
- Object
- Azure::BotService::Mgmt::V2018_07_12_preview::Models::SmsChannelProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/sms_channel_properties.rb
Overview
The parameters to provide for the Sms channel.
Instance Attribute Summary collapse
-
#account_sid ⇒ String
to the action Channel List API, otherwise empty.
-
#auth_token ⇒ String
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.
-
#phone ⇒ String
The Sms phone.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SmsChannelProperties class as Ruby Hash.
Instance Attribute Details
#account_sid ⇒ String
to the action Channel List API, otherwise empty.
20 21 22 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/sms_channel_properties.rb', line 20 def account_sid @account_sid end |
#auth_token ⇒ String
to the action Channel List API, otherwise empty.
24 25 26 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/sms_channel_properties.rb', line 24 def auth_token @auth_token end |
#is_enabled ⇒ Boolean
Returns Whether this channel is enabled for the bot.
30 31 32 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/sms_channel_properties.rb', line 30 def is_enabled @is_enabled end |
#is_validated ⇒ Boolean
Returns Whether this channel is validated for the bot.
27 28 29 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/sms_channel_properties.rb', line 27 def is_validated @is_validated end |
#phone ⇒ String
Returns The Sms phone.
16 17 18 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/sms_channel_properties.rb', line 16 def phone @phone end |
Class Method Details
.mapper ⇒ Object
Mapper for SmsChannelProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/sms_channel_properties.rb', line 37 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SmsChannelProperties', type: { name: 'Composite', class_name: 'SmsChannelProperties', model_properties: { phone: { client_side_validation: true, required: true, serialized_name: 'phone', type: { name: 'String' } }, account_sid: { client_side_validation: true, required: true, serialized_name: 'accountSID', type: { name: 'String' } }, auth_token: { client_side_validation: true, required: true, serialized_name: 'authToken', 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 |