DocumentTranslateContent Class

Definition

Document Translate Request Content.

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

Constructors

DocumentTranslateContent(MultipartFormFileData)

Initializes a new instance of DocumentTranslateContent.

Properties

MultipartDocument

Document to be translated in the form.

MultipartGlossary

Glossary-translation memory will be used during translation in the form.

Explicit Interface Implementations

IJsonModel<DocumentTranslateContent>.Create(Utf8JsonReader, ModelReaderWriterOptions)

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

IJsonModel<DocumentTranslateContent>.Write(Utf8JsonWriter, ModelReaderWriterOptions)
IPersistableModel<DocumentTranslateContent>.Create(BinaryData, ModelReaderWriterOptions)

Converts the provided BinaryData into a model.

IPersistableModel<DocumentTranslateContent>.GetFormatFromOptions(ModelReaderWriterOptions)

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

IPersistableModel<DocumentTranslateContent>.Write(ModelReaderWriterOptions)

Writes the model into a BinaryData.

Applies to