Class GetActivityReport

java.lang.Object
com.dropbox.core.v2.team.BaseDfbReport
com.dropbox.core.v2.team.GetActivityReport

public class GetActivityReport extends BaseDfbReport
Activity Report Result. Each of the items in the storage report is an array of values, one value per day. If there is no data for a day, then the value will be None.
  • Field Details

    • adds

      @Nonnull protected final List<Long> adds
    • edits

      @Nonnull protected final List<Long> edits
    • deletes

      @Nonnull protected final List<Long> deletes
    • activeUsers28Day

      @Nonnull protected final List<Long> activeUsers28Day
    • activeUsers7Day

      @Nonnull protected final List<Long> activeUsers7Day
    • activeUsers1Day

      @Nonnull protected final List<Long> activeUsers1Day
    • activeSharedFolders28Day

      @Nonnull protected final List<Long> activeSharedFolders28Day
    • activeSharedFolders7Day

      @Nonnull protected final List<Long> activeSharedFolders7Day
    • activeSharedFolders1Day

      @Nonnull protected final List<Long> activeSharedFolders1Day
    • sharedLinksCreated

      @Nonnull protected final List<Long> sharedLinksCreated
    • sharedLinksViewedByTeam

      @Nonnull protected final List<Long> sharedLinksViewedByTeam
    • sharedLinksViewedByOutsideUser

      @Nonnull protected final List<Long> sharedLinksViewedByOutsideUser
    • sharedLinksViewedByNotLoggedIn

      @Nonnull protected final List<Long> sharedLinksViewedByNotLoggedIn
    • sharedLinksViewedTotal

      @Nonnull protected final List<Long> sharedLinksViewedTotal
  • Constructor Details

    • GetActivityReport

      public GetActivityReport(@Nonnull String startDate, @Nonnull List<Long> adds, @Nonnull List<Long> edits, @Nonnull List<Long> deletes, @Nonnull List<Long> activeUsers28Day, @Nonnull List<Long> activeUsers7Day, @Nonnull List<Long> activeUsers1Day, @Nonnull List<Long> activeSharedFolders28Day, @Nonnull List<Long> activeSharedFolders7Day, @Nonnull List<Long> activeSharedFolders1Day, @Nonnull List<Long> sharedLinksCreated, @Nonnull List<Long> sharedLinksViewedByTeam, @Nonnull List<Long> sharedLinksViewedByOutsideUser, @Nonnull List<Long> sharedLinksViewedByNotLoggedIn, @Nonnull List<Long> sharedLinksViewedTotal)
      Activity Report Result. Each of the items in the storage report is an array of values, one value per day. If there is no data for a day, then the value will be None.
      Parameters:
      startDate - First date present in the results as 'YYYY-MM-DD' or None. Must not be null.
      adds - Array of total number of adds by team members. Must not contain a null item and not be null.
      edits - Array of number of edits by team members. If the same user edits the same file multiple times this is counted as a single edit. Must not contain a null item and not be null.
      deletes - Array of total number of deletes by team members. Must not contain a null item and not be null.
      activeUsers28Day - Array of the number of users who have been active in the last 28 days. Must not contain a null item and not be null.
      activeUsers7Day - Array of the number of users who have been active in the last week. Must not contain a null item and not be null.
      activeUsers1Day - Array of the number of users who have been active in the last day. Must not contain a null item and not be null.
      activeSharedFolders28Day - Array of the number of shared folders with some activity in the last 28 days. Must not contain a null item and not be null.
      activeSharedFolders7Day - Array of the number of shared folders with some activity in the last week. Must not contain a null item and not be null.
      activeSharedFolders1Day - Array of the number of shared folders with some activity in the last day. Must not contain a null item and not be null.
      sharedLinksCreated - Array of the number of shared links created. Must not contain a null item and not be null.
      sharedLinksViewedByTeam - Array of the number of views by team users to shared links created by the team. Must not contain a null item and not be null.
      sharedLinksViewedByOutsideUser - Array of the number of views by users outside of the team to shared links created by the team. Must not contain a null item and not be null.
      sharedLinksViewedByNotLoggedIn - Array of the number of views by non-logged-in users to shared links created by the team. Must not contain a null item and not be null.
      sharedLinksViewedTotal - Array of the total number of views to shared links created by the team. Must not contain a null item and not be null.
      Throws:
      IllegalArgumentException - If any argument does not meet its preconditions.
  • Method Details

    • getStartDate

      @Nonnull public String getStartDate()
      First date present in the results as 'YYYY-MM-DD' or None.
      Overrides:
      getStartDate in class BaseDfbReport
      Returns:
      value for this field, never null.
    • getAdds

      @Nonnull public List<Long> getAdds()
      Array of total number of adds by team members.
      Returns:
      value for this field, never null.
    • getEdits

      @Nonnull public List<Long> getEdits()
      Array of number of edits by team members. If the same user edits the same file multiple times this is counted as a single edit.
      Returns:
      value for this field, never null.
    • getDeletes

      @Nonnull public List<Long> getDeletes()
      Array of total number of deletes by team members.
      Returns:
      value for this field, never null.
    • getActiveUsers28Day

      @Nonnull public List<Long> getActiveUsers28Day()
      Array of the number of users who have been active in the last 28 days.
      Returns:
      value for this field, never null.
    • getActiveUsers7Day

      @Nonnull public List<Long> getActiveUsers7Day()
      Array of the number of users who have been active in the last week.
      Returns:
      value for this field, never null.
    • getActiveUsers1Day

      @Nonnull public List<Long> getActiveUsers1Day()
      Array of the number of users who have been active in the last day.
      Returns:
      value for this field, never null.
    • getActiveSharedFolders28Day

      @Nonnull public List<Long> getActiveSharedFolders28Day()
      Array of the number of shared folders with some activity in the last 28 days.
      Returns:
      value for this field, never null.
    • getActiveSharedFolders7Day

      @Nonnull public List<Long> getActiveSharedFolders7Day()
      Array of the number of shared folders with some activity in the last week.
      Returns:
      value for this field, never null.
    • getActiveSharedFolders1Day

      @Nonnull public List<Long> getActiveSharedFolders1Day()
      Array of the number of shared folders with some activity in the last day.
      Returns:
      value for this field, never null.
    • getSharedLinksCreated

      @Nonnull public List<Long> getSharedLinksCreated()
      Array of the number of shared links created.
      Returns:
      value for this field, never null.
    • getSharedLinksViewedByTeam

      @Nonnull public List<Long> getSharedLinksViewedByTeam()
      Array of the number of views by team users to shared links created by the team.
      Returns:
      value for this field, never null.
    • getSharedLinksViewedByOutsideUser

      @Nonnull public List<Long> getSharedLinksViewedByOutsideUser()
      Array of the number of views by users outside of the team to shared links created by the team.
      Returns:
      value for this field, never null.
    • getSharedLinksViewedByNotLoggedIn

      @Nonnull public List<Long> getSharedLinksViewedByNotLoggedIn()
      Array of the number of views by non-logged-in users to shared links created by the team.
      Returns:
      value for this field, never null.
    • getSharedLinksViewedTotal

      @Nonnull public List<Long> getSharedLinksViewedTotal()
      Array of the total number of views to shared links created by the team.
      Returns:
      value for this field, never null.
    • hashCode

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

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

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

      public String toStringMultiline()
      Returns a String representation of this object formatted for easier readability.

      The returned String may contain newlines.

      Overrides:
      toStringMultiline in class BaseDfbReport
      Returns:
      Formatted, multiline String representation of this object