AnswerType 类
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<AnswerType> - com.
microsoft. azure. cognitiveservices. search. websearch. models. AnswerType
- com.
- com.
public class AnswerType
定义 AnswerType 的值。
字段摘要
| 修饰符和类型 | 字段和描述 |
|---|---|
|
final Answer |
COMPUTATION
AnswerType 的静态值计算。 |
|
final Answer |
IMAGES
AnswerType 的静态值图像。 |
|
final Answer |
NEWS
AnswerType 的静态值新闻。 |
|
final Answer |
RELATED_SEARCHES
静态值 RelatedSearches for AnswerType。 |
|
final Answer |
SPELL_SUGGESTIONS
AnswerType 的静态值 SpellSuggestions。 |
|
final Answer |
TIME_ZONE
AnswerType 的静态值 TimeZone。 |
|
final Answer |
VIDEOS
AnswerType 的静态值视频。 |
|
final Answer |
WEB_PAGES
AnswerType 的静态值 WebPages。 |
方法摘要
| 修饰符和类型 | 方法和描述 |
|---|---|
|
Answer |
fromString(String name)
从其字符串表示形式创建或查找 AnswerType。 |
|
Collection<Answer |
values() |
字段详细信息
COMPUTATION
public static final AnswerType COMPUTATION= fromString("Computation")
AnswerType 的静态值计算。
IMAGES
public static final AnswerType IMAGES= fromString("Images")
AnswerType 的静态值图像。
NEWS
public static final AnswerType NEWS= fromString("News")
AnswerType 的静态值新闻。
RELATED_SEARCHES
public static final AnswerType RELATED_SEARCHES= fromString("RelatedSearches")
静态值 RelatedSearches for AnswerType。
SPELL_SUGGESTIONS
public static final AnswerType SPELL_SUGGESTIONS= fromString("SpellSuggestions")
AnswerType 的静态值 SpellSuggestions。
TIME_ZONE
public static final AnswerType TIME_ZONE= fromString("TimeZone")
AnswerType 的静态值 TimeZone。
VIDEOS
public static final AnswerType VIDEOS= fromString("Videos")
AnswerType 的静态值视频。
WEB_PAGES
public static final AnswerType WEB_PAGES= fromString("WebPages")
AnswerType 的静态值 WebPages。
方法详细信息
fromString
public static AnswerType fromString(String name)
从其字符串表示形式创建或查找 AnswerType。
Parameters:
Returns:
values
public static Collection
Returns: