AnswerType Classe
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<AnswerType> - com.
microsoft. azure. cognitiveservices. search. websearch. models. AnswerType
- com.
- com.
public class AnswerType
Définit les valeurs de AnswerType.
Récapitulatif du champ
Modificateur et type | Champ et description |
---|---|
final Answer |
COMPUTATION
Valeur statique Calcul pour AnswerType. |
final Answer |
IMAGES
Valeur statique Images pour AnswerType. |
final Answer |
NEWS
Valeur statique News pour AnswerType. |
final Answer |
RELATED_SEARCHES
Valeur statique RelatedSearches pour AnswerType. |
final Answer |
SPELL_SUGGESTIONS
Valeur statique SpellSuggestions pour AnswerType. |
final Answer |
TIME_ZONE
Valeur statique TimeZone pour AnswerType. |
final Answer |
VIDEOS
Valeur statique Videos pour AnswerType. |
final Answer |
WEB_PAGES
Valeur statique WebPages pour AnswerType. |
Résumé de la méthode
Modificateur et type | Méthode et description |
---|---|
Answer |
fromString(String name)
Crée ou recherche un AnswerType à partir de sa représentation sous forme de chaîne. |
Collection<Answer |
values() |
Détails du champ
COMPUTATION
public static final AnswerType COMPUTATION= fromString("Computation")
Valeur statique Calcul pour AnswerType.
IMAGES
public static final AnswerType IMAGES= fromString("Images")
Valeur statique Images pour AnswerType.
NEWS
public static final AnswerType NEWS= fromString("News")
Valeur statique News pour AnswerType.
RELATED_SEARCHES
public static final AnswerType RELATED_SEARCHES= fromString("RelatedSearches")
Valeur statique RelatedSearches pour AnswerType.
SPELL_SUGGESTIONS
public static final AnswerType SPELL_SUGGESTIONS= fromString("SpellSuggestions")
Valeur statique SpellSuggestions pour AnswerType.
TIME_ZONE
public static final AnswerType TIME_ZONE= fromString("TimeZone")
Valeur statique TimeZone pour AnswerType.
VIDEOS
public static final AnswerType VIDEOS= fromString("Videos")
Valeur statique Videos pour AnswerType.
WEB_PAGES
public static final AnswerType WEB_PAGES= fromString("WebPages")
Valeur statique WebPages pour AnswerType.
Détails de la méthode
fromString
public static AnswerType fromString(String name)
Crée ou recherche un AnswerType à partir de sa représentation sous forme de chaîne.
Parameters:
Returns:
values
public static Collection
Returns:
S’applique à
Azure SDK for Java