ClosedList Class

  • java.lang.Object
    • com.microsoft.azure.cognitiveservices.language.luis.authoring.models.ClosedList

public class ClosedList

Exported Model - A list entity.

Method Summary

Modifier and Type Method and 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 Details

name

public String name()

Get the name value.

Returns:

the name value

roles

public List roles()

Get the roles value.

Returns:

the roles value

subLists

public List subLists()

Get the subLists value.

Returns:

the subLists value

withName

public ClosedList withName(String name)

Set the name value.

Parameters:

name - the name value to set

Returns:

the ClosedList object itself.

withRoles

public ClosedList withRoles(List roles)

Set the roles value.

Parameters:

roles - the roles value to set

Returns:

the ClosedList object itself.

withSubLists

public ClosedList withSubLists(List subLists)

Set the subLists value.

Parameters:

subLists - the subLists value to set

Returns:

the ClosedList object itself.

Applies to