SearchOptionalParameter Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.search.videosearch.models.SearchOptionalParameter

public class SearchOptionalParameter

The SearchOptionalParameter model.

Constructor Summary

Constructor Description
SearchOptionalParameter()

Method Summary

Modifier and Type Method and Description
java.lang.String acceptLanguage()

Get the acceptLanguage value.

java.lang.String clientId()

Get the clientId value.

java.lang.String clientIp()

Get the clientIp value.

java.lang.Integer count()

Get the count value.

java.lang.String countryCode()

Get the countryCode value.

Freshness freshness()

Get the freshness value.

java.lang.String id()

Get the id value.

VideoLength length()

Get the length value.

java.lang.String location()

Get the location value.

java.lang.String market()

Get the market value.

java.lang.Integer offset()

Get the offset value.

VideoPricing pricing()

Get the pricing value.

VideoResolution resolution()

Get the resolution value.

SafeSearch safeSearch()

Get the safeSearch value.

java.lang.String setLang()

Get the setLang value.

java.lang.Boolean textDecorations()

Get the textDecorations value.

TextFormat textFormat()

Get the textFormat value.

java.lang.String userAgent()

Get the userAgent value.

SearchOptionalParameter withAcceptLanguage(String acceptLanguage)

Set the acceptLanguage value.

SearchOptionalParameter withClientId(String clientId)

Set the clientId value.

SearchOptionalParameter withClientIp(String clientIp)

Set the clientIp value.

SearchOptionalParameter withCount(Integer count)

Set the count value.

SearchOptionalParameter withCountryCode(String countryCode)

Set the countryCode value.

SearchOptionalParameter withFreshness(Freshness freshness)

Set the freshness value.

SearchOptionalParameter withId(String id)

Set the id value.

SearchOptionalParameter withLength(VideoLength length)

Set the length value.

SearchOptionalParameter withLocation(String location)

Set the location value.

SearchOptionalParameter withMarket(String market)

Set the market value.

SearchOptionalParameter withOffset(Integer offset)

Set the offset value.

SearchOptionalParameter withPricing(VideoPricing pricing)

Set the pricing value.

SearchOptionalParameter withResolution(VideoResolution resolution)

Set the resolution value.

SearchOptionalParameter withSafeSearch(SafeSearch safeSearch)

Set the safeSearch value.

SearchOptionalParameter withSetLang(String setLang)

Set the setLang value.

SearchOptionalParameter withTextDecorations(Boolean textDecorations)

Set the textDecorations value.

SearchOptionalParameter withTextFormat(TextFormat textFormat)

Set the textFormat value.

SearchOptionalParameter withUserAgent(String userAgent)

Set the userAgent value.

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.equals java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.hashCode java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.toString java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Constructor Details

SearchOptionalParameter

public SearchOptionalParameter()

Method Details

acceptLanguage

public String acceptLanguage()

Get the acceptLanguage value.

Returns:

the acceptLanguage value

clientId

public String clientId()

Get the clientId value.

Returns:

the clientId value

clientIp

public String clientIp()

Get the clientIp value.

Returns:

the clientIp value

count

public Integer count()

Get the count value.

Returns:

the count value

countryCode

public String countryCode()

Get the countryCode value.

Returns:

the countryCode value

freshness

public Freshness freshness()

Get the freshness value.

Returns:

the freshness value

id

public String id()

Get the id value.

Returns:

the id value

length

public VideoLength length()

Get the length value.

Returns:

the length value

location

public String location()

Get the location value.

Returns:

the location value

market

public String market()

Get the market value.

Returns:

the market value

offset

public Integer offset()

Get the offset value.

Returns:

the offset value

pricing

public VideoPricing pricing()

Get the pricing value.

Returns:

the pricing value

resolution

public VideoResolution resolution()

Get the resolution value.

Returns:

the resolution value

safeSearch

public SafeSearch safeSearch()

Get the safeSearch value.

Returns:

the safeSearch value

setLang

public String setLang()

Get the setLang value.

Returns:

the setLang value

textDecorations

public Boolean textDecorations()

Get the textDecorations value.

Returns:

the textDecorations value

textFormat

public TextFormat textFormat()

Get the textFormat value.

Returns:

the textFormat value

userAgent

public String userAgent()

Get the userAgent value.

Returns:

the userAgent value

withAcceptLanguage

public SearchOptionalParameter withAcceptLanguage(String acceptLanguage)

Set the acceptLanguage value.

Parameters:

acceptLanguage - the acceptLanguage value to set

Returns:

the SearchOptionalParameter object itself.

withClientId

public SearchOptionalParameter withClientId(String clientId)

Set the clientId value.

Parameters:

clientId - the clientId value to set

Returns:

the SearchOptionalParameter object itself.

withClientIp

public SearchOptionalParameter withClientIp(String clientIp)

Set the clientIp value.

Parameters:

clientIp - the clientIp value to set

Returns:

the SearchOptionalParameter object itself.

withCount

public SearchOptionalParameter withCount(Integer count)

Set the count value.

Parameters:

count - the count value to set

Returns:

the SearchOptionalParameter object itself.

withCountryCode

public SearchOptionalParameter withCountryCode(String countryCode)

Set the countryCode value.

Parameters:

countryCode - the countryCode value to set

Returns:

the SearchOptionalParameter object itself.

withFreshness

public SearchOptionalParameter withFreshness(Freshness freshness)

Set the freshness value.

Parameters:

freshness - the freshness value to set

Returns:

the SearchOptionalParameter object itself.

withId

public SearchOptionalParameter withId(String id)

Set the id value.

Parameters:

id - the id value to set

Returns:

the SearchOptionalParameter object itself.

withLength

public SearchOptionalParameter withLength(VideoLength length)

Set the length value.

Parameters:

length - the length value to set

Returns:

the SearchOptionalParameter object itself.

withLocation

public SearchOptionalParameter withLocation(String location)

Set the location value.

Parameters:

location - the location value to set

Returns:

the SearchOptionalParameter object itself.

withMarket

public SearchOptionalParameter withMarket(String market)

Set the market value.

Parameters:

market - the market value to set

Returns:

the SearchOptionalParameter object itself.

withOffset

public SearchOptionalParameter withOffset(Integer offset)

Set the offset value.

Parameters:

offset - the offset value to set

Returns:

the SearchOptionalParameter object itself.

withPricing

public SearchOptionalParameter withPricing(VideoPricing pricing)

Set the pricing value.

Parameters:

pricing - the pricing value to set

Returns:

the SearchOptionalParameter object itself.

withResolution

public SearchOptionalParameter withResolution(VideoResolution resolution)

Set the resolution value.

Parameters:

resolution - the resolution value to set

Returns:

the SearchOptionalParameter object itself.

withSafeSearch

public SearchOptionalParameter withSafeSearch(SafeSearch safeSearch)

Set the safeSearch value.

Parameters:

safeSearch - the safeSearch value to set

Returns:

the SearchOptionalParameter object itself.

withSetLang

public SearchOptionalParameter withSetLang(String setLang)

Set the setLang value.

Parameters:

setLang - the setLang value to set

Returns:

the SearchOptionalParameter object itself.

withTextDecorations

public SearchOptionalParameter withTextDecorations(Boolean textDecorations)

Set the textDecorations value.

Parameters:

textDecorations - the textDecorations value to set

Returns:

the SearchOptionalParameter object itself.

withTextFormat

public SearchOptionalParameter withTextFormat(TextFormat textFormat)

Set the textFormat value.

Parameters:

textFormat - the textFormat value to set

Returns:

the SearchOptionalParameter object itself.

withUserAgent

public SearchOptionalParameter withUserAgent(String userAgent)

Set the userAgent value.

Parameters:

userAgent - the userAgent value to set

Returns:

the SearchOptionalParameter object itself.

Applies to