Package com.dropbox.core.v2.teamlog
Class GetTeamEventsResult
- java.lang.Object
- 
- com.dropbox.core.v2.teamlog.GetTeamEventsResult
 
- 
 public class GetTeamEventsResult extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description GetTeamEventsResult(java.util.List<TeamEvent> events, java.lang.String cursor, boolean hasMore)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetCursor()Pass the cursor intoDbxTeamTeamLogRequests.getEventsContinue(String)to obtain additional events.java.util.List<TeamEvent>getEvents()List of events.booleangetHasMore()Is true if there may be additional events that have not been returned yet.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
eventsprotected final java.util.List<TeamEvent> events 
 - 
cursorprotected final java.lang.String cursor 
 - 
hasMoreprotected final boolean hasMore 
 
- 
 - 
Constructor Detail- 
GetTeamEventsResultpublic GetTeamEventsResult(java.util.List<TeamEvent> events, java.lang.String cursor, boolean hasMore) - Parameters:
- events- List of events. Note that events are not guaranteed to be sorted by their timestamp value. Must not contain a- nullitem and not be- null.
- cursor- Pass the cursor into- DbxTeamTeamLogRequests.getEventsContinue(String)to obtain additional events. The value of- getCursor()may change for each response from- DbxTeamTeamLogRequests.getEventsContinue(String), regardless of the value of- getHasMore(); older cursor strings may expire. Thus, callers should ensure that they update their cursor based on the latest value of- getCursor()after each call, and poll regularly if they wish to poll for new events. Callers should handle reset exceptions for expired cursors. Must not be- null.
- hasMore- Is true if there may be additional events that have not been returned yet. An additional call to- DbxTeamTeamLogRequests.getEventsContinue(String)can retrieve them. Note that- getHasMore()may be- true, even if- getEvents()is empty.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getEventspublic java.util.List<TeamEvent> getEvents() List of events. Note that events are not guaranteed to be sorted by their timestamp value.- Returns:
- value for this field, never null.
 
 - 
getCursorpublic java.lang.String getCursor() Pass the cursor intoDbxTeamTeamLogRequests.getEventsContinue(String)to obtain additional events. The value ofgetCursor()may change for each response fromDbxTeamTeamLogRequests.getEventsContinue(String), regardless of the value ofgetHasMore(); older cursor strings may expire. Thus, callers should ensure that they update their cursor based on the latest value ofgetCursor()after each call, and poll regularly if they wish to poll for new events. Callers should handle reset exceptions for expired cursors.- Returns:
- value for this field, never null.
 
 - 
getHasMorepublic boolean getHasMore() Is true if there may be additional events that have not been returned yet. An additional call toDbxTeamTeamLogRequests.getEventsContinue(String)can retrieve them. Note thatgetHasMore()may betrue, even ifgetEvents()is empty.- Returns:
- value for this field.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic java.lang.String toStringMultiline() Returns a String representation of this object formatted for easier readability.The returned String may contain newlines. - Returns:
- Formatted, multiline String representation of this object
 
 
- 
 
-