Class: Azure::BotService::Mgmt::V2018_07_12_preview::Models::SlackChannelProperties
- Inherits:
-
Object
- Object
- Azure::BotService::Mgmt::V2018_07_12_preview::Models::SlackChannelProperties
- Includes:
- MsRestAzure
- Defined in:
- lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel_properties.rb
Overview
The parameters to provide for the Slack channel.
Instance Attribute Summary collapse
-
#client_id ⇒ String
The Slack client id.
-
#client_secret ⇒ 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.
-
#landing_page_url ⇒ String
The Slack landing page Url.
-
#last_submission_id ⇒ String
The Sms auth token.
-
#redirect_action ⇒ String
The Slack redirect action.
-
#register_before_oauth_flow ⇒ Boolean
validation is performed.
-
#verification_token ⇒ String
through POST to the action Channel List API, otherwise empty.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for SlackChannelProperties class as Ruby Hash.
Instance Attribute Details
#client_id ⇒ String
Returns The Slack client id.
16 17 18 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel_properties.rb', line 16 def client_id @client_id end |
#client_secret ⇒ String
POST to the action Channel List API, otherwise empty.
20 21 22 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel_properties.rb', line 20 def client_secret @client_secret end |
#is_enabled ⇒ Boolean
Returns Whether this channel is enabled for the bot.
43 44 45 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel_properties.rb', line 43 def is_enabled @is_enabled end |
#is_validated ⇒ Boolean
Returns Whether this channel is validated for the bot.
40 41 42 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel_properties.rb', line 40 def is_validated @is_validated end |
#landing_page_url ⇒ String
Returns The Slack landing page Url.
27 28 29 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel_properties.rb', line 27 def landing_page_url @landing_page_url end |
#last_submission_id ⇒ String
Returns The Sms auth token.
33 34 35 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel_properties.rb', line 33 def last_submission_id @last_submission_id end |
#redirect_action ⇒ String
Returns The Slack redirect action.
30 31 32 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel_properties.rb', line 30 def redirect_action @redirect_action end |
#register_before_oauth_flow ⇒ Boolean
validation is performed. Recommended to True.
37 38 39 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel_properties.rb', line 37 def register_before_oauth_flow @register_before_oauth_flow end |
#verification_token ⇒ String
through POST to the action Channel List API, otherwise empty.
24 25 26 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel_properties.rb', line 24 def verification_token @verification_token end |
Class Method Details
.mapper ⇒ Object
Mapper for SlackChannelProperties class as Ruby Hash. This will be used for serialization/deserialization.
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 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 |
# File 'lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/slack_channel_properties.rb', line 50 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'SlackChannelProperties', type: { name: 'Composite', class_name: 'SlackChannelProperties', model_properties: { client_id: { client_side_validation: true, required: true, serialized_name: 'clientId', type: { name: 'String' } }, client_secret: { client_side_validation: true, required: true, serialized_name: 'clientSecret', type: { name: 'String' } }, verification_token: { client_side_validation: true, required: true, serialized_name: 'verificationToken', type: { name: 'String' } }, landing_page_url: { client_side_validation: true, required: false, serialized_name: 'landingPageUrl', type: { name: 'String' } }, redirect_action: { client_side_validation: true, required: false, read_only: true, serialized_name: 'redirectAction', type: { name: 'String' } }, last_submission_id: { client_side_validation: true, required: false, read_only: true, serialized_name: 'lastSubmissionId', type: { name: 'String' } }, register_before_oauth_flow: { client_side_validation: true, required: false, read_only: true, serialized_name: 'registerBeforeOAuthFlow', type: { name: 'Boolean' } }, is_validated: { client_side_validation: true, required: false, read_only: true, serialized_name: 'isValidated', type: { name: 'Boolean' } }, is_enabled: { client_side_validation: true, required: true, serialized_name: 'isEnabled', type: { name: 'Boolean' } } } } } end |