Class TextSentiment
java.lang.Object
com.azure.core.util.ExpandableStringEnum<TextSentiment>
com.azure.ai.textanalytics.models.TextSentiment
Defines values for
TextSentiment
.-
Field Summary
Modifier and TypeFieldDescriptionstatic final TextSentiment
Static value Mixed forTextSentiment
.static final TextSentiment
Static value Negative forTextSentiment
.static final TextSentiment
Static value Neutral forTextSentiment
.static final TextSentiment
Static value Positive forTextSentiment
. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic TextSentiment
fromString
(String name) Creates or finds aTextSentiment
from its string representation.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
POSITIVE
Static value Positive forTextSentiment
. -
NEUTRAL
Static value Neutral forTextSentiment
. -
NEGATIVE
Static value Negative forTextSentiment
. -
MIXED
Static value Mixed forTextSentiment
.
-
-
Constructor Details
-
TextSentiment
public TextSentiment()
-
-
Method Details
-
fromString
Creates or finds aTextSentiment
from its string representation.- Parameters:
name
- A name to look for.- Returns:
- The corresponding
TextSentiment
.
-