ScenarioType Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<ScenarioType> - com.
microsoft. azure. cognitiveservices. search. autosuggest. models. ScenarioType
- com.
- com.
public class ScenarioType
Defines values for ScenarioType.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Scenario |
CUSTOM
Static value Custom for ScenarioType. |
final Scenario |
PERSONAL_SEARCH_DOCUMENTS
Static value PersonalSearchDocuments for ScenarioType. |
final Scenario |
PERSONAL_SEARCH_TAGS
Static value PersonalSearchTags for ScenarioType. |
final Scenario |
SEARCH_HISTORY
Static value SearchHistory for ScenarioType. |
final Scenario |
STORE_APPS
Static value StoreApps for ScenarioType. |
final Scenario |
UNKNOWN
Static value Unknown for ScenarioType. |
final Scenario |
WEB
Static value Web for ScenarioType. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Scenario |
fromString(String name)
Creates or finds a ScenarioType from its string representation. |
Collection<Scenario |
values() |
Field Details
CUSTOM
public static final ScenarioType CUSTOM= fromString("Custom")
Static value Custom for ScenarioType.
PERSONAL_SEARCH_DOCUMENTS
public static final ScenarioType PERSONAL_SEARCH_DOCUMENTS= fromString("PersonalSearchDocuments")
Static value PersonalSearchDocuments for ScenarioType.
PERSONAL_SEARCH_TAGS
public static final ScenarioType PERSONAL_SEARCH_TAGS= fromString("PersonalSearchTags")
Static value PersonalSearchTags for ScenarioType.
SEARCH_HISTORY
public static final ScenarioType SEARCH_HISTORY= fromString("SearchHistory")
Static value SearchHistory for ScenarioType.
STORE_APPS
public static final ScenarioType STORE_APPS= fromString("StoreApps")
Static value StoreApps for ScenarioType.
UNKNOWN
public static final ScenarioType UNKNOWN= fromString("Unknown")
Static value Unknown for ScenarioType.
WEB
public static final ScenarioType WEB= fromString("Web")
Static value Web for ScenarioType.
Method Details
fromString
public static ScenarioType fromString(String name)
Creates or finds a ScenarioType from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java