Dela via


OCRFileInputOptionalParameter Class

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

public class OCRFileInputOptionalParameter

The OCRFileInputOptionalParameter 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.

OCRFileInputOptionalParameter withCacheImage(Boolean cacheImage)

Set the cacheImage value.

OCRFileInputOptionalParameter withEnhanced(Boolean enhanced)

Set the enhanced value.

OCRFileInputOptionalParameter 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 OCRFileInputOptionalParameter withCacheImage(Boolean cacheImage)

Set the cacheImage value.

Parameters:

cacheImage - the cacheImage value to set

Returns:

the OCRFileInputOptionalParameter object itself.

withEnhanced

public OCRFileInputOptionalParameter withEnhanced(Boolean enhanced)

Set the enhanced value.

Parameters:

enhanced - the enhanced value to set

Returns:

the OCRFileInputOptionalParameter object itself.

withThisclientacceptLanguage

public OCRFileInputOptionalParameter withThisclientacceptLanguage(String thisclientacceptLanguage)

Set the thisclientacceptLanguage value.

Parameters:

thisclientacceptLanguage - the thisclientacceptLanguage value to set

Returns:

the OCRFileInputOptionalParameter object itself.

Applies to