Package com.dropbox.core.v2.team
Class GetStorageReport
- java.lang.Object
- 
- com.dropbox.core.v2.team.BaseDfbReport
- 
- com.dropbox.core.v2.team.GetStorageReport
 
 
- 
 public class GetStorageReport extends BaseDfbReport 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 SummaryFields Modifier and Type Field Description protected java.util.List<java.util.List<StorageBucket>>memberStorageMapprotected java.util.List<java.lang.Long>sharedFoldersprotected java.util.List<java.lang.Long>sharedUsageprotected java.util.List<java.lang.Long>totalUsageprotected java.util.List<java.lang.Long>unsharedUsage- 
Fields inherited from class com.dropbox.core.v2.team.BaseDfbReportstartDate
 
- 
 - 
Constructor SummaryConstructors Constructor Description GetStorageReport(java.lang.String startDate, java.util.List<java.lang.Long> totalUsage, java.util.List<java.lang.Long> sharedUsage, java.util.List<java.lang.Long> unsharedUsage, java.util.List<java.lang.Long> sharedFolders, java.util.List<java.util.List<StorageBucket>> memberStorageMap)Storage Report Result.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<java.util.List<StorageBucket>>getMemberStorageMap()Array of storage summaries of team members' account sizes.java.util.List<java.lang.Long>getSharedFolders()Array of the number of shared folders owned by team members, for each day.java.util.List<java.lang.Long>getSharedUsage()Array of the combined size (bytes) of team members' shared folders, for each day.java.lang.StringgetStartDate()First date present in the results as 'YYYY-MM-DD' or None.java.util.List<java.lang.Long>getTotalUsage()Sum of the shared, unshared, and datastore usages, for each day.java.util.List<java.lang.Long>getUnsharedUsage()Array of the combined size (bytes) of team members' root namespaces, for each day.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
totalUsageprotected final java.util.List<java.lang.Long> totalUsage 
 - 
sharedUsageprotected final java.util.List<java.lang.Long> sharedUsage 
 - 
unsharedUsageprotected final java.util.List<java.lang.Long> unsharedUsage 
 - 
sharedFoldersprotected final java.util.List<java.lang.Long> sharedFolders 
 - 
memberStorageMapprotected final java.util.List<java.util.List<StorageBucket>> memberStorageMap 
 
- 
 - 
Constructor Detail- 
GetStorageReportpublic GetStorageReport(java.lang.String startDate, java.util.List<java.lang.Long> totalUsage, java.util.List<java.lang.Long> sharedUsage, java.util.List<java.lang.Long> unsharedUsage, java.util.List<java.lang.Long> sharedFolders, java.util.List<java.util.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 be- null.
- totalUsage- Sum of the shared, unshared, and datastore usages, for each day. Must not contain a- nullitem and not be- null.
- sharedUsage- Array of the combined size (bytes) of team members' shared folders, for each day. Must not contain a- nullitem and not be- null.
- unsharedUsage- Array of the combined size (bytes) of team members' root namespaces, for each day. Must not contain a- nullitem and not be- null.
- sharedFolders- Array of the number of shared folders owned by team members, for each day. Must not contain a- nullitem and not be- null.
- 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 a- nullitem and not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getStartDatepublic java.lang.String getStartDate() First date present in the results as 'YYYY-MM-DD' or None.- Overrides:
- getStartDatein class- BaseDfbReport
- Returns:
- value for this field, never null.
 
 - 
getTotalUsagepublic java.util.List<java.lang.Long> getTotalUsage() Sum of the shared, unshared, and datastore usages, for each day.- Returns:
- value for this field, never null.
 
 - 
getSharedUsagepublic java.util.List<java.lang.Long> getSharedUsage() Array of the combined size (bytes) of team members' shared folders, for each day.- Returns:
- value for this field, never null.
 
 - 
getUnsharedUsagepublic java.util.List<java.lang.Long> getUnsharedUsage() Array of the combined size (bytes) of team members' root namespaces, for each day.- Returns:
- value for this field, never null.
 
 - 
getSharedFolderspublic java.util.List<java.lang.Long> getSharedFolders() Array of the number of shared folders owned by team members, for each day.- Returns:
- value for this field, never null.
 
 - 
getMemberStorageMappublic java.util.List<java.util.List<StorageBucket>> 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.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- BaseDfbReport
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- BaseDfbReport
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- BaseDfbReport
 
 - 
toStringMultilinepublic java.lang.String toStringMultiline() Returns a String representation of this object formatted for easier readability.The returned String may contain newlines. - Overrides:
- toStringMultilinein class- BaseDfbReport
- Returns:
- Formatted, multiline String representation of this object
 
 
- 
 
-