SearchOptionalParameter Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. search. videosearch. models. SearchOptionalParameter
- com.
public class SearchOptionalParameter
The SearchOptionalParameter model.
Constructor Summary
Constructor | Description | |
---|---|---|
SearchOptionalParameter() |
Method Summary
Methods inherited from java.lang.Object
Constructor Details
SearchOptionalParameter
public SearchOptionalParameter()
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:
freshness
public Freshness freshness()
Get the freshness value.
Returns:
id
public String id()
Get the id value.
Returns:
length
public VideoLength length()
Get the length 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:
pricing
public VideoPricing pricing()
Get the pricing value.
Returns:
resolution
public VideoResolution resolution()
Get the resolution 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 SearchOptionalParameter withAcceptLanguage(String acceptLanguage)
Set the acceptLanguage value.
Parameters:
Returns:
withClientId
public SearchOptionalParameter withClientId(String clientId)
Set the clientId value.
Parameters:
Returns:
withClientIp
public SearchOptionalParameter withClientIp(String clientIp)
Set the clientIp value.
Parameters:
Returns:
withCount
public SearchOptionalParameter withCount(Integer count)
Set the count value.
Parameters:
Returns:
withCountryCode
public SearchOptionalParameter withCountryCode(String countryCode)
Set the countryCode value.
Parameters:
Returns:
withFreshness
public SearchOptionalParameter withFreshness(Freshness freshness)
Set the freshness value.
Parameters:
Returns:
withId
public SearchOptionalParameter withId(String id)
Set the id value.
Parameters:
Returns:
withLength
public SearchOptionalParameter withLength(VideoLength length)
Set the length value.
Parameters:
Returns:
withLocation
public SearchOptionalParameter withLocation(String location)
Set the location value.
Parameters:
Returns:
withMarket
public SearchOptionalParameter withMarket(String market)
Set the market value.
Parameters:
Returns:
withOffset
public SearchOptionalParameter withOffset(Integer offset)
Set the offset value.
Parameters:
Returns:
withPricing
public SearchOptionalParameter withPricing(VideoPricing pricing)
Set the pricing value.
Parameters:
Returns:
withResolution
public SearchOptionalParameter withResolution(VideoResolution resolution)
Set the resolution value.
Parameters:
Returns:
withSafeSearch
public SearchOptionalParameter withSafeSearch(SafeSearch safeSearch)
Set the safeSearch value.
Parameters:
Returns:
withSetLang
public SearchOptionalParameter withSetLang(String setLang)
Set the setLang value.
Parameters:
Returns:
withTextDecorations
public SearchOptionalParameter withTextDecorations(Boolean textDecorations)
Set the textDecorations value.
Parameters:
Returns:
withTextFormat
public SearchOptionalParameter withTextFormat(TextFormat textFormat)
Set the textFormat value.
Parameters:
Returns:
withUserAgent
public SearchOptionalParameter withUserAgent(String userAgent)
Set the userAgent value.
Parameters:
Returns:
Applies to
Azure SDK for Java