Share via


GetSupportedLanguagesResult Class

Definition

Response for the languages API.

public class GetSupportedLanguagesResult : System.ClientModel.Primitives.IJsonModel<Azure.AI.Translation.Text.GetSupportedLanguagesResult>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.Translation.Text.GetSupportedLanguagesResult>
type GetSupportedLanguagesResult = class
    interface IJsonModel<GetSupportedLanguagesResult>
    interface IPersistableModel<GetSupportedLanguagesResult>
Public Class GetSupportedLanguagesResult
Implements IJsonModel(Of GetSupportedLanguagesResult), IPersistableModel(Of GetSupportedLanguagesResult)
Inheritance
GetSupportedLanguagesResult
Implements

Properties

Name Description
Etag

Current value of the entity tag for the requested groups of supported languages. To make subsequent requests more efficient, the client may send the ETag value in an If-None-Match header field.

Models

LLM models supported.

RequestId

Value generated by the service to identify the request. It is used for troubleshooting purposes.

Translation

Languages that support translate API.

Transliteration

Languages that support transliteration API.

Methods

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

Operators

Name Description
Explicit(Response to GetSupportedLanguagesResult)

Explicit Interface Implementations

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

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

IJsonModel<GetSupportedLanguagesResult>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<GetSupportedLanguagesResult>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<GetSupportedLanguagesResult>.GetFormatFromOptions(ModelReaderWriterOptions)

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

<param name="options">The ModelReaderWriterOptions to use.</param>
IPersistableModel<GetSupportedLanguagesResult>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to