public enum SentimentSkillVersion extends Enum<SentimentSkillVersion>
SentimentSkill
.Modifier and Type | Method and Description |
---|---|
static SentimentSkillVersion |
fromString(String value)
Gets the
SentimentSkillVersion from the string value . |
static SentimentSkillVersion |
getLatest()
Gets the latest
SentimentSkill version. |
String |
toString() |
static SentimentSkillVersion |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SentimentSkillVersion[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SentimentSkillVersion V1
public static final SentimentSkillVersion V3
public static SentimentSkillVersion[] values()
public static SentimentSkillVersion valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic static SentimentSkillVersion getLatest()
SentimentSkill
version.SentimentSkill
version.public static SentimentSkillVersion fromString(String value)
SentimentSkillVersion
from the string value
.
If the value
doesn't match any version null will be returned.
value
- The value to convert to an SentimentSkillVersion
.SentimentSkillVersion
corresponding to the value
, or null if no versions match the
value
.public String toString()
toString
in class Enum<SentimentSkillVersion>
Copyright © 2021 Microsoft Corporation. All rights reserved.