public class Department extends Object
LivechatDepartmentsPath
.
It is used to tell available departments for in a chat session. Configuration of available departments can be done on the agent's dashboard.
You can subscribe to department broadcast via DataSource.addDepartmentsOberver(java.util.Observer)
using DepartmentsObserver
This class is a model that will be serialised to JSON and deserialised from JSON to this model. As such it does not follow the m naming prefix for fields.
Constructor and Description |
---|
Department() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Gets name of the department
|
String |
getStatus()
Gets availability status of the department
|
String |
toString() |