Package com.dropbox.core.v2.team
Class GetStorageReport
java.lang.Object
com.dropbox.core.v2.team.BaseDfbReport
com.dropbox.core.v2.team.GetStorageReport
Storage 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
FieldsFields inherited from class com.dropbox.core.v2.team.BaseDfbReport
startDate -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanArray of storage summaries of team members' account sizes.Array of the number of shared folders owned by team members, for each day.Array of the combined size (bytes) of team members' shared folders, for each day.First date present in the results as 'YYYY-MM-DD' or None.Sum of the shared, unshared, and datastore usages, for each day.Array of the combined size (bytes) of team members' root namespaces, for each day.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
totalUsage
-
memberStorageMap
-
-
Constructor Details
-
GetStorageReport
public GetStorageReport(@Nonnull String startDate, @Nonnull List<Long> totalUsage, @Nonnull List<Long> sharedUsage, @Nonnull List<Long> unsharedUsage, @Nonnull List<Long> sharedFolders, @Nonnull List<List<StorageBucket>> memberStorageMap) Storage 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.totalUsage- Sum of the shared, unshared, and datastore usages, for each day. Must not contain anullitem and not benull.sharedUsage- Array of the combined size (bytes) of team members' shared folders, for each day. Must not contain anullitem and not benull.unsharedUsage- Array of the combined size (bytes) of team members' root namespaces, for each day. Must not contain anullitem and not benull.sharedFolders- Array of the number of shared folders owned by team members, for each day. Must not contain anullitem and not benull.memberStorageMap- Array of storage summaries of team members' account sizes. Each storage summary is an array of key, value pairs, where each pair describes a storage bucket. The key indicates the upper bound of the bucket and the value is the number of users in that bucket. There is one such summary per day. If there is no data for a day, the storage summary will be empty. 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.
-
getTotalUsage
Sum of the shared, unshared, and datastore usages, for each day.- Returns:
- value for this field, never
null.
-
getMemberStorageMap
Array of storage summaries of team members' account sizes. Each storage summary is an array of key, value pairs, where each pair describes a storage bucket. The key indicates the upper bound of the bucket and the value is the number of users in that bucket. There is one such summary per day. If there is no data for a day, the storage summary will be empty.- 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
-