SearchKind Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<SearchKind> - com.
microsoft. azure. cognitiveservices. search. autosuggest. models. SearchKind
- com.
- com.
public class SearchKind
Defines values for SearchKind.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Search |
CUSTOM_SEARCH
Static value CustomSearch for SearchKind. |
final Search |
DOCUMENT_SEARCH
Static value DocumentSearch for SearchKind. |
final Search |
HISTORY_SEARCH
Static value HistorySearch for SearchKind. |
final Search |
LOCATION_SEARCH
Static value LocationSearch for SearchKind. |
final Search |
TAG_SEARCH
Static value TagSearch for SearchKind. |
final Search |
WEB_SEARCH
Static value WebSearch for SearchKind. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Search |
fromString(String name)
Creates or finds a SearchKind from its string representation. |
Collection<Search |
values() |
Field Details
CUSTOM_SEARCH
public static final SearchKind CUSTOM_SEARCH= fromString("CustomSearch")
Static value CustomSearch for SearchKind.
DOCUMENT_SEARCH
public static final SearchKind DOCUMENT_SEARCH= fromString("DocumentSearch")
Static value DocumentSearch for SearchKind.
HISTORY_SEARCH
public static final SearchKind HISTORY_SEARCH= fromString("HistorySearch")
Static value HistorySearch for SearchKind.
LOCATION_SEARCH
public static final SearchKind LOCATION_SEARCH= fromString("LocationSearch")
Static value LocationSearch for SearchKind.
TAG_SEARCH
public static final SearchKind TAG_SEARCH= fromString("TagSearch")
Static value TagSearch for SearchKind.
WEB_SEARCH
public static final SearchKind WEB_SEARCH= fromString("WebSearch")
Static value WebSearch for SearchKind.
Method Details
fromString
public static SearchKind fromString(String name)
Creates or finds a SearchKind from its string representation.
Parameters:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java