Class InputTextItem
java.lang.Object
com.azure.ai.translation.text.models.InputTextItem
- Direct Known Subclasses:
DictionaryExampleTextItem
Element containing the text for translation.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
InputTextItem
Creates an instance of InputTextItem class.- Parameters:
text
- the text value to set.
-
-
Method Details
-
getText
Get the text property: Text to translate.- Returns:
- the text value.
-