Aracılığıyla paylaş


ErrorType Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<ErrorType>
      • com.microsoft.azure.cognitiveservices.language.spellcheck.models.ErrorType

public class ErrorType

Defines values for ErrorType.

Field Summary

Modifier and Type Field and Description
final ErrorType REPEATED_TOKEN

Static value RepeatedToken for ErrorType.

final ErrorType UNKNOWN_TOKEN

Static value UnknownToken for ErrorType.

Method Summary

Modifier and Type Method and Description
ErrorType fromString(String name)

Creates or finds a ErrorType from its string representation.

Collection<ErrorType> values()

Field Details

REPEATED_TOKEN

public static final ErrorType REPEATED_TOKEN= fromString("RepeatedToken")

Static value RepeatedToken for ErrorType.

UNKNOWN_TOKEN

public static final ErrorType UNKNOWN_TOKEN= fromString("UnknownToken")

Static value UnknownToken for ErrorType.

Method Details

fromString

public static ErrorType fromString(String name)

Creates or finds a ErrorType from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding ErrorType

values

public static Collection values()

Returns:

known ErrorType values

Applies to