Package zendesk.chat.client
Class Agent
- java.lang.Object
-
- zendesk.chat.client.Agent
-
public final class Agent extends java.lang.ObjectRepresents a Zendesk Chat agent.- See Also:
ChatState.getAgents()
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description booleanequals(java.lang.Object o)java.lang.StringgetAvatarPath()Returns the avatar url of this agent.java.lang.StringgetDisplayName()Returns the display name of this agent.java.lang.StringgetId()Returns the unique identifier of this agent.inthashCode()booleanisTyping()Returnstrueif this agent is typing,falseotherwise.
-
-
-
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()
Returnstrueif this agent is typing,falseotherwise.
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
-