BodyModel Class
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. vision. contentmoderator. models. BodyModel
- com.
public class BodyModel
The BodyModel model.
Method Summary
Modifier and Type | Method and Description |
---|---|
String |
description()
Get the description value. |
Body |
metadata()
Get the metadata value. |
String |
name()
Get the name value. |
Body |
withDescription(String description)
Set the description value. |
Body |
withMetadata(BodyMetadata metadata)
Set the metadata value. |
Body |
withName(String name)
Set the name value. |
Method Details
description
public String description()
Get the description value.
Returns:
metadata
public BodyMetadata metadata()
Get the metadata value.
Returns:
name
public String name()
Get the name value.
Returns:
withDescription
public BodyModel withDescription(String description)
Set the description value.
Parameters:
Returns:
withMetadata
public BodyModel withMetadata(BodyMetadata metadata)
Set the metadata value.
Parameters:
Returns:
withName
public BodyModel withName(String name)
Set the name value.
Parameters:
Returns:
Applies to
Azure SDK for Java