Class Agent



  • public final class Agent
    extends java.lang.Object
    Represents a Zendesk Chat agent.
    See Also:
    ChatState.getAgents()
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      boolean equals(java.lang.Object o) 
      java.lang.String getAvatarPath()
      Returns the avatar url of this agent.
      java.lang.String getDisplayName()
      Returns the display name of this agent.
      java.lang.String getId()
      Returns the unique identifier of this agent.
      int hashCode() 
      boolean isTyping()
      Returns true if this agent is typing, false otherwise.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • getId

        public java.lang.String getId()
        Returns the unique identifier of this agent.
      • getDisplayName

        public java.lang.String getDisplayName()
        Returns the display name of this agent.
      • getAvatarPath

        public java.lang.String getAvatarPath()
        Returns the avatar url of this agent.
      • isTyping

        public boolean isTyping()
        Returns true if this agent is typing, false otherwise.
      • equals

        public boolean equals(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object