你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

BodyModelModel 类

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

public class BodyModelModel

BodyModelModel 模型。

方法摘要

修饰符和类型 方法和描述
String dataRepresentation()

获取 dataRepresentation 值。

String value()

获取值。

BodyModelModel withDataRepresentation(String dataRepresentation)

设置 dataRepresentation 值。

BodyModelModel withValue(String value)

设置值。

方法详细信息

dataRepresentation

public String dataRepresentation()

获取 dataRepresentation 值。

Returns:

dataRepresentation 值

value

public String value()

获取值。

Returns:

withDataRepresentation

public BodyModelModel withDataRepresentation(String dataRepresentation)

设置 dataRepresentation 值。

Parameters:

dataRepresentation - 要设置的 dataRepresentation 值

Returns:

BodyModelModel 对象本身。

withValue

public BodyModelModel withValue(String value)

设置值。

Parameters:

value - 要设置的值值

Returns:

BodyModelModel 对象本身。

适用于