TranslateDocumentResponse class

A translated document response message.

Constructors

TranslateDocumentResponse({DocumentTranslation? documentTranslation, TranslateTextGlossaryConfig? glossaryConfig, DocumentTranslation? glossaryDocumentTranslation, String? model})
TranslateDocumentResponse.fromJson(Map json_)

Properties

documentTranslation DocumentTranslation?
Translated document.
getter/setter pair
glossaryConfig TranslateTextGlossaryConfig?
The glossary_config used for this translation.
getter/setter pair
glossaryDocumentTranslation DocumentTranslation?
The document's translation output if a glossary is provided in the request.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
model String?
Only present when 'model' is present in the request.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited