QueryContext Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.search.videosearch.models.QueryContext

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 adultIntent value.

java.lang.String alterationOverrideQuery()

Get the alterationOverrideQuery value.

java.lang.String alteredQuery()

Get the alteredQuery value.

java.lang.Boolean askUserForLocation()

Get the askUserForLocation value.

java.lang.Boolean isTransactional()

Get the isTransactional value.

java.lang.String originalQuery()

Get the originalQuery value.

QueryContext withOriginalQuery(String originalQuery)

Set the originalQuery value.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

QueryContext

public QueryContext()

Method Details

adultIntent

public Boolean adultIntent()

Get the adultIntent value.

Returns:

the adultIntent value

alterationOverrideQuery

public String alterationOverrideQuery()

Get the alterationOverrideQuery value.

Returns:

the alterationOverrideQuery value

alteredQuery

public String alteredQuery()

Get the alteredQuery value.

Returns:

the alteredQuery 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

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.

Applies to