azure-docs-sdk-java/docs-ref-autogen/com.azure.ai.translation.te...

52 строки
3.0 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.ai.translation.text.models.InputTextItem"
fullName: "com.azure.ai.translation.text.models.InputTextItem"
name: "InputTextItem"
nameWithType: "InputTextItem"
summary: "Element containing the text for translation."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public class **InputTextItem**"
constructors:
- uid: "com.azure.ai.translation.text.models.InputTextItem.InputTextItem(java.lang.String)"
fullName: "com.azure.ai.translation.text.models.InputTextItem.InputTextItem(String text)"
name: "InputTextItem(String text)"
nameWithType: "InputTextItem.InputTextItem(String text)"
summary: "Creates an instance of Input<wbr>Text<wbr>Item class."
parameters:
- description: "the text value to set."
name: "text"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public InputTextItem(String text)"
desc: "Creates an instance of InputTextItem class."
methods:
- uid: "com.azure.ai.translation.text.models.InputTextItem.getText()"
fullName: "com.azure.ai.translation.text.models.InputTextItem.getText()"
name: "getText()"
nameWithType: "InputTextItem.getText()"
summary: "Get the text property: Text to translate."
syntax: "public String getText()"
desc: "Get the text property: Text to translate."
returns:
description: "the text value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
type: "class"
desc: "Element containing the text for translation."
metadata: {}
package: "com.azure.ai.translation.text.models"
artifact: com.azure:azure-ai-translation-text:1.0.0