AnswerType Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum - com.
microsoft. azure. cognitiveservices. search. websearch. models. AnswerType
- com.
- com.
public final class AnswerType
extends com.microsoft.rest.ExpandableStringEnum<AnswerType>
Defines values for AnswerType.
Field Summary
Modifier and Type | Field and Description |
---|---|
static final
Answer |
COMPUTATION
Static value Computation for Answer |
static final
Answer |
IMAGES
Static value Images for Answer |
static final
Answer |
NEWS
Static value News for Answer |
static final
Answer |
RELATED_SEARCHES
Static value Related |
static final
Answer |
SPELL_SUGGESTIONS
Static value Spell |
static final
Answer |
TIME_ZONE
Static value Time |
static final
Answer |
VIDEOS
Static value Videos for Answer |
static final
Answer |
WEB_PAGES
Static value Web |
Constructor Summary
Constructor | Description | |
---|---|---|
AnswerType() |
Method Summary
Modifier and Type | Method and Description |
---|---|
static
Answer |
fromString(String name)
Creates or finds a Answer |
static
java.util.Collection<Answer |
values() |
Methods inherited from com.microsoft.rest.ExpandableStringEnum
Methods inherited from java.lang.Object
Field Details
COMPUTATION
public static final AnswerType COMPUTATION
Static value Computation for AnswerType.
IMAGES
public static final AnswerType IMAGES
Static value Images for AnswerType.
NEWS
public static final AnswerType NEWS
Static value News for AnswerType.
RELATED_SEARCHES
public static final AnswerType RELATED_SEARCHES
Static value RelatedSearches for AnswerType.
SPELL_SUGGESTIONS
public static final AnswerType SPELL_SUGGESTIONS
Static value SpellSuggestions for AnswerType.
TIME_ZONE
public static final AnswerType TIME_ZONE
Static value TimeZone for AnswerType.
VIDEOS
public static final AnswerType VIDEOS
Static value Videos for AnswerType.
WEB_PAGES
public static final AnswerType WEB_PAGES
Static value WebPages for AnswerType.
Constructor Details
AnswerType
public AnswerType()
Method Details
fromString
public static AnswerType fromString(String name)
Creates or finds a AnswerType from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java