public class QueueInfo
extends java.lang.Object
implements java.io.Serializable
If this contact was queued, this contains information about the queue.
| Constructor and Description |
|---|
QueueInfo() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.util.Date |
getEnqueueTimestamp()
The timestamp when the contact was added to the queue.
|
java.lang.String |
getId()
The unique identifier for the queue.
|
int |
hashCode() |
void |
setEnqueueTimestamp(java.util.Date enqueueTimestamp)
The timestamp when the contact was added to the queue.
|
void |
setId(java.lang.String id)
The unique identifier for the queue.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
QueueInfo |
withEnqueueTimestamp(java.util.Date enqueueTimestamp)
The timestamp when the contact was added to the queue.
|
QueueInfo |
withId(java.lang.String id)
The unique identifier for the queue.
|
public java.lang.String getId()
The unique identifier for the queue.
The unique identifier for the queue.
public void setId(java.lang.String id)
The unique identifier for the queue.
id - The unique identifier for the queue.
public QueueInfo withId(java.lang.String id)
The unique identifier for the queue.
Returns a reference to this object so that method calls can be chained together.
id - The unique identifier for the queue.
public java.util.Date getEnqueueTimestamp()
The timestamp when the contact was added to the queue.
The timestamp when the contact was added to the queue.
public void setEnqueueTimestamp(java.util.Date enqueueTimestamp)
The timestamp when the contact was added to the queue.
enqueueTimestamp - The timestamp when the contact was added to the queue.
public QueueInfo withEnqueueTimestamp(java.util.Date enqueueTimestamp)
The timestamp when the contact was added to the queue.
Returns a reference to this object so that method calls can be chained together.
enqueueTimestamp - The timestamp when the contact was added to the queue.
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