class Azure::BotService::Mgmt::V2018_07_12_preview::Models::FacebookChannelProperties

The parameters to provide for the Facebook channel.

Attributes

app_id[RW]

@return [String] Facebook application id

app_secret[RW]

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

callback_url[RW]

@return [String] Callback Url

is_enabled[RW]

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

pages[RW]

@return [Array<FacebookPage>] The list of Facebook pages

verify_token[RW]

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

Private Class Methods

mapper() click to toggle source

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

# File lib/2018-07-12-preview/generated/azure_mgmt_bot_service/models/facebook_channel_properties.rb, line 40
def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'FacebookChannelProperties',
    type: {
      name: 'Composite',
      class_name: 'FacebookChannelProperties',
      model_properties: {
        verify_token: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'verifyToken',
          type: {
            name: 'String'
          }
        },
        pages: {
          client_side_validation: true,
          required: false,
          serialized_name: 'pages',
          type: {
            name: 'Sequence',
            element: {
                client_side_validation: true,
                required: false,
                serialized_name: 'FacebookPageElementType',
                type: {
                  name: 'Composite',
                  class_name: 'FacebookPage'
                }
            }
          }
        },
        app_id: {
          client_side_validation: true,
          required: true,
          serialized_name: 'appId',
          type: {
            name: 'String'
          }
        },
        app_secret: {
          client_side_validation: true,
          required: true,
          serialized_name: 'appSecret',
          type: {
            name: 'String'
          }
        },
        callback_url: {
          client_side_validation: true,
          required: false,
          read_only: true,
          serialized_name: 'callbackUrl',
          type: {
            name: 'String'
          }
        },
        is_enabled: {
          client_side_validation: true,
          required: true,
          serialized_name: 'isEnabled',
          type: {
            name: 'Boolean'
          }
        }
      }
    }
  }
end