Sdílet prostřednictvím


DetailsOptionalParameter Class

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

public class DetailsOptionalParameter

The DetailsOptionalParameter model.

Method Summary

Modifier and Type Method and Description
String acceptLanguage()

Get the acceptLanguage value.

String clientId()

Get the clientId value.

String clientIp()

Get the clientIp value.

String contentType()

Get the contentType value.

String countryCode()

Get the countryCode value.

Double cropBottom()

Get the cropBottom value.

Double cropLeft()

Get the cropLeft value.

Double cropRight()

Get the cropRight value.

Double cropTop()

Get the cropTop value.

ImageCropType cropType()

Get the cropType value.

String id()

Get the id value.

String imageUrl()

Get the imageUrl value.

String insightsToken()

Get the insightsToken value.

String location()

Get the location value.

String market()

Get the market value.

List<ImageInsightModule> modules()

Get the modules value.

SafeSearch safeSearch()

Get the safeSearch value.

String setLang()

Get the setLang value.

String userAgent()

Get the userAgent value.

DetailsOptionalParameter withAcceptLanguage(String acceptLanguage)

Set the acceptLanguage value.

DetailsOptionalParameter withClientId(String clientId)

Set the clientId value.

DetailsOptionalParameter withClientIp(String clientIp)

Set the clientIp value.

DetailsOptionalParameter withContentType(String contentType)

Set the contentType value.

DetailsOptionalParameter withCountryCode(String countryCode)

Set the countryCode value.

DetailsOptionalParameter withCropBottom(Double cropBottom)

Set the cropBottom value.

DetailsOptionalParameter withCropLeft(Double cropLeft)

Set the cropLeft value.

DetailsOptionalParameter withCropRight(Double cropRight)

Set the cropRight value.

DetailsOptionalParameter withCropTop(Double cropTop)

Set the cropTop value.

DetailsOptionalParameter withCropType(ImageCropType cropType)

Set the cropType value.

DetailsOptionalParameter withId(String id)

Set the id value.

DetailsOptionalParameter withImageUrl(String imageUrl)

Set the imageUrl value.

DetailsOptionalParameter withInsightsToken(String insightsToken)

Set the insightsToken value.

DetailsOptionalParameter withLocation(String location)

Set the location value.

DetailsOptionalParameter withMarket(String market)

Set the market value.

DetailsOptionalParameter withModules(List<ImageInsightModule> modules)

Set the modules value.

DetailsOptionalParameter withSafeSearch(SafeSearch safeSearch)

Set the safeSearch value.

DetailsOptionalParameter withSetLang(String setLang)

Set the setLang value.

DetailsOptionalParameter withUserAgent(String userAgent)

Set the userAgent value.

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

contentType

public String contentType()

Get the contentType value.

Returns:

the contentType value

countryCode

public String countryCode()

Get the countryCode value.

Returns:

the countryCode value

cropBottom

public Double cropBottom()

Get the cropBottom value.

Returns:

the cropBottom value

cropLeft

public Double cropLeft()

Get the cropLeft value.

Returns:

the cropLeft value

cropRight

public Double cropRight()

Get the cropRight value.

Returns:

the cropRight value

cropTop

public Double cropTop()

Get the cropTop value.

Returns:

the cropTop value

cropType

public ImageCropType cropType()

Get the cropType value.

Returns:

the cropType value

id

public String id()

Get the id value.

Returns:

the id value

imageUrl

public String imageUrl()

Get the imageUrl value.

Returns:

the imageUrl value

insightsToken

public String insightsToken()

Get the insightsToken value.

Returns:

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

modules

public List modules()

Get the modules value.

Returns:

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

userAgent

public String userAgent()

Get the userAgent value.

Returns:

the userAgent value

withAcceptLanguage

public DetailsOptionalParameter withAcceptLanguage(String acceptLanguage)

Set the acceptLanguage value.

Parameters:

acceptLanguage - the acceptLanguage value to set

Returns:

the DetailsOptionalParameter object itself.

withClientId

public DetailsOptionalParameter withClientId(String clientId)

Set the clientId value.

Parameters:

clientId - the clientId value to set

Returns:

the DetailsOptionalParameter object itself.

withClientIp

public DetailsOptionalParameter withClientIp(String clientIp)

Set the clientIp value.

Parameters:

clientIp - the clientIp value to set

Returns:

the DetailsOptionalParameter object itself.

withContentType

public DetailsOptionalParameter withContentType(String contentType)

Set the contentType value.

Parameters:

contentType - the contentType value to set

Returns:

the DetailsOptionalParameter object itself.

withCountryCode

public DetailsOptionalParameter withCountryCode(String countryCode)

Set the countryCode value.

Parameters:

countryCode - the countryCode value to set

Returns:

the DetailsOptionalParameter object itself.

withCropBottom

public DetailsOptionalParameter withCropBottom(Double cropBottom)

Set the cropBottom value.

Parameters:

cropBottom - the cropBottom value to set

Returns:

the DetailsOptionalParameter object itself.

withCropLeft

public DetailsOptionalParameter withCropLeft(Double cropLeft)

Set the cropLeft value.

Parameters:

cropLeft - the cropLeft value to set

Returns:

the DetailsOptionalParameter object itself.

withCropRight

public DetailsOptionalParameter withCropRight(Double cropRight)

Set the cropRight value.

Parameters:

cropRight - the cropRight value to set

Returns:

the DetailsOptionalParameter object itself.

withCropTop

public DetailsOptionalParameter withCropTop(Double cropTop)

Set the cropTop value.

Parameters:

cropTop - the cropTop value to set

Returns:

the DetailsOptionalParameter object itself.

withCropType

public DetailsOptionalParameter withCropType(ImageCropType cropType)

Set the cropType value.

Parameters:

cropType - the cropType value to set

Returns:

the DetailsOptionalParameter object itself.

withId

public DetailsOptionalParameter withId(String id)

Set the id value.

Parameters:

id - the id value to set

Returns:

the DetailsOptionalParameter object itself.

withImageUrl

public DetailsOptionalParameter withImageUrl(String imageUrl)

Set the imageUrl value.

Parameters:

imageUrl - the imageUrl value to set

Returns:

the DetailsOptionalParameter object itself.

withInsightsToken

public DetailsOptionalParameter withInsightsToken(String insightsToken)

Set the insightsToken value.

Parameters:

insightsToken - the insightsToken value to set

Returns:

the DetailsOptionalParameter object itself.

withLocation

public DetailsOptionalParameter withLocation(String location)

Set the location value.

Parameters:

location - the location value to set

Returns:

the DetailsOptionalParameter object itself.

withMarket

public DetailsOptionalParameter withMarket(String market)

Set the market value.

Parameters:

market - the market value to set

Returns:

the DetailsOptionalParameter object itself.

withModules

public DetailsOptionalParameter withModules(List modules)

Set the modules value.

Parameters:

modules - the modules value to set

Returns:

the DetailsOptionalParameter object itself.

withSafeSearch

public DetailsOptionalParameter withSafeSearch(SafeSearch safeSearch)

Set the safeSearch value.

Parameters:

safeSearch - the safeSearch value to set

Returns:

the DetailsOptionalParameter object itself.

withSetLang

public DetailsOptionalParameter withSetLang(String setLang)

Set the setLang value.

Parameters:

setLang - the setLang value to set

Returns:

the DetailsOptionalParameter object itself.

withUserAgent

public DetailsOptionalParameter withUserAgent(String userAgent)

Set the userAgent value.

Parameters:

userAgent - the userAgent value to set

Returns:

the DetailsOptionalParameter object itself.

Applies to