QueryContext Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. customsearch. models. QueryContext
- com.
public class QueryContext
Defines the query context that Bing used for the request.
Method Summary
Modifier and Type | Method and Description |
---|---|
Boolean |
adultIntent()
Get the adultIntent value. |
String |
alterationOverrideQuery()
Get the alterationOverrideQuery value. |
String |
alteredQuery()
Get the alteredQuery value. |
String |
originalQuery()
Get the originalQuery value. |
Query |
withOriginalQuery(String originalQuery)
Set the originalQuery value. |
Method Details
adultIntent
public Boolean adultIntent()
Get the adultIntent value.
Returns:
alterationOverrideQuery
public String alterationOverrideQuery()
Get the alterationOverrideQuery value.
Returns:
alteredQuery
public String alteredQuery()
Get the alteredQuery value.
Returns:
originalQuery
public String originalQuery()
Get the originalQuery value.
Returns:
withOriginalQuery
public QueryContext withOriginalQuery(String originalQuery)
Set the originalQuery value.
Parameters:
Returns:
Applies to
Azure SDK for Java