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.

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.

QueryContext withOriginalQuery(String originalQuery)

Set the originalQuery value.

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