CategoryOptionalParameter Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. newssearch. models. CategoryOptionalParameter
- com.
public class CategoryOptionalParameter
The CategoryOptionalParameter model.
Method Summary
Method Details
acceptLanguage
public String acceptLanguage()
Get the acceptLanguage value.
Returns:
category
public String category()
Get the category value.
Returns:
clientId
public String clientId()
Get the clientId value.
Returns:
clientIp
public String clientIp()
Get the clientIp value.
Returns:
count
public Integer count()
Get the count value.
Returns:
countryCode
public String countryCode()
Get the countryCode value.
Returns:
headlineCount
public Integer headlineCount()
Get the headlineCount value.
Returns:
location
public String location()
Get the location value.
Returns:
market
public String market()
Get the market value.
Returns:
offset
public Integer offset()
Get the offset value.
Returns:
originalImage
public Boolean originalImage()
Get the originalImage value.
Returns:
safeSearch
public SafeSearch safeSearch()
Get the safeSearch value.
Returns:
setLang
public String setLang()
Get the setLang value.
Returns:
textDecorations
public Boolean textDecorations()
Get the textDecorations value.
Returns:
textFormat
public TextFormat textFormat()
Get the textFormat value.
Returns:
userAgent
public String userAgent()
Get the userAgent value.
Returns:
withAcceptLanguage
public CategoryOptionalParameter withAcceptLanguage(String acceptLanguage)
Set the acceptLanguage value.
Parameters:
Returns:
withCategory
public CategoryOptionalParameter withCategory(String category)
Set the category value.
Parameters:
Returns:
withClientId
public CategoryOptionalParameter withClientId(String clientId)
Set the clientId value.
Parameters:
Returns:
withClientIp
public CategoryOptionalParameter withClientIp(String clientIp)
Set the clientIp value.
Parameters:
Returns:
withCount
public CategoryOptionalParameter withCount(Integer count)
Set the count value.
Parameters:
Returns:
withCountryCode
public CategoryOptionalParameter withCountryCode(String countryCode)
Set the countryCode value.
Parameters:
Returns:
withHeadlineCount
public CategoryOptionalParameter withHeadlineCount(Integer headlineCount)
Set the headlineCount value.
Parameters:
Returns:
withLocation
public CategoryOptionalParameter withLocation(String location)
Set the location value.
Parameters:
Returns:
withMarket
public CategoryOptionalParameter withMarket(String market)
Set the market value.
Parameters:
Returns:
withOffset
public CategoryOptionalParameter withOffset(Integer offset)
Set the offset value.
Parameters:
Returns:
withOriginalImage
public CategoryOptionalParameter withOriginalImage(Boolean originalImage)
Set the originalImage value.
Parameters:
Returns:
withSafeSearch
public CategoryOptionalParameter withSafeSearch(SafeSearch safeSearch)
Set the safeSearch value.
Parameters:
Returns:
withSetLang
public CategoryOptionalParameter withSetLang(String setLang)
Set the setLang value.
Parameters:
Returns:
withTextDecorations
public CategoryOptionalParameter withTextDecorations(Boolean textDecorations)
Set the textDecorations value.
Parameters:
Returns:
withTextFormat
public CategoryOptionalParameter withTextFormat(TextFormat textFormat)
Set the textFormat value.
Parameters:
Returns:
withUserAgent
public CategoryOptionalParameter withUserAgent(String userAgent)
Set the userAgent value.
Parameters:
Returns:
Applies to
Azure SDK for Java