TrendingOptionalParameter Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. newssearch. models. TrendingOptionalParameter
- com.
public class TrendingOptionalParameter
The TrendingOptionalParameter model.
Method Summary
Method Details
acceptLanguage
public String acceptLanguage()
Get the acceptLanguage 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:
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:
safeSearch
public SafeSearch safeSearch()
Get the safeSearch value.
Returns:
setLang
public String setLang()
Get the setLang value.
Returns:
since
public Long since()
Get the since value.
Returns:
sortBy
public String sortBy()
Get the sortBy 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 TrendingOptionalParameter withAcceptLanguage(String acceptLanguage)
Set the acceptLanguage value.
Parameters:
Returns:
withClientId
public TrendingOptionalParameter withClientId(String clientId)
Set the clientId value.
Parameters:
Returns:
withClientIp
public TrendingOptionalParameter withClientIp(String clientIp)
Set the clientIp value.
Parameters:
Returns:
withCount
public TrendingOptionalParameter withCount(Integer count)
Set the count value.
Parameters:
Returns:
withCountryCode
public TrendingOptionalParameter withCountryCode(String countryCode)
Set the countryCode value.
Parameters:
Returns:
withLocation
public TrendingOptionalParameter withLocation(String location)
Set the location value.
Parameters:
Returns:
withMarket
public TrendingOptionalParameter withMarket(String market)
Set the market value.
Parameters:
Returns:
withOffset
public TrendingOptionalParameter withOffset(Integer offset)
Set the offset value.
Parameters:
Returns:
withSafeSearch
public TrendingOptionalParameter withSafeSearch(SafeSearch safeSearch)
Set the safeSearch value.
Parameters:
Returns:
withSetLang
public TrendingOptionalParameter withSetLang(String setLang)
Set the setLang value.
Parameters:
Returns:
withSince
public TrendingOptionalParameter withSince(Long since)
Set the since value.
Parameters:
Returns:
withSortBy
public TrendingOptionalParameter withSortBy(String sortBy)
Set the sortBy value.
Parameters:
Returns:
withTextDecorations
public TrendingOptionalParameter withTextDecorations(Boolean textDecorations)
Set the textDecorations value.
Parameters:
Returns:
withTextFormat
public TrendingOptionalParameter withTextFormat(TextFormat textFormat)
Set the textFormat value.
Parameters:
Returns:
withUserAgent
public TrendingOptionalParameter withUserAgent(String userAgent)
Set the userAgent value.
Parameters:
Returns:
Applies to
Azure SDK for Java