ErrorType Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum - com.
microsoft. azure. cognitiveservices. language. spellcheck. models. ErrorType
- com.
- com.
public final class ErrorType
extends com.microsoft.rest.ExpandableStringEnum<ErrorType>
Defines values for ErrorType.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Error |
REPEATED_TOKEN
Static value Repeated |
static final
Error |
UNKNOWN_TOKEN
Static value Unknown |
Constructor Summary
Constructor | Description | |
---|---|---|
ErrorType() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Error |
fromString(String name)
Creates or finds a Error |
static
java.util.Collection<Error |
values() |
Methods inherited from com.microsoft.rest.ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
REPEATED_TOKEN
public static final ErrorType REPEATED_TOKEN
Static value RepeatedToken for ErrorType.
UNKNOWN_TOKEN
public static final ErrorType UNKNOWN_TOKEN
Static value UnknownToken for ErrorType.
Constructor Details
ErrorType
public ErrorType()
Method Details
fromString
public static ErrorType fromString(String name)
Creates or finds a ErrorType from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for