Class 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.
    • 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
      boolean equals​(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.String getStartDate()
      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.
      int hashCode()  
      java.lang.String toString()  
      java.lang.String toStringMultiline()
      Returns a String representation of this object formatted for easier readability.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • 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 be null.
        totalUsage - Sum of the shared, unshared, and datastore usages, for each day. Must not contain a null item and not be null.
        sharedUsage - Array of the combined size (bytes) of team members' shared folders, for each day. Must not contain a null item and not be null.
        unsharedUsage - Array of the combined size (bytes) of team members' root namespaces, for each day. Must not contain a null item and not be null.
        sharedFolders - Array of the number of shared folders owned by team members, for each day. Must not contain a null item 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 null item and not be null.
        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:
        getStartDate in class BaseDfbReport
        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.
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class BaseDfbReport
      • 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 class BaseDfbReport
        Returns:
        Formatted, multiline String representation of this object