CompositeChildModel 类
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. runtime. models. CompositeChildModel
- com.
public class CompositeChildModel
LUIS 复合实体中的子实体。
方法摘要
| 修饰符和类型 | 方法和描述 |
|---|---|
| String |
type()
获取类型值。 |
| String |
value()
获取值。 |
|
Composite |
withType(String type)
设置类型值。 |
|
Composite |
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 对象本身。