Enum EntityRecognitionSkillVersion
java.lang.Object
java.lang.Enum<EntityRecognitionSkillVersion>
com.azure.search.documents.indexes.models.EntityRecognitionSkillVersion
- All Implemented Interfaces:
Serializable,Comparable<EntityRecognitionSkillVersion>,java.lang.constant.Constable
Represents the version of
EntityRecognitionSkill.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionfromString(String value) Gets theEntityRecognitionSkillVersionfrom the stringvalue.Gets the latestEntityRecognitionSkillversion.toString()Returns the enum constant of this type with the specified name.static EntityRecognitionSkillVersion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
V1
Deprecated.This version of the skill is deprecated, please useV3. See skill deprecation for more information.Version 1 ofEntityRecognitionSkill. -
V3
Version 3 ofEntityRecognitionSkill.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getLatest
Gets the latestEntityRecognitionSkillversion.- Returns:
- The latest
EntityRecognitionSkillversion.
-
fromString
Gets theEntityRecognitionSkillVersionfrom the stringvalue.If the
valuedoesn't match any version null will be returned.- Parameters:
value- The value to convert to anEntityRecognitionSkillVersion.- Returns:
- The
EntityRecognitionSkillVersioncorresponding to thevalue, or null if no versions match thevalue.
-
toString
- Overrides:
toStringin classEnum<EntityRecognitionSkillVersion>
-
V3.