CategoryOptionalParameter Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. newssearch. models. CategoryOptionalParameter
- com.
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 accept |
java.lang.String |
category()
Get the category value. |
java.lang.String |
clientId()
Get the client |
java.lang.String |
clientIp()
Get the client |
java.lang.Integer |
count()
Get the count value. |
java.lang.String |
countryCode()
Get the country |
java.lang.Integer |
headlineCount()
Get the headline |
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 original |
Safe |
safeSearch()
Get the safe |
java.lang.String |
setLang()
Get the set |
java.lang.Boolean |
textDecorations()
Get the text |
Text |
textFormat()
Get the text |
java.lang.String |
userAgent()
Get the user |
Category |
withAcceptLanguage(String acceptLanguage)
Set the accept |
Category |
withCategory(String category)
Set the category value. |
Category |
withClientId(String clientId)
Set the client |
Category |
withClientIp(String clientIp)
Set the client |
Category |
withCount(Integer count)
Set the count value. |
Category |
withCountryCode(String countryCode)
Set the country |
Category |
withHeadlineCount(Integer headlineCount)
Set the headline |
Category |
withLocation(String location)
Set the location value. |
Category |
withMarket(String market)
Set the market value. |
Category |
withOffset(Integer offset)
Set the offset value. |
Category |
withOriginalImage(Boolean originalImage)
Set the original |
Category |
withSafeSearch(SafeSearch safeSearch)
Set the safe |
Category |
withSetLang(String setLang)
Set the set |
Category |
withTextDecorations(Boolean textDecorations)
Set the text |
Category |
withTextFormat(TextFormat textFormat)
Set the text |
Category |
withUserAgent(String userAgent)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
CategoryOptionalParameter
public CategoryOptionalParameter()
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