共用方式為


GenerateThumbnailInStreamOptionalParameter Class

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

public class GenerateThumbnailInStreamOptionalParameter

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

GenerateThumbnailInStreamOptionalParameter withModelVersion(String modelVersion)

Set the modelVersion value.

GenerateThumbnailInStreamOptionalParameter withSmartCropping(Boolean smartCropping)

Set the smartCropping value.

GenerateThumbnailInStreamOptionalParameter 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 GenerateThumbnailInStreamOptionalParameter withModelVersion(String modelVersion)

Set the modelVersion value.

Parameters:

modelVersion - the modelVersion value to set

Returns:

the GenerateThumbnailInStreamOptionalParameter object itself.

withSmartCropping

public GenerateThumbnailInStreamOptionalParameter withSmartCropping(Boolean smartCropping)

Set the smartCropping value.

Parameters:

smartCropping - the smartCropping value to set

Returns:

the GenerateThumbnailInStreamOptionalParameter object itself.

withThisclientacceptLanguage

public GenerateThumbnailInStreamOptionalParameter withThisclientacceptLanguage(String thisclientacceptLanguage)

Set the thisclientacceptLanguage value.

Parameters:

thisclientacceptLanguage - the thisclientacceptLanguage value to set

Returns:

the GenerateThumbnailInStreamOptionalParameter object itself.

Applies to