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


ConversationAuthoringSupportedLanguage Class

Definition

Represents a supported language.

public class ConversationAuthoringSupportedLanguage : System.ClientModel.Primitives.IJsonModel<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSupportedLanguage>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Language.Conversations.Authoring.ConversationAuthoringSupportedLanguage>
type ConversationAuthoringSupportedLanguage = class
    interface IJsonModel<ConversationAuthoringSupportedLanguage>
    interface IPersistableModel<ConversationAuthoringSupportedLanguage>
Public Class ConversationAuthoringSupportedLanguage
Implements IJsonModel(Of ConversationAuthoringSupportedLanguage), IPersistableModel(Of ConversationAuthoringSupportedLanguage)
Inheritance
ConversationAuthoringSupportedLanguage
Implements

Properties

LanguageCode

The language code. This is BCP-47 representation of a language. For example, "en" for English, "en-gb" for English (UK), "es" for Spanish etc.

LanguageName

The language name.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<ConversationAuthoringSupportedLanguage>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<ConversationAuthoringSupportedLanguage>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<ConversationAuthoringSupportedLanguage>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<ConversationAuthoringSupportedLanguage>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<ConversationAuthoringSupportedLanguage>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to