OCRMethodOptionalParameter Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.vision.contentmoderator.models.OCRMethodOptionalParameter

public class OCRMethodOptionalParameter

The OCRMethodOptionalParameter model.

Method Summary

Modifier and Type Method and Description
Boolean cacheImage()

Get the cacheImage value.

Boolean enhanced()

Get the enhanced value.

String thisclientacceptLanguage()

Get the thisclientacceptLanguage value.

OCRMethodOptionalParameter withCacheImage(Boolean cacheImage)

Set the cacheImage value.

OCRMethodOptionalParameter withEnhanced(Boolean enhanced)

Set the enhanced value.

OCRMethodOptionalParameter withThisclientacceptLanguage(String thisclientacceptLanguage)

Set the thisclientacceptLanguage value.

Method Details

cacheImage

public Boolean cacheImage()

Get the cacheImage value.

Returns:

the cacheImage value

enhanced

public Boolean enhanced()

Get the enhanced value.

Returns:

the enhanced value

thisclientacceptLanguage

public String thisclientacceptLanguage()

Get the thisclientacceptLanguage value.

Returns:

the thisclientacceptLanguage value

withCacheImage

public OCRMethodOptionalParameter withCacheImage(Boolean cacheImage)

Set the cacheImage value.

Parameters:

cacheImage - the cacheImage value to set

Returns:

the OCRMethodOptionalParameter object itself.

withEnhanced

public OCRMethodOptionalParameter withEnhanced(Boolean enhanced)

Set the enhanced value.

Parameters:

enhanced - the enhanced value to set

Returns:

the OCRMethodOptionalParameter object itself.

withThisclientacceptLanguage

public OCRMethodOptionalParameter withThisclientacceptLanguage(String thisclientacceptLanguage)

Set the thisclientacceptLanguage value.

Parameters:

thisclientacceptLanguage - the thisclientacceptLanguage value to set

Returns:

the OCRMethodOptionalParameter object itself.

Applies to