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 Summary
Fields 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.BaseDfbReport
startDate
-
-
Constructor Summary
Constructors 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 Summary
All 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
-
totalUsage
protected final java.util.List<java.lang.Long> totalUsage
-
sharedUsage
protected final java.util.List<java.lang.Long> sharedUsage
-
unsharedUsage
protected final java.util.List<java.lang.Long> unsharedUsage
-
sharedFolders
protected final java.util.List<java.lang.Long> sharedFolders
-
memberStorageMap
protected final java.util.List<java.util.List<StorageBucket>> memberStorageMap
-
-
Constructor Detail
-
GetStorageReport
public 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 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:
java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Detail
-
getStartDate
public java.lang.String getStartDate()
First date present in the results as 'YYYY-MM-DD' or None.- Overrides:
getStartDatein classBaseDfbReport- Returns:
- value for this field, never
null.
-
getTotalUsage
public 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.
-
getSharedUsage
public 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.
-
getUnsharedUsage
public 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.
-
getSharedFolders
public 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.
-
getMemberStorageMap
public 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.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classBaseDfbReport
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classBaseDfbReport
-
toString
public java.lang.String toString()
- Overrides:
toStringin 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:
toStringMultilinein classBaseDfbReport- Returns:
- Formatted, multiline String representation of this object
-
-