EntityModelInfo Class
- java.
lang. Object - ModelInfo
- com.
microsoft. azure. cognitiveservices. language. luis. authoring. models. EntityModelInfo
- com.
public class EntityModelInfo extends ModelInfo
An Entity Extractor model info.
Method Summary
Modifier and Type | Method and Description |
---|---|
List<Entity |
roles()
Get the roles value. |
Entity |
withRoles(List<EntityRole> roles)
Set the roles value. |
Inherited Members
ModelInfo.id()
ModelInfo.name()
ModelInfo.readableType()
ModelInfo.typeId()
ModelInfo.withId(UUID id)
ModelInfo.withName(String name)
ModelInfo.withReadableType(String readableType)
ModelInfo.withTypeId(Integer typeId)
Method Details
roles
public List
Get the roles value.
Returns:
the roles value
withRoles
public EntityModelInfo withRoles(List
Set the roles value.
Parameters:
roles
- the roles value to set
Returns:
the EntityModelInfo object itself.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for Java