Package com.dropbox.core.v2.users
Class SpaceUsage
java.lang.Object
com.dropbox.core.v2.users.SpaceUsage
Information about a user's space usage and quota.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionSpaceUsage(long used, SpaceAllocation allocation) Information about a user's space usage and quota. -
Method Summary
-
Field Details
-
used
protected final long used -
allocation
-
-
Constructor Details
-
SpaceUsage
Information about a user's space usage and quota.- Parameters:
used- The user's total space usage (bytes).allocation- The user's space allocation. Must not benull.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getUsed
public long getUsed()The user's total space usage (bytes).- Returns:
- value for this field.
-
getAllocation
The user's space allocation.- Returns:
- value for this field, never
null.
-
hashCode
public int hashCode() -
equals
-
toString
-
toStringMultiline
Returns a String representation of this object formatted for easier readability.The returned String may contain newlines.
- Returns:
- Formatted, multiline String representation of this object
-