Class WarningCode
- java.lang.Object
-
- com.azure.core.util.ExpandableStringEnum<WarningCode>
-
- com.azure.ai.textanalytics.models.WarningCode
-
public final class WarningCode extends com.azure.core.util.ExpandableStringEnum<WarningCode>
Defines values forWarningCode
.
-
-
Field Summary
Fields Modifier and Type Field Description static WarningCode
DOCUMENT_TRUNCATED
Static value DocumentTruncated forWarningCode
.static WarningCode
LONG_WORDS_IN_DOCUMENT
Static value LongWordsInDocument forWarningCode
.
-
Constructor Summary
Constructors Constructor Description WarningCode()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WarningCode
fromString(String name)
Creates or finds aWarningCode
from its string representation.
-
-
-
Field Detail
-
LONG_WORDS_IN_DOCUMENT
public static final WarningCode LONG_WORDS_IN_DOCUMENT
Static value LongWordsInDocument forWarningCode
.
-
DOCUMENT_TRUNCATED
public static final WarningCode DOCUMENT_TRUNCATED
Static value DocumentTruncated forWarningCode
.
-
-
Method Detail
-
fromString
public static WarningCode fromString(String name)
Creates or finds aWarningCode
from its string representation.- Parameters:
name
- A name to look for.- Returns:
- The corresponding
WarningCode
.
-
-