Class ClosedList
- java.lang.Object
-
- com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ClosedList
-
public class ClosedList extends Object
Exported Model - A list entity.
-
-
Constructor Summary
Constructors Constructor Description ClosedList()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
name()
Get the name value.List<String>
roles()
Get the roles value.List<SubClosedList>
subLists()
Get the subLists value.ClosedList
withName(String name)
Set the name value.ClosedList
withRoles(List<String> roles)
Set the roles value.ClosedList
withSubLists(List<SubClosedList> subLists)
Set the subLists value.
-
-
-
Method Detail
-
name
public String name()
Get the name value.- Returns:
- the name value
-
withName
public ClosedList withName(String name)
Set the name value.- Parameters:
name
- the name value to set- Returns:
- the ClosedList object itself.
-
subLists
public List<SubClosedList> subLists()
Get the subLists value.- Returns:
- the subLists value
-
withSubLists
public ClosedList withSubLists(List<SubClosedList> subLists)
Set the subLists value.- Parameters:
subLists
- the subLists value to set- Returns:
- the ClosedList object itself.
-
withRoles
public ClosedList withRoles(List<String> roles)
Set the roles value.- Parameters:
roles
- the roles value to set- Returns:
- the ClosedList object itself.
-
-