Documentation ¶
Overview ¶
Package botservice implements the Azure ARM Botservice service API version 2018-07-12.
Azure Bot Service is a platform for creating smart conversational agents.
Index ¶
- Constants
- func UserAgent() string
- func Version() string
- type BaseClient
- type BasicChannel
- type Bot
- type BotChannel
- type BotConnectionClient
- func (client BotConnectionClient) Create(ctx context.Context, resourceGroupName string, resourceName string, ...) (result ConnectionSetting, err error)
- func (client BotConnectionClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client BotConnectionClient) CreateResponder(resp *http.Response) (result ConnectionSetting, err error)
- func (client BotConnectionClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client BotConnectionClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, ...) (result autorest.Response, err error)
- func (client BotConnectionClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client BotConnectionClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BotConnectionClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client BotConnectionClient) Get(ctx context.Context, resourceGroupName string, resourceName string, ...) (result ConnectionSetting, err error)
- func (client BotConnectionClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client BotConnectionClient) GetResponder(resp *http.Response) (result ConnectionSetting, err error)
- func (client BotConnectionClient) GetSender(req *http.Request) (*http.Response, error)
- func (client BotConnectionClient) ListByBotService(ctx context.Context, resourceGroupName string, resourceName string) (result ConnectionSettingResponseListPage, err error)
- func (client BotConnectionClient) ListByBotServiceComplete(ctx context.Context, resourceGroupName string, resourceName string) (result ConnectionSettingResponseListIterator, err error)
- func (client BotConnectionClient) ListByBotServicePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client BotConnectionClient) ListByBotServiceResponder(resp *http.Response) (result ConnectionSettingResponseList, err error)
- func (client BotConnectionClient) ListByBotServiceSender(req *http.Request) (*http.Response, error)
- func (client BotConnectionClient) ListServiceProviders(ctx context.Context) (result ServiceProviderResponseList, err error)
- func (client BotConnectionClient) ListServiceProvidersPreparer(ctx context.Context) (*http.Request, error)
- func (client BotConnectionClient) ListServiceProvidersResponder(resp *http.Response) (result ServiceProviderResponseList, err error)
- func (client BotConnectionClient) ListServiceProvidersSender(req *http.Request) (*http.Response, error)
- func (client BotConnectionClient) ListWithSecrets(ctx context.Context, resourceGroupName string, resourceName string, ...) (result ConnectionSetting, err error)
- func (client BotConnectionClient) ListWithSecretsPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client BotConnectionClient) ListWithSecretsResponder(resp *http.Response) (result ConnectionSetting, err error)
- func (client BotConnectionClient) ListWithSecretsSender(req *http.Request) (*http.Response, error)
- func (client BotConnectionClient) Update(ctx context.Context, resourceGroupName string, resourceName string, ...) (result ConnectionSetting, err error)
- func (client BotConnectionClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client BotConnectionClient) UpdateResponder(resp *http.Response) (result ConnectionSetting, err error)
- func (client BotConnectionClient) UpdateSender(req *http.Request) (*http.Response, error)
- type BotProperties
- type BotResponseList
- type BotResponseListIterator
- type BotResponseListPage
- type BotsClient
- func (client BotsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, ...) (result Bot, err error)
- func (client BotsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client BotsClient) CreateResponder(resp *http.Response) (result Bot, err error)
- func (client BotsClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client BotsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result autorest.Response, err error)
- func (client BotsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client BotsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client BotsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client BotsClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result Bot, err error)
- func (client BotsClient) GetCheckNameAvailability(ctx context.Context, parameters CheckNameAvailabilityRequestBody) (result CheckNameAvailabilityResponseBody, err error)
- func (client BotsClient) GetCheckNameAvailabilityPreparer(ctx context.Context, parameters CheckNameAvailabilityRequestBody) (*http.Request, error)
- func (client BotsClient) GetCheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResponseBody, err error)
- func (client BotsClient) GetCheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
- func (client BotsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client BotsClient) GetResponder(resp *http.Response) (result Bot, err error)
- func (client BotsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client BotsClient) List(ctx context.Context) (result BotResponseListPage, err error)
- func (client BotsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result BotResponseListPage, err error)
- func (client BotsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result BotResponseListIterator, err error)
- func (client BotsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client BotsClient) ListByResourceGroupResponder(resp *http.Response) (result BotResponseList, err error)
- func (client BotsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client BotsClient) ListComplete(ctx context.Context) (result BotResponseListIterator, err error)
- func (client BotsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client BotsClient) ListResponder(resp *http.Response) (result BotResponseList, err error)
- func (client BotsClient) ListSender(req *http.Request) (*http.Response, error)
- func (client BotsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, ...) (result Bot, err error)
- func (client BotsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client BotsClient) UpdateResponder(resp *http.Response) (result Bot, err error)
- func (client BotsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type Channel
- func (c Channel) AsBasicChannel() (BasicChannel, bool)
- func (c Channel) AsChannel() (*Channel, bool)
- func (c Channel) AsDirectLineChannel() (*DirectLineChannel, bool)
- func (c Channel) AsEmailChannel() (*EmailChannel, bool)
- func (c Channel) AsFacebookChannel() (*FacebookChannel, bool)
- func (c Channel) AsKikChannel() (*KikChannel, bool)
- func (c Channel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
- func (c Channel) AsSkypeChannel() (*SkypeChannel, bool)
- func (c Channel) AsSlackChannel() (*SlackChannel, bool)
- func (c Channel) AsSmsChannel() (*SmsChannel, bool)
- func (c Channel) AsTelegramChannel() (*TelegramChannel, bool)
- func (c Channel) AsWebChatChannel() (*WebChatChannel, bool)
- func (c Channel) MarshalJSON() ([]byte, error)
- type ChannelName
- type ChannelNameBasicChannel
- type ChannelResponseList
- type ChannelResponseListIterator
- func (iter *ChannelResponseListIterator) Next() error
- func (iter *ChannelResponseListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ChannelResponseListIterator) NotDone() bool
- func (iter ChannelResponseListIterator) Response() ChannelResponseList
- func (iter ChannelResponseListIterator) Value() BotChannel
- type ChannelResponseListPage
- func (page *ChannelResponseListPage) Next() error
- func (page *ChannelResponseListPage) NextWithContext(ctx context.Context) (err error)
- func (page ChannelResponseListPage) NotDone() bool
- func (page ChannelResponseListPage) Response() ChannelResponseList
- func (page ChannelResponseListPage) Values() []BotChannel
- type ChannelsClient
- func (client ChannelsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, ...) (result BotChannel, err error)
- func (client ChannelsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client ChannelsClient) CreateResponder(resp *http.Response) (result BotChannel, err error)
- func (client ChannelsClient) CreateSender(req *http.Request) (*http.Response, error)
- func (client ChannelsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, ...) (result autorest.Response, err error)
- func (client ChannelsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client ChannelsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client ChannelsClient) DeleteSender(req *http.Request) (*http.Response, error)
- func (client ChannelsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, ...) (result BotChannel, err error)
- func (client ChannelsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client ChannelsClient) GetResponder(resp *http.Response) (result BotChannel, err error)
- func (client ChannelsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client ChannelsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, resourceName string) (result ChannelResponseListPage, err error)
- func (client ChannelsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, resourceName string) (result ChannelResponseListIterator, err error)
- func (client ChannelsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client ChannelsClient) ListByResourceGroupResponder(resp *http.Response) (result ChannelResponseList, err error)
- func (client ChannelsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client ChannelsClient) ListWithKeys(ctx context.Context, resourceGroupName string, resourceName string, ...) (result BotChannel, err error)
- func (client ChannelsClient) ListWithKeysPreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client ChannelsClient) ListWithKeysResponder(resp *http.Response) (result BotChannel, err error)
- func (client ChannelsClient) ListWithKeysSender(req *http.Request) (*http.Response, error)
- func (client ChannelsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, ...) (result BotChannel, err error)
- func (client ChannelsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client ChannelsClient) UpdateResponder(resp *http.Response) (result BotChannel, err error)
- func (client ChannelsClient) UpdateSender(req *http.Request) (*http.Response, error)
- type CheckNameAvailabilityRequestBody
- type CheckNameAvailabilityResponseBody
- type ConnectionItemName
- type ConnectionSetting
- type ConnectionSettingParameter
- type ConnectionSettingProperties
- type ConnectionSettingResponseList
- type ConnectionSettingResponseListIterator
- func (iter *ConnectionSettingResponseListIterator) Next() error
- func (iter *ConnectionSettingResponseListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter ConnectionSettingResponseListIterator) NotDone() bool
- func (iter ConnectionSettingResponseListIterator) Response() ConnectionSettingResponseList
- func (iter ConnectionSettingResponseListIterator) Value() ConnectionSetting
- type ConnectionSettingResponseListPage
- func (page *ConnectionSettingResponseListPage) Next() error
- func (page *ConnectionSettingResponseListPage) NextWithContext(ctx context.Context) (err error)
- func (page ConnectionSettingResponseListPage) NotDone() bool
- func (page ConnectionSettingResponseListPage) Response() ConnectionSettingResponseList
- func (page ConnectionSettingResponseListPage) Values() []ConnectionSetting
- type DirectLineChannel
- func (dlc DirectLineChannel) AsBasicChannel() (BasicChannel, bool)
- func (dlc DirectLineChannel) AsChannel() (*Channel, bool)
- func (dlc DirectLineChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
- func (dlc DirectLineChannel) AsEmailChannel() (*EmailChannel, bool)
- func (dlc DirectLineChannel) AsFacebookChannel() (*FacebookChannel, bool)
- func (dlc DirectLineChannel) AsKikChannel() (*KikChannel, bool)
- func (dlc DirectLineChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
- func (dlc DirectLineChannel) AsSkypeChannel() (*SkypeChannel, bool)
- func (dlc DirectLineChannel) AsSlackChannel() (*SlackChannel, bool)
- func (dlc DirectLineChannel) AsSmsChannel() (*SmsChannel, bool)
- func (dlc DirectLineChannel) AsTelegramChannel() (*TelegramChannel, bool)
- func (dlc DirectLineChannel) AsWebChatChannel() (*WebChatChannel, bool)
- func (dlc DirectLineChannel) MarshalJSON() ([]byte, error)
- type DirectLineChannelProperties
- type DirectLineSite
- type EmailChannel
- func (ec EmailChannel) AsBasicChannel() (BasicChannel, bool)
- func (ec EmailChannel) AsChannel() (*Channel, bool)
- func (ec EmailChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
- func (ec EmailChannel) AsEmailChannel() (*EmailChannel, bool)
- func (ec EmailChannel) AsFacebookChannel() (*FacebookChannel, bool)
- func (ec EmailChannel) AsKikChannel() (*KikChannel, bool)
- func (ec EmailChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
- func (ec EmailChannel) AsSkypeChannel() (*SkypeChannel, bool)
- func (ec EmailChannel) AsSlackChannel() (*SlackChannel, bool)
- func (ec EmailChannel) AsSmsChannel() (*SmsChannel, bool)
- func (ec EmailChannel) AsTelegramChannel() (*TelegramChannel, bool)
- func (ec EmailChannel) AsWebChatChannel() (*WebChatChannel, bool)
- func (ec EmailChannel) MarshalJSON() ([]byte, error)
- type EmailChannelProperties
- type EnterpriseChannel
- type EnterpriseChannelCheckNameAvailabilityRequest
- type EnterpriseChannelCheckNameAvailabilityResponse
- type EnterpriseChannelNode
- type EnterpriseChannelNodeState
- type EnterpriseChannelProperties
- type EnterpriseChannelResponseList
- type EnterpriseChannelResponseListIterator
- func (iter *EnterpriseChannelResponseListIterator) Next() error
- func (iter *EnterpriseChannelResponseListIterator) NextWithContext(ctx context.Context) (err error)
- func (iter EnterpriseChannelResponseListIterator) NotDone() bool
- func (iter EnterpriseChannelResponseListIterator) Response() EnterpriseChannelResponseList
- func (iter EnterpriseChannelResponseListIterator) Value() EnterpriseChannel
- type EnterpriseChannelResponseListPage
- func (page *EnterpriseChannelResponseListPage) Next() error
- func (page *EnterpriseChannelResponseListPage) NextWithContext(ctx context.Context) (err error)
- func (page EnterpriseChannelResponseListPage) NotDone() bool
- func (page EnterpriseChannelResponseListPage) Response() EnterpriseChannelResponseList
- func (page EnterpriseChannelResponseListPage) Values() []EnterpriseChannel
- type EnterpriseChannelState
- type EnterpriseChannelsClient
- func (client EnterpriseChannelsClient) CheckNameAvailability(ctx context.Context, parameters EnterpriseChannelCheckNameAvailabilityRequest) (result EnterpriseChannelCheckNameAvailabilityResponse, err error)
- func (client EnterpriseChannelsClient) CheckNameAvailabilityPreparer(ctx context.Context, parameters EnterpriseChannelCheckNameAvailabilityRequest) (*http.Request, error)
- func (client EnterpriseChannelsClient) CheckNameAvailabilityResponder(resp *http.Response) (result EnterpriseChannelCheckNameAvailabilityResponse, err error)
- func (client EnterpriseChannelsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
- func (client EnterpriseChannelsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, ...) (result EnterpriseChannelsCreateFuture, err error)
- func (client EnterpriseChannelsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client EnterpriseChannelsClient) CreateResponder(resp *http.Response) (result EnterpriseChannel, err error)
- func (client EnterpriseChannelsClient) CreateSender(req *http.Request) (future EnterpriseChannelsCreateFuture, err error)
- func (client EnterpriseChannelsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result EnterpriseChannelsDeleteFuture, err error)
- func (client EnterpriseChannelsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client EnterpriseChannelsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
- func (client EnterpriseChannelsClient) DeleteSender(req *http.Request) (future EnterpriseChannelsDeleteFuture, err error)
- func (client EnterpriseChannelsClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result EnterpriseChannel, err error)
- func (client EnterpriseChannelsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
- func (client EnterpriseChannelsClient) GetResponder(resp *http.Response) (result EnterpriseChannel, err error)
- func (client EnterpriseChannelsClient) GetSender(req *http.Request) (*http.Response, error)
- func (client EnterpriseChannelsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result EnterpriseChannelResponseListPage, err error)
- func (client EnterpriseChannelsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result EnterpriseChannelResponseListIterator, err error)
- func (client EnterpriseChannelsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
- func (client EnterpriseChannelsClient) ListByResourceGroupResponder(resp *http.Response) (result EnterpriseChannelResponseList, err error)
- func (client EnterpriseChannelsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
- func (client EnterpriseChannelsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, ...) (result EnterpriseChannelsUpdateFuture, err error)
- func (client EnterpriseChannelsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, ...) (*http.Request, error)
- func (client EnterpriseChannelsClient) UpdateResponder(resp *http.Response) (result EnterpriseChannel, err error)
- func (client EnterpriseChannelsClient) UpdateSender(req *http.Request) (future EnterpriseChannelsUpdateFuture, err error)
- type EnterpriseChannelsCreateFuture
- type EnterpriseChannelsDeleteFuture
- type EnterpriseChannelsUpdateFuture
- type Error
- type ErrorBody
- type FacebookChannel
- func (fc FacebookChannel) AsBasicChannel() (BasicChannel, bool)
- func (fc FacebookChannel) AsChannel() (*Channel, bool)
- func (fc FacebookChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
- func (fc FacebookChannel) AsEmailChannel() (*EmailChannel, bool)
- func (fc FacebookChannel) AsFacebookChannel() (*FacebookChannel, bool)
- func (fc FacebookChannel) AsKikChannel() (*KikChannel, bool)
- func (fc FacebookChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
- func (fc FacebookChannel) AsSkypeChannel() (*SkypeChannel, bool)
- func (fc FacebookChannel) AsSlackChannel() (*SlackChannel, bool)
- func (fc FacebookChannel) AsSmsChannel() (*SmsChannel, bool)
- func (fc FacebookChannel) AsTelegramChannel() (*TelegramChannel, bool)
- func (fc FacebookChannel) AsWebChatChannel() (*WebChatChannel, bool)
- func (fc FacebookChannel) MarshalJSON() ([]byte, error)
- type FacebookChannelProperties
- type FacebookPage
- type KikChannel
- func (kc KikChannel) AsBasicChannel() (BasicChannel, bool)
- func (kc KikChannel) AsChannel() (*Channel, bool)
- func (kc KikChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
- func (kc KikChannel) AsEmailChannel() (*EmailChannel, bool)
- func (kc KikChannel) AsFacebookChannel() (*FacebookChannel, bool)
- func (kc KikChannel) AsKikChannel() (*KikChannel, bool)
- func (kc KikChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
- func (kc KikChannel) AsSkypeChannel() (*SkypeChannel, bool)
- func (kc KikChannel) AsSlackChannel() (*SlackChannel, bool)
- func (kc KikChannel) AsSmsChannel() (*SmsChannel, bool)
- func (kc KikChannel) AsTelegramChannel() (*TelegramChannel, bool)
- func (kc KikChannel) AsWebChatChannel() (*WebChatChannel, bool)
- func (kc KikChannel) MarshalJSON() ([]byte, error)
- type KikChannelProperties
- type Kind
- type MsTeamsChannel
- func (mtc MsTeamsChannel) AsBasicChannel() (BasicChannel, bool)
- func (mtc MsTeamsChannel) AsChannel() (*Channel, bool)
- func (mtc MsTeamsChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
- func (mtc MsTeamsChannel) AsEmailChannel() (*EmailChannel, bool)
- func (mtc MsTeamsChannel) AsFacebookChannel() (*FacebookChannel, bool)
- func (mtc MsTeamsChannel) AsKikChannel() (*KikChannel, bool)
- func (mtc MsTeamsChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
- func (mtc MsTeamsChannel) AsSkypeChannel() (*SkypeChannel, bool)
- func (mtc MsTeamsChannel) AsSlackChannel() (*SlackChannel, bool)
- func (mtc MsTeamsChannel) AsSmsChannel() (*SmsChannel, bool)
- func (mtc MsTeamsChannel) AsTelegramChannel() (*TelegramChannel, bool)
- func (mtc MsTeamsChannel) AsWebChatChannel() (*WebChatChannel, bool)
- func (mtc MsTeamsChannel) MarshalJSON() ([]byte, error)
- type MsTeamsChannelProperties
- type OperationDisplayInfo
- type OperationEntity
- type OperationEntityListResult
- type OperationEntityListResultIterator
- func (iter *OperationEntityListResultIterator) Next() error
- func (iter *OperationEntityListResultIterator) NextWithContext(ctx context.Context) (err error)
- func (iter OperationEntityListResultIterator) NotDone() bool
- func (iter OperationEntityListResultIterator) Response() OperationEntityListResult
- func (iter OperationEntityListResultIterator) Value() OperationEntity
- type OperationEntityListResultPage
- func (page *OperationEntityListResultPage) Next() error
- func (page *OperationEntityListResultPage) NextWithContext(ctx context.Context) (err error)
- func (page OperationEntityListResultPage) NotDone() bool
- func (page OperationEntityListResultPage) Response() OperationEntityListResult
- func (page OperationEntityListResultPage) Values() []OperationEntity
- type OperationsClient
- func (client OperationsClient) List(ctx context.Context) (result OperationEntityListResultPage, err error)
- func (client OperationsClient) ListComplete(ctx context.Context) (result OperationEntityListResultIterator, err error)
- func (client OperationsClient) ListPreparer(ctx context.Context) (*http.Request, error)
- func (client OperationsClient) ListResponder(resp *http.Response) (result OperationEntityListResult, err error)
- func (client OperationsClient) ListSender(req *http.Request) (*http.Response, error)
- type Resource
- type ServiceProvider
- type ServiceProviderParameter
- type ServiceProviderProperties
- type ServiceProviderResponseList
- type Sku
- type SkuName
- type SkuTier
- type SkypeChannel
- func (sc SkypeChannel) AsBasicChannel() (BasicChannel, bool)
- func (sc SkypeChannel) AsChannel() (*Channel, bool)
- func (sc SkypeChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
- func (sc SkypeChannel) AsEmailChannel() (*EmailChannel, bool)
- func (sc SkypeChannel) AsFacebookChannel() (*FacebookChannel, bool)
- func (sc SkypeChannel) AsKikChannel() (*KikChannel, bool)
- func (sc SkypeChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
- func (sc SkypeChannel) AsSkypeChannel() (*SkypeChannel, bool)
- func (sc SkypeChannel) AsSlackChannel() (*SlackChannel, bool)
- func (sc SkypeChannel) AsSmsChannel() (*SmsChannel, bool)
- func (sc SkypeChannel) AsTelegramChannel() (*TelegramChannel, bool)
- func (sc SkypeChannel) AsWebChatChannel() (*WebChatChannel, bool)
- func (sc SkypeChannel) MarshalJSON() ([]byte, error)
- type SkypeChannelProperties
- type SlackChannel
- func (sc SlackChannel) AsBasicChannel() (BasicChannel, bool)
- func (sc SlackChannel) AsChannel() (*Channel, bool)
- func (sc SlackChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
- func (sc SlackChannel) AsEmailChannel() (*EmailChannel, bool)
- func (sc SlackChannel) AsFacebookChannel() (*FacebookChannel, bool)
- func (sc SlackChannel) AsKikChannel() (*KikChannel, bool)
- func (sc SlackChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
- func (sc SlackChannel) AsSkypeChannel() (*SkypeChannel, bool)
- func (sc SlackChannel) AsSlackChannel() (*SlackChannel, bool)
- func (sc SlackChannel) AsSmsChannel() (*SmsChannel, bool)
- func (sc SlackChannel) AsTelegramChannel() (*TelegramChannel, bool)
- func (sc SlackChannel) AsWebChatChannel() (*WebChatChannel, bool)
- func (sc SlackChannel) MarshalJSON() ([]byte, error)
- type SlackChannelProperties
- type SmsChannel
- func (sc SmsChannel) AsBasicChannel() (BasicChannel, bool)
- func (sc SmsChannel) AsChannel() (*Channel, bool)
- func (sc SmsChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
- func (sc SmsChannel) AsEmailChannel() (*EmailChannel, bool)
- func (sc SmsChannel) AsFacebookChannel() (*FacebookChannel, bool)
- func (sc SmsChannel) AsKikChannel() (*KikChannel, bool)
- func (sc SmsChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
- func (sc SmsChannel) AsSkypeChannel() (*SkypeChannel, bool)
- func (sc SmsChannel) AsSlackChannel() (*SlackChannel, bool)
- func (sc SmsChannel) AsSmsChannel() (*SmsChannel, bool)
- func (sc SmsChannel) AsTelegramChannel() (*TelegramChannel, bool)
- func (sc SmsChannel) AsWebChatChannel() (*WebChatChannel, bool)
- func (sc SmsChannel) MarshalJSON() ([]byte, error)
- type SmsChannelProperties
- type TelegramChannel
- func (tc TelegramChannel) AsBasicChannel() (BasicChannel, bool)
- func (tc TelegramChannel) AsChannel() (*Channel, bool)
- func (tc TelegramChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
- func (tc TelegramChannel) AsEmailChannel() (*EmailChannel, bool)
- func (tc TelegramChannel) AsFacebookChannel() (*FacebookChannel, bool)
- func (tc TelegramChannel) AsKikChannel() (*KikChannel, bool)
- func (tc TelegramChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
- func (tc TelegramChannel) AsSkypeChannel() (*SkypeChannel, bool)
- func (tc TelegramChannel) AsSlackChannel() (*SlackChannel, bool)
- func (tc TelegramChannel) AsSmsChannel() (*SmsChannel, bool)
- func (tc TelegramChannel) AsTelegramChannel() (*TelegramChannel, bool)
- func (tc TelegramChannel) AsWebChatChannel() (*WebChatChannel, bool)
- func (tc TelegramChannel) MarshalJSON() ([]byte, error)
- type TelegramChannelProperties
- type WebChatChannel
- func (wcc WebChatChannel) AsBasicChannel() (BasicChannel, bool)
- func (wcc WebChatChannel) AsChannel() (*Channel, bool)
- func (wcc WebChatChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
- func (wcc WebChatChannel) AsEmailChannel() (*EmailChannel, bool)
- func (wcc WebChatChannel) AsFacebookChannel() (*FacebookChannel, bool)
- func (wcc WebChatChannel) AsKikChannel() (*KikChannel, bool)
- func (wcc WebChatChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
- func (wcc WebChatChannel) AsSkypeChannel() (*SkypeChannel, bool)
- func (wcc WebChatChannel) AsSlackChannel() (*SlackChannel, bool)
- func (wcc WebChatChannel) AsSmsChannel() (*SmsChannel, bool)
- func (wcc WebChatChannel) AsTelegramChannel() (*TelegramChannel, bool)
- func (wcc WebChatChannel) AsWebChatChannel() (*WebChatChannel, bool)
- func (wcc WebChatChannel) MarshalJSON() ([]byte, error)
- type WebChatChannelProperties
- type WebChatSite
Constants ¶
const (
// DefaultBaseURI is the default URI used for the service Botservice
DefaultBaseURI = "https://management.azure.com"
)
Variables ¶
This section is empty.
Functions ¶
func UserAgent ¶
func UserAgent() string
UserAgent returns the UserAgent string to use when sending http.Requests.
func Version ¶
func Version() string
Version returns the semantic version (see http://semver.org) of the client.
Types ¶
type BaseClient ¶
BaseClient is the base client for Botservice.
func New ¶
func New(subscriptionID string) BaseClient
New creates an instance of the BaseClient client.
func NewWithBaseURI ¶
func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient
NewWithBaseURI creates an instance of the BaseClient client.
type BasicChannel ¶
type BasicChannel interface { AsFacebookChannel() (*FacebookChannel, bool) AsEmailChannel() (*EmailChannel, bool) AsMsTeamsChannel() (*MsTeamsChannel, bool) AsSkypeChannel() (*SkypeChannel, bool) AsKikChannel() (*KikChannel, bool) AsWebChatChannel() (*WebChatChannel, bool) AsDirectLineChannel() (*DirectLineChannel, bool) AsTelegramChannel() (*TelegramChannel, bool) AsSmsChannel() (*SmsChannel, bool) AsSlackChannel() (*SlackChannel, bool) AsChannel() (*Channel, bool) }
BasicChannel channel definition
type Bot ¶
type Bot struct { autorest.Response `json:"-"` // Properties - The set of properties specific to bot resource Properties *BotProperties `json:"properties,omitempty"` // ID - Specifies the resource ID. ID *string `json:"id,omitempty"` // Name - Specifies the name of the resource. Name *string `json:"name,omitempty"` // Location - Specifies the location of the resource. Location *string `json:"location,omitempty"` // Type - Specifies the type of the resource. Type *string `json:"type,omitempty"` // Tags - Contains resource tags defined as key/value pairs. Tags map[string]*string `json:"tags"` // Sku - Gets or sets the SKU of the resource. Sku *Sku `json:"sku,omitempty"` // Kind - Required. Gets or sets the Kind of the resource. Possible values include: 'KindSdk', 'KindDesigner', 'KindBot', 'KindFunction' Kind Kind `json:"kind,omitempty"` // Etag - Entity Tag Etag *string `json:"etag,omitempty"` }
Bot bot resource definition
func (Bot) MarshalJSON ¶
MarshalJSON is the custom marshaler for Bot.
type BotChannel ¶
type BotChannel struct { autorest.Response `json:"-"` // Properties - The set of properties specific to bot channel resource Properties BasicChannel `json:"properties,omitempty"` // ID - Specifies the resource ID. ID *string `json:"id,omitempty"` // Name - Specifies the name of the resource. Name *string `json:"name,omitempty"` // Location - Specifies the location of the resource. Location *string `json:"location,omitempty"` // Type - Specifies the type of the resource. Type *string `json:"type,omitempty"` // Tags - Contains resource tags defined as key/value pairs. Tags map[string]*string `json:"tags"` // Sku - Gets or sets the SKU of the resource. Sku *Sku `json:"sku,omitempty"` // Kind - Required. Gets or sets the Kind of the resource. Possible values include: 'KindSdk', 'KindDesigner', 'KindBot', 'KindFunction' Kind Kind `json:"kind,omitempty"` // Etag - Entity Tag Etag *string `json:"etag,omitempty"` }
BotChannel bot channel resource definition
func (BotChannel) MarshalJSON ¶
func (bc BotChannel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for BotChannel.
func (*BotChannel) UnmarshalJSON ¶
func (bc *BotChannel) UnmarshalJSON(body []byte) error
UnmarshalJSON is the custom unmarshaler for BotChannel struct.
type BotConnectionClient ¶
type BotConnectionClient struct {
BaseClient
}
BotConnectionClient is the azure Bot Service is a platform for creating smart conversational agents.
func NewBotConnectionClient ¶
func NewBotConnectionClient(subscriptionID string) BotConnectionClient
NewBotConnectionClient creates an instance of the BotConnectionClient client.
func NewBotConnectionClientWithBaseURI ¶
func NewBotConnectionClientWithBaseURI(baseURI string, subscriptionID string) BotConnectionClient
NewBotConnectionClientWithBaseURI creates an instance of the BotConnectionClient client.
func (BotConnectionClient) Create ¶
func (client BotConnectionClient) Create(ctx context.Context, resourceGroupName string, resourceName string, connectionName string, parameters ConnectionSetting) (result ConnectionSetting, err error)
Create register a new Auth Connection for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. connectionName - the name of the Bot Service Connection Setting resource parameters - the parameters to provide for creating the Connection Setting.
func (BotConnectionClient) CreatePreparer ¶
func (client BotConnectionClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, connectionName string, parameters ConnectionSetting) (*http.Request, error)
CreatePreparer prepares the Create request.
func (BotConnectionClient) CreateResponder ¶
func (client BotConnectionClient) CreateResponder(resp *http.Response) (result ConnectionSetting, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (BotConnectionClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (BotConnectionClient) Delete ¶
func (client BotConnectionClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (result autorest.Response, err error)
Delete deletes a Connection Setting registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. connectionName - the name of the Bot Service Connection Setting resource
func (BotConnectionClient) DeletePreparer ¶
func (client BotConnectionClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (BotConnectionClient) DeleteResponder ¶
func (client BotConnectionClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (BotConnectionClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (BotConnectionClient) Get ¶
func (client BotConnectionClient) Get(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (result ConnectionSetting, err error)
Get get a Connection Setting registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. connectionName - the name of the Bot Service Connection Setting resource
func (BotConnectionClient) GetPreparer ¶
func (client BotConnectionClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (BotConnectionClient) GetResponder ¶
func (client BotConnectionClient) GetResponder(resp *http.Response) (result ConnectionSetting, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (BotConnectionClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (BotConnectionClient) ListByBotService ¶
func (client BotConnectionClient) ListByBotService(ctx context.Context, resourceGroupName string, resourceName string) (result ConnectionSettingResponseListPage, err error)
ListByBotService returns all the Connection Settings registered to a particular BotService resource Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.
func (BotConnectionClient) ListByBotServiceComplete ¶
func (client BotConnectionClient) ListByBotServiceComplete(ctx context.Context, resourceGroupName string, resourceName string) (result ConnectionSettingResponseListIterator, err error)
ListByBotServiceComplete enumerates all values, automatically crossing page boundaries as required.
func (BotConnectionClient) ListByBotServicePreparer ¶
func (client BotConnectionClient) ListByBotServicePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
ListByBotServicePreparer prepares the ListByBotService request.
func (BotConnectionClient) ListByBotServiceResponder ¶
func (client BotConnectionClient) ListByBotServiceResponder(resp *http.Response) (result ConnectionSettingResponseList, err error)
ListByBotServiceResponder handles the response to the ListByBotService request. The method always closes the http.Response Body.
func (BotConnectionClient) ListByBotServiceSender ¶
ListByBotServiceSender sends the ListByBotService request. The method will close the http.Response Body if it receives an error.
func (BotConnectionClient) ListServiceProviders ¶
func (client BotConnectionClient) ListServiceProviders(ctx context.Context) (result ServiceProviderResponseList, err error)
ListServiceProviders lists the available Service Providers for creating Connection Settings
func (BotConnectionClient) ListServiceProvidersPreparer ¶
func (client BotConnectionClient) ListServiceProvidersPreparer(ctx context.Context) (*http.Request, error)
ListServiceProvidersPreparer prepares the ListServiceProviders request.
func (BotConnectionClient) ListServiceProvidersResponder ¶
func (client BotConnectionClient) ListServiceProvidersResponder(resp *http.Response) (result ServiceProviderResponseList, err error)
ListServiceProvidersResponder handles the response to the ListServiceProviders request. The method always closes the http.Response Body.
func (BotConnectionClient) ListServiceProvidersSender ¶
func (client BotConnectionClient) ListServiceProvidersSender(req *http.Request) (*http.Response, error)
ListServiceProvidersSender sends the ListServiceProviders request. The method will close the http.Response Body if it receives an error.
func (BotConnectionClient) ListWithSecrets ¶
func (client BotConnectionClient) ListWithSecrets(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (result ConnectionSetting, err error)
ListWithSecrets get a Connection Setting registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. connectionName - the name of the Bot Service Connection Setting resource
func (BotConnectionClient) ListWithSecretsPreparer ¶
func (client BotConnectionClient) ListWithSecretsPreparer(ctx context.Context, resourceGroupName string, resourceName string, connectionName string) (*http.Request, error)
ListWithSecretsPreparer prepares the ListWithSecrets request.
func (BotConnectionClient) ListWithSecretsResponder ¶
func (client BotConnectionClient) ListWithSecretsResponder(resp *http.Response) (result ConnectionSetting, err error)
ListWithSecretsResponder handles the response to the ListWithSecrets request. The method always closes the http.Response Body.
func (BotConnectionClient) ListWithSecretsSender ¶
ListWithSecretsSender sends the ListWithSecrets request. The method will close the http.Response Body if it receives an error.
func (BotConnectionClient) Update ¶
func (client BotConnectionClient) Update(ctx context.Context, resourceGroupName string, resourceName string, connectionName string, parameters ConnectionSetting) (result ConnectionSetting, err error)
Update updates a Connection Setting registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. connectionName - the name of the Bot Service Connection Setting resource parameters - the parameters to provide for updating the Connection Setting.
func (BotConnectionClient) UpdatePreparer ¶
func (client BotConnectionClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, connectionName string, parameters ConnectionSetting) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (BotConnectionClient) UpdateResponder ¶
func (client BotConnectionClient) UpdateResponder(resp *http.Response) (result ConnectionSetting, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (BotConnectionClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type BotProperties ¶
type BotProperties struct { // DisplayName - The Name of the bot DisplayName *string `json:"displayName,omitempty"` // Description - The description of the bot Description *string `json:"description,omitempty"` // IconURL - The Icon Url of the bot IconURL *string `json:"iconUrl,omitempty"` // Endpoint - The bot's endpoint Endpoint *string `json:"endpoint,omitempty"` // EndpointVersion - The bot's endpoint version EndpointVersion *string `json:"endpointVersion,omitempty"` // MsaAppID - Microsoft App Id for the bot MsaAppID *string `json:"msaAppId,omitempty"` // ConfiguredChannels - Collection of channels for which the bot is configured ConfiguredChannels *[]string `json:"configuredChannels,omitempty"` // EnabledChannels - Collection of channels for which the bot is enabled EnabledChannels *[]string `json:"enabledChannels,omitempty"` // DeveloperAppInsightKey - The Application Insights key DeveloperAppInsightKey *string `json:"developerAppInsightKey,omitempty"` // DeveloperAppInsightsAPIKey - The Application Insights Api Key DeveloperAppInsightsAPIKey *string `json:"developerAppInsightsApiKey,omitempty"` // DeveloperAppInsightsApplicationID - The Application Insights App Id DeveloperAppInsightsApplicationID *string `json:"developerAppInsightsApplicationId,omitempty"` // LuisAppIds - Collection of LUIS App Ids LuisAppIds *[]string `json:"luisAppIds,omitempty"` // LuisKey - The LUIS Key LuisKey *string `json:"luisKey,omitempty"` }
BotProperties the parameters to provide for the Bot.
type BotResponseList ¶
type BotResponseList struct { autorest.Response `json:"-"` // NextLink - The link used to get the next page of bot service resources. NextLink *string `json:"nextLink,omitempty"` // Value - Gets the list of bot service results and their properties. Value *[]Bot `json:"value,omitempty"` }
BotResponseList the list of bot service operation response.
func (BotResponseList) IsEmpty ¶
func (brl BotResponseList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type BotResponseListIterator ¶
type BotResponseListIterator struct {
// contains filtered or unexported fields
}
BotResponseListIterator provides access to a complete listing of Bot values.
func (*BotResponseListIterator) Next ¶
func (iter *BotResponseListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*BotResponseListIterator) NextWithContext ¶
func (iter *BotResponseListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (BotResponseListIterator) NotDone ¶
func (iter BotResponseListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (BotResponseListIterator) Response ¶
func (iter BotResponseListIterator) Response() BotResponseList
Response returns the raw server response from the last page request.
func (BotResponseListIterator) Value ¶
func (iter BotResponseListIterator) Value() Bot
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type BotResponseListPage ¶
type BotResponseListPage struct {
// contains filtered or unexported fields
}
BotResponseListPage contains a page of Bot values.
func (*BotResponseListPage) Next ¶
func (page *BotResponseListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*BotResponseListPage) NextWithContext ¶
func (page *BotResponseListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (BotResponseListPage) NotDone ¶
func (page BotResponseListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (BotResponseListPage) Response ¶
func (page BotResponseListPage) Response() BotResponseList
Response returns the raw server response from the last page request.
func (BotResponseListPage) Values ¶
func (page BotResponseListPage) Values() []Bot
Values returns the slice of values for the current page or nil if there are no values.
type BotsClient ¶
type BotsClient struct {
BaseClient
}
BotsClient is the azure Bot Service is a platform for creating smart conversational agents.
func NewBotsClient ¶
func NewBotsClient(subscriptionID string) BotsClient
NewBotsClient creates an instance of the BotsClient client.
func NewBotsClientWithBaseURI ¶
func NewBotsClientWithBaseURI(baseURI string, subscriptionID string) BotsClient
NewBotsClientWithBaseURI creates an instance of the BotsClient client.
func (BotsClient) Create ¶
func (client BotsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, parameters Bot) (result Bot, err error)
Create creates a Bot Service. Bot Service is a resource group wide resource type. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. parameters - the parameters to provide for the created bot.
func (BotsClient) CreatePreparer ¶
func (client BotsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters Bot) (*http.Request, error)
CreatePreparer prepares the Create request.
func (BotsClient) CreateResponder ¶
func (client BotsClient) CreateResponder(resp *http.Response) (result Bot, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (BotsClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (BotsClient) Delete ¶
func (client BotsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result autorest.Response, err error)
Delete deletes a Bot Service from the resource group. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.
func (BotsClient) DeletePreparer ¶
func (client BotsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (BotsClient) DeleteResponder ¶
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (BotsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (BotsClient) Get ¶
func (client BotsClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result Bot, err error)
Get returns a BotService specified by the parameters. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.
func (BotsClient) GetCheckNameAvailability ¶
func (client BotsClient) GetCheckNameAvailability(ctx context.Context, parameters CheckNameAvailabilityRequestBody) (result CheckNameAvailabilityResponseBody, err error)
GetCheckNameAvailability check whether a bot name is available. Parameters: parameters - the request body parameters to provide for the check name availability request
func (BotsClient) GetCheckNameAvailabilityPreparer ¶
func (client BotsClient) GetCheckNameAvailabilityPreparer(ctx context.Context, parameters CheckNameAvailabilityRequestBody) (*http.Request, error)
GetCheckNameAvailabilityPreparer prepares the GetCheckNameAvailability request.
func (BotsClient) GetCheckNameAvailabilityResponder ¶
func (client BotsClient) GetCheckNameAvailabilityResponder(resp *http.Response) (result CheckNameAvailabilityResponseBody, err error)
GetCheckNameAvailabilityResponder handles the response to the GetCheckNameAvailability request. The method always closes the http.Response Body.
func (BotsClient) GetCheckNameAvailabilitySender ¶
GetCheckNameAvailabilitySender sends the GetCheckNameAvailability request. The method will close the http.Response Body if it receives an error.
func (BotsClient) GetPreparer ¶
func (client BotsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (BotsClient) GetResponder ¶
func (client BotsClient) GetResponder(resp *http.Response) (result Bot, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (BotsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (BotsClient) List ¶
func (client BotsClient) List(ctx context.Context) (result BotResponseListPage, err error)
List returns all the resources of a particular type belonging to a subscription.
func (BotsClient) ListByResourceGroup ¶
func (client BotsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result BotResponseListPage, err error)
ListByResourceGroup returns all the resources of a particular type belonging to a resource group Parameters: resourceGroupName - the name of the Bot resource group in the user subscription.
func (BotsClient) ListByResourceGroupComplete ¶
func (client BotsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result BotResponseListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (BotsClient) ListByResourceGroupPreparer ¶
func (client BotsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (BotsClient) ListByResourceGroupResponder ¶
func (client BotsClient) ListByResourceGroupResponder(resp *http.Response) (result BotResponseList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (BotsClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (BotsClient) ListComplete ¶
func (client BotsClient) ListComplete(ctx context.Context) (result BotResponseListIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (BotsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (BotsClient) ListResponder ¶
func (client BotsClient) ListResponder(resp *http.Response) (result BotResponseList, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (BotsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
func (BotsClient) Update ¶
func (client BotsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, parameters Bot) (result Bot, err error)
Update updates a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. parameters - the parameters to provide for the created bot.
func (BotsClient) UpdatePreparer ¶
func (client BotsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters Bot) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (BotsClient) UpdateResponder ¶
func (client BotsClient) UpdateResponder(resp *http.Response) (result Bot, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (BotsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type Channel ¶
type Channel struct { // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1' ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"` }
Channel channel definition
func (Channel) AsBasicChannel ¶
func (c Channel) AsBasicChannel() (BasicChannel, bool)
AsBasicChannel is the BasicChannel implementation for Channel.
func (Channel) AsDirectLineChannel ¶
func (c Channel) AsDirectLineChannel() (*DirectLineChannel, bool)
AsDirectLineChannel is the BasicChannel implementation for Channel.
func (Channel) AsEmailChannel ¶
func (c Channel) AsEmailChannel() (*EmailChannel, bool)
AsEmailChannel is the BasicChannel implementation for Channel.
func (Channel) AsFacebookChannel ¶
func (c Channel) AsFacebookChannel() (*FacebookChannel, bool)
AsFacebookChannel is the BasicChannel implementation for Channel.
func (Channel) AsKikChannel ¶
func (c Channel) AsKikChannel() (*KikChannel, bool)
AsKikChannel is the BasicChannel implementation for Channel.
func (Channel) AsMsTeamsChannel ¶
func (c Channel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
AsMsTeamsChannel is the BasicChannel implementation for Channel.
func (Channel) AsSkypeChannel ¶
func (c Channel) AsSkypeChannel() (*SkypeChannel, bool)
AsSkypeChannel is the BasicChannel implementation for Channel.
func (Channel) AsSlackChannel ¶
func (c Channel) AsSlackChannel() (*SlackChannel, bool)
AsSlackChannel is the BasicChannel implementation for Channel.
func (Channel) AsSmsChannel ¶
func (c Channel) AsSmsChannel() (*SmsChannel, bool)
AsSmsChannel is the BasicChannel implementation for Channel.
func (Channel) AsTelegramChannel ¶
func (c Channel) AsTelegramChannel() (*TelegramChannel, bool)
AsTelegramChannel is the BasicChannel implementation for Channel.
func (Channel) AsWebChatChannel ¶
func (c Channel) AsWebChatChannel() (*WebChatChannel, bool)
AsWebChatChannel is the BasicChannel implementation for Channel.
func (Channel) MarshalJSON ¶
MarshalJSON is the custom marshaler for Channel.
type ChannelName ¶
type ChannelName string
ChannelName enumerates the values for channel name.
const ( // ChannelNameDirectLineChannel ... ChannelNameDirectLineChannel ChannelName = "DirectLineChannel" // ChannelNameEmailChannel ... ChannelNameEmailChannel ChannelName = "EmailChannel" // ChannelNameFacebookChannel ... ChannelNameFacebookChannel ChannelName = "FacebookChannel" // ChannelNameKikChannel ... ChannelNameKikChannel ChannelName = "KikChannel" // ChannelNameMsTeamsChannel ... ChannelNameMsTeamsChannel ChannelName = "MsTeamsChannel" // ChannelNameSkypeChannel ... ChannelNameSkypeChannel ChannelName = "SkypeChannel" // ChannelNameSlackChannel ... ChannelNameSlackChannel ChannelName = "SlackChannel" // ChannelNameSmsChannel ... ChannelNameSmsChannel ChannelName = "SmsChannel" // ChannelNameTelegramChannel ... ChannelNameTelegramChannel ChannelName = "TelegramChannel" // ChannelNameWebChatChannel ... ChannelNameWebChatChannel ChannelName = "WebChatChannel" )
func PossibleChannelNameValues ¶
func PossibleChannelNameValues() []ChannelName
PossibleChannelNameValues returns an array of possible values for the ChannelName const type.
type ChannelNameBasicChannel ¶
type ChannelNameBasicChannel string
ChannelNameBasicChannel enumerates the values for channel name basic channel.
const ( // ChannelNameChannel ... ChannelNameChannel ChannelNameBasicChannel = "Channel" // ChannelNameDirectLineChannel1 ... ChannelNameDirectLineChannel1 ChannelNameBasicChannel = "DirectLineChannel" // ChannelNameEmailChannel1 ... ChannelNameEmailChannel1 ChannelNameBasicChannel = "EmailChannel" // ChannelNameFacebookChannel1 ... ChannelNameFacebookChannel1 ChannelNameBasicChannel = "FacebookChannel" // ChannelNameKikChannel1 ... ChannelNameKikChannel1 ChannelNameBasicChannel = "KikChannel" // ChannelNameMsTeamsChannel1 ... ChannelNameMsTeamsChannel1 ChannelNameBasicChannel = "MsTeamsChannel" // ChannelNameSkypeChannel1 ... ChannelNameSkypeChannel1 ChannelNameBasicChannel = "SkypeChannel" // ChannelNameSlackChannel1 ... ChannelNameSlackChannel1 ChannelNameBasicChannel = "SlackChannel" // ChannelNameSmsChannel1 ... ChannelNameSmsChannel1 ChannelNameBasicChannel = "SmsChannel" // ChannelNameTelegramChannel1 ... ChannelNameTelegramChannel1 ChannelNameBasicChannel = "TelegramChannel" // ChannelNameWebChatChannel1 ... ChannelNameWebChatChannel1 ChannelNameBasicChannel = "WebChatChannel" )
func PossibleChannelNameBasicChannelValues ¶
func PossibleChannelNameBasicChannelValues() []ChannelNameBasicChannel
PossibleChannelNameBasicChannelValues returns an array of possible values for the ChannelNameBasicChannel const type.
type ChannelResponseList ¶
type ChannelResponseList struct { autorest.Response `json:"-"` // NextLink - The link used to get the next page of bot service channel resources. NextLink *string `json:"nextLink,omitempty"` // Value - Gets the list of bot service channel results and their properties. Value *[]BotChannel `json:"value,omitempty"` }
ChannelResponseList the list of bot service channel operation response.
func (ChannelResponseList) IsEmpty ¶
func (crl ChannelResponseList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ChannelResponseListIterator ¶
type ChannelResponseListIterator struct {
// contains filtered or unexported fields
}
ChannelResponseListIterator provides access to a complete listing of BotChannel values.
func (*ChannelResponseListIterator) Next ¶
func (iter *ChannelResponseListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ChannelResponseListIterator) NextWithContext ¶
func (iter *ChannelResponseListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ChannelResponseListIterator) NotDone ¶
func (iter ChannelResponseListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ChannelResponseListIterator) Response ¶
func (iter ChannelResponseListIterator) Response() ChannelResponseList
Response returns the raw server response from the last page request.
func (ChannelResponseListIterator) Value ¶
func (iter ChannelResponseListIterator) Value() BotChannel
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ChannelResponseListPage ¶
type ChannelResponseListPage struct {
// contains filtered or unexported fields
}
ChannelResponseListPage contains a page of BotChannel values.
func (*ChannelResponseListPage) Next ¶
func (page *ChannelResponseListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ChannelResponseListPage) NextWithContext ¶
func (page *ChannelResponseListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ChannelResponseListPage) NotDone ¶
func (page ChannelResponseListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ChannelResponseListPage) Response ¶
func (page ChannelResponseListPage) Response() ChannelResponseList
Response returns the raw server response from the last page request.
func (ChannelResponseListPage) Values ¶
func (page ChannelResponseListPage) Values() []BotChannel
Values returns the slice of values for the current page or nil if there are no values.
type ChannelsClient ¶
type ChannelsClient struct {
BaseClient
}
ChannelsClient is the azure Bot Service is a platform for creating smart conversational agents.
func NewChannelsClient ¶
func NewChannelsClient(subscriptionID string) ChannelsClient
NewChannelsClient creates an instance of the ChannelsClient client.
func NewChannelsClientWithBaseURI ¶
func NewChannelsClientWithBaseURI(baseURI string, subscriptionID string) ChannelsClient
NewChannelsClientWithBaseURI creates an instance of the ChannelsClient client.
func (ChannelsClient) Create ¶
func (client ChannelsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName, parameters BotChannel) (result BotChannel, err error)
Create creates a Channel registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. channelName - the name of the Channel resource. parameters - the parameters to provide for the created bot.
func (ChannelsClient) CreatePreparer ¶
func (client ChannelsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName, parameters BotChannel) (*http.Request, error)
CreatePreparer prepares the Create request.
func (ChannelsClient) CreateResponder ¶
func (client ChannelsClient) CreateResponder(resp *http.Response) (result BotChannel, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (ChannelsClient) CreateSender ¶
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (ChannelsClient) Delete ¶
func (client ChannelsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string, channelName string) (result autorest.Response, err error)
Delete deletes a Channel registration from a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. channelName - the name of the Bot resource.
func (ChannelsClient) DeletePreparer ¶
func (client ChannelsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string, channelName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (ChannelsClient) DeleteResponder ¶
func (client ChannelsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (ChannelsClient) DeleteSender ¶
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (ChannelsClient) Get ¶
func (client ChannelsClient) Get(ctx context.Context, resourceGroupName string, resourceName string, channelName string) (result BotChannel, err error)
Get returns a BotService Channel registration specified by the parameters. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. channelName - the name of the Bot resource.
func (ChannelsClient) GetPreparer ¶
func (client ChannelsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string, channelName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (ChannelsClient) GetResponder ¶
func (client ChannelsClient) GetResponder(resp *http.Response) (result BotChannel, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (ChannelsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (ChannelsClient) ListByResourceGroup ¶
func (client ChannelsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string, resourceName string) (result ChannelResponseListPage, err error)
ListByResourceGroup returns all the Channel registrations of a particular BotService resource Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.
func (ChannelsClient) ListByResourceGroupComplete ¶
func (client ChannelsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string, resourceName string) (result ChannelResponseListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (ChannelsClient) ListByResourceGroupPreparer ¶
func (client ChannelsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (ChannelsClient) ListByResourceGroupResponder ¶
func (client ChannelsClient) ListByResourceGroupResponder(resp *http.Response) (result ChannelResponseList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (ChannelsClient) ListByResourceGroupSender ¶
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (ChannelsClient) ListWithKeys ¶
func (client ChannelsClient) ListWithKeys(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName) (result BotChannel, err error)
ListWithKeys lists a Channel registration for a Bot Service including secrets Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. channelName - the name of the Channel resource.
func (ChannelsClient) ListWithKeysPreparer ¶
func (client ChannelsClient) ListWithKeysPreparer(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName) (*http.Request, error)
ListWithKeysPreparer prepares the ListWithKeys request.
func (ChannelsClient) ListWithKeysResponder ¶
func (client ChannelsClient) ListWithKeysResponder(resp *http.Response) (result BotChannel, err error)
ListWithKeysResponder handles the response to the ListWithKeys request. The method always closes the http.Response Body.
func (ChannelsClient) ListWithKeysSender ¶
ListWithKeysSender sends the ListWithKeys request. The method will close the http.Response Body if it receives an error.
func (ChannelsClient) Update ¶
func (client ChannelsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName, parameters BotChannel) (result BotChannel, err error)
Update updates a Channel registration for a Bot Service Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. channelName - the name of the Channel resource. parameters - the parameters to provide for the created bot.
func (ChannelsClient) UpdatePreparer ¶
func (client ChannelsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, channelName ChannelName, parameters BotChannel) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (ChannelsClient) UpdateResponder ¶
func (client ChannelsClient) UpdateResponder(resp *http.Response) (result BotChannel, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (ChannelsClient) UpdateSender ¶
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type CheckNameAvailabilityRequestBody ¶
type CheckNameAvailabilityRequestBody struct { // Name - the name of the bot for which availability needs to be checked. Name *string `json:"name,omitempty"` // Type - the type of the bot for which availability needs to be checked Type *string `json:"type,omitempty"` }
CheckNameAvailabilityRequestBody the request body for a request to Bot Service Management to check availability of a bot name.
type CheckNameAvailabilityResponseBody ¶
type CheckNameAvailabilityResponseBody struct { autorest.Response `json:"-"` // Valid - indicates if the bot name is valid. Valid *bool `json:"valid,omitempty"` // Message - additional message from the bot management api showing why a bot name is not available Message *string `json:"message,omitempty"` }
CheckNameAvailabilityResponseBody the response body returned for a request to Bot Service Management to check availability of a bot name.
type ConnectionItemName ¶
type ConnectionItemName struct { // Name - Connection Item name that has been added in the API Name *string `json:"name,omitempty"` }
ConnectionItemName the display name of a connection Item Setting registered with the Bot
type ConnectionSetting ¶
type ConnectionSetting struct { autorest.Response `json:"-"` // Properties - The set of properties specific to bot channel resource Properties *ConnectionSettingProperties `json:"properties,omitempty"` // ID - Specifies the resource ID. ID *string `json:"id,omitempty"` // Name - Specifies the name of the resource. Name *string `json:"name,omitempty"` // Location - Specifies the location of the resource. Location *string `json:"location,omitempty"` // Type - Specifies the type of the resource. Type *string `json:"type,omitempty"` // Tags - Contains resource tags defined as key/value pairs. Tags map[string]*string `json:"tags"` // Sku - Gets or sets the SKU of the resource. Sku *Sku `json:"sku,omitempty"` // Kind - Required. Gets or sets the Kind of the resource. Possible values include: 'KindSdk', 'KindDesigner', 'KindBot', 'KindFunction' Kind Kind `json:"kind,omitempty"` // Etag - Entity Tag Etag *string `json:"etag,omitempty"` }
ConnectionSetting bot channel resource definition
func (ConnectionSetting) MarshalJSON ¶
func (cs ConnectionSetting) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for ConnectionSetting.
type ConnectionSettingParameter ¶
type ConnectionSettingParameter struct { // Key - Key for the Connection Setting Parameter. Key *string `json:"key,omitempty"` // Value - Value associated with the Connection Setting Parameter. Value *string `json:"value,omitempty"` }
ConnectionSettingParameter extra Parameter in a Connection Setting Properties to indicate service provider specific properties
type ConnectionSettingProperties ¶
type ConnectionSettingProperties struct { // ClientID - Client Id associated with the Connection Setting. ClientID *string `json:"clientId,omitempty"` // SettingID - Setting Id set by the service for the Connection Setting. SettingID *string `json:"settingId,omitempty"` // ClientSecret - Client Secret associated with the Connection Setting ClientSecret *string `json:"clientSecret,omitempty"` // Scopes - Scopes associated with the Connection Setting Scopes *string `json:"scopes,omitempty"` // ServiceProviderID - Service Provider Id associated with the Connection Setting ServiceProviderID *string `json:"serviceProviderId,omitempty"` // ServiceProviderDisplayName - Service Provider Display Name associated with the Connection Setting ServiceProviderDisplayName *string `json:"serviceProviderDisplayName,omitempty"` // Parameters - Service Provider Parameters associated with the Connection Setting Parameters *[]ConnectionSettingParameter `json:"parameters,omitempty"` }
ConnectionSettingProperties properties for a Connection Setting Item
type ConnectionSettingResponseList ¶
type ConnectionSettingResponseList struct { autorest.Response `json:"-"` // NextLink - The link used to get the next page of bot service connection setting resources. NextLink *string `json:"nextLink,omitempty"` // Value - Gets the list of bot service connection settings and their properties. Value *[]ConnectionSetting `json:"value,omitempty"` }
ConnectionSettingResponseList the list of bot service connection settings response.
func (ConnectionSettingResponseList) IsEmpty ¶
func (csrl ConnectionSettingResponseList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type ConnectionSettingResponseListIterator ¶
type ConnectionSettingResponseListIterator struct {
// contains filtered or unexported fields
}
ConnectionSettingResponseListIterator provides access to a complete listing of ConnectionSetting values.
func (*ConnectionSettingResponseListIterator) Next ¶
func (iter *ConnectionSettingResponseListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ConnectionSettingResponseListIterator) NextWithContext ¶
func (iter *ConnectionSettingResponseListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (ConnectionSettingResponseListIterator) NotDone ¶
func (iter ConnectionSettingResponseListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (ConnectionSettingResponseListIterator) Response ¶
func (iter ConnectionSettingResponseListIterator) Response() ConnectionSettingResponseList
Response returns the raw server response from the last page request.
func (ConnectionSettingResponseListIterator) Value ¶
func (iter ConnectionSettingResponseListIterator) Value() ConnectionSetting
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type ConnectionSettingResponseListPage ¶
type ConnectionSettingResponseListPage struct {
// contains filtered or unexported fields
}
ConnectionSettingResponseListPage contains a page of ConnectionSetting values.
func (*ConnectionSettingResponseListPage) Next ¶
func (page *ConnectionSettingResponseListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*ConnectionSettingResponseListPage) NextWithContext ¶
func (page *ConnectionSettingResponseListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (ConnectionSettingResponseListPage) NotDone ¶
func (page ConnectionSettingResponseListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (ConnectionSettingResponseListPage) Response ¶
func (page ConnectionSettingResponseListPage) Response() ConnectionSettingResponseList
Response returns the raw server response from the last page request.
func (ConnectionSettingResponseListPage) Values ¶
func (page ConnectionSettingResponseListPage) Values() []ConnectionSetting
Values returns the slice of values for the current page or nil if there are no values.
type DirectLineChannel ¶
type DirectLineChannel struct { // Properties - The set of properties specific to Direct Line channel resource Properties *DirectLineChannelProperties `json:"properties,omitempty"` // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1' ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"` }
DirectLineChannel direct Line channel definition
func (DirectLineChannel) AsBasicChannel ¶
func (dlc DirectLineChannel) AsBasicChannel() (BasicChannel, bool)
AsBasicChannel is the BasicChannel implementation for DirectLineChannel.
func (DirectLineChannel) AsChannel ¶
func (dlc DirectLineChannel) AsChannel() (*Channel, bool)
AsChannel is the BasicChannel implementation for DirectLineChannel.
func (DirectLineChannel) AsDirectLineChannel ¶
func (dlc DirectLineChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
AsDirectLineChannel is the BasicChannel implementation for DirectLineChannel.
func (DirectLineChannel) AsEmailChannel ¶
func (dlc DirectLineChannel) AsEmailChannel() (*EmailChannel, bool)
AsEmailChannel is the BasicChannel implementation for DirectLineChannel.
func (DirectLineChannel) AsFacebookChannel ¶
func (dlc DirectLineChannel) AsFacebookChannel() (*FacebookChannel, bool)
AsFacebookChannel is the BasicChannel implementation for DirectLineChannel.
func (DirectLineChannel) AsKikChannel ¶
func (dlc DirectLineChannel) AsKikChannel() (*KikChannel, bool)
AsKikChannel is the BasicChannel implementation for DirectLineChannel.
func (DirectLineChannel) AsMsTeamsChannel ¶
func (dlc DirectLineChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
AsMsTeamsChannel is the BasicChannel implementation for DirectLineChannel.
func (DirectLineChannel) AsSkypeChannel ¶
func (dlc DirectLineChannel) AsSkypeChannel() (*SkypeChannel, bool)
AsSkypeChannel is the BasicChannel implementation for DirectLineChannel.
func (DirectLineChannel) AsSlackChannel ¶
func (dlc DirectLineChannel) AsSlackChannel() (*SlackChannel, bool)
AsSlackChannel is the BasicChannel implementation for DirectLineChannel.
func (DirectLineChannel) AsSmsChannel ¶
func (dlc DirectLineChannel) AsSmsChannel() (*SmsChannel, bool)
AsSmsChannel is the BasicChannel implementation for DirectLineChannel.
func (DirectLineChannel) AsTelegramChannel ¶
func (dlc DirectLineChannel) AsTelegramChannel() (*TelegramChannel, bool)
AsTelegramChannel is the BasicChannel implementation for DirectLineChannel.
func (DirectLineChannel) AsWebChatChannel ¶
func (dlc DirectLineChannel) AsWebChatChannel() (*WebChatChannel, bool)
AsWebChatChannel is the BasicChannel implementation for DirectLineChannel.
func (DirectLineChannel) MarshalJSON ¶
func (dlc DirectLineChannel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for DirectLineChannel.
type DirectLineChannelProperties ¶
type DirectLineChannelProperties struct { // Sites - The list of Direct Line sites Sites *[]DirectLineSite `json:"sites,omitempty"` }
DirectLineChannelProperties the parameters to provide for the Direct Line channel.
type DirectLineSite ¶
type DirectLineSite struct { // SiteID - Site Id SiteID *string `json:"siteId,omitempty"` // SiteName - Site name SiteName *string `json:"siteName,omitempty"` // Key - Primary key. Value only returned through POST to the action Channel List API, otherwise empty. Key *string `json:"key,omitempty"` // Key2 - Secondary key. Value only returned through POST to the action Channel List API, otherwise empty. Key2 *string `json:"key2,omitempty"` // IsEnabled - Whether this site is enabled for DirectLine channel. IsEnabled *bool `json:"isEnabled,omitempty"` // IsV1Enabled - Whether this site is enabled for Bot Framework V1 protocol. IsV1Enabled *bool `json:"isV1Enabled,omitempty"` // IsV3Enabled - Whether this site is enabled for Bot Framework V1 protocol. IsV3Enabled *bool `json:"isV3Enabled,omitempty"` // IsSecureSiteEnabled - Whether this site is enabled for authentication with Bot Framework. IsSecureSiteEnabled *bool `json:"isSecureSiteEnabled,omitempty"` // TrustedOrigins - List of Trusted Origin URLs for this site. This field is applicable only if isSecureSiteEnabled is True. TrustedOrigins *[]string `json:"trustedOrigins,omitempty"` }
DirectLineSite a site for the Direct Line channel
type EmailChannel ¶
type EmailChannel struct { // Properties - The set of properties specific to email channel resource Properties *EmailChannelProperties `json:"properties,omitempty"` // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1' ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"` }
EmailChannel email channel definition
func (EmailChannel) AsBasicChannel ¶
func (ec EmailChannel) AsBasicChannel() (BasicChannel, bool)
AsBasicChannel is the BasicChannel implementation for EmailChannel.
func (EmailChannel) AsChannel ¶
func (ec EmailChannel) AsChannel() (*Channel, bool)
AsChannel is the BasicChannel implementation for EmailChannel.
func (EmailChannel) AsDirectLineChannel ¶
func (ec EmailChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
AsDirectLineChannel is the BasicChannel implementation for EmailChannel.
func (EmailChannel) AsEmailChannel ¶
func (ec EmailChannel) AsEmailChannel() (*EmailChannel, bool)
AsEmailChannel is the BasicChannel implementation for EmailChannel.
func (EmailChannel) AsFacebookChannel ¶
func (ec EmailChannel) AsFacebookChannel() (*FacebookChannel, bool)
AsFacebookChannel is the BasicChannel implementation for EmailChannel.
func (EmailChannel) AsKikChannel ¶
func (ec EmailChannel) AsKikChannel() (*KikChannel, bool)
AsKikChannel is the BasicChannel implementation for EmailChannel.
func (EmailChannel) AsMsTeamsChannel ¶
func (ec EmailChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
AsMsTeamsChannel is the BasicChannel implementation for EmailChannel.
func (EmailChannel) AsSkypeChannel ¶
func (ec EmailChannel) AsSkypeChannel() (*SkypeChannel, bool)
AsSkypeChannel is the BasicChannel implementation for EmailChannel.
func (EmailChannel) AsSlackChannel ¶
func (ec EmailChannel) AsSlackChannel() (*SlackChannel, bool)
AsSlackChannel is the BasicChannel implementation for EmailChannel.
func (EmailChannel) AsSmsChannel ¶
func (ec EmailChannel) AsSmsChannel() (*SmsChannel, bool)
AsSmsChannel is the BasicChannel implementation for EmailChannel.
func (EmailChannel) AsTelegramChannel ¶
func (ec EmailChannel) AsTelegramChannel() (*TelegramChannel, bool)
AsTelegramChannel is the BasicChannel implementation for EmailChannel.
func (EmailChannel) AsWebChatChannel ¶
func (ec EmailChannel) AsWebChatChannel() (*WebChatChannel, bool)
AsWebChatChannel is the BasicChannel implementation for EmailChannel.
func (EmailChannel) MarshalJSON ¶
func (ec EmailChannel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EmailChannel.
type EmailChannelProperties ¶
type EmailChannelProperties struct { // EmailAddress - The email address EmailAddress *string `json:"emailAddress,omitempty"` // Password - The password for the email address. Value only returned through POST to the action Channel List API, otherwise empty. Password *string `json:"password,omitempty"` // IsEnabled - Whether this channel is enabled for the bot IsEnabled *bool `json:"isEnabled,omitempty"` }
EmailChannelProperties the parameters to provide for the Email channel.
type EnterpriseChannel ¶
type EnterpriseChannel struct { autorest.Response `json:"-"` // Properties - The set of properties specific to an Enterprise Channel resource. Properties *EnterpriseChannelProperties `json:"properties,omitempty"` // ID - Specifies the resource ID. ID *string `json:"id,omitempty"` // Name - Specifies the name of the resource. Name *string `json:"name,omitempty"` // Location - Specifies the location of the resource. Location *string `json:"location,omitempty"` // Type - Specifies the type of the resource. Type *string `json:"type,omitempty"` // Tags - Contains resource tags defined as key/value pairs. Tags map[string]*string `json:"tags"` // Sku - Gets or sets the SKU of the resource. Sku *Sku `json:"sku,omitempty"` // Kind - Required. Gets or sets the Kind of the resource. Possible values include: 'KindSdk', 'KindDesigner', 'KindBot', 'KindFunction' Kind Kind `json:"kind,omitempty"` // Etag - Entity Tag Etag *string `json:"etag,omitempty"` }
EnterpriseChannel enterprise Channel resource definition
func (EnterpriseChannel) MarshalJSON ¶
func (ec EnterpriseChannel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for EnterpriseChannel.
type EnterpriseChannelCheckNameAvailabilityRequest ¶
type EnterpriseChannelCheckNameAvailabilityRequest struct { // Name - The name of the Enterprise Channel for which availability needs to be checked. Name *string `json:"name,omitempty"` }
EnterpriseChannelCheckNameAvailabilityRequest a request to Bot Service Management to check availability of an Enterprise Channel name.
type EnterpriseChannelCheckNameAvailabilityResponse ¶
type EnterpriseChannelCheckNameAvailabilityResponse struct { autorest.Response `json:"-"` // Valid - Indicates if the Enterprise Channel name is valid. Valid *bool `json:"valid,omitempty"` // Message - Additional information about why a bot name is not available. Message *string `json:"message,omitempty"` }
EnterpriseChannelCheckNameAvailabilityResponse a request to Bot Service Management to check availability of an Enterprise Channel name.
type EnterpriseChannelNode ¶
type EnterpriseChannelNode struct { // ID - Id of Enterprise Channel Node. This is generated by the Bot Framework. ID *string `json:"id,omitempty"` // State - The current state of the Enterprise Channel Node. Possible values include: 'Creating', 'CreateFailed', 'Started', 'Starting', 'StartFailed', 'Stopped', 'Stopping', 'StopFailed', 'Deleting', 'DeleteFailed' State EnterpriseChannelNodeState `json:"state,omitempty"` // Name - The name of the Enterprise Channel Node. Name *string `json:"name,omitempty"` // AzureSku - The sku of the Enterprise Channel Node. AzureSku *string `json:"azureSku,omitempty"` // AzureLocation - The location of the Enterprise Channel Node. AzureLocation *string `json:"azureLocation,omitempty"` }
EnterpriseChannelNode the properties specific to an Enterprise Channel Node.
type EnterpriseChannelNodeState ¶
type EnterpriseChannelNodeState string
EnterpriseChannelNodeState enumerates the values for enterprise channel node state.
const ( // CreateFailed ... CreateFailed EnterpriseChannelNodeState = "CreateFailed" // Creating ... Creating EnterpriseChannelNodeState = "Creating" // DeleteFailed ... DeleteFailed EnterpriseChannelNodeState = "DeleteFailed" // Deleting ... Deleting EnterpriseChannelNodeState = "Deleting" // Started ... Started EnterpriseChannelNodeState = "Started" // StartFailed ... StartFailed EnterpriseChannelNodeState = "StartFailed" // Starting ... Starting EnterpriseChannelNodeState = "Starting" // StopFailed ... StopFailed EnterpriseChannelNodeState = "StopFailed" // Stopped ... Stopped EnterpriseChannelNodeState = "Stopped" // Stopping ... Stopping EnterpriseChannelNodeState = "Stopping" )
func PossibleEnterpriseChannelNodeStateValues ¶
func PossibleEnterpriseChannelNodeStateValues() []EnterpriseChannelNodeState
PossibleEnterpriseChannelNodeStateValues returns an array of possible values for the EnterpriseChannelNodeState const type.
type EnterpriseChannelProperties ¶
type EnterpriseChannelProperties struct { // State - The current state of the Enterprise Channel. Possible values include: 'EnterpriseChannelStateCreating', 'EnterpriseChannelStateCreateFailed', 'EnterpriseChannelStateStarted', 'EnterpriseChannelStateStarting', 'EnterpriseChannelStateStartFailed', 'EnterpriseChannelStateStopped', 'EnterpriseChannelStateStopping', 'EnterpriseChannelStateStopFailed', 'EnterpriseChannelStateDeleting', 'EnterpriseChannelStateDeleteFailed' State EnterpriseChannelState `json:"state,omitempty"` // Nodes - The nodes associated with the Enterprise Channel. Nodes *[]EnterpriseChannelNode `json:"nodes,omitempty"` }
EnterpriseChannelProperties the parameters to provide for the Enterprise Channel.
type EnterpriseChannelResponseList ¶
type EnterpriseChannelResponseList struct { autorest.Response `json:"-"` // NextLink - The link used to get the next page of bot service resources. NextLink *string `json:"nextLink,omitempty"` // Value - The list of Enterprise Channels and their properties. Value *[]EnterpriseChannel `json:"value,omitempty"` }
EnterpriseChannelResponseList the list of bot service operation response.
func (EnterpriseChannelResponseList) IsEmpty ¶
func (ecrl EnterpriseChannelResponseList) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type EnterpriseChannelResponseListIterator ¶
type EnterpriseChannelResponseListIterator struct {
// contains filtered or unexported fields
}
EnterpriseChannelResponseListIterator provides access to a complete listing of EnterpriseChannel values.
func (*EnterpriseChannelResponseListIterator) Next ¶
func (iter *EnterpriseChannelResponseListIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*EnterpriseChannelResponseListIterator) NextWithContext ¶
func (iter *EnterpriseChannelResponseListIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (EnterpriseChannelResponseListIterator) NotDone ¶
func (iter EnterpriseChannelResponseListIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (EnterpriseChannelResponseListIterator) Response ¶
func (iter EnterpriseChannelResponseListIterator) Response() EnterpriseChannelResponseList
Response returns the raw server response from the last page request.
func (EnterpriseChannelResponseListIterator) Value ¶
func (iter EnterpriseChannelResponseListIterator) Value() EnterpriseChannel
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type EnterpriseChannelResponseListPage ¶
type EnterpriseChannelResponseListPage struct {
// contains filtered or unexported fields
}
EnterpriseChannelResponseListPage contains a page of EnterpriseChannel values.
func (*EnterpriseChannelResponseListPage) Next ¶
func (page *EnterpriseChannelResponseListPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*EnterpriseChannelResponseListPage) NextWithContext ¶
func (page *EnterpriseChannelResponseListPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (EnterpriseChannelResponseListPage) NotDone ¶
func (page EnterpriseChannelResponseListPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (EnterpriseChannelResponseListPage) Response ¶
func (page EnterpriseChannelResponseListPage) Response() EnterpriseChannelResponseList
Response returns the raw server response from the last page request.
func (EnterpriseChannelResponseListPage) Values ¶
func (page EnterpriseChannelResponseListPage) Values() []EnterpriseChannel
Values returns the slice of values for the current page or nil if there are no values.
type EnterpriseChannelState ¶
type EnterpriseChannelState string
EnterpriseChannelState enumerates the values for enterprise channel state.
const ( // EnterpriseChannelStateCreateFailed ... EnterpriseChannelStateCreateFailed EnterpriseChannelState = "CreateFailed" // EnterpriseChannelStateCreating ... EnterpriseChannelStateCreating EnterpriseChannelState = "Creating" // EnterpriseChannelStateDeleteFailed ... EnterpriseChannelStateDeleteFailed EnterpriseChannelState = "DeleteFailed" // EnterpriseChannelStateDeleting ... EnterpriseChannelStateDeleting EnterpriseChannelState = "Deleting" // EnterpriseChannelStateStarted ... EnterpriseChannelStateStarted EnterpriseChannelState = "Started" // EnterpriseChannelStateStartFailed ... EnterpriseChannelStateStartFailed EnterpriseChannelState = "StartFailed" // EnterpriseChannelStateStarting ... EnterpriseChannelStateStarting EnterpriseChannelState = "Starting" // EnterpriseChannelStateStopFailed ... EnterpriseChannelStateStopFailed EnterpriseChannelState = "StopFailed" // EnterpriseChannelStateStopped ... EnterpriseChannelStateStopped EnterpriseChannelState = "Stopped" // EnterpriseChannelStateStopping ... EnterpriseChannelStateStopping EnterpriseChannelState = "Stopping" )
func PossibleEnterpriseChannelStateValues ¶
func PossibleEnterpriseChannelStateValues() []EnterpriseChannelState
PossibleEnterpriseChannelStateValues returns an array of possible values for the EnterpriseChannelState const type.
type EnterpriseChannelsClient ¶
type EnterpriseChannelsClient struct {
BaseClient
}
EnterpriseChannelsClient is the azure Bot Service is a platform for creating smart conversational agents.
func NewEnterpriseChannelsClient ¶
func NewEnterpriseChannelsClient(subscriptionID string) EnterpriseChannelsClient
NewEnterpriseChannelsClient creates an instance of the EnterpriseChannelsClient client.
func NewEnterpriseChannelsClientWithBaseURI ¶
func NewEnterpriseChannelsClientWithBaseURI(baseURI string, subscriptionID string) EnterpriseChannelsClient
NewEnterpriseChannelsClientWithBaseURI creates an instance of the EnterpriseChannelsClient client.
func (EnterpriseChannelsClient) CheckNameAvailability ¶
func (client EnterpriseChannelsClient) CheckNameAvailability(ctx context.Context, parameters EnterpriseChannelCheckNameAvailabilityRequest) (result EnterpriseChannelCheckNameAvailabilityResponse, err error)
CheckNameAvailability check whether an Enterprise Channel name is available. Parameters: parameters - the parameters to provide for the Enterprise Channel check name availability request.
func (EnterpriseChannelsClient) CheckNameAvailabilityPreparer ¶
func (client EnterpriseChannelsClient) CheckNameAvailabilityPreparer(ctx context.Context, parameters EnterpriseChannelCheckNameAvailabilityRequest) (*http.Request, error)
CheckNameAvailabilityPreparer prepares the CheckNameAvailability request.
func (EnterpriseChannelsClient) CheckNameAvailabilityResponder ¶
func (client EnterpriseChannelsClient) CheckNameAvailabilityResponder(resp *http.Response) (result EnterpriseChannelCheckNameAvailabilityResponse, err error)
CheckNameAvailabilityResponder handles the response to the CheckNameAvailability request. The method always closes the http.Response Body.
func (EnterpriseChannelsClient) CheckNameAvailabilitySender ¶
func (client EnterpriseChannelsClient) CheckNameAvailabilitySender(req *http.Request) (*http.Response, error)
CheckNameAvailabilitySender sends the CheckNameAvailability request. The method will close the http.Response Body if it receives an error.
func (EnterpriseChannelsClient) Create ¶
func (client EnterpriseChannelsClient) Create(ctx context.Context, resourceGroupName string, resourceName string, parameters EnterpriseChannel) (result EnterpriseChannelsCreateFuture, err error)
Create creates an Enterprise Channel. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. parameters - the parameters to provide for the new Enterprise Channel.
func (EnterpriseChannelsClient) CreatePreparer ¶
func (client EnterpriseChannelsClient) CreatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters EnterpriseChannel) (*http.Request, error)
CreatePreparer prepares the Create request.
func (EnterpriseChannelsClient) CreateResponder ¶
func (client EnterpriseChannelsClient) CreateResponder(resp *http.Response) (result EnterpriseChannel, err error)
CreateResponder handles the response to the Create request. The method always closes the http.Response Body.
func (EnterpriseChannelsClient) CreateSender ¶
func (client EnterpriseChannelsClient) CreateSender(req *http.Request) (future EnterpriseChannelsCreateFuture, err error)
CreateSender sends the Create request. The method will close the http.Response Body if it receives an error.
func (EnterpriseChannelsClient) Delete ¶
func (client EnterpriseChannelsClient) Delete(ctx context.Context, resourceGroupName string, resourceName string) (result EnterpriseChannelsDeleteFuture, err error)
Delete deletes an Enterprise Channel from the resource group Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.
func (EnterpriseChannelsClient) DeletePreparer ¶
func (client EnterpriseChannelsClient) DeletePreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
DeletePreparer prepares the Delete request.
func (EnterpriseChannelsClient) DeleteResponder ¶
func (client EnterpriseChannelsClient) DeleteResponder(resp *http.Response) (result autorest.Response, err error)
DeleteResponder handles the response to the Delete request. The method always closes the http.Response Body.
func (EnterpriseChannelsClient) DeleteSender ¶
func (client EnterpriseChannelsClient) DeleteSender(req *http.Request) (future EnterpriseChannelsDeleteFuture, err error)
DeleteSender sends the Delete request. The method will close the http.Response Body if it receives an error.
func (EnterpriseChannelsClient) Get ¶
func (client EnterpriseChannelsClient) Get(ctx context.Context, resourceGroupName string, resourceName string) (result EnterpriseChannel, err error)
Get returns an Enterprise Channel specified by the parameters. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource.
func (EnterpriseChannelsClient) GetPreparer ¶
func (client EnterpriseChannelsClient) GetPreparer(ctx context.Context, resourceGroupName string, resourceName string) (*http.Request, error)
GetPreparer prepares the Get request.
func (EnterpriseChannelsClient) GetResponder ¶
func (client EnterpriseChannelsClient) GetResponder(resp *http.Response) (result EnterpriseChannel, err error)
GetResponder handles the response to the Get request. The method always closes the http.Response Body.
func (EnterpriseChannelsClient) GetSender ¶
GetSender sends the Get request. The method will close the http.Response Body if it receives an error.
func (EnterpriseChannelsClient) ListByResourceGroup ¶
func (client EnterpriseChannelsClient) ListByResourceGroup(ctx context.Context, resourceGroupName string) (result EnterpriseChannelResponseListPage, err error)
ListByResourceGroup returns all the resources of a particular type belonging to a resource group. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription.
func (EnterpriseChannelsClient) ListByResourceGroupComplete ¶
func (client EnterpriseChannelsClient) ListByResourceGroupComplete(ctx context.Context, resourceGroupName string) (result EnterpriseChannelResponseListIterator, err error)
ListByResourceGroupComplete enumerates all values, automatically crossing page boundaries as required.
func (EnterpriseChannelsClient) ListByResourceGroupPreparer ¶
func (client EnterpriseChannelsClient) ListByResourceGroupPreparer(ctx context.Context, resourceGroupName string) (*http.Request, error)
ListByResourceGroupPreparer prepares the ListByResourceGroup request.
func (EnterpriseChannelsClient) ListByResourceGroupResponder ¶
func (client EnterpriseChannelsClient) ListByResourceGroupResponder(resp *http.Response) (result EnterpriseChannelResponseList, err error)
ListByResourceGroupResponder handles the response to the ListByResourceGroup request. The method always closes the http.Response Body.
func (EnterpriseChannelsClient) ListByResourceGroupSender ¶
func (client EnterpriseChannelsClient) ListByResourceGroupSender(req *http.Request) (*http.Response, error)
ListByResourceGroupSender sends the ListByResourceGroup request. The method will close the http.Response Body if it receives an error.
func (EnterpriseChannelsClient) Update ¶
func (client EnterpriseChannelsClient) Update(ctx context.Context, resourceGroupName string, resourceName string, parameters EnterpriseChannel) (result EnterpriseChannelsUpdateFuture, err error)
Update updates an Enterprise Channel. Parameters: resourceGroupName - the name of the Bot resource group in the user subscription. resourceName - the name of the Bot resource. parameters - the parameters to provide to update the Enterprise Channel.
func (EnterpriseChannelsClient) UpdatePreparer ¶
func (client EnterpriseChannelsClient) UpdatePreparer(ctx context.Context, resourceGroupName string, resourceName string, parameters EnterpriseChannel) (*http.Request, error)
UpdatePreparer prepares the Update request.
func (EnterpriseChannelsClient) UpdateResponder ¶
func (client EnterpriseChannelsClient) UpdateResponder(resp *http.Response) (result EnterpriseChannel, err error)
UpdateResponder handles the response to the Update request. The method always closes the http.Response Body.
func (EnterpriseChannelsClient) UpdateSender ¶
func (client EnterpriseChannelsClient) UpdateSender(req *http.Request) (future EnterpriseChannelsUpdateFuture, err error)
UpdateSender sends the Update request. The method will close the http.Response Body if it receives an error.
type EnterpriseChannelsCreateFuture ¶
EnterpriseChannelsCreateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*EnterpriseChannelsCreateFuture) Result ¶
func (future *EnterpriseChannelsCreateFuture) Result(client EnterpriseChannelsClient) (ec EnterpriseChannel, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type EnterpriseChannelsDeleteFuture ¶
EnterpriseChannelsDeleteFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*EnterpriseChannelsDeleteFuture) Result ¶
func (future *EnterpriseChannelsDeleteFuture) Result(client EnterpriseChannelsClient) (ar autorest.Response, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type EnterpriseChannelsUpdateFuture ¶
EnterpriseChannelsUpdateFuture an abstraction for monitoring and retrieving the results of a long-running operation.
func (*EnterpriseChannelsUpdateFuture) Result ¶
func (future *EnterpriseChannelsUpdateFuture) Result(client EnterpriseChannelsClient) (ec EnterpriseChannel, err error)
Result returns the result of the asynchronous operation. If the operation has not completed it will return an error.
type Error ¶
type Error struct { // Error - The error body. Error *ErrorBody `json:"error,omitempty"` }
Error bot Service error object.
type ErrorBody ¶
type ErrorBody struct { // Code - error code Code *string `json:"code,omitempty"` // Message - error message Message *string `json:"message,omitempty"` }
ErrorBody bot Service error body.
type FacebookChannel ¶
type FacebookChannel struct { // Properties - The set of properties specific to bot facebook channel Properties *FacebookChannelProperties `json:"properties,omitempty"` // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1' ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"` }
FacebookChannel facebook channel definition
func (FacebookChannel) AsBasicChannel ¶
func (fc FacebookChannel) AsBasicChannel() (BasicChannel, bool)
AsBasicChannel is the BasicChannel implementation for FacebookChannel.
func (FacebookChannel) AsChannel ¶
func (fc FacebookChannel) AsChannel() (*Channel, bool)
AsChannel is the BasicChannel implementation for FacebookChannel.
func (FacebookChannel) AsDirectLineChannel ¶
func (fc FacebookChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
AsDirectLineChannel is the BasicChannel implementation for FacebookChannel.
func (FacebookChannel) AsEmailChannel ¶
func (fc FacebookChannel) AsEmailChannel() (*EmailChannel, bool)
AsEmailChannel is the BasicChannel implementation for FacebookChannel.
func (FacebookChannel) AsFacebookChannel ¶
func (fc FacebookChannel) AsFacebookChannel() (*FacebookChannel, bool)
AsFacebookChannel is the BasicChannel implementation for FacebookChannel.
func (FacebookChannel) AsKikChannel ¶
func (fc FacebookChannel) AsKikChannel() (*KikChannel, bool)
AsKikChannel is the BasicChannel implementation for FacebookChannel.
func (FacebookChannel) AsMsTeamsChannel ¶
func (fc FacebookChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
AsMsTeamsChannel is the BasicChannel implementation for FacebookChannel.
func (FacebookChannel) AsSkypeChannel ¶
func (fc FacebookChannel) AsSkypeChannel() (*SkypeChannel, bool)
AsSkypeChannel is the BasicChannel implementation for FacebookChannel.
func (FacebookChannel) AsSlackChannel ¶
func (fc FacebookChannel) AsSlackChannel() (*SlackChannel, bool)
AsSlackChannel is the BasicChannel implementation for FacebookChannel.
func (FacebookChannel) AsSmsChannel ¶
func (fc FacebookChannel) AsSmsChannel() (*SmsChannel, bool)
AsSmsChannel is the BasicChannel implementation for FacebookChannel.
func (FacebookChannel) AsTelegramChannel ¶
func (fc FacebookChannel) AsTelegramChannel() (*TelegramChannel, bool)
AsTelegramChannel is the BasicChannel implementation for FacebookChannel.
func (FacebookChannel) AsWebChatChannel ¶
func (fc FacebookChannel) AsWebChatChannel() (*WebChatChannel, bool)
AsWebChatChannel is the BasicChannel implementation for FacebookChannel.
func (FacebookChannel) MarshalJSON ¶
func (fc FacebookChannel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for FacebookChannel.
type FacebookChannelProperties ¶
type FacebookChannelProperties struct { // VerifyToken - Verify token. Value only returned through POST to the action Channel List API, otherwise empty. VerifyToken *string `json:"verifyToken,omitempty"` // Pages - The list of Facebook pages Pages *[]FacebookPage `json:"pages,omitempty"` // AppID - Facebook application id AppID *string `json:"appId,omitempty"` // AppSecret - Facebook application secret. Value only returned through POST to the action Channel List API, otherwise empty. AppSecret *string `json:"appSecret,omitempty"` // CallbackURL - Callback Url CallbackURL *string `json:"callbackUrl,omitempty"` // IsEnabled - Whether this channel is enabled for the bot IsEnabled *bool `json:"isEnabled,omitempty"` }
FacebookChannelProperties the parameters to provide for the Facebook channel.
type FacebookPage ¶
type FacebookPage struct { // ID - Page id ID *string `json:"id,omitempty"` // AccessToken - Facebook application access token. Value only returned through POST to the action Channel List API, otherwise empty. AccessToken *string `json:"accessToken,omitempty"` }
FacebookPage a Facebook page for Facebook channel registration
type KikChannel ¶
type KikChannel struct { // Properties - The set of properties specific to Kik channel resource Properties *KikChannelProperties `json:"properties,omitempty"` // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1' ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"` }
KikChannel kik channel definition
func (KikChannel) AsBasicChannel ¶
func (kc KikChannel) AsBasicChannel() (BasicChannel, bool)
AsBasicChannel is the BasicChannel implementation for KikChannel.
func (KikChannel) AsChannel ¶
func (kc KikChannel) AsChannel() (*Channel, bool)
AsChannel is the BasicChannel implementation for KikChannel.
func (KikChannel) AsDirectLineChannel ¶
func (kc KikChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
AsDirectLineChannel is the BasicChannel implementation for KikChannel.
func (KikChannel) AsEmailChannel ¶
func (kc KikChannel) AsEmailChannel() (*EmailChannel, bool)
AsEmailChannel is the BasicChannel implementation for KikChannel.
func (KikChannel) AsFacebookChannel ¶
func (kc KikChannel) AsFacebookChannel() (*FacebookChannel, bool)
AsFacebookChannel is the BasicChannel implementation for KikChannel.
func (KikChannel) AsKikChannel ¶
func (kc KikChannel) AsKikChannel() (*KikChannel, bool)
AsKikChannel is the BasicChannel implementation for KikChannel.
func (KikChannel) AsMsTeamsChannel ¶
func (kc KikChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
AsMsTeamsChannel is the BasicChannel implementation for KikChannel.
func (KikChannel) AsSkypeChannel ¶
func (kc KikChannel) AsSkypeChannel() (*SkypeChannel, bool)
AsSkypeChannel is the BasicChannel implementation for KikChannel.
func (KikChannel) AsSlackChannel ¶
func (kc KikChannel) AsSlackChannel() (*SlackChannel, bool)
AsSlackChannel is the BasicChannel implementation for KikChannel.
func (KikChannel) AsSmsChannel ¶
func (kc KikChannel) AsSmsChannel() (*SmsChannel, bool)
AsSmsChannel is the BasicChannel implementation for KikChannel.
func (KikChannel) AsTelegramChannel ¶
func (kc KikChannel) AsTelegramChannel() (*TelegramChannel, bool)
AsTelegramChannel is the BasicChannel implementation for KikChannel.
func (KikChannel) AsWebChatChannel ¶
func (kc KikChannel) AsWebChatChannel() (*WebChatChannel, bool)
AsWebChatChannel is the BasicChannel implementation for KikChannel.
func (KikChannel) MarshalJSON ¶
func (kc KikChannel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for KikChannel.
type KikChannelProperties ¶
type KikChannelProperties struct { // UserName - The Kik user name UserName *string `json:"userName,omitempty"` // APIKey - Kik API key. Value only returned through POST to the action Channel List API, otherwise empty. APIKey *string `json:"apiKey,omitempty"` // IsValidated - Whether this channel is validated for the bot IsValidated *bool `json:"isValidated,omitempty"` // IsEnabled - Whether this channel is enabled for the bot IsEnabled *bool `json:"isEnabled,omitempty"` }
KikChannelProperties the parameters to provide for the Kik channel.
type Kind ¶
type Kind string
Kind enumerates the values for kind.
func PossibleKindValues ¶
func PossibleKindValues() []Kind
PossibleKindValues returns an array of possible values for the Kind const type.
type MsTeamsChannel ¶
type MsTeamsChannel struct { // Properties - The set of properties specific to Microsoft Teams channel resource Properties *MsTeamsChannelProperties `json:"properties,omitempty"` // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1' ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"` }
MsTeamsChannel microsoft Teams channel definition
func (MsTeamsChannel) AsBasicChannel ¶
func (mtc MsTeamsChannel) AsBasicChannel() (BasicChannel, bool)
AsBasicChannel is the BasicChannel implementation for MsTeamsChannel.
func (MsTeamsChannel) AsChannel ¶
func (mtc MsTeamsChannel) AsChannel() (*Channel, bool)
AsChannel is the BasicChannel implementation for MsTeamsChannel.
func (MsTeamsChannel) AsDirectLineChannel ¶
func (mtc MsTeamsChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
AsDirectLineChannel is the BasicChannel implementation for MsTeamsChannel.
func (MsTeamsChannel) AsEmailChannel ¶
func (mtc MsTeamsChannel) AsEmailChannel() (*EmailChannel, bool)
AsEmailChannel is the BasicChannel implementation for MsTeamsChannel.
func (MsTeamsChannel) AsFacebookChannel ¶
func (mtc MsTeamsChannel) AsFacebookChannel() (*FacebookChannel, bool)
AsFacebookChannel is the BasicChannel implementation for MsTeamsChannel.
func (MsTeamsChannel) AsKikChannel ¶
func (mtc MsTeamsChannel) AsKikChannel() (*KikChannel, bool)
AsKikChannel is the BasicChannel implementation for MsTeamsChannel.
func (MsTeamsChannel) AsMsTeamsChannel ¶
func (mtc MsTeamsChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
AsMsTeamsChannel is the BasicChannel implementation for MsTeamsChannel.
func (MsTeamsChannel) AsSkypeChannel ¶
func (mtc MsTeamsChannel) AsSkypeChannel() (*SkypeChannel, bool)
AsSkypeChannel is the BasicChannel implementation for MsTeamsChannel.
func (MsTeamsChannel) AsSlackChannel ¶
func (mtc MsTeamsChannel) AsSlackChannel() (*SlackChannel, bool)
AsSlackChannel is the BasicChannel implementation for MsTeamsChannel.
func (MsTeamsChannel) AsSmsChannel ¶
func (mtc MsTeamsChannel) AsSmsChannel() (*SmsChannel, bool)
AsSmsChannel is the BasicChannel implementation for MsTeamsChannel.
func (MsTeamsChannel) AsTelegramChannel ¶
func (mtc MsTeamsChannel) AsTelegramChannel() (*TelegramChannel, bool)
AsTelegramChannel is the BasicChannel implementation for MsTeamsChannel.
func (MsTeamsChannel) AsWebChatChannel ¶
func (mtc MsTeamsChannel) AsWebChatChannel() (*WebChatChannel, bool)
AsWebChatChannel is the BasicChannel implementation for MsTeamsChannel.
func (MsTeamsChannel) MarshalJSON ¶
func (mtc MsTeamsChannel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for MsTeamsChannel.
type MsTeamsChannelProperties ¶
type MsTeamsChannelProperties struct { // EnableCalling - Enable calling for Microsoft Teams channel EnableCalling *bool `json:"enableCalling,omitempty"` // CallingWebHook - Webhook for Microsoft Teams channel calls CallingWebHook *string `json:"callingWebHook,omitempty"` // IsEnabled - Whether this channel is enabled for the bot IsEnabled *bool `json:"isEnabled,omitempty"` }
MsTeamsChannelProperties the parameters to provide for the Microsoft Teams channel.
type OperationDisplayInfo ¶
type OperationDisplayInfo struct { // Description - The description of the operation. Description *string `json:"description,omitempty"` // Operation - The action that users can perform, based on their permission level. Operation *string `json:"operation,omitempty"` // Provider - Service provider: Microsoft Bot Service. Provider *string `json:"provider,omitempty"` // Resource - Resource on which the operation is performed. Resource *string `json:"resource,omitempty"` }
OperationDisplayInfo the operation supported by Bot Service Management.
type OperationEntity ¶
type OperationEntity struct { // Name - Operation name: {provider}/{resource}/{operation}. Name *string `json:"name,omitempty"` // Display - The operation supported by Bot Service Management. Display *OperationDisplayInfo `json:"display,omitempty"` // Origin - The origin of the operation. Origin *string `json:"origin,omitempty"` // Properties - Additional properties. Properties interface{} `json:"properties,omitempty"` }
OperationEntity the operations supported by Bot Service Management.
type OperationEntityListResult ¶
type OperationEntityListResult struct { autorest.Response `json:"-"` // NextLink - The link used to get the next page of operations. NextLink *string `json:"nextLink,omitempty"` // Value - The list of operations. Value *[]OperationEntity `json:"value,omitempty"` }
OperationEntityListResult the list of bot service operation response.
func (OperationEntityListResult) IsEmpty ¶
func (oelr OperationEntityListResult) IsEmpty() bool
IsEmpty returns true if the ListResult contains no values.
type OperationEntityListResultIterator ¶
type OperationEntityListResultIterator struct {
// contains filtered or unexported fields
}
OperationEntityListResultIterator provides access to a complete listing of OperationEntity values.
func (*OperationEntityListResultIterator) Next ¶
func (iter *OperationEntityListResultIterator) Next() error
Next advances to the next value. If there was an error making the request the iterator does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationEntityListResultIterator) NextWithContext ¶
func (iter *OperationEntityListResultIterator) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next value. If there was an error making the request the iterator does not advance and the error is returned.
func (OperationEntityListResultIterator) NotDone ¶
func (iter OperationEntityListResultIterator) NotDone() bool
NotDone returns true if the enumeration should be started or is not yet complete.
func (OperationEntityListResultIterator) Response ¶
func (iter OperationEntityListResultIterator) Response() OperationEntityListResult
Response returns the raw server response from the last page request.
func (OperationEntityListResultIterator) Value ¶
func (iter OperationEntityListResultIterator) Value() OperationEntity
Value returns the current value or a zero-initialized value if the iterator has advanced beyond the end of the collection.
type OperationEntityListResultPage ¶
type OperationEntityListResultPage struct {
// contains filtered or unexported fields
}
OperationEntityListResultPage contains a page of OperationEntity values.
func (*OperationEntityListResultPage) Next ¶
func (page *OperationEntityListResultPage) Next() error
Next advances to the next page of values. If there was an error making the request the page does not advance and the error is returned. Deprecated: Use NextWithContext() instead.
func (*OperationEntityListResultPage) NextWithContext ¶
func (page *OperationEntityListResultPage) NextWithContext(ctx context.Context) (err error)
NextWithContext advances to the next page of values. If there was an error making the request the page does not advance and the error is returned.
func (OperationEntityListResultPage) NotDone ¶
func (page OperationEntityListResultPage) NotDone() bool
NotDone returns true if the page enumeration should be started or is not yet complete.
func (OperationEntityListResultPage) Response ¶
func (page OperationEntityListResultPage) Response() OperationEntityListResult
Response returns the raw server response from the last page request.
func (OperationEntityListResultPage) Values ¶
func (page OperationEntityListResultPage) Values() []OperationEntity
Values returns the slice of values for the current page or nil if there are no values.
type OperationsClient ¶
type OperationsClient struct {
BaseClient
}
OperationsClient is the azure Bot Service is a platform for creating smart conversational agents.
func NewOperationsClient ¶
func NewOperationsClient(subscriptionID string) OperationsClient
NewOperationsClient creates an instance of the OperationsClient client.
func NewOperationsClientWithBaseURI ¶
func NewOperationsClientWithBaseURI(baseURI string, subscriptionID string) OperationsClient
NewOperationsClientWithBaseURI creates an instance of the OperationsClient client.
func (OperationsClient) List ¶
func (client OperationsClient) List(ctx context.Context) (result OperationEntityListResultPage, err error)
List lists all the available BotService operations.
func (OperationsClient) ListComplete ¶
func (client OperationsClient) ListComplete(ctx context.Context) (result OperationEntityListResultIterator, err error)
ListComplete enumerates all values, automatically crossing page boundaries as required.
func (OperationsClient) ListPreparer ¶
ListPreparer prepares the List request.
func (OperationsClient) ListResponder ¶
func (client OperationsClient) ListResponder(resp *http.Response) (result OperationEntityListResult, err error)
ListResponder handles the response to the List request. The method always closes the http.Response Body.
func (OperationsClient) ListSender ¶
ListSender sends the List request. The method will close the http.Response Body if it receives an error.
type Resource ¶
type Resource struct { // ID - Specifies the resource ID. ID *string `json:"id,omitempty"` // Name - Specifies the name of the resource. Name *string `json:"name,omitempty"` // Location - Specifies the location of the resource. Location *string `json:"location,omitempty"` // Type - Specifies the type of the resource. Type *string `json:"type,omitempty"` // Tags - Contains resource tags defined as key/value pairs. Tags map[string]*string `json:"tags"` // Sku - Gets or sets the SKU of the resource. Sku *Sku `json:"sku,omitempty"` // Kind - Required. Gets or sets the Kind of the resource. Possible values include: 'KindSdk', 'KindDesigner', 'KindBot', 'KindFunction' Kind Kind `json:"kind,omitempty"` // Etag - Entity Tag Etag *string `json:"etag,omitempty"` }
Resource azure resource
func (Resource) MarshalJSON ¶
MarshalJSON is the custom marshaler for Resource.
type ServiceProvider ¶
type ServiceProvider struct { // Properties - The Properties of a Service Provider Object Properties *ServiceProviderProperties `json:"properties,omitempty"` }
ServiceProvider service Provider Definition
type ServiceProviderParameter ¶
type ServiceProviderParameter struct { // Name - Name of the Service Provider Name *string `json:"name,omitempty"` // Type - Type of the Service Provider Type *string `json:"type,omitempty"` // DisplayName - Display Name of the Service Provider DisplayName *string `json:"displayName,omitempty"` // Description - Description of the Service Provider Description *string `json:"description,omitempty"` // HelpURL - Help Url for the Service Provider HelpURL *string `json:"helpUrl,omitempty"` // Default - Default Name for the Service Provider Default *string `json:"default,omitempty"` }
ServiceProviderParameter extra Parameters specific to each Service Provider
type ServiceProviderProperties ¶
type ServiceProviderProperties struct { // ID - Id for Service Provider ID *string `json:"id,omitempty"` // DisplayName - Diplay Name of the Service Provider DisplayName *string `json:"displayName,omitempty"` // ServiceProviderName - Diplay Name of the Service Provider ServiceProviderName *string `json:"serviceProviderName,omitempty"` // DevPortalURL - Diplay Name of the Service Provider DevPortalURL *string `json:"devPortalUrl,omitempty"` // IconURL - Diplay Name of the Service Provider IconURL *string `json:"iconUrl,omitempty"` // Parameters - The list of parameters for the Service Provider Parameters *[]ServiceProviderParameter `json:"parameters,omitempty"` }
ServiceProviderProperties the Object used to describe a Service Provider supported by Bot Service
type ServiceProviderResponseList ¶
type ServiceProviderResponseList struct { autorest.Response `json:"-"` // NextLink - The link used to get the next page of bot service service providers. NextLink *string `json:"nextLink,omitempty"` // Value - Gets the list of bot service service providers and their properties. Value *[]ServiceProvider `json:"value,omitempty"` }
ServiceProviderResponseList the list of bot service service providers response.
type Sku ¶
type Sku struct { // Name - The sku name. Possible values include: 'F0', 'S1' Name SkuName `json:"name,omitempty"` // Tier - Gets the sku tier. This is based on the SKU name. Possible values include: 'Free', 'Standard' Tier SkuTier `json:"tier,omitempty"` }
Sku the SKU of the cognitive services account.
type SkuName ¶
type SkuName string
SkuName enumerates the values for sku name.
func PossibleSkuNameValues ¶
func PossibleSkuNameValues() []SkuName
PossibleSkuNameValues returns an array of possible values for the SkuName const type.
type SkuTier ¶
type SkuTier string
SkuTier enumerates the values for sku tier.
func PossibleSkuTierValues ¶
func PossibleSkuTierValues() []SkuTier
PossibleSkuTierValues returns an array of possible values for the SkuTier const type.
type SkypeChannel ¶
type SkypeChannel struct { // Properties - The set of properties specific to Skype channel resource Properties *SkypeChannelProperties `json:"properties,omitempty"` // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1' ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"` }
SkypeChannel skype channel definition
func (SkypeChannel) AsBasicChannel ¶
func (sc SkypeChannel) AsBasicChannel() (BasicChannel, bool)
AsBasicChannel is the BasicChannel implementation for SkypeChannel.
func (SkypeChannel) AsChannel ¶
func (sc SkypeChannel) AsChannel() (*Channel, bool)
AsChannel is the BasicChannel implementation for SkypeChannel.
func (SkypeChannel) AsDirectLineChannel ¶
func (sc SkypeChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
AsDirectLineChannel is the BasicChannel implementation for SkypeChannel.
func (SkypeChannel) AsEmailChannel ¶
func (sc SkypeChannel) AsEmailChannel() (*EmailChannel, bool)
AsEmailChannel is the BasicChannel implementation for SkypeChannel.
func (SkypeChannel) AsFacebookChannel ¶
func (sc SkypeChannel) AsFacebookChannel() (*FacebookChannel, bool)
AsFacebookChannel is the BasicChannel implementation for SkypeChannel.
func (SkypeChannel) AsKikChannel ¶
func (sc SkypeChannel) AsKikChannel() (*KikChannel, bool)
AsKikChannel is the BasicChannel implementation for SkypeChannel.
func (SkypeChannel) AsMsTeamsChannel ¶
func (sc SkypeChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
AsMsTeamsChannel is the BasicChannel implementation for SkypeChannel.
func (SkypeChannel) AsSkypeChannel ¶
func (sc SkypeChannel) AsSkypeChannel() (*SkypeChannel, bool)
AsSkypeChannel is the BasicChannel implementation for SkypeChannel.
func (SkypeChannel) AsSlackChannel ¶
func (sc SkypeChannel) AsSlackChannel() (*SlackChannel, bool)
AsSlackChannel is the BasicChannel implementation for SkypeChannel.
func (SkypeChannel) AsSmsChannel ¶
func (sc SkypeChannel) AsSmsChannel() (*SmsChannel, bool)
AsSmsChannel is the BasicChannel implementation for SkypeChannel.
func (SkypeChannel) AsTelegramChannel ¶
func (sc SkypeChannel) AsTelegramChannel() (*TelegramChannel, bool)
AsTelegramChannel is the BasicChannel implementation for SkypeChannel.
func (SkypeChannel) AsWebChatChannel ¶
func (sc SkypeChannel) AsWebChatChannel() (*WebChatChannel, bool)
AsWebChatChannel is the BasicChannel implementation for SkypeChannel.
func (SkypeChannel) MarshalJSON ¶
func (sc SkypeChannel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SkypeChannel.
type SkypeChannelProperties ¶
type SkypeChannelProperties struct { // EnableMessaging - Enable messaging for Skype channel EnableMessaging *bool `json:"enableMessaging,omitempty"` // EnableMediaCards - Enable media cards for Skype channel EnableMediaCards *bool `json:"enableMediaCards,omitempty"` // EnableVideo - Enable video for Skype channel EnableVideo *bool `json:"enableVideo,omitempty"` // EnableCalling - Enable calling for Skype channel EnableCalling *bool `json:"enableCalling,omitempty"` // EnableScreenSharing - Enable screen sharing for Skype channel EnableScreenSharing *bool `json:"enableScreenSharing,omitempty"` // EnableGroups - Enable groups for Skype channel EnableGroups *bool `json:"enableGroups,omitempty"` // GroupsMode - Group mode for Skype channel GroupsMode *string `json:"groupsMode,omitempty"` // CallingWebHook - Calling web hook for Skype channel CallingWebHook *string `json:"callingWebHook,omitempty"` // IsEnabled - Whether this channel is enabled for the bot IsEnabled *bool `json:"isEnabled,omitempty"` }
SkypeChannelProperties the parameters to provide for the Microsoft Teams channel.
type SlackChannel ¶
type SlackChannel struct { // Properties - The set of properties specific to Slack channel resource Properties *SlackChannelProperties `json:"properties,omitempty"` // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1' ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"` }
SlackChannel slack channel definition
func (SlackChannel) AsBasicChannel ¶
func (sc SlackChannel) AsBasicChannel() (BasicChannel, bool)
AsBasicChannel is the BasicChannel implementation for SlackChannel.
func (SlackChannel) AsChannel ¶
func (sc SlackChannel) AsChannel() (*Channel, bool)
AsChannel is the BasicChannel implementation for SlackChannel.
func (SlackChannel) AsDirectLineChannel ¶
func (sc SlackChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
AsDirectLineChannel is the BasicChannel implementation for SlackChannel.
func (SlackChannel) AsEmailChannel ¶
func (sc SlackChannel) AsEmailChannel() (*EmailChannel, bool)
AsEmailChannel is the BasicChannel implementation for SlackChannel.
func (SlackChannel) AsFacebookChannel ¶
func (sc SlackChannel) AsFacebookChannel() (*FacebookChannel, bool)
AsFacebookChannel is the BasicChannel implementation for SlackChannel.
func (SlackChannel) AsKikChannel ¶
func (sc SlackChannel) AsKikChannel() (*KikChannel, bool)
AsKikChannel is the BasicChannel implementation for SlackChannel.
func (SlackChannel) AsMsTeamsChannel ¶
func (sc SlackChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
AsMsTeamsChannel is the BasicChannel implementation for SlackChannel.
func (SlackChannel) AsSkypeChannel ¶
func (sc SlackChannel) AsSkypeChannel() (*SkypeChannel, bool)
AsSkypeChannel is the BasicChannel implementation for SlackChannel.
func (SlackChannel) AsSlackChannel ¶
func (sc SlackChannel) AsSlackChannel() (*SlackChannel, bool)
AsSlackChannel is the BasicChannel implementation for SlackChannel.
func (SlackChannel) AsSmsChannel ¶
func (sc SlackChannel) AsSmsChannel() (*SmsChannel, bool)
AsSmsChannel is the BasicChannel implementation for SlackChannel.
func (SlackChannel) AsTelegramChannel ¶
func (sc SlackChannel) AsTelegramChannel() (*TelegramChannel, bool)
AsTelegramChannel is the BasicChannel implementation for SlackChannel.
func (SlackChannel) AsWebChatChannel ¶
func (sc SlackChannel) AsWebChatChannel() (*WebChatChannel, bool)
AsWebChatChannel is the BasicChannel implementation for SlackChannel.
func (SlackChannel) MarshalJSON ¶
func (sc SlackChannel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SlackChannel.
type SlackChannelProperties ¶
type SlackChannelProperties struct { // ClientID - The Slack client id ClientID *string `json:"clientId,omitempty"` // ClientSecret - The Slack client secret. Value only returned through POST to the action Channel List API, otherwise empty. ClientSecret *string `json:"clientSecret,omitempty"` // VerificationToken - The Slack verification token. Value only returned through POST to the action Channel List API, otherwise empty. VerificationToken *string `json:"verificationToken,omitempty"` // LandingPageURL - The Slack landing page Url LandingPageURL *string `json:"landingPageUrl,omitempty"` // RedirectAction - The Slack redirect action RedirectAction *string `json:"redirectAction,omitempty"` // LastSubmissionID - The Sms auth token LastSubmissionID *string `json:"lastSubmissionId,omitempty"` // RegisterBeforeOAuthFlow - Whether to register the settings before OAuth validation is performed. Recommended to True. RegisterBeforeOAuthFlow *bool `json:"registerBeforeOAuthFlow,omitempty"` // IsValidated - Whether this channel is validated for the bot IsValidated *bool `json:"isValidated,omitempty"` // IsEnabled - Whether this channel is enabled for the bot IsEnabled *bool `json:"isEnabled,omitempty"` }
SlackChannelProperties the parameters to provide for the Slack channel.
type SmsChannel ¶
type SmsChannel struct { // Properties - The set of properties specific to Sms channel resource Properties *SmsChannelProperties `json:"properties,omitempty"` // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1' ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"` }
SmsChannel sms channel definition
func (SmsChannel) AsBasicChannel ¶
func (sc SmsChannel) AsBasicChannel() (BasicChannel, bool)
AsBasicChannel is the BasicChannel implementation for SmsChannel.
func (SmsChannel) AsChannel ¶
func (sc SmsChannel) AsChannel() (*Channel, bool)
AsChannel is the BasicChannel implementation for SmsChannel.
func (SmsChannel) AsDirectLineChannel ¶
func (sc SmsChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
AsDirectLineChannel is the BasicChannel implementation for SmsChannel.
func (SmsChannel) AsEmailChannel ¶
func (sc SmsChannel) AsEmailChannel() (*EmailChannel, bool)
AsEmailChannel is the BasicChannel implementation for SmsChannel.
func (SmsChannel) AsFacebookChannel ¶
func (sc SmsChannel) AsFacebookChannel() (*FacebookChannel, bool)
AsFacebookChannel is the BasicChannel implementation for SmsChannel.
func (SmsChannel) AsKikChannel ¶
func (sc SmsChannel) AsKikChannel() (*KikChannel, bool)
AsKikChannel is the BasicChannel implementation for SmsChannel.
func (SmsChannel) AsMsTeamsChannel ¶
func (sc SmsChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
AsMsTeamsChannel is the BasicChannel implementation for SmsChannel.
func (SmsChannel) AsSkypeChannel ¶
func (sc SmsChannel) AsSkypeChannel() (*SkypeChannel, bool)
AsSkypeChannel is the BasicChannel implementation for SmsChannel.
func (SmsChannel) AsSlackChannel ¶
func (sc SmsChannel) AsSlackChannel() (*SlackChannel, bool)
AsSlackChannel is the BasicChannel implementation for SmsChannel.
func (SmsChannel) AsSmsChannel ¶
func (sc SmsChannel) AsSmsChannel() (*SmsChannel, bool)
AsSmsChannel is the BasicChannel implementation for SmsChannel.
func (SmsChannel) AsTelegramChannel ¶
func (sc SmsChannel) AsTelegramChannel() (*TelegramChannel, bool)
AsTelegramChannel is the BasicChannel implementation for SmsChannel.
func (SmsChannel) AsWebChatChannel ¶
func (sc SmsChannel) AsWebChatChannel() (*WebChatChannel, bool)
AsWebChatChannel is the BasicChannel implementation for SmsChannel.
func (SmsChannel) MarshalJSON ¶
func (sc SmsChannel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for SmsChannel.
type SmsChannelProperties ¶
type SmsChannelProperties struct { // Phone - The Sms phone Phone *string `json:"phone,omitempty"` // AccountSID - The Sms account SID. Value only returned through POST to the action Channel List API, otherwise empty. AccountSID *string `json:"accountSID,omitempty"` // AuthToken - The Sms auth token. Value only returned through POST to the action Channel List API, otherwise empty. AuthToken *string `json:"authToken,omitempty"` // IsValidated - Whether this channel is validated for the bot IsValidated *bool `json:"isValidated,omitempty"` // IsEnabled - Whether this channel is enabled for the bot IsEnabled *bool `json:"isEnabled,omitempty"` }
SmsChannelProperties the parameters to provide for the Sms channel.
type TelegramChannel ¶
type TelegramChannel struct { // Properties - The set of properties specific to Telegram channel resource Properties *TelegramChannelProperties `json:"properties,omitempty"` // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1' ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"` }
TelegramChannel telegram channel definition
func (TelegramChannel) AsBasicChannel ¶
func (tc TelegramChannel) AsBasicChannel() (BasicChannel, bool)
AsBasicChannel is the BasicChannel implementation for TelegramChannel.
func (TelegramChannel) AsChannel ¶
func (tc TelegramChannel) AsChannel() (*Channel, bool)
AsChannel is the BasicChannel implementation for TelegramChannel.
func (TelegramChannel) AsDirectLineChannel ¶
func (tc TelegramChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
AsDirectLineChannel is the BasicChannel implementation for TelegramChannel.
func (TelegramChannel) AsEmailChannel ¶
func (tc TelegramChannel) AsEmailChannel() (*EmailChannel, bool)
AsEmailChannel is the BasicChannel implementation for TelegramChannel.
func (TelegramChannel) AsFacebookChannel ¶
func (tc TelegramChannel) AsFacebookChannel() (*FacebookChannel, bool)
AsFacebookChannel is the BasicChannel implementation for TelegramChannel.
func (TelegramChannel) AsKikChannel ¶
func (tc TelegramChannel) AsKikChannel() (*KikChannel, bool)
AsKikChannel is the BasicChannel implementation for TelegramChannel.
func (TelegramChannel) AsMsTeamsChannel ¶
func (tc TelegramChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
AsMsTeamsChannel is the BasicChannel implementation for TelegramChannel.
func (TelegramChannel) AsSkypeChannel ¶
func (tc TelegramChannel) AsSkypeChannel() (*SkypeChannel, bool)
AsSkypeChannel is the BasicChannel implementation for TelegramChannel.
func (TelegramChannel) AsSlackChannel ¶
func (tc TelegramChannel) AsSlackChannel() (*SlackChannel, bool)
AsSlackChannel is the BasicChannel implementation for TelegramChannel.
func (TelegramChannel) AsSmsChannel ¶
func (tc TelegramChannel) AsSmsChannel() (*SmsChannel, bool)
AsSmsChannel is the BasicChannel implementation for TelegramChannel.
func (TelegramChannel) AsTelegramChannel ¶
func (tc TelegramChannel) AsTelegramChannel() (*TelegramChannel, bool)
AsTelegramChannel is the BasicChannel implementation for TelegramChannel.
func (TelegramChannel) AsWebChatChannel ¶
func (tc TelegramChannel) AsWebChatChannel() (*WebChatChannel, bool)
AsWebChatChannel is the BasicChannel implementation for TelegramChannel.
func (TelegramChannel) MarshalJSON ¶
func (tc TelegramChannel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for TelegramChannel.
type TelegramChannelProperties ¶
type TelegramChannelProperties struct { // AccessToken - The Telegram access token. Value only returned through POST to the action Channel List API, otherwise empty. AccessToken *string `json:"accessToken,omitempty"` // IsValidated - Whether this channel is validated for the bot IsValidated *bool `json:"isValidated,omitempty"` // IsEnabled - Whether this channel is enabled for the bot IsEnabled *bool `json:"isEnabled,omitempty"` }
TelegramChannelProperties the parameters to provide for the Telegram channel.
type WebChatChannel ¶
type WebChatChannel struct { // Properties - The set of properties specific to Web Chat channel resource Properties *WebChatChannelProperties `json:"properties,omitempty"` // ChannelName - Possible values include: 'ChannelNameChannel', 'ChannelNameFacebookChannel1', 'ChannelNameEmailChannel1', 'ChannelNameMsTeamsChannel1', 'ChannelNameSkypeChannel1', 'ChannelNameKikChannel1', 'ChannelNameWebChatChannel1', 'ChannelNameDirectLineChannel1', 'ChannelNameTelegramChannel1', 'ChannelNameSmsChannel1', 'ChannelNameSlackChannel1' ChannelName ChannelNameBasicChannel `json:"channelName,omitempty"` }
WebChatChannel web Chat channel definition
func (WebChatChannel) AsBasicChannel ¶
func (wcc WebChatChannel) AsBasicChannel() (BasicChannel, bool)
AsBasicChannel is the BasicChannel implementation for WebChatChannel.
func (WebChatChannel) AsChannel ¶
func (wcc WebChatChannel) AsChannel() (*Channel, bool)
AsChannel is the BasicChannel implementation for WebChatChannel.
func (WebChatChannel) AsDirectLineChannel ¶
func (wcc WebChatChannel) AsDirectLineChannel() (*DirectLineChannel, bool)
AsDirectLineChannel is the BasicChannel implementation for WebChatChannel.
func (WebChatChannel) AsEmailChannel ¶
func (wcc WebChatChannel) AsEmailChannel() (*EmailChannel, bool)
AsEmailChannel is the BasicChannel implementation for WebChatChannel.
func (WebChatChannel) AsFacebookChannel ¶
func (wcc WebChatChannel) AsFacebookChannel() (*FacebookChannel, bool)
AsFacebookChannel is the BasicChannel implementation for WebChatChannel.
func (WebChatChannel) AsKikChannel ¶
func (wcc WebChatChannel) AsKikChannel() (*KikChannel, bool)
AsKikChannel is the BasicChannel implementation for WebChatChannel.
func (WebChatChannel) AsMsTeamsChannel ¶
func (wcc WebChatChannel) AsMsTeamsChannel() (*MsTeamsChannel, bool)
AsMsTeamsChannel is the BasicChannel implementation for WebChatChannel.
func (WebChatChannel) AsSkypeChannel ¶
func (wcc WebChatChannel) AsSkypeChannel() (*SkypeChannel, bool)
AsSkypeChannel is the BasicChannel implementation for WebChatChannel.
func (WebChatChannel) AsSlackChannel ¶
func (wcc WebChatChannel) AsSlackChannel() (*SlackChannel, bool)
AsSlackChannel is the BasicChannel implementation for WebChatChannel.
func (WebChatChannel) AsSmsChannel ¶
func (wcc WebChatChannel) AsSmsChannel() (*SmsChannel, bool)
AsSmsChannel is the BasicChannel implementation for WebChatChannel.
func (WebChatChannel) AsTelegramChannel ¶
func (wcc WebChatChannel) AsTelegramChannel() (*TelegramChannel, bool)
AsTelegramChannel is the BasicChannel implementation for WebChatChannel.
func (WebChatChannel) AsWebChatChannel ¶
func (wcc WebChatChannel) AsWebChatChannel() (*WebChatChannel, bool)
AsWebChatChannel is the BasicChannel implementation for WebChatChannel.
func (WebChatChannel) MarshalJSON ¶
func (wcc WebChatChannel) MarshalJSON() ([]byte, error)
MarshalJSON is the custom marshaler for WebChatChannel.
type WebChatChannelProperties ¶
type WebChatChannelProperties struct { // WebChatEmbedCode - Web chat control embed code WebChatEmbedCode *string `json:"webChatEmbedCode,omitempty"` // Sites - The list of Web Chat sites Sites *[]WebChatSite `json:"sites,omitempty"` }
WebChatChannelProperties the parameters to provide for the Web Chat channel.
type WebChatSite ¶
type WebChatSite struct { // SiteID - Site Id SiteID *string `json:"siteId,omitempty"` // SiteName - Site name SiteName *string `json:"siteName,omitempty"` // Key - Primary key. Value only returned through POST to the action Channel List API, otherwise empty. Key *string `json:"key,omitempty"` // Key2 - Secondary key. Value only returned through POST to the action Channel List API, otherwise empty. Key2 *string `json:"key2,omitempty"` // IsEnabled - Whether this site is enabled for DirectLine channel IsEnabled *bool `json:"isEnabled,omitempty"` // EnablePreview - Whether this site is enabled for preview versions of Webchat EnablePreview *bool `json:"enablePreview,omitempty"` }
WebChatSite a site for the Webchat channel