你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
ChildEntity 类
- java.
lang. Object - com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. ChildEntity
- com.
public class ChildEntity
基子实体类型。
方法摘要
修饰符和类型 | 方法和描述 |
---|---|
List<Child |
children()
获取子级值。 |
UUID |
id()
获取 ID 值。 |
String |
instanceOfProperty()
获取 instanceOfProperty 值。 |
String |
name()
获取名称值。 |
String |
readableType()
获取 readableType 值。 |
Integer |
typeId()
获取 typeId 值。 |
Child |
withChildren(List<ChildEntity> children)
设置子级值。 |
Child |
withId(UUID id)
设置 ID 值。 |
Child |
withInstanceOfProperty(String instanceOfProperty)
设置 instanceOfProperty 值。 |
Child |
withName(String name)
设置名称值。 |
Child |
withReadableType(String readableType)
设置 readableType 值。 |
Child |
withTypeId(Integer typeId)
设置 typeId 值。 |
方法详细信息
children
public List
获取子级值。
Returns:
id
public UUID id()
获取 ID 值。
Returns:
instanceOfProperty
public String instanceOfProperty()
获取 instanceOfProperty 值。
Returns:
name
public String name()
获取名称值。
Returns:
readableType
public String readableType()
获取 readableType 值。
Returns:
typeId
public Integer typeId()
获取 typeId 值。
Returns:
withChildren
public ChildEntity withChildren(List
设置子级值。
Parameters:
Returns:
withId
public ChildEntity withId(UUID id)
设置 ID 值。
Parameters:
Returns:
withInstanceOfProperty
public ChildEntity withInstanceOfProperty(String instanceOfProperty)
设置 instanceOfProperty 值。
Parameters:
Returns:
withName
public ChildEntity withName(String name)
设置名称值。
Parameters:
Returns:
withReadableType
public ChildEntity withReadableType(String readableType)
设置 readableType 值。
Parameters:
Returns:
withTypeId
public ChildEntity withTypeId(Integer typeId)
设置 typeId 值。
Parameters:
Returns: