Partager via


AnswerType Classe

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<AnswerType>
      • com.microsoft.azure.cognitiveservices.search.websearch.models.AnswerType

public class AnswerType

Définit les valeurs de AnswerType.

Récapitulatif du champ

Modificateur et type Champ et description
final AnswerType COMPUTATION

Valeur statique Calcul pour AnswerType.

final AnswerType IMAGES

Valeur statique Images pour AnswerType.

final AnswerType NEWS

Valeur statique News pour AnswerType.

final AnswerType RELATED_SEARCHES

Valeur statique RelatedSearches pour AnswerType.

final AnswerType SPELL_SUGGESTIONS

Valeur statique SpellSuggestions pour AnswerType.

final AnswerType TIME_ZONE

Valeur statique TimeZone pour AnswerType.

final AnswerType VIDEOS

Valeur statique Videos pour AnswerType.

final AnswerType WEB_PAGES

Valeur statique WebPages pour AnswerType.

Résumé de la méthode

Modificateur et type Méthode et description
AnswerType fromString(String name)

Crée ou recherche un AnswerType à partir de sa représentation sous forme de chaîne.

Collection<AnswerType> 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.

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:

name - un nom à rechercher

Returns:

AnswerType correspondant

values

public static Collection values()

Returns:

valeurs AnswerType connues

S’applique à