Package com.dropbox.core.v2.team
Class GetActivityReport
java.lang.Object
com.dropbox.core.v2.team.BaseDfbReport
com.dropbox.core.v2.team.GetActivityReport
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 Summary
FieldsModifier and TypeFieldDescriptionFields inherited from class com.dropbox.core.v2.team.BaseDfbReport
startDate -
Constructor Summary
ConstructorsConstructorDescriptionGetActivityReport(String startDate, List<Long> adds, List<Long> edits, List<Long> deletes, List<Long> activeUsers28Day, List<Long> activeUsers7Day, List<Long> activeUsers1Day, List<Long> activeSharedFolders28Day, List<Long> activeSharedFolders7Day, List<Long> activeSharedFolders1Day, List<Long> sharedLinksCreated, List<Long> sharedLinksViewedByTeam, List<Long> sharedLinksViewedByOutsideUser, List<Long> sharedLinksViewedByNotLoggedIn, List<Long> sharedLinksViewedTotal) Activity Report Result. -
Method Summary
Modifier and TypeMethodDescriptionbooleanArray of the number of shared folders with some activity in the last day.Array of the number of shared folders with some activity in the last 28 days.Array of the number of shared folders with some activity in the last week.Array of the number of users who have been active in the last day.Array of the number of users who have been active in the last 28 days.Array of the number of users who have been active in the last week.getAdds()Array of total number of adds by team members.Array of total number of deletes by team members.getEdits()Array of number of edits by team members.Array of the number of shared links created.Array of the number of views by non-logged-in users to shared links created by the team.Array of the number of views by users outside of the team to shared links created by the team.Array of the number of views by team users to shared links created by the team.Array of the total number of views to shared links created by the team.First date present in the results as 'YYYY-MM-DD' or None.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
adds
-
edits
-
deletes
-
activeUsers28Day
-
activeUsers7Day
-
activeUsers1Day
-
-
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 benull.adds- Array of total number of adds by team members. Must not contain anullitem and not benull.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 anullitem and not benull.deletes- Array of total number of deletes by team members. Must not contain anullitem and not benull.activeUsers28Day- Array of the number of users who have been active in the last 28 days. Must not contain anullitem and not benull.activeUsers7Day- Array of the number of users who have been active in the last week. Must not contain anullitem and not benull.activeUsers1Day- Array of the number of users who have been active in the last day. Must not contain anullitem and not benull.activeSharedFolders28Day- Array of the number of shared folders with some activity in the last 28 days. Must not contain anullitem and not benull.activeSharedFolders7Day- Array of the number of shared folders with some activity in the last week. Must not contain anullitem and not benull.activeSharedFolders1Day- Array of the number of shared folders with some activity in the last day. Must not contain anullitem and not benull.sharedLinksCreated- Array of the number of shared links created. Must not contain anullitem and not benull.sharedLinksViewedByTeam- Array of the number of views by team users to shared links created by the team. Must not contain anullitem and not benull.sharedLinksViewedByOutsideUser- Array of the number of views by users outside of the team to shared links created by the team. Must not contain anullitem and not benull.sharedLinksViewedByNotLoggedIn- Array of the number of views by non-logged-in users to shared links created by the team. Must not contain anullitem and not benull.sharedLinksViewedTotal- Array of the total number of views to shared links created by the team. Must not contain anullitem and not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getStartDate
First date present in the results as 'YYYY-MM-DD' or None.- Overrides:
getStartDatein classBaseDfbReport- Returns:
- value for this field, never
null.
-
getAdds
Array of total number of adds by team members.- Returns:
- value for this field, never
null.
-
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
Array of total number of deletes by team members.- Returns:
- value for this field, never
null.
-
getActiveUsers28Day
Array of the number of users who have been active in the last 28 days.- Returns:
- value for this field, never
null.
-
getActiveUsers7Day
Array of the number of users who have been active in the last week.- Returns:
- value for this field, never
null.
-
getActiveUsers1Day
Array of the number of users who have been active in the last day.- Returns:
- value for this field, never
null.
-
hashCode
public int hashCode()- Overrides:
hashCodein classBaseDfbReport
-
equals
- Overrides:
equalsin classBaseDfbReport
-
toString
- Overrides:
toStringin classBaseDfbReport
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Overrides:
toStringMultilinein classBaseDfbReport- Returns:
- Formatted, multiline String representation of this object
-