Class TrendingOptionalParameter
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.search.videosearch.models.TrendingOptionalParameter
-
public class TrendingOptionalParameter extends Object
The TrendingOptionalParameter model.
-
-
Constructor Summary
Constructors Constructor Description TrendingOptionalParameter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringacceptLanguage()Get the acceptLanguage value.StringclientId()Get the clientId value.StringclientIp()Get the clientIp value.StringcountryCode()Get the countryCode value.Stringlocation()Get the location value.Stringmarket()Get the market value.SafeSearchsafeSearch()Get the safeSearch value.StringsetLang()Get the setLang value.BooleantextDecorations()Get the textDecorations value.TextFormattextFormat()Get the textFormat value.StringuserAgent()Get the userAgent value.TrendingOptionalParameterwithAcceptLanguage(String acceptLanguage)Set the acceptLanguage value.TrendingOptionalParameterwithClientId(String clientId)Set the clientId value.TrendingOptionalParameterwithClientIp(String clientIp)Set the clientIp value.TrendingOptionalParameterwithCountryCode(String countryCode)Set the countryCode value.TrendingOptionalParameterwithLocation(String location)Set the location value.TrendingOptionalParameterwithMarket(String market)Set the market value.TrendingOptionalParameterwithSafeSearch(SafeSearch safeSearch)Set the safeSearch value.TrendingOptionalParameterwithSetLang(String setLang)Set the setLang value.TrendingOptionalParameterwithTextDecorations(Boolean textDecorations)Set the textDecorations value.TrendingOptionalParameterwithTextFormat(TextFormat textFormat)Set the textFormat value.TrendingOptionalParameterwithUserAgent(String userAgent)Set the userAgent value.
-
-
-
Method Detail
-
acceptLanguage
public String acceptLanguage()
Get the acceptLanguage value.- Returns:
- the acceptLanguage value
-
withAcceptLanguage
public TrendingOptionalParameter withAcceptLanguage(String acceptLanguage)
Set the acceptLanguage value.- Parameters:
acceptLanguage- the acceptLanguage value to set- Returns:
- the TrendingOptionalParameter object itself.
-
userAgent
public String userAgent()
Get the userAgent value.- Returns:
- the userAgent value
-
withUserAgent
public TrendingOptionalParameter withUserAgent(String userAgent)
Set the userAgent value.- Parameters:
userAgent- the userAgent value to set- Returns:
- the TrendingOptionalParameter object itself.
-
clientId
public String clientId()
Get the clientId value.- Returns:
- the clientId value
-
withClientId
public TrendingOptionalParameter withClientId(String clientId)
Set the clientId value.- Parameters:
clientId- the clientId value to set- Returns:
- the TrendingOptionalParameter object itself.
-
clientIp
public String clientIp()
Get the clientIp value.- Returns:
- the clientIp value
-
withClientIp
public TrendingOptionalParameter withClientIp(String clientIp)
Set the clientIp value.- Parameters:
clientIp- the clientIp value to set- Returns:
- the TrendingOptionalParameter object itself.
-
location
public String location()
Get the location value.- Returns:
- the location value
-
withLocation
public TrendingOptionalParameter withLocation(String location)
Set the location value.- Parameters:
location- the location value to set- Returns:
- the TrendingOptionalParameter object itself.
-
countryCode
public String countryCode()
Get the countryCode value.- Returns:
- the countryCode value
-
withCountryCode
public TrendingOptionalParameter withCountryCode(String countryCode)
Set the countryCode value.- Parameters:
countryCode- the countryCode value to set- Returns:
- the TrendingOptionalParameter object itself.
-
market
public String market()
Get the market value.- Returns:
- the market value
-
withMarket
public TrendingOptionalParameter withMarket(String market)
Set the market value.- Parameters:
market- the market value to set- Returns:
- the TrendingOptionalParameter object itself.
-
safeSearch
public SafeSearch safeSearch()
Get the safeSearch value.- Returns:
- the safeSearch value
-
withSafeSearch
public TrendingOptionalParameter withSafeSearch(SafeSearch safeSearch)
Set the safeSearch value.- Parameters:
safeSearch- the safeSearch value to set- Returns:
- the TrendingOptionalParameter object itself.
-
setLang
public String setLang()
Get the setLang value.- Returns:
- the setLang value
-
withSetLang
public TrendingOptionalParameter withSetLang(String setLang)
Set the setLang value.- Parameters:
setLang- the setLang value to set- Returns:
- the TrendingOptionalParameter object itself.
-
textDecorations
public Boolean textDecorations()
Get the textDecorations value.- Returns:
- the textDecorations value
-
withTextDecorations
public TrendingOptionalParameter withTextDecorations(Boolean textDecorations)
Set the textDecorations value.- Parameters:
textDecorations- the textDecorations value to set- Returns:
- the TrendingOptionalParameter object itself.
-
textFormat
public TextFormat textFormat()
Get the textFormat value.- Returns:
- the textFormat value
-
withTextFormat
public TrendingOptionalParameter withTextFormat(TextFormat textFormat)
Set the textFormat value.- Parameters:
textFormat- the textFormat value to set- Returns:
- the TrendingOptionalParameter object itself.
-
-