Class GetTeamEventsResult

java.lang.Object
com.dropbox.core.v2.teamlog.GetTeamEventsResult

public class GetTeamEventsResult extends Object
  • Field Details

    • events

      @Nonnull protected final List<TeamEvent> events
    • cursor

      @Nonnull protected final String cursor
    • hasMore

      protected final boolean hasMore
  • Constructor Details

  • Method Details

    • getEvents

      @Nonnull public 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.
    • getCursor

      @Nonnull public String getCursor()
      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.
      Returns:
      value for this field, never null.
    • getHasMore

      public boolean getHasMore()
      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.
      Returns:
      value for this field.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toStringMultiline

      public 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