SearchOptionalParameter Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.search.entitysearch.models.SearchOptionalParameter

public class SearchOptionalParameter

The SearchOptionalParameter model.

Method Summary

Modifier and Type Method and Description
String acceptLanguage()

Get the acceptLanguage value.

String clientId()

Get the clientId value.

String clientIp()

Get the clientIp value.

String countryCode()

Get the countryCode value.

String location()

Get the location value.

String market()

Get the market value.

String pragma()

Get the pragma value.

List<AnswerType> responseFilter()

Get the responseFilter value.

List<ResponseFormat> responseFormat()

Get the responseFormat value.

SafeSearch safeSearch()

Get the safeSearch value.

String setLang()

Get the setLang value.

String userAgent()

Get the userAgent value.

SearchOptionalParameter withAcceptLanguage(String acceptLanguage)

Set the acceptLanguage value.

SearchOptionalParameter withClientId(String clientId)

Set the clientId value.

SearchOptionalParameter withClientIp(String clientIp)

Set the clientIp value.

SearchOptionalParameter withCountryCode(String countryCode)

Set the countryCode value.

SearchOptionalParameter withLocation(String location)

Set the location value.

SearchOptionalParameter withMarket(String market)

Set the market value.

SearchOptionalParameter withPragma(String pragma)

Set the pragma value.

SearchOptionalParameter withResponseFilter(List<AnswerType> responseFilter)

Set the responseFilter value.

SearchOptionalParameter withResponseFormat(List<ResponseFormat> responseFormat)

Set the responseFormat value.

SearchOptionalParameter withSafeSearch(SafeSearch safeSearch)

Set the safeSearch value.

SearchOptionalParameter withSetLang(String setLang)

Set the setLang value.

SearchOptionalParameter withUserAgent(String userAgent)

Set the userAgent value.

Method Details

acceptLanguage

public String acceptLanguage()

Get the acceptLanguage value.

Returns:

the acceptLanguage value

clientId

public String clientId()

Get the clientId value.

Returns:

the clientId value

clientIp

public String clientIp()

Get the clientIp value.

Returns:

the clientIp value

countryCode

public String countryCode()

Get the countryCode value.

Returns:

the countryCode value

location

public String location()

Get the location value.

Returns:

the location value

market

public String market()

Get the market value.

Returns:

the market value

pragma

public String pragma()

Get the pragma value.

Returns:

the pragma value

responseFilter

public List responseFilter()

Get the responseFilter value.

Returns:

the responseFilter value

responseFormat

public List responseFormat()

Get the responseFormat value.

Returns:

the responseFormat value

safeSearch

public SafeSearch safeSearch()

Get the safeSearch value.

Returns:

the safeSearch value

setLang

public String setLang()

Get the setLang value.

Returns:

the setLang value

userAgent

public String userAgent()

Get the userAgent value.

Returns:

the userAgent value

withAcceptLanguage

public SearchOptionalParameter withAcceptLanguage(String acceptLanguage)

Set the acceptLanguage value.

Parameters:

acceptLanguage - the acceptLanguage value to set

Returns:

the SearchOptionalParameter object itself.

withClientId

public SearchOptionalParameter withClientId(String clientId)

Set the clientId value.

Parameters:

clientId - the clientId value to set

Returns:

the SearchOptionalParameter object itself.

withClientIp

public SearchOptionalParameter withClientIp(String clientIp)

Set the clientIp value.

Parameters:

clientIp - the clientIp value to set

Returns:

the SearchOptionalParameter object itself.

withCountryCode

public SearchOptionalParameter withCountryCode(String countryCode)

Set the countryCode value.

Parameters:

countryCode - the countryCode value to set

Returns:

the SearchOptionalParameter object itself.

withLocation

public SearchOptionalParameter withLocation(String location)

Set the location value.

Parameters:

location - the location value to set

Returns:

the SearchOptionalParameter object itself.

withMarket

public SearchOptionalParameter withMarket(String market)

Set the market value.

Parameters:

market - the market value to set

Returns:

the SearchOptionalParameter object itself.

withPragma

public SearchOptionalParameter withPragma(String pragma)

Set the pragma value.

Parameters:

pragma - the pragma value to set

Returns:

the SearchOptionalParameter object itself.

withResponseFilter

public SearchOptionalParameter withResponseFilter(List responseFilter)

Set the responseFilter value.

Parameters:

responseFilter - the responseFilter value to set

Returns:

the SearchOptionalParameter object itself.

withResponseFormat

public SearchOptionalParameter withResponseFormat(List responseFormat)

Set the responseFormat value.

Parameters:

responseFormat - the responseFormat value to set

Returns:

the SearchOptionalParameter object itself.

withSafeSearch

public SearchOptionalParameter withSafeSearch(SafeSearch safeSearch)

Set the safeSearch value.

Parameters:

safeSearch - the safeSearch value to set

Returns:

the SearchOptionalParameter object itself.

withSetLang

public SearchOptionalParameter withSetLang(String setLang)

Set the setLang value.

Parameters:

setLang - the setLang value to set

Returns:

the SearchOptionalParameter object itself.

withUserAgent

public SearchOptionalParameter withUserAgent(String userAgent)

Set the userAgent value.

Parameters:

userAgent - the userAgent value to set

Returns:

the SearchOptionalParameter object itself.

Applies to