AnswerType Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<AnswerType> - com.
microsoft. azure. cognitiveservices. search. entitysearch. models. AnswerType
- com.
- com.
public class AnswerType
Defines values for AnswerType.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Answer |
ENTITIES
Static value Entities for AnswerType. |
final Answer |
PLACES
Static value Places for AnswerType. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Answer |
fromString(String name)
Creates or finds a AnswerType from its string representation. |
Collection<Answer |
values() |
Field Details
ENTITIES
public static final AnswerType ENTITIES= fromString("Entities")
Static value Entities for AnswerType.
PLACES
public static final AnswerType PLACES= fromString("Places")
Static value Places for AnswerType.
Method Details
fromString
public static AnswerType fromString(String name)
Creates or finds a AnswerType from its string representation.
Parameters:
name
- a name to look for
Returns:
the corresponding AnswerType
values
public static Collection
Returns:
known AnswerType values
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java