SearchOptionalParameter Class

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

public class SearchOptionalParameter

The SearchOptionalParameter model.

Constructor Summary

Constructor Description
SearchOptionalParameter()

Method Summary

Modifier and Type Method and Description
java.lang.String acceptLanguage()

Get the acceptLanguage value.

java.lang.String clientId()

Get the clientId value.

java.lang.String clientIp()

Get the clientIp value.

java.lang.String countryCode()

Get the countryCode value.

java.lang.String location()

Get the location value.

java.lang.String market()

Get the market value.

java.lang.String pragma()

Get the pragma value.

java.util.List<AnswerType> responseFilter()

Get the responseFilter value.

java.util.List<ResponseFormat> responseFormat()

Get the responseFormat value.

SafeSearch safeSearch()

Get the safeSearch value.

java.lang.String setLang()

Get the setLang value.

java.lang.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.

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

SearchOptionalParameter

public SearchOptionalParameter()

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