ReadOptionalParameter Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.computervision.models.ReadOptionalParameter

public class ReadOptionalParameter

The ReadOptionalParameter model.

Method Summary

Modifier and Type Method and Description
OcrDetectionLanguage language()

Get the language value.

String modelVersion()

Get the modelVersion value.

List<String> pages()

Get the pages value.

String readingOrder()

Get the readingOrder value.

String thisclientacceptLanguage()

Get the thisclientacceptLanguage value.

ReadOptionalParameter withLanguage(OcrDetectionLanguage language)

Set the language value.

ReadOptionalParameter withModelVersion(String modelVersion)

Set the modelVersion value.

ReadOptionalParameter withPages(List<String> pages)

Set the pages value.

ReadOptionalParameter withReadingOrder(String readingOrder)

Set the readingOrder value.

ReadOptionalParameter withThisclientacceptLanguage(String thisclientacceptLanguage)

Set the thisclientacceptLanguage value.

Method Details

language

public OcrDetectionLanguage language()

Get the language value.

Returns:

the language value

modelVersion

public String modelVersion()

Get the modelVersion value.

Returns:

the modelVersion value

pages

public List pages()

Get the pages value.

Returns:

the pages value

readingOrder

public String readingOrder()

Get the readingOrder value.

Returns:

the readingOrder value

thisclientacceptLanguage

public String thisclientacceptLanguage()

Get the thisclientacceptLanguage value.

Returns:

the thisclientacceptLanguage value

withLanguage

public ReadOptionalParameter withLanguage(OcrDetectionLanguage language)

Set the language value.

Parameters:

language - the language value to set

Returns:

the ReadOptionalParameter object itself.

withModelVersion

public ReadOptionalParameter withModelVersion(String modelVersion)

Set the modelVersion value.

Parameters:

modelVersion - the modelVersion value to set

Returns:

the ReadOptionalParameter object itself.

withPages

public ReadOptionalParameter withPages(List pages)

Set the pages value.

Parameters:

pages - the pages value to set

Returns:

the ReadOptionalParameter object itself.

withReadingOrder

public ReadOptionalParameter withReadingOrder(String readingOrder)

Set the readingOrder value.

Parameters:

readingOrder - the readingOrder value to set

Returns:

the ReadOptionalParameter object itself.

withThisclientacceptLanguage

public ReadOptionalParameter withThisclientacceptLanguage(String thisclientacceptLanguage)

Set the thisclientacceptLanguage value.

Parameters:

thisclientacceptLanguage - the thisclientacceptLanguage value to set

Returns:

the ReadOptionalParameter object itself.

Applies to