Class AgentInfo

    • Method Detail

      • id

        public final String id()

        The identifier of the agent who accepted the contact.

        Returns:
        The identifier of the agent who accepted the contact.
      • connectedToAgentTimestamp

        public final Instant connectedToAgentTimestamp()

        The timestamp when the contact was connected to the agent.

        Returns:
        The timestamp when the contact was connected to the agent.
      • agentPauseDurationInSeconds

        public final Integer agentPauseDurationInSeconds()

        Agent pause duration for a contact in seconds.

        Returns:
        Agent pause duration for a contact in seconds.
      • hierarchyGroups

        public final HierarchyGroups hierarchyGroups()

        The agent hierarchy groups for the agent.

        Returns:
        The agent hierarchy groups for the agent.
      • deviceInfo

        public final DeviceInfo deviceInfo()

        Information regarding Agent’s device.

        Returns:
        Information regarding Agent’s device.
      • capabilities

        public final ParticipantCapabilities capabilities()
        Returns the value of the Capabilities property for this object.
        Returns:
        The value of the Capabilities property for this object.
      • hashCode

        public final int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • toString

        public final String toString()
        Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
        Overrides:
        toString in class Object
      • getValueForField

        public final <T> Optional<T> getValueForField​(String fieldName,
                                                      Class<T> clazz)