public class UserData
extends java.lang.Object
implements java.io.Serializable
Data for a user.
| Constructor and Description |
|---|
UserData() |
| Modifier and Type | Method and Description |
|---|---|
UserData |
addActiveSlotsByChannelEntry(java.lang.String key,
java.lang.Integer value)
A map of active slots by channel.
|
UserData |
addAvailableSlotsByChannelEntry(java.lang.String key,
java.lang.Integer value)
A map of available slots by channel.
|
UserData |
addMaxSlotsByChannelEntry(java.lang.String key,
java.lang.Integer value)
A map of maximum slots by channel.
|
UserData |
clearActiveSlotsByChannelEntries()
Removes all the entries added into ActiveSlotsByChannel.
|
UserData |
clearAvailableSlotsByChannelEntries()
Removes all the entries added into AvailableSlotsByChannel.
|
UserData |
clearMaxSlotsByChannelEntries()
Removes all the entries added into MaxSlotsByChannel.
|
boolean |
equals(java.lang.Object obj) |
java.util.Map<java.lang.String,java.lang.Integer> |
getActiveSlotsByChannel()
A map of active slots by channel.
|
java.util.Map<java.lang.String,java.lang.Integer> |
getAvailableSlotsByChannel()
A map of available slots by channel.
|
java.util.List<AgentContactReference> |
getContacts()
A list of contact reference information.
|
HierarchyPathReference |
getHierarchyPath()
Contains information about the levels of a hierarchy group assigned to a
user.
|
java.util.Map<java.lang.String,java.lang.Integer> |
getMaxSlotsByChannel()
A map of maximum slots by channel.
|
java.lang.String |
getNextStatus()
The Next status of the agent.
|
RoutingProfileReference |
getRoutingProfile()
Information about the routing profile that is assigned to the user.
|
AgentStatusReference |
getStatus()
The status of the agent that they manually set in their Contact Control
Panel (CCP), or that the supervisor manually changes in the real-time
metrics report.
|
UserReference |
getUser()
Information about the user for the data that is returned.
|
int |
hashCode() |
void |
setActiveSlotsByChannel(java.util.Map<java.lang.String,java.lang.Integer> activeSlotsByChannel)
A map of active slots by channel.
|
void |
setAvailableSlotsByChannel(java.util.Map<java.lang.String,java.lang.Integer> availableSlotsByChannel)
A map of available slots by channel.
|
void |
setContacts(java.util.Collection<AgentContactReference> contacts)
A list of contact reference information.
|
void |
setHierarchyPath(HierarchyPathReference hierarchyPath)
Contains information about the levels of a hierarchy group assigned to a
user.
|
void |
setMaxSlotsByChannel(java.util.Map<java.lang.String,java.lang.Integer> maxSlotsByChannel)
A map of maximum slots by channel.
|
void |
setNextStatus(java.lang.String nextStatus)
The Next status of the agent.
|
void |
setRoutingProfile(RoutingProfileReference routingProfile)
Information about the routing profile that is assigned to the user.
|
void |
setStatus(AgentStatusReference status)
The status of the agent that they manually set in their Contact Control
Panel (CCP), or that the supervisor manually changes in the real-time
metrics report.
|
void |
setUser(UserReference user)
Information about the user for the data that is returned.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
UserData |
withActiveSlotsByChannel(java.util.Map<java.lang.String,java.lang.Integer> activeSlotsByChannel)
A map of active slots by channel.
|
UserData |
withAvailableSlotsByChannel(java.util.Map<java.lang.String,java.lang.Integer> availableSlotsByChannel)
A map of available slots by channel.
|
UserData |
withContacts(AgentContactReference... contacts)
A list of contact reference information.
|
UserData |
withContacts(java.util.Collection<AgentContactReference> contacts)
A list of contact reference information.
|
UserData |
withHierarchyPath(HierarchyPathReference hierarchyPath)
Contains information about the levels of a hierarchy group assigned to a
user.
|
UserData |
withMaxSlotsByChannel(java.util.Map<java.lang.String,java.lang.Integer> maxSlotsByChannel)
A map of maximum slots by channel.
|
UserData |
withNextStatus(java.lang.String nextStatus)
The Next status of the agent.
|
UserData |
withRoutingProfile(RoutingProfileReference routingProfile)
Information about the routing profile that is assigned to the user.
|
UserData |
withStatus(AgentStatusReference status)
The status of the agent that they manually set in their Contact Control
Panel (CCP), or that the supervisor manually changes in the real-time
metrics report.
|
UserData |
withUser(UserReference user)
Information about the user for the data that is returned.
|
public UserReference getUser()
Information about the user for the data that is returned. It contains the
resourceId and ARN of the user.
Information about the user for the data that is returned. It
contains the resourceId and ARN of the user.
public void setUser(UserReference user)
Information about the user for the data that is returned. It contains the
resourceId and ARN of the user.
user -
Information about the user for the data that is returned. It
contains the resourceId and ARN of the user.
public UserData withUser(UserReference user)
Information about the user for the data that is returned. It contains the
resourceId and ARN of the user.
Returns a reference to this object so that method calls can be chained together.
user -
Information about the user for the data that is returned. It
contains the resourceId and ARN of the user.
public RoutingProfileReference getRoutingProfile()
Information about the routing profile that is assigned to the user.
Information about the routing profile that is assigned to the user.
public void setRoutingProfile(RoutingProfileReference routingProfile)
Information about the routing profile that is assigned to the user.
routingProfile - Information about the routing profile that is assigned to the user.
public UserData withRoutingProfile(RoutingProfileReference routingProfile)
Information about the routing profile that is assigned to the user.
Returns a reference to this object so that method calls can be chained together.
routingProfile - Information about the routing profile that is assigned to the user.
public HierarchyPathReference getHierarchyPath()
Contains information about the levels of a hierarchy group assigned to a user.
Contains information about the levels of a hierarchy group assigned to a user.
public void setHierarchyPath(HierarchyPathReference hierarchyPath)
Contains information about the levels of a hierarchy group assigned to a user.
hierarchyPath - Contains information about the levels of a hierarchy group assigned to a user.
public UserData withHierarchyPath(HierarchyPathReference hierarchyPath)
Contains information about the levels of a hierarchy group assigned to a user.
Returns a reference to this object so that method calls can be chained together.
hierarchyPath - Contains information about the levels of a hierarchy group assigned to a user.
public AgentStatusReference getStatus()
The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor manually changes in the real-time metrics report.
The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor manually changes in the real-time metrics report.
public void setStatus(AgentStatusReference status)
The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor manually changes in the real-time metrics report.
status - The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor manually changes in the real-time metrics report.
public UserData withStatus(AgentStatusReference status)
The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor manually changes in the real-time metrics report.
Returns a reference to this object so that method calls can be chained together.
status - The status of the agent that they manually set in their Contact Control Panel (CCP), or that the supervisor manually changes in the real-time metrics report.
public java.util.Map<java.lang.String,java.lang.Integer> getAvailableSlotsByChannel()
A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
public void setAvailableSlotsByChannel(java.util.Map<java.lang.String,java.lang.Integer> availableSlotsByChannel)
A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
availableSlotsByChannel - A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
public UserData withAvailableSlotsByChannel(java.util.Map<java.lang.String,java.lang.Integer> availableSlotsByChannel)
A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
Returns a reference to this object so that method calls can be chained together.
availableSlotsByChannel - A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
public UserData addAvailableSlotsByChannelEntry(java.lang.String key, java.lang.Integer value)
A map of available slots by channel. The key is a channel name. The value is an integer: the available number of slots.
The method adds a new key-value pair into AvailableSlotsByChannel parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into AvailableSlotsByChannel.value - The corresponding value of the entry to be added into
AvailableSlotsByChannel.public UserData clearAvailableSlotsByChannelEntries()
Returns a reference to this object so that method calls can be chained together.
public java.util.Map<java.lang.String,java.lang.Integer> getMaxSlotsByChannel()
A map of maximum slots by channel. The key is a channel name. The value
is an integer: the maximum number of slots. This is calculated from MediaConcurrency of the RoutingProfile assigned to the
agent.
A map of maximum slots by channel. The key is a channel name. The
value is an integer: the maximum number of slots. This is
calculated from MediaConcurrency of the RoutingProfile assigned
to the agent.
public void setMaxSlotsByChannel(java.util.Map<java.lang.String,java.lang.Integer> maxSlotsByChannel)
A map of maximum slots by channel. The key is a channel name. The value
is an integer: the maximum number of slots. This is calculated from MediaConcurrency of the RoutingProfile assigned to the
agent.
maxSlotsByChannel -
A map of maximum slots by channel. The key is a channel name.
The value is an integer: the maximum number of slots. This is
calculated from MediaConcurrency of the RoutingProfile
assigned to the agent.
public UserData withMaxSlotsByChannel(java.util.Map<java.lang.String,java.lang.Integer> maxSlotsByChannel)
A map of maximum slots by channel. The key is a channel name. The value
is an integer: the maximum number of slots. This is calculated from MediaConcurrency of the RoutingProfile assigned to the
agent.
Returns a reference to this object so that method calls can be chained together.
maxSlotsByChannel -
A map of maximum slots by channel. The key is a channel name.
The value is an integer: the maximum number of slots. This is
calculated from MediaConcurrency of the RoutingProfile
assigned to the agent.
public UserData addMaxSlotsByChannelEntry(java.lang.String key, java.lang.Integer value)
A map of maximum slots by channel. The key is a channel name. The value
is an integer: the maximum number of slots. This is calculated from MediaConcurrency of the RoutingProfile assigned to the
agent.
The method adds a new key-value pair into MaxSlotsByChannel parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into MaxSlotsByChannel.value - The corresponding value of the entry to be added into
MaxSlotsByChannel.public UserData clearMaxSlotsByChannelEntries()
Returns a reference to this object so that method calls can be chained together.
public java.util.Map<java.lang.String,java.lang.Integer> getActiveSlotsByChannel()
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
public void setActiveSlotsByChannel(java.util.Map<java.lang.String,java.lang.Integer> activeSlotsByChannel)
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
activeSlotsByChannel - A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
public UserData withActiveSlotsByChannel(java.util.Map<java.lang.String,java.lang.Integer> activeSlotsByChannel)
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
Returns a reference to this object so that method calls can be chained together.
activeSlotsByChannel - A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
public UserData addActiveSlotsByChannelEntry(java.lang.String key, java.lang.Integer value)
A map of active slots by channel. The key is a channel name. The value is an integer: the number of active slots.
The method adds a new key-value pair into ActiveSlotsByChannel parameter, and returns a reference to this object so that method calls can be chained together.
key - The key of the entry to be added into ActiveSlotsByChannel.value - The corresponding value of the entry to be added into
ActiveSlotsByChannel.public UserData clearActiveSlotsByChannelEntries()
Returns a reference to this object so that method calls can be chained together.
public java.util.List<AgentContactReference> getContacts()
A list of contact reference information.
A list of contact reference information.
public void setContacts(java.util.Collection<AgentContactReference> contacts)
A list of contact reference information.
contacts - A list of contact reference information.
public UserData withContacts(AgentContactReference... contacts)
A list of contact reference information.
Returns a reference to this object so that method calls can be chained together.
contacts - A list of contact reference information.
public UserData withContacts(java.util.Collection<AgentContactReference> contacts)
A list of contact reference information.
Returns a reference to this object so that method calls can be chained together.
contacts - A list of contact reference information.
public java.lang.String getNextStatus()
The Next status of the agent.
Constraints:
Length: 1 - 127
The Next status of the agent.
public void setNextStatus(java.lang.String nextStatus)
The Next status of the agent.
Constraints:
Length: 1 - 127
nextStatus - The Next status of the agent.
public UserData withNextStatus(java.lang.String nextStatus)
The Next status of the agent.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 127
nextStatus - The Next status of 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