DynamicList Class
- java.
lang. Object - com.
microsoft. bot. ai. luis. DynamicList
- com.
public class DynamicList
Request Body element to use when passing Dynamic lists to the Luis Service call. Defines an extension for a list entity.
Constructor Summary
| Constructor | Description |
|---|---|
| DynamicList() |
Initializes a new instance of the Dynamic |
| DynamicList(String entity, List<ListElement> requestLists) |
Initializes a new instance of the Dynamic |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| java.lang.String |
getEntity()
Gets the name of the list entity to extend. |
|
java.util.List<List |
getList()
Gets the lists to append on the extended list entity. |
| void |
setEntity(String entity)
Sets the name of the list entity to extend. |
| void |
setList(List<ListElement> list)
Sets the lists to append on the extended list entity. |
| void |
validate()
Validate the object. |
Methods inherited from java.lang.Object
Constructor Details
DynamicList
public DynamicList()
Initializes a new instance of the DynamicList class.
DynamicList
public DynamicList(String entity, List
Initializes a new instance of the DynamicList class.
Parameters:
Method Details
getEntity
public String getEntity()
Gets the name of the list entity to extend.
Returns:
getList
public List
Gets the lists to append on the extended list entity.
Returns:
setEntity
public void setEntity(String entity)
Sets the name of the list entity to extend.
Parameters:
setList
public void setList(List
Sets the lists to append on the extended list entity.
Parameters:
validate
public void validate()
Validate the object.
Throws: