VisualSearchOptionalParameter Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.search.visualsearch.models.VisualSearchOptionalParameter

public class VisualSearchOptionalParameter

The VisualSearchOptionalParameter model.

Constructor Summary

Constructor Description
VisualSearchOptionalParameter()

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.String contentType()

Get the contentType value.

byte[] image()

Get the image value.

java.lang.String knowledgeRequest()

Get the knowledgeRequest value.

java.lang.String location()

Get the location value.

java.lang.String userAgent()

Get the userAgent value.

VisualSearchOptionalParameter withAcceptLanguage(String acceptLanguage)

Set the acceptLanguage value.

VisualSearchOptionalParameter withClientId(String clientId)

Set the clientId value.

VisualSearchOptionalParameter withClientIp(String clientIp)

Set the clientIp value.

VisualSearchOptionalParameter withContentType(String contentType)

Set the contentType value.

VisualSearchOptionalParameter withImage(byte[] image)

Set the image value.

VisualSearchOptionalParameter withKnowledgeRequest(String knowledgeRequest)

Set the knowledgeRequest value.

VisualSearchOptionalParameter withLocation(String location)

Set the location value.

VisualSearchOptionalParameter 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

VisualSearchOptionalParameter

public VisualSearchOptionalParameter()

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

image

public byte[] image()

Get the image value.

Returns:

the image value

knowledgeRequest

public String knowledgeRequest()

Get the knowledgeRequest value.

Returns:

the knowledgeRequest value

location

public String location()

Get the location value.

Returns:

the location value

userAgent

public String userAgent()

Get the userAgent value.

Returns:

the userAgent value

withAcceptLanguage

public VisualSearchOptionalParameter withAcceptLanguage(String acceptLanguage)

Set the acceptLanguage value.

Parameters:

acceptLanguage - the acceptLanguage value to set

Returns:

the VisualSearchOptionalParameter object itself.

withClientId

public VisualSearchOptionalParameter withClientId(String clientId)

Set the clientId value.

Parameters:

clientId - the clientId value to set

Returns:

the VisualSearchOptionalParameter object itself.

withClientIp

public VisualSearchOptionalParameter withClientIp(String clientIp)

Set the clientIp value.

Parameters:

clientIp - the clientIp value to set

Returns:

the VisualSearchOptionalParameter object itself.

withContentType

public VisualSearchOptionalParameter withContentType(String contentType)

Set the contentType value.

Parameters:

contentType - the contentType value to set

Returns:

the VisualSearchOptionalParameter object itself.

withImage

public VisualSearchOptionalParameter withImage(byte[] image)

Set the image value.

Parameters:

image - the image value to set

Returns:

the VisualSearchOptionalParameter object itself.

withKnowledgeRequest

public VisualSearchOptionalParameter withKnowledgeRequest(String knowledgeRequest)

Set the knowledgeRequest value.

Parameters:

knowledgeRequest - the knowledgeRequest value to set

Returns:

the VisualSearchOptionalParameter object itself.

withLocation

public VisualSearchOptionalParameter withLocation(String location)

Set the location value.

Parameters:

location - the location value to set

Returns:

the VisualSearchOptionalParameter object itself.

withUserAgent

public VisualSearchOptionalParameter withUserAgent(String userAgent)

Set the userAgent value.

Parameters:

userAgent - the userAgent value to set

Returns:

the VisualSearchOptionalParameter object itself.

Applies to