QueryContext Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. videosearch. 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. |
Boolean |
askUserForLocation()
Get the askUserForLocation value. |
Boolean |
isTransactional()
Get the isTransactional 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:
askUserForLocation
public Boolean askUserForLocation()
Get the askUserForLocation value.
Returns:
isTransactional
public Boolean isTransactional()
Get the isTransactional 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