CategoryOptionalParameter Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.search.newssearch.models.CategoryOptionalParameter

public class CategoryOptionalParameter

The CategoryOptionalParameter model.

Constructor Summary

Constructor Description
CategoryOptionalParameter()

Method Summary

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

Get the acceptLanguage value.

java.lang.String category()

Get the category value.

java.lang.String clientId()

Get the clientId value.

java.lang.String clientIp()

Get the clientIp value.

java.lang.Integer count()

Get the count value.

java.lang.String countryCode()

Get the countryCode value.

java.lang.Integer headlineCount()

Get the headlineCount value.

java.lang.String location()

Get the location value.

java.lang.String market()

Get the market value.

java.lang.Integer offset()

Get the offset value.

java.lang.Boolean originalImage()

Get the originalImage value.

SafeSearch safeSearch()

Get the safeSearch value.

java.lang.String setLang()

Get the setLang value.

java.lang.Boolean textDecorations()

Get the textDecorations value.

TextFormat textFormat()

Get the textFormat value.

java.lang.String userAgent()

Get the userAgent value.

CategoryOptionalParameter withAcceptLanguage(String acceptLanguage)

Set the acceptLanguage value.

CategoryOptionalParameter withCategory(String category)

Set the category value.

CategoryOptionalParameter withClientId(String clientId)

Set the clientId value.

CategoryOptionalParameter withClientIp(String clientIp)

Set the clientIp value.

CategoryOptionalParameter withCount(Integer count)

Set the count value.

CategoryOptionalParameter withCountryCode(String countryCode)

Set the countryCode value.

CategoryOptionalParameter withHeadlineCount(Integer headlineCount)

Set the headlineCount value.

CategoryOptionalParameter withLocation(String location)

Set the location value.

CategoryOptionalParameter withMarket(String market)

Set the market value.

CategoryOptionalParameter withOffset(Integer offset)

Set the offset value.

CategoryOptionalParameter withOriginalImage(Boolean originalImage)

Set the originalImage value.

CategoryOptionalParameter withSafeSearch(SafeSearch safeSearch)

Set the safeSearch value.

CategoryOptionalParameter withSetLang(String setLang)

Set the setLang value.

CategoryOptionalParameter withTextDecorations(Boolean textDecorations)

Set the textDecorations value.

CategoryOptionalParameter withTextFormat(TextFormat textFormat)

Set the textFormat value.

CategoryOptionalParameter 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

CategoryOptionalParameter

public CategoryOptionalParameter()

Method Details

acceptLanguage

public String acceptLanguage()

Get the acceptLanguage value.

Returns:

the acceptLanguage value

category

public String category()

Get the category value.

Returns:

the category 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

count

public Integer count()

Get the count value.

Returns:

the count value

countryCode

public String countryCode()

Get the countryCode value.

Returns:

the countryCode value

headlineCount

public Integer headlineCount()

Get the headlineCount value.

Returns:

the headlineCount 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

offset

public Integer offset()

Get the offset value.

Returns:

the offset value

originalImage

public Boolean originalImage()

Get the originalImage value.

Returns:

the originalImage 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

textDecorations

public Boolean textDecorations()

Get the textDecorations value.

Returns:

the textDecorations value

textFormat

public TextFormat textFormat()

Get the textFormat value.

Returns:

the textFormat value

userAgent

public String userAgent()

Get the userAgent value.

Returns:

the userAgent value

withAcceptLanguage

public CategoryOptionalParameter withAcceptLanguage(String acceptLanguage)

Set the acceptLanguage value.

Parameters:

acceptLanguage - the acceptLanguage value to set

Returns:

the CategoryOptionalParameter object itself.

withCategory

public CategoryOptionalParameter withCategory(String category)

Set the category value.

Parameters:

category - the category value to set

Returns:

the CategoryOptionalParameter object itself.

withClientId

public CategoryOptionalParameter withClientId(String clientId)

Set the clientId value.

Parameters:

clientId - the clientId value to set

Returns:

the CategoryOptionalParameter object itself.

withClientIp

public CategoryOptionalParameter withClientIp(String clientIp)

Set the clientIp value.

Parameters:

clientIp - the clientIp value to set

Returns:

the CategoryOptionalParameter object itself.

withCount

public CategoryOptionalParameter withCount(Integer count)

Set the count value.

Parameters:

count - the count value to set

Returns:

the CategoryOptionalParameter object itself.

withCountryCode

public CategoryOptionalParameter withCountryCode(String countryCode)

Set the countryCode value.

Parameters:

countryCode - the countryCode value to set

Returns:

the CategoryOptionalParameter object itself.

withHeadlineCount

public CategoryOptionalParameter withHeadlineCount(Integer headlineCount)

Set the headlineCount value.

Parameters:

headlineCount - the headlineCount value to set

Returns:

the CategoryOptionalParameter object itself.

withLocation

public CategoryOptionalParameter withLocation(String location)

Set the location value.

Parameters:

location - the location value to set

Returns:

the CategoryOptionalParameter object itself.

withMarket

public CategoryOptionalParameter withMarket(String market)

Set the market value.

Parameters:

market - the market value to set

Returns:

the CategoryOptionalParameter object itself.

withOffset

public CategoryOptionalParameter withOffset(Integer offset)

Set the offset value.

Parameters:

offset - the offset value to set

Returns:

the CategoryOptionalParameter object itself.

withOriginalImage

public CategoryOptionalParameter withOriginalImage(Boolean originalImage)

Set the originalImage value.

Parameters:

originalImage - the originalImage value to set

Returns:

the CategoryOptionalParameter object itself.

withSafeSearch

public CategoryOptionalParameter withSafeSearch(SafeSearch safeSearch)

Set the safeSearch value.

Parameters:

safeSearch - the safeSearch value to set

Returns:

the CategoryOptionalParameter object itself.

withSetLang

public CategoryOptionalParameter withSetLang(String setLang)

Set the setLang value.

Parameters:

setLang - the setLang value to set

Returns:

the CategoryOptionalParameter object itself.

withTextDecorations

public CategoryOptionalParameter withTextDecorations(Boolean textDecorations)

Set the textDecorations value.

Parameters:

textDecorations - the textDecorations value to set

Returns:

the CategoryOptionalParameter object itself.

withTextFormat

public CategoryOptionalParameter withTextFormat(TextFormat textFormat)

Set the textFormat value.

Parameters:

textFormat - the textFormat value to set

Returns:

the CategoryOptionalParameter object itself.

withUserAgent

public CategoryOptionalParameter withUserAgent(String userAgent)

Set the userAgent value.

Parameters:

userAgent - the userAgent value to set

Returns:

the CategoryOptionalParameter object itself.

Applies to