AutoSuggestOptionalParameter Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.search.autosuggest.models.AutoSuggestOptionalParameter

public class AutoSuggestOptionalParameter

The AutoSuggestOptionalParameter 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<ResponseFormat> responseFormat()

Get the responseFormat value.

SafeSearch safeSearch()

Get the safeSearch value.

String setLang()

Get the setLang value.

String userAgent()

Get the userAgent value.

AutoSuggestOptionalParameter withAcceptLanguage(String acceptLanguage)

Set the acceptLanguage value.

AutoSuggestOptionalParameter withClientId(String clientId)

Set the clientId value.

AutoSuggestOptionalParameter withClientIp(String clientIp)

Set the clientIp value.

AutoSuggestOptionalParameter withCountryCode(String countryCode)

Set the countryCode value.

AutoSuggestOptionalParameter withLocation(String location)

Set the location value.

AutoSuggestOptionalParameter withMarket(String market)

Set the market value.

AutoSuggestOptionalParameter withPragma(String pragma)

Set the pragma value.

AutoSuggestOptionalParameter withResponseFormat(List<ResponseFormat> responseFormat)

Set the responseFormat value.

AutoSuggestOptionalParameter withSafeSearch(SafeSearch safeSearch)

Set the safeSearch value.

AutoSuggestOptionalParameter withSetLang(String setLang)

Set the setLang value.

AutoSuggestOptionalParameter 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

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 AutoSuggestOptionalParameter withAcceptLanguage(String acceptLanguage)

Set the acceptLanguage value.

Parameters:

acceptLanguage - the acceptLanguage value to set

Returns:

the AutoSuggestOptionalParameter object itself.

withClientId

public AutoSuggestOptionalParameter withClientId(String clientId)

Set the clientId value.

Parameters:

clientId - the clientId value to set

Returns:

the AutoSuggestOptionalParameter object itself.

withClientIp

public AutoSuggestOptionalParameter withClientIp(String clientIp)

Set the clientIp value.

Parameters:

clientIp - the clientIp value to set

Returns:

the AutoSuggestOptionalParameter object itself.

withCountryCode

public AutoSuggestOptionalParameter withCountryCode(String countryCode)

Set the countryCode value.

Parameters:

countryCode - the countryCode value to set

Returns:

the AutoSuggestOptionalParameter object itself.

withLocation

public AutoSuggestOptionalParameter withLocation(String location)

Set the location value.

Parameters:

location - the location value to set

Returns:

the AutoSuggestOptionalParameter object itself.

withMarket

public AutoSuggestOptionalParameter withMarket(String market)

Set the market value.

Parameters:

market - the market value to set

Returns:

the AutoSuggestOptionalParameter object itself.

withPragma

public AutoSuggestOptionalParameter withPragma(String pragma)

Set the pragma value.

Parameters:

pragma - the pragma value to set

Returns:

the AutoSuggestOptionalParameter object itself.

withResponseFormat

public AutoSuggestOptionalParameter withResponseFormat(List responseFormat)

Set the responseFormat value.

Parameters:

responseFormat - the responseFormat value to set

Returns:

the AutoSuggestOptionalParameter object itself.

withSafeSearch

public AutoSuggestOptionalParameter withSafeSearch(SafeSearch safeSearch)

Set the safeSearch value.

Parameters:

safeSearch - the safeSearch value to set

Returns:

the AutoSuggestOptionalParameter object itself.

withSetLang

public AutoSuggestOptionalParameter withSetLang(String setLang)

Set the setLang value.

Parameters:

setLang - the setLang value to set

Returns:

the AutoSuggestOptionalParameter object itself.

withUserAgent

public AutoSuggestOptionalParameter withUserAgent(String userAgent)

Set the userAgent value.

Parameters:

userAgent - the userAgent value to set

Returns:

the AutoSuggestOptionalParameter object itself.

Applies to