Package com.dropbox.core.v2.team
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 Summary
Fields Modifier and Type Field Description protected java.util.List<java.lang.Long>
activeSharedFolders1Day
protected java.util.List<java.lang.Long>
activeSharedFolders28Day
protected java.util.List<java.lang.Long>
activeSharedFolders7Day
protected java.util.List<java.lang.Long>
activeUsers1Day
protected java.util.List<java.lang.Long>
activeUsers28Day
protected java.util.List<java.lang.Long>
activeUsers7Day
protected java.util.List<java.lang.Long>
adds
protected java.util.List<java.lang.Long>
deletes
protected java.util.List<java.lang.Long>
edits
protected java.util.List<java.lang.Long>
sharedLinksCreated
protected java.util.List<java.lang.Long>
sharedLinksViewedByNotLoggedIn
protected java.util.List<java.lang.Long>
sharedLinksViewedByOutsideUser
protected java.util.List<java.lang.Long>
sharedLinksViewedByTeam
protected java.util.List<java.lang.Long>
sharedLinksViewedTotal
-
Fields inherited from class com.dropbox.core.v2.team.BaseDfbReport
startDate
-
-
Constructor Summary
Constructors Constructor Description GetActivityReport(java.lang.String startDate, java.util.List<java.lang.Long> adds, java.util.List<java.lang.Long> edits, java.util.List<java.lang.Long> deletes, java.util.List<java.lang.Long> activeUsers28Day, java.util.List<java.lang.Long> activeUsers7Day, java.util.List<java.lang.Long> activeUsers1Day, java.util.List<java.lang.Long> activeSharedFolders28Day, java.util.List<java.lang.Long> activeSharedFolders7Day, java.util.List<java.lang.Long> activeSharedFolders1Day, java.util.List<java.lang.Long> sharedLinksCreated, java.util.List<java.lang.Long> sharedLinksViewedByTeam, java.util.List<java.lang.Long> sharedLinksViewedByOutsideUser, java.util.List<java.lang.Long> sharedLinksViewedByNotLoggedIn, java.util.List<java.lang.Long> sharedLinksViewedTotal)
Activity Report Result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
java.util.List<java.lang.Long>
getActiveSharedFolders1Day()
Array of the number of shared folders with some activity in the last day.java.util.List<java.lang.Long>
getActiveSharedFolders28Day()
Array of the number of shared folders with some activity in the last 28 days.java.util.List<java.lang.Long>
getActiveSharedFolders7Day()
Array of the number of shared folders with some activity in the last week.java.util.List<java.lang.Long>
getActiveUsers1Day()
Array of the number of users who have been active in the last day.java.util.List<java.lang.Long>
getActiveUsers28Day()
Array of the number of users who have been active in the last 28 days.java.util.List<java.lang.Long>
getActiveUsers7Day()
Array of the number of users who have been active in the last week.java.util.List<java.lang.Long>
getAdds()
Array of total number of adds by team members.java.util.List<java.lang.Long>
getDeletes()
Array of total number of deletes by team members.java.util.List<java.lang.Long>
getEdits()
Array of number of edits by team members.java.util.List<java.lang.Long>
getSharedLinksCreated()
Array of the number of shared links created.java.util.List<java.lang.Long>
getSharedLinksViewedByNotLoggedIn()
Array of the number of views by non-logged-in users to shared links created by the team.java.util.List<java.lang.Long>
getSharedLinksViewedByOutsideUser()
Array of the number of views by users outside of the team to shared links created by the team.java.util.List<java.lang.Long>
getSharedLinksViewedByTeam()
Array of the number of views by team users to shared links created by the team.java.util.List<java.lang.Long>
getSharedLinksViewedTotal()
Array of the total number of views to shared links created by the team.java.lang.String
getStartDate()
First date present in the results as 'YYYY-MM-DD' or None.int
hashCode()
java.lang.String
toString()
java.lang.String
toStringMultiline()
Returns a String representation of this object formatted for easier readability.
-
-
-
Field Detail
-
adds
@Nonnull protected final java.util.List<java.lang.Long> adds
-
edits
@Nonnull protected final java.util.List<java.lang.Long> edits
-
deletes
@Nonnull protected final java.util.List<java.lang.Long> deletes
-
activeUsers28Day
@Nonnull protected final java.util.List<java.lang.Long> activeUsers28Day
-
activeUsers7Day
@Nonnull protected final java.util.List<java.lang.Long> activeUsers7Day
-
activeUsers1Day
@Nonnull protected final java.util.List<java.lang.Long> activeUsers1Day
-
activeSharedFolders28Day
@Nonnull protected final java.util.List<java.lang.Long> activeSharedFolders28Day
-
activeSharedFolders7Day
@Nonnull protected final java.util.List<java.lang.Long> activeSharedFolders7Day
-
activeSharedFolders1Day
@Nonnull protected final java.util.List<java.lang.Long> activeSharedFolders1Day
-
sharedLinksCreated
@Nonnull protected final java.util.List<java.lang.Long> sharedLinksCreated
-
sharedLinksViewedByTeam
@Nonnull protected final java.util.List<java.lang.Long> sharedLinksViewedByTeam
-
sharedLinksViewedByOutsideUser
@Nonnull protected final java.util.List<java.lang.Long> sharedLinksViewedByOutsideUser
-
sharedLinksViewedByNotLoggedIn
@Nonnull protected final java.util.List<java.lang.Long> sharedLinksViewedByNotLoggedIn
-
sharedLinksViewedTotal
@Nonnull protected final java.util.List<java.lang.Long> sharedLinksViewedTotal
-
-
Constructor Detail
-
GetActivityReport
public GetActivityReport(@Nonnull java.lang.String startDate, @Nonnull java.util.List<java.lang.Long> adds, @Nonnull java.util.List<java.lang.Long> edits, @Nonnull java.util.List<java.lang.Long> deletes, @Nonnull java.util.List<java.lang.Long> activeUsers28Day, @Nonnull java.util.List<java.lang.Long> activeUsers7Day, @Nonnull java.util.List<java.lang.Long> activeUsers1Day, @Nonnull java.util.List<java.lang.Long> activeSharedFolders28Day, @Nonnull java.util.List<java.lang.Long> activeSharedFolders7Day, @Nonnull java.util.List<java.lang.Long> activeSharedFolders1Day, @Nonnull java.util.List<java.lang.Long> sharedLinksCreated, @Nonnull java.util.List<java.lang.Long> sharedLinksViewedByTeam, @Nonnull java.util.List<java.lang.Long> sharedLinksViewedByOutsideUser, @Nonnull java.util.List<java.lang.Long> sharedLinksViewedByNotLoggedIn, @Nonnull java.util.List<java.lang.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 anull
item 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 anull
item and not benull
.deletes
- Array of total number of deletes by team members. Must not contain anull
item and not benull
.activeUsers28Day
- Array of the number of users who have been active in the last 28 days. Must not contain anull
item and not benull
.activeUsers7Day
- Array of the number of users who have been active in the last week. Must not contain anull
item and not benull
.activeUsers1Day
- Array of the number of users who have been active in the last day. Must not contain anull
item and not benull
.activeSharedFolders28Day
- Array of the number of shared folders with some activity in the last 28 days. Must not contain anull
item and not benull
.activeSharedFolders7Day
- Array of the number of shared folders with some activity in the last week. Must not contain anull
item and not benull
.activeSharedFolders1Day
- Array of the number of shared folders with some activity in the last day. Must not contain anull
item and not benull
.sharedLinksCreated
- Array of the number of shared links created. Must not contain anull
item and not benull
.sharedLinksViewedByTeam
- Array of the number of views by team users to shared links created by the team. Must not contain anull
item 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 anull
item 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 anull
item and not benull
.sharedLinksViewedTotal
- Array of the total number of views to shared links created by the team. Must not contain anull
item and not benull
.- Throws:
java.lang.IllegalArgumentException
- If any argument does not meet its preconditions.
-
-
Method Detail
-
getStartDate
@Nonnull public java.lang.String getStartDate()
First date present in the results as 'YYYY-MM-DD' or None.- Overrides:
getStartDate
in classBaseDfbReport
- Returns:
- value for this field, never
null
.
-
getAdds
@Nonnull public java.util.List<java.lang.Long> getAdds()
Array of total number of adds by team members.- Returns:
- value for this field, never
null
.
-
getEdits
@Nonnull public java.util.List<java.lang.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 java.util.List<java.lang.Long> getDeletes()
Array of total number of deletes by team members.- Returns:
- value for this field, never
null
.
-
getActiveUsers28Day
@Nonnull public java.util.List<java.lang.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 java.util.List<java.lang.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 java.util.List<java.lang.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 java.util.List<java.lang.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 java.util.List<java.lang.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 java.util.List<java.lang.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 java.util.List<java.lang.Long> getSharedLinksCreated()
Array of the number of shared links created.- Returns:
- value for this field, never
null
.
-
getSharedLinksViewedByTeam
@Nonnull public java.util.List<java.lang.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 java.util.List<java.lang.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 java.util.List<java.lang.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 java.util.List<java.lang.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 classBaseDfbReport
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classBaseDfbReport
-
toString
public java.lang.String toString()
- Overrides:
toString
in classBaseDfbReport
-
toStringMultiline
public java.lang.String toStringMultiline()
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Overrides:
toStringMultiline
in classBaseDfbReport
- Returns:
- Formatted, multiline String representation of this object
-
-