Class Department

  • public class Department
    extends java.lang.Object
    This is a model class for Department that will be created by 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 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.

    See Also:
    Agent Dashboard
    • Constructor Detail

      • Department

        public Department()
    • Method Detail

      • getName

        public java.lang.String getName()
        Gets name of the department
        department name
      • getStatus

        public Department.Status getStatus()
        Gets availability status of the department
        department status
      • toString

        public java.lang.String toString()
        toString in class java.lang.Object