Поделиться через


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>
public class DirectLineSpeechChannelProperties
type DirectLineSpeechChannelProperties = class
    interface IJsonModel<DirectLineSpeechChannelProperties>
    interface IPersistableModel<DirectLineSpeechChannelProperties>
type DirectLineSpeechChannelProperties = class
Public Class DirectLineSpeechChannelProperties
Implements IJsonModel(Of DirectLineSpeechChannelProperties), IPersistableModel(Of DirectLineSpeechChannelProperties)
Public Class DirectLineSpeechChannelProperties
Inheritance
DirectLineSpeechChannelProperties
Implements

Constructors

DirectLineSpeechChannelProperties()

Initializes a new instance of DirectLineSpeechChannelProperties.

Properties

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

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

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