Compartir a través de


SearchOptionalParameter Clase

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

public class SearchOptionalParameter

El modelo SearchOptionalParameter.

Resumen del método

Modificador y tipo Método y descripción
String acceptLanguage()

Obtiene el valor acceptLanguage.

Integer answerCount()

Obtenga el valor answerCount.

String clientId()

Obtenga el valor clientId.

String clientIp()

Obtenga el valor clientIp.

Integer count()

Obtiene el valor de recuento.

String countryCode()

Obtenga el valor countryCode.

Freshness freshness()

Obtenga el valor de actualización.

String location()

Obtenga el valor de ubicación.

String market()

Obtenga el valor del mercado.

Integer offset()

Obtiene el valor de desplazamiento.

String pragma()

Obtenga el valor pragma.

List<AnswerType> promote()

Obtiene el valor de promoción.

List<AnswerType> responseFilter()

Obtenga el valor responseFilter.

SafeSearch safeSearch()

Obtenga el valor safeSearch.

String setLang()

Obtenga el valor setLang.

Boolean textDecorations()

Obtiene el valor textDecorations.

TextFormat textFormat()

Obtiene el valor textFormat.

String userAgent()

Obtenga el valor userAgent.

SearchOptionalParameter withAcceptLanguage(String acceptLanguage)

Establezca el valor acceptLanguage.

SearchOptionalParameter withAnswerCount(Integer answerCount)

Establezca el valor answerCount.

SearchOptionalParameter withClientId(String clientId)

Establezca el valor clientId.

SearchOptionalParameter withClientIp(String clientIp)

Establezca el valor clientIp.

SearchOptionalParameter withCount(Integer count)

Establezca el valor de recuento.

SearchOptionalParameter withCountryCode(String countryCode)

Establezca el valor countryCode.

SearchOptionalParameter withFreshness(Freshness freshness)

Establezca el valor de actualización.

SearchOptionalParameter withLocation(String location)

Establezca el valor de ubicación.

SearchOptionalParameter withMarket(String market)

Establezca el valor de mercado.

SearchOptionalParameter withOffset(Integer offset)

Establezca el valor de desplazamiento.

SearchOptionalParameter withPragma(String pragma)

Establezca el valor pragma.

SearchOptionalParameter withPromote(List<AnswerType> promote)

Establezca el valor de promoción.

SearchOptionalParameter withResponseFilter(List<AnswerType> responseFilter)

Establezca el valor responseFilter.

SearchOptionalParameter withSafeSearch(SafeSearch safeSearch)

Establezca el valor safeSearch.

SearchOptionalParameter withSetLang(String setLang)

Establezca el valor setLang.

SearchOptionalParameter withTextDecorations(Boolean textDecorations)

Establezca el valor textDecorations.

SearchOptionalParameter withTextFormat(TextFormat textFormat)

Establezca el valor textFormat.

SearchOptionalParameter withUserAgent(String userAgent)

Establezca el valor userAgent.

Detalles del método

acceptLanguage

public String acceptLanguage()

Obtiene el valor acceptLanguage.

Returns:

el valor acceptLanguage

answerCount

public Integer answerCount()

Obtenga el valor answerCount.

Returns:

el valor answerCount

clientId

public String clientId()

Obtenga el valor clientId.

Returns:

el valor clientId

clientIp

public String clientIp()

Obtenga el valor clientIp.

Returns:

el valor clientIp

count

public Integer count()

Obtiene el valor de recuento.

Returns:

el valor count

countryCode

public String countryCode()

Obtenga el valor countryCode.

Returns:

el valor countryCode

freshness

public Freshness freshness()

Obtenga el valor de actualización.

Returns:

el valor de actualización

location

public String location()

Obtenga el valor de ubicación.

Returns:

el valor de ubicación

market

public String market()

Obtenga el valor del mercado.

Returns:

el valor del mercado

offset

public Integer offset()

Obtiene el valor de desplazamiento.

Returns:

el valor de desplazamiento

pragma

public String pragma()

Obtenga el valor pragma.

Returns:

valor pragma

promote

public List promote()

Obtiene el valor de promoción.

Returns:

el valor de promoción

responseFilter

public List responseFilter()

Obtenga el valor responseFilter.

Returns:

el valor responseFilter

safeSearch

public SafeSearch safeSearch()

Obtenga el valor safeSearch.

Returns:

el valor safeSearch

setLang

public String setLang()

Obtenga el valor setLang.

Returns:

el valor setLang

textDecorations

public Boolean textDecorations()

Obtiene el valor textDecorations.

Returns:

el valor textDecorations

textFormat

public TextFormat textFormat()

Obtiene el valor textFormat.

Returns:

el valor textFormat

userAgent

public String userAgent()

Obtenga el valor userAgent.

Returns:

el valor userAgent

withAcceptLanguage

public SearchOptionalParameter withAcceptLanguage(String acceptLanguage)

Establezca el valor acceptLanguage.

Parameters:

acceptLanguage - el valor acceptLanguage que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

withAnswerCount

public SearchOptionalParameter withAnswerCount(Integer answerCount)

Establezca el valor answerCount.

Parameters:

answerCount - el valor answerCount que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

withClientId

public SearchOptionalParameter withClientId(String clientId)

Establezca el valor clientId.

Parameters:

clientId - el valor clientId que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

withClientIp

public SearchOptionalParameter withClientIp(String clientIp)

Establezca el valor clientIp.

Parameters:

clientIp - el valor clientIp que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

withCount

public SearchOptionalParameter withCount(Integer count)

Establezca el valor de recuento.

Parameters:

count - el valor de recuento que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

withCountryCode

public SearchOptionalParameter withCountryCode(String countryCode)

Establezca el valor countryCode.

Parameters:

countryCode - el valor countryCode que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

withFreshness

public SearchOptionalParameter withFreshness(Freshness freshness)

Establezca el valor de actualización.

Parameters:

freshness - valor de actualización que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

withLocation

public SearchOptionalParameter withLocation(String location)

Establezca el valor de ubicación.

Parameters:

location - valor de ubicación que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

withMarket

public SearchOptionalParameter withMarket(String market)

Establezca el valor de mercado.

Parameters:

market - valor de mercado que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

withOffset

public SearchOptionalParameter withOffset(Integer offset)

Establezca el valor de desplazamiento.

Parameters:

offset - el valor de desplazamiento que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

withPragma

public SearchOptionalParameter withPragma(String pragma)

Establezca el valor pragma.

Parameters:

pragma - valor pragma que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

withPromote

public SearchOptionalParameter withPromote(List promote)

Establezca el valor de promoción.

Parameters:

promote - el valor de promoción que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

withResponseFilter

public SearchOptionalParameter withResponseFilter(List responseFilter)

Establezca el valor responseFilter.

Parameters:

responseFilter - el valor responseFilter que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

withSafeSearch

public SearchOptionalParameter withSafeSearch(SafeSearch safeSearch)

Establezca el valor safeSearch.

Parameters:

safeSearch - valor safeSearch que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

withSetLang

public SearchOptionalParameter withSetLang(String setLang)

Establezca el valor setLang.

Parameters:

setLang - el valor setLang que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

withTextDecorations

public SearchOptionalParameter withTextDecorations(Boolean textDecorations)

Establezca el valor textDecorations.

Parameters:

textDecorations - el valor textDecorations que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

withTextFormat

public SearchOptionalParameter withTextFormat(TextFormat textFormat)

Establezca el valor textFormat.

Parameters:

textFormat - el valor textFormat que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

withUserAgent

public SearchOptionalParameter withUserAgent(String userAgent)

Establezca el valor userAgent.

Parameters:

userAgent - el valor userAgent que se va a establecer

Returns:

El propio objeto SearchOptionalParameter.

Se aplica a