Class QueryContext
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.search.videosearch.models.QueryContext
-
public class QueryContext extends Object
Defines the query context that Bing used for the request.
-
-
Constructor Summary
Constructors Constructor Description QueryContext()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleanadultIntent()Get the adultIntent value.StringalterationOverrideQuery()Get the alterationOverrideQuery value.StringalteredQuery()Get the alteredQuery value.BooleanaskUserForLocation()Get the askUserForLocation value.BooleanisTransactional()Get the isTransactional value.StringoriginalQuery()Get the originalQuery value.QueryContextwithOriginalQuery(String originalQuery)Set the originalQuery value.
-
-
-
Method Detail
-
originalQuery
public String originalQuery()
Get the originalQuery value.- Returns:
- the originalQuery value
-
withOriginalQuery
public QueryContext withOriginalQuery(String originalQuery)
Set the originalQuery value.- Parameters:
originalQuery- the originalQuery value to set- Returns:
- the QueryContext object itself.
-
alteredQuery
public String alteredQuery()
Get the alteredQuery value.- Returns:
- the alteredQuery value
-
alterationOverrideQuery
public String alterationOverrideQuery()
Get the alterationOverrideQuery value.- Returns:
- the alterationOverrideQuery value
-
adultIntent
public Boolean adultIntent()
Get the adultIntent value.- Returns:
- the adultIntent value
-
askUserForLocation
public Boolean askUserForLocation()
Get the askUserForLocation value.- Returns:
- the askUserForLocation value
-
isTransactional
public Boolean isTransactional()
Get the isTransactional value.- Returns:
- the isTransactional value
-
-