Package zendesk.support
Class RequestUpdates
- java.lang.Object
-
- zendesk.support.RequestUpdates
-
public final class RequestUpdates extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor and Description RequestUpdates(java.util.Map<java.lang.String,java.lang.Integer> requestIds)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method and Description java.util.Map<java.lang.String,java.lang.Integer>
getRequestUpdates()
boolean
hasUpdatedRequests()
boolean
isRequestUnread(java.lang.String requestId)
int
totalUpdates()
-
-
-
Method Detail
-
getRequestUpdates
public java.util.Map<java.lang.String,java.lang.Integer> getRequestUpdates()
-
isRequestUnread
public boolean isRequestUnread(java.lang.String requestId)
-
hasUpdatedRequests
public boolean hasUpdatedRequests()
- Returns:
- a map of request IDs to update counts
-
totalUpdates
public int totalUpdates()
- Returns:
- the sum of all updates for all requests
-
-