Class JSONEntity
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.models.JSONEntity
-
public class JSONEntity extends Object
Exported Model - Extracted Entity from utterance.
-
-
Constructor Summary
Constructors Constructor Description JSONEntity()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<JSONEntity>
children()
Get the children value.int
endPos()
Get the endPos value.String
entity()
Get the entity value.String
role()
Get the role value.int
startPos()
Get the startPos value.JSONEntity
withChildren(List<JSONEntity> children)
Set the children value.JSONEntity
withEndPos(int endPos)
Set the endPos value.JSONEntity
withEntity(String entity)
Set the entity value.JSONEntity
withRole(String role)
Set the role value.JSONEntity
withStartPos(int startPos)
Set the startPos value.
-
-
-
Method Detail
-
startPos
public int startPos()
Get the startPos value.- Returns:
- the startPos value
-
withStartPos
public JSONEntity withStartPos(int startPos)
Set the startPos value.- Parameters:
startPos
- the startPos value to set- Returns:
- the JSONEntity object itself.
-
endPos
public int endPos()
Get the endPos value.- Returns:
- the endPos value
-
withEndPos
public JSONEntity withEndPos(int endPos)
Set the endPos value.- Parameters:
endPos
- the endPos value to set- Returns:
- the JSONEntity object itself.
-
entity
public String entity()
Get the entity value.- Returns:
- the entity value
-
withEntity
public JSONEntity withEntity(String entity)
Set the entity value.- Parameters:
entity
- the entity value to set- Returns:
- the JSONEntity object itself.
-
role
public String role()
Get the role value.- Returns:
- the role value
-
withRole
public JSONEntity withRole(String role)
Set the role value.- Parameters:
role
- the role value to set- Returns:
- the JSONEntity object itself.
-
children
public List<JSONEntity> children()
Get the children value.- Returns:
- the children value
-
withChildren
public JSONEntity withChildren(List<JSONEntity> children)
Set the children value.- Parameters:
children
- the children value to set- Returns:
- the JSONEntity object itself.
-
-