Package com.dropbox.core.v2.team
Class StorageBucket
java.lang.Object
com.dropbox.core.v2.team.StorageBucket
Describes the number of users in a specific storage bucket.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionStorageBucket(String bucket, long users) Describes the number of users in a specific storage bucket. -
Method Summary
-
Field Details
-
bucket
-
users
protected final long users
-
-
Constructor Details
-
StorageBucket
Describes the number of users in a specific storage bucket.- Parameters:
bucket- The name of the storage bucket. For example, '1G' is a bucket of users with storage size up to 1 Giga. Must not benull.users- The number of people whose storage is in the range of this storage bucket.- Throws:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
getBucket
The name of the storage bucket. For example, '1G' is a bucket of users with storage size up to 1 Giga.- Returns:
- value for this field, never
null.
-
getUsers
public long getUsers()The number of people whose storage is in the range of this storage bucket.- Returns:
- value for this field.
-
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
-