共用方式為


TranslationBatch Class

Definition

Translation job submission batch request.

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

Constructors

TranslationBatch(IEnumerable<DocumentTranslationInput>)

Initializes a new instance of TranslationBatch.

Properties

Inputs

The input list of documents or folders containing documents.

Methods

JsonModelWriteCore(Utf8JsonWriter, ModelReaderWriterOptions)

Explicit Interface Implementations

IJsonModel<TranslationBatch>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<TranslationBatch>.Write(Utf8JsonWriter, ModelReaderWriterOptions)

Writes the model to the provided Utf8JsonWriter.

IPersistableModel<TranslationBatch>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<TranslationBatch>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<TranslationBatch>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to