AdaptiveMtTranslateRequest class
The request for sending an AdaptiveMt translation query.
Constructors
-
AdaptiveMtTranslateRequest.new({List<
String> ? content, String? dataset, GlossaryConfig? glossaryConfig, ReferenceSentenceConfig? referenceSentenceConfig}) - AdaptiveMtTranslateRequest.fromJson(Map json_)
Properties
-
content
↔ List<
String> ? -
The content of the input in string format.
getter/setter pair
- dataset ↔ String?
-
The resource name for the dataset to use for adaptive MT.
getter/setter pair
- glossaryConfig ↔ GlossaryConfig?
-
Glossary to be applied.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- referenceSentenceConfig ↔ ReferenceSentenceConfig?
-
Configuration for caller provided reference sentences.
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