TrendingOptionalParameter Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. videosearch. models. TrendingOptionalParameter
- com.
public class TrendingOptionalParameter
The TrendingOptionalParameter model.
Constructor Summary
Constructor | Description | |
---|---|---|
TrendingOptionalParameter() |
Method Summary
Modifier and Type | Method and Description |
---|---|
java.lang.String |
acceptLanguage()
Get the accept |
java.lang.String |
clientId()
Get the client |
java.lang.String |
clientIp()
Get the client |
java.lang.String |
countryCode()
Get the country |
java.lang.String |
location()
Get the location value. |
java.lang.String |
market()
Get the market value. |
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 |
Trending |
withAcceptLanguage(String acceptLanguage)
Set the accept |
Trending |
withClientId(String clientId)
Set the client |
Trending |
withClientIp(String clientIp)
Set the client |
Trending |
withCountryCode(String countryCode)
Set the country |
Trending |
withLocation(String location)
Set the location value. |
Trending |
withMarket(String market)
Set the market value. |
Trending |
withSafeSearch(SafeSearch safeSearch)
Set the safe |
Trending |
withSetLang(String setLang)
Set the set |
Trending |
withTextDecorations(Boolean textDecorations)
Set the text |
Trending |
withTextFormat(TextFormat textFormat)
Set the text |
Trending |
withUserAgent(String userAgent)
Set the user |
Methods inherited from java.lang.Object
Constructor Details
TrendingOptionalParameter
public TrendingOptionalParameter()
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:
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:
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 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:
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:
withSafeSearch
public TrendingOptionalParameter withSafeSearch(SafeSearch safeSearch)
Set the safeSearch value.
Parameters:
Returns:
withSetLang
public TrendingOptionalParameter withSetLang(String setLang)
Set the setLang 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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for