Aracılığıyla paylaş


GenerateThumbnailOptionalParameter Class

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

public class GenerateThumbnailOptionalParameter

The GenerateThumbnailOptionalParameter model.

Method Summary

Modifier and Type Method and Description
String modelVersion()

Get the modelVersion value.

Boolean smartCropping()

Get the smartCropping value.

String thisclientacceptLanguage()

Get the thisclientacceptLanguage value.

GenerateThumbnailOptionalParameter withModelVersion(String modelVersion)

Set the modelVersion value.

GenerateThumbnailOptionalParameter withSmartCropping(Boolean smartCropping)

Set the smartCropping value.

GenerateThumbnailOptionalParameter withThisclientacceptLanguage(String thisclientacceptLanguage)

Set the thisclientacceptLanguage value.

Method Details

modelVersion

public String modelVersion()

Get the modelVersion value.

Returns:

the modelVersion value

smartCropping

public Boolean smartCropping()

Get the smartCropping value.

Returns:

the smartCropping value

thisclientacceptLanguage

public String thisclientacceptLanguage()

Get the thisclientacceptLanguage value.

Returns:

the thisclientacceptLanguage value

withModelVersion

public GenerateThumbnailOptionalParameter withModelVersion(String modelVersion)

Set the modelVersion value.

Parameters:

modelVersion - the modelVersion value to set

Returns:

the GenerateThumbnailOptionalParameter object itself.

withSmartCropping

public GenerateThumbnailOptionalParameter withSmartCropping(Boolean smartCropping)

Set the smartCropping value.

Parameters:

smartCropping - the smartCropping value to set

Returns:

the GenerateThumbnailOptionalParameter object itself.

withThisclientacceptLanguage

public GenerateThumbnailOptionalParameter withThisclientacceptLanguage(String thisclientacceptLanguage)

Set the thisclientacceptLanguage value.

Parameters:

thisclientacceptLanguage - the thisclientacceptLanguage value to set

Returns:

the GenerateThumbnailOptionalParameter object itself.

Applies to