class Azure::BotService::Mgmt::V2017_12_01_preview::Models::SlackChannelProperties

The parameters to provide for the Slack channel.

Attributes

client_id[RW]

@return [String] The Slack client id

client_secret[RW]

@return [String] The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty.

is_enabled[RW]

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

is_validated[RW]

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

landing_page_url[RW]

@return [String] The Slack landing page Url

last_submission_id[RW]

@return [String] The Sms auth token

redirect_action[RW]

@return [String] The Slack redirect action

register_before_oauth_flow[RW]

@return [Boolean] Whether to register the settings before OAuth validation is performed. Recommended to True.

verification_token[RW]

@return [String] The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty.

Public Class Methods

mapper() click to toggle source

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

# File lib/2017-12-01-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