DirectLineSpeechChannelProperties Class

Definition

The parameters to provide for the DirectLine Speech channel.

public class DirectLineSpeechChannelProperties : System.ClientModel.Primitives.IJsonModel<Azure.ResourceManager.BotService.Models.DirectLineSpeechChannelProperties>, System.ClientModel.Primitives.IPersistableModel<Azure.ResourceManager.BotService.Models.DirectLineSpeechChannelProperties>
type DirectLineSpeechChannelProperties = class
    interface IJsonModel<DirectLineSpeechChannelProperties>
    interface IPersistableModel<DirectLineSpeechChannelProperties>
Public Class DirectLineSpeechChannelProperties
Implements IJsonModel(Of DirectLineSpeechChannelProperties), IPersistableModel(Of DirectLineSpeechChannelProperties)
Inheritance
DirectLineSpeechChannelProperties
Implements

Constructors

Name Description
DirectLineSpeechChannelProperties()

Initializes a new instance of DirectLineSpeechChannelProperties.

Properties

Name Description
CognitiveServiceRegion

The cognitive service region with this channel registration.

CognitiveServiceResourceId

The cognitive service id with this channel registration.

CognitiveServiceSubscriptionKey

The cognitive service subscription key to use with this channel registration.

CustomSpeechModelId

Custom voice deployment id (optional).

CustomVoiceDeploymentId

Custom speech model id (optional).

IsDefaultBotForCogSvcAccount

Make this a default bot for chosen cognitive service account.

IsEnabled

Whether this channel is enabled or not.

Methods

Name Description
JsonModelCreateCore(Utf8JsonReader, ModelReaderWriterOptions)
JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)
PersistableModelCreateCore(BinaryData, ModelReaderWriterOptions)
PersistableModelWriteCore(ModelReaderWriterOptions)

Explicit Interface Implementations

Name Description
IJsonModel<DirectLineSpeechChannelProperties>.Create(Utf8JsonReader, ModelReaderWriterOptions)

Reads one JSON value (including objects or arrays) from the provided reader and converts it to a model.

IJsonModel<DirectLineSpeechChannelProperties>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<DirectLineSpeechChannelProperties>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DirectLineSpeechChannelProperties>.GetFormatFromOptions(ModelReaderWriterOptions)

Gets the data interchange format (JSON, Xml, etc) that the model uses when communicating with the service.

IPersistableModel<DirectLineSpeechChannelProperties>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to