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.
Constructor Summary
Constructor | Description | |
---|---|---|
QueryContext() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
adultIntent()
Get the adult |
java.lang.String |
alterationOverrideQuery()
Get the alteration |
java.lang.String |
alteredQuery()
Get the altered |
java.lang.Boolean |
askUserForLocation()
Get the ask |
java.lang.Boolean |
isTransactional()
Get the is |
java.lang.String |
originalQuery()
Get the original |
Query |
withOriginalQuery(String originalQuery)
Set the original |
Methods inherited from java.lang.Object
Constructor Details
QueryContext
public QueryContext()
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