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

CompositeChildModel 类

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.runtime.models.CompositeChildModel

public class CompositeChildModel

LUIS 复合实体中的子实体。

方法摘要

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

获取类型值。

String value()

获取值。

CompositeChildModel withType(String type)

设置类型值。

CompositeChildModel withValue(String value)

设置值值。

方法详细信息

type

public String type()

获取类型值。

Returns:

类型值

value

public String value()

获取值。

Returns:

withType

public CompositeChildModel withType(String type)

设置类型值。

Parameters:

type - 要设置的类型值

Returns:

CompositeChildModel 对象本身。

withValue

public CompositeChildModel withValue(String value)

设置值值。

Parameters:

value - 要设置的值值

Returns:

CompositeChildModel 对象本身。

适用于