共用方式為


BodyModel Class

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

public class BodyModel

The BodyModel model.

Method Summary

Modifier and Type Method and Description
String description()

Get the description value.

BodyMetadata metadata()

Get the metadata value.

String name()

Get the name value.

BodyModel withDescription(String description)

Set the description value.

BodyModel withMetadata(BodyMetadata metadata)

Set the metadata value.

BodyModel withName(String name)

Set the name value.

Method Details

description

public String description()

Get the description value.

Returns:

the description value

metadata

public BodyMetadata metadata()

Get the metadata value.

Returns:

the metadata value

name

public String name()

Get the name value.

Returns:

the name value

withDescription

public BodyModel withDescription(String description)

Set the description value.

Parameters:

description - the description value to set

Returns:

the BodyModel object itself.

withMetadata

public BodyModel withMetadata(BodyMetadata metadata)

Set the metadata value.

Parameters:

metadata - the metadata value to set

Returns:

the BodyModel object itself.

withName

public BodyModel withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the BodyModel object itself.

Applies to