public class AgentInfo
extends java.lang.Object
implements java.io.Serializable
Information about the agent who accepted the contact.
| Constructor and Description |
|---|
AgentInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getConnectedToAgentTimestamp()
The timestamp when the contact was connected to the agent.
|
java.lang.String |
getId()
The identifier of the agent who accepted the contact.
|
int |
hashCode() |
void |
setConnectedToAgentTimestamp(java.util.Date connectedToAgentTimestamp)
The timestamp when the contact was connected to the agent.
|
void |
setId(java.lang.String id)
The identifier of the agent who accepted the contact.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AgentInfo |
withConnectedToAgentTimestamp(java.util.Date connectedToAgentTimestamp)
The timestamp when the contact was connected to the agent.
|
AgentInfo |
withId(java.lang.String id)
The identifier of the agent who accepted the contact.
|
public java.lang.String getId()
The identifier of the agent who accepted the contact.
Constraints:
Length: 1 - 256
The identifier of the agent who accepted the contact.
public void setId(java.lang.String id)
The identifier of the agent who accepted the contact.
Constraints:
Length: 1 - 256
id - The identifier of the agent who accepted the contact.
public AgentInfo withId(java.lang.String id)
The identifier of the agent who accepted the contact.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
id - The identifier of the agent who accepted the contact.
public java.util.Date getConnectedToAgentTimestamp()
The timestamp when the contact was connected to the agent.
The timestamp when the contact was connected to the agent.
public void setConnectedToAgentTimestamp(java.util.Date connectedToAgentTimestamp)
The timestamp when the contact was connected to the agent.
connectedToAgentTimestamp - The timestamp when the contact was connected to the agent.
public AgentInfo withConnectedToAgentTimestamp(java.util.Date connectedToAgentTimestamp)
The timestamp when the contact was connected to the agent.
Returns a reference to this object so that method calls can be chained together.
connectedToAgentTimestamp - The timestamp when the contact was connected to the agent.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object