SearchOptionalParameter Class

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

public class SearchOptionalParameter

The SearchOptionalParameter model.

Method Summary

Modifier and Type Method and Description
String acceptLanguage()

Get the acceptLanguage value.

ImageAspect aspect()

Get the aspect value.

String clientId()

Get the clientId value.

String clientIp()

Get the clientIp value.

ImageColor color()

Get the color value.

Integer count()

Get the count value.

String countryCode()

Get the countryCode value.

Freshness freshness()

Get the freshness value.

Integer height()

Get the height value.

String id()

Get the id value.

ImageContent imageContent()

Get the imageContent value.

ImageType imageType()

Get the imageType value.

ImageLicense license()

Get the license value.

String location()

Get the location value.

String market()

Get the market value.

Long maxFileSize()

Get the maxFileSize value.

Long maxHeight()

Get the maxHeight value.

Long maxWidth()

Get the maxWidth value.

Long minFileSize()

Get the minFileSize value.

Long minHeight()

Get the minHeight value.

Long minWidth()

Get the minWidth value.

Long offset()

Get the offset value.

SafeSearch safeSearch()

Get the safeSearch value.

String setLang()

Get the setLang value.

ImageSize size()

Get the size value.

String userAgent()

Get the userAgent value.

Integer width()

Get the width value.

SearchOptionalParameter withAcceptLanguage(String acceptLanguage)

Set the acceptLanguage value.

SearchOptionalParameter withAspect(ImageAspect aspect)

Set the aspect value.

SearchOptionalParameter withClientId(String clientId)

Set the clientId value.

SearchOptionalParameter withClientIp(String clientIp)

Set the clientIp value.

SearchOptionalParameter withColor(ImageColor color)

Set the color 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 withHeight(Integer height)

Set the height value.

SearchOptionalParameter withId(String id)

Set the id value.

SearchOptionalParameter withImageContent(ImageContent imageContent)

Set the imageContent value.

SearchOptionalParameter withImageType(ImageType imageType)

Set the imageType value.

SearchOptionalParameter withLicense(ImageLicense license)

Set the license value.

SearchOptionalParameter withLocation(String location)

Set the location value.

SearchOptionalParameter withMarket(String market)

Set the market value.

SearchOptionalParameter withMaxFileSize(Long maxFileSize)

Set the maxFileSize value.

SearchOptionalParameter withMaxHeight(Long maxHeight)

Set the maxHeight value.

SearchOptionalParameter withMaxWidth(Long maxWidth)

Set the maxWidth value.

SearchOptionalParameter withMinFileSize(Long minFileSize)

Set the minFileSize value.

SearchOptionalParameter withMinHeight(Long minHeight)

Set the minHeight value.

SearchOptionalParameter withMinWidth(Long minWidth)

Set the minWidth value.

SearchOptionalParameter withOffset(Long offset)

Set the offset value.

SearchOptionalParameter withSafeSearch(SafeSearch safeSearch)

Set the safeSearch value.

SearchOptionalParameter withSetLang(String setLang)

Set the setLang value.

SearchOptionalParameter withSize(ImageSize size)

Set the size value.

SearchOptionalParameter withUserAgent(String userAgent)

Set the userAgent value.

SearchOptionalParameter withWidth(Integer width)

Set the width value.

Method Details

acceptLanguage

public String acceptLanguage()

Get the acceptLanguage value.

Returns:

the acceptLanguage value

aspect

public ImageAspect aspect()

Get the aspect value.

Returns:

the aspect 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

color

public ImageColor color()

Get the color value.

Returns:

the color 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

height

public Integer height()

Get the height value.

Returns:

the height value

id

public String id()

Get the id value.

Returns:

the id value

imageContent

public ImageContent imageContent()

Get the imageContent value.

Returns:

the imageContent value

imageType

public ImageType imageType()

Get the imageType value.

Returns:

the imageType value

license

public ImageLicense license()

Get the license value.

Returns:

the license 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

maxFileSize

public Long maxFileSize()

Get the maxFileSize value.

Returns:

the maxFileSize value

maxHeight

public Long maxHeight()

Get the maxHeight value.

Returns:

the maxHeight value

maxWidth

public Long maxWidth()

Get the maxWidth value.

Returns:

the maxWidth value

minFileSize

public Long minFileSize()

Get the minFileSize value.

Returns:

the minFileSize value

minHeight

public Long minHeight()

Get the minHeight value.

Returns:

the minHeight value

minWidth

public Long minWidth()

Get the minWidth value.

Returns:

the minWidth value

offset

public Long offset()

Get the offset value.

Returns:

the offset 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

size

public ImageSize size()

Get the size value.

Returns:

the size value

userAgent

public String userAgent()

Get the userAgent value.

Returns:

the userAgent value

width

public Integer width()

Get the width value.

Returns:

the width value

withAcceptLanguage

public SearchOptionalParameter withAcceptLanguage(String acceptLanguage)

Set the acceptLanguage value.

Parameters:

acceptLanguage - the acceptLanguage value to set

Returns:

the SearchOptionalParameter object itself.

withAspect

public SearchOptionalParameter withAspect(ImageAspect aspect)

Set the aspect value.

Parameters:

aspect - the aspect 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.

withColor

public SearchOptionalParameter withColor(ImageColor color)

Set the color value.

Parameters:

color - the color 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.

withHeight

public SearchOptionalParameter withHeight(Integer height)

Set the height value.

Parameters:

height - the height 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.

withImageContent

public SearchOptionalParameter withImageContent(ImageContent imageContent)

Set the imageContent value.

Parameters:

imageContent - the imageContent value to set

Returns:

the SearchOptionalParameter object itself.

withImageType

public SearchOptionalParameter withImageType(ImageType imageType)

Set the imageType value.

Parameters:

imageType - the imageType value to set

Returns:

the SearchOptionalParameter object itself.

withLicense

public SearchOptionalParameter withLicense(ImageLicense license)

Set the license value.

Parameters:

license - the license 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.

withMaxFileSize

public SearchOptionalParameter withMaxFileSize(Long maxFileSize)

Set the maxFileSize value.

Parameters:

maxFileSize - the maxFileSize value to set

Returns:

the SearchOptionalParameter object itself.

withMaxHeight

public SearchOptionalParameter withMaxHeight(Long maxHeight)

Set the maxHeight value.

Parameters:

maxHeight - the maxHeight value to set

Returns:

the SearchOptionalParameter object itself.

withMaxWidth

public SearchOptionalParameter withMaxWidth(Long maxWidth)

Set the maxWidth value.

Parameters:

maxWidth - the maxWidth value to set

Returns:

the SearchOptionalParameter object itself.

withMinFileSize

public SearchOptionalParameter withMinFileSize(Long minFileSize)

Set the minFileSize value.

Parameters:

minFileSize - the minFileSize value to set

Returns:

the SearchOptionalParameter object itself.

withMinHeight

public SearchOptionalParameter withMinHeight(Long minHeight)

Set the minHeight value.

Parameters:

minHeight - the minHeight value to set

Returns:

the SearchOptionalParameter object itself.

withMinWidth

public SearchOptionalParameter withMinWidth(Long minWidth)

Set the minWidth value.

Parameters:

minWidth - the minWidth value to set

Returns:

the SearchOptionalParameter object itself.

withOffset

public SearchOptionalParameter withOffset(Long offset)

Set the offset value.

Parameters:

offset - the offset 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.

withSize

public SearchOptionalParameter withSize(ImageSize size)

Set the size value.

Parameters:

size - the size 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.

withWidth

public SearchOptionalParameter withWidth(Integer width)

Set the width value.

Parameters:

width - the width value to set

Returns:

the SearchOptionalParameter object itself.

Applies to