Class WarningCode
java.lang.Object
com.azure.core.util.ExpandableStringEnum<WarningCode>
com.azure.ai.textanalytics.models.WarningCode
Defines values for
WarningCode.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final WarningCodeStatic value DocumentTruncated forWarningCode.static final WarningCodeStatic value LongWordsInDocument forWarningCode. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic WarningCodefromString(String name) Creates or finds aWarningCodefrom its string representation.static Collection<WarningCode>values()All known WarningCode values.Methods inherited from class com.azure.core.util.ExpandableStringEnum
equals, fromString, hashCode, toString, values
-
Field Details
-
LONG_WORDS_IN_DOCUMENT
Static value LongWordsInDocument forWarningCode. -
DOCUMENT_TRUNCATED
Static value DocumentTruncated forWarningCode.
-
-
Constructor Details
-
WarningCode
Deprecated.Use thefromString(String)factory method.Creates a new instance ofWarningCodevalue.
-
-
Method Details
-
fromString
Creates or finds aWarningCodefrom its string representation.- Parameters:
name- A name to look for.- Returns:
- The corresponding
WarningCode.
-
values
All known WarningCode values.- Returns:
- known WarningCode values.
-
fromString(String)factory method.