Package com.bytedesk.service.queue
Record Class QueueService.AgentQueuingCount
java.lang.Object
java.lang.Record
com.bytedesk.service.queue.QueueService.AgentQueuingCount
- Enclosing class:
- QueueService
public static record QueueService.AgentQueuingCount(int directQueuingCount, int workgroupUnassignedCount, int totalQueuingCount)
extends Record
客服排队人数统计结果
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final intThe field for thedirectQueuingCountrecord component.private final intThe field for thetotalQueuingCountrecord component.private final intThe field for theworkgroupUnassignedCountrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionAgentQueuingCount(int directQueuingCount, int workgroupUnassignedCount, int totalQueuingCount) Creates an instance of aAgentQueuingCountrecord class. -
Method Summary
Modifier and TypeMethodDescriptionintReturns the value of thedirectQueuingCountrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.intReturns the value of thetotalQueuingCountrecord component.intReturns the value of theworkgroupUnassignedCountrecord component.
-
Field Details
-
directQueuingCount
private final int directQueuingCountThe field for thedirectQueuingCountrecord component. -
workgroupUnassignedCount
private final int workgroupUnassignedCountThe field for theworkgroupUnassignedCountrecord component. -
totalQueuingCount
private final int totalQueuingCountThe field for thetotalQueuingCountrecord component.
-
-
Constructor Details
-
AgentQueuingCount
public AgentQueuingCount(int directQueuingCount, int workgroupUnassignedCount, int totalQueuingCount) Creates an instance of aAgentQueuingCountrecord class.- Parameters:
directQueuingCount- the value for thedirectQueuingCountrecord componentworkgroupUnassignedCount- the value for theworkgroupUnassignedCountrecord componenttotalQueuingCount- the value for thetotalQueuingCountrecord component
-
-
Method Details
-
toString
Returns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components. -
hashCode
public final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components. -
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared with '=='. -
directQueuingCount
public int directQueuingCount()Returns the value of thedirectQueuingCountrecord component.- Returns:
- the value of the
directQueuingCountrecord component
-
workgroupUnassignedCount
public int workgroupUnassignedCount()Returns the value of theworkgroupUnassignedCountrecord component.- Returns:
- the value of the
workgroupUnassignedCountrecord component
-
totalQueuingCount
public int totalQueuingCount()Returns the value of thetotalQueuingCountrecord component.- Returns:
- the value of the
totalQueuingCountrecord component
-