azure-docs-sdk-java/docs-ref-autogen/com.azure.ai.textanalytics....

122 строки
8.8 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.ai.textanalytics.models.TextSentiment"
fullName: "com.azure.ai.textanalytics.models.TextSentiment"
name: "TextSentiment"
nameWithType: "TextSentiment"
summary: "Defines values for `TextSentiment`."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "<xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />"
methodsRef:
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>fromString(java.lang.String,java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>fromString&text=<T>fromString\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.<T>values(java.lang.Class<T>)?alt=com.azure.core.util.ExpandableStringEnum.<T>values&text=<T>values\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.equals(java.lang.Object)?alt=com.azure.core.util.ExpandableStringEnum.equals&text=equals\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.hashCode()?alt=com.azure.core.util.ExpandableStringEnum.hashCode&text=hashCode\" data-throw-if-not-resolved=\"False\" />"
- "<xref href=\"com.azure.core.util.ExpandableStringEnum.toString()?alt=com.azure.core.util.ExpandableStringEnum.toString&text=toString\" data-throw-if-not-resolved=\"False\" />"
- 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#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#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#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 final class **TextSentiment**</br> extends <xref href=\"com.azure.core.util.ExpandableStringEnum?alt=com.azure.core.util.ExpandableStringEnum&text=ExpandableStringEnum\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.ai.textanalytics.models.TextSentiment?alt=com.azure.ai.textanalytics.models.TextSentiment&text=TextSentiment\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.ai.textanalytics.models.TextSentiment.TextSentiment()"
fullName: "com.azure.ai.textanalytics.models.TextSentiment.TextSentiment()"
name: "TextSentiment()"
nameWithType: "TextSentiment.TextSentiment()"
summary: "Creates a new instance of `TextSentiment` value."
deprecatedTag: "Use the <xref uid=\"com.azure.ai.textanalytics.models.TextSentiment.fromString(java.lang.String)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#fromString(String)\"></xref> factory method."
syntax: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Deprecated.html\">@Deprecated</a></br>public TextSentiment()"
desc: "Creates a new instance of `TextSentiment` value."
hasDeprecatedTag: true
fields:
- uid: "com.azure.ai.textanalytics.models.TextSentiment.MIXED"
fullName: "com.azure.ai.textanalytics.models.TextSentiment.MIXED"
name: "MIXED"
nameWithType: "TextSentiment.MIXED"
summary: "Static value Mixed for <xref uid=\"com.azure.ai.textanalytics.models.TextSentiment\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TextSentiment\"></xref>."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.ai.textanalytics.models.TextSentiment?alt=com.azure.ai.textanalytics.models.TextSentiment&text=TextSentiment\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final TextSentiment MIXED"
desc: "Static value Mixed for <xref uid=\"com.azure.ai.textanalytics.models.TextSentiment\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TextSentiment\"></xref>."
- uid: "com.azure.ai.textanalytics.models.TextSentiment.NEGATIVE"
fullName: "com.azure.ai.textanalytics.models.TextSentiment.NEGATIVE"
name: "NEGATIVE"
nameWithType: "TextSentiment.NEGATIVE"
summary: "Static value Negative for <xref uid=\"com.azure.ai.textanalytics.models.TextSentiment\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TextSentiment\"></xref>."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.ai.textanalytics.models.TextSentiment?alt=com.azure.ai.textanalytics.models.TextSentiment&text=TextSentiment\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final TextSentiment NEGATIVE"
desc: "Static value Negative for <xref uid=\"com.azure.ai.textanalytics.models.TextSentiment\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TextSentiment\"></xref>."
- uid: "com.azure.ai.textanalytics.models.TextSentiment.NEUTRAL"
fullName: "com.azure.ai.textanalytics.models.TextSentiment.NEUTRAL"
name: "NEUTRAL"
nameWithType: "TextSentiment.NEUTRAL"
summary: "Static value Neutral for <xref uid=\"com.azure.ai.textanalytics.models.TextSentiment\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TextSentiment\"></xref>."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.ai.textanalytics.models.TextSentiment?alt=com.azure.ai.textanalytics.models.TextSentiment&text=TextSentiment\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final TextSentiment NEUTRAL"
desc: "Static value Neutral for <xref uid=\"com.azure.ai.textanalytics.models.TextSentiment\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TextSentiment\"></xref>."
- uid: "com.azure.ai.textanalytics.models.TextSentiment.POSITIVE"
fullName: "com.azure.ai.textanalytics.models.TextSentiment.POSITIVE"
name: "POSITIVE"
nameWithType: "TextSentiment.POSITIVE"
summary: "Static value Positive for <xref uid=\"com.azure.ai.textanalytics.models.TextSentiment\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TextSentiment\"></xref>."
modifiers:
- "static"
- "final"
field:
type: "<xref href=\"com.azure.ai.textanalytics.models.TextSentiment?alt=com.azure.ai.textanalytics.models.TextSentiment&text=TextSentiment\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static final TextSentiment POSITIVE"
desc: "Static value Positive for <xref uid=\"com.azure.ai.textanalytics.models.TextSentiment\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TextSentiment\"></xref>."
methods:
- uid: "com.azure.ai.textanalytics.models.TextSentiment.fromString(java.lang.String)"
fullName: "com.azure.ai.textanalytics.models.TextSentiment.fromString(String name)"
name: "fromString(String name)"
nameWithType: "TextSentiment.fromString(String name)"
summary: "Creates or finds a `TextSentiment` from its string representation."
modifiers:
- "static"
parameters:
- description: "A name to look for."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public static TextSentiment fromString(String name)"
desc: "Creates or finds a `TextSentiment` from its string representation."
returns:
description: "The corresponding <code>TextSentiment</code>."
type: "<xref href=\"com.azure.ai.textanalytics.models.TextSentiment?alt=com.azure.ai.textanalytics.models.TextSentiment&text=TextSentiment\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.ai.textanalytics.models.TextSentiment.values()"
fullName: "com.azure.ai.textanalytics.models.TextSentiment.values()"
name: "values()"
nameWithType: "TextSentiment.values()"
summary: "All known Text<wbr>Sentiment values."
modifiers:
- "static"
syntax: "public static Collection<TextSentiment> values()"
desc: "All known TextSentiment values."
returns:
description: "known TextSentiment values."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/Collection.html\">Collection</a>&lt;<xref href=\"com.azure.ai.textanalytics.models.TextSentiment?alt=com.azure.ai.textanalytics.models.TextSentiment&text=TextSentiment\" data-throw-if-not-resolved=\"False\" />&gt;"
type: "class"
desc: "Defines values for `TextSentiment`."
metadata: {}
package: "com.azure.ai.textanalytics.models"
artifact: com.azure:azure-ai-textanalytics:5.5.1