Package com.dropbox.core.v2.team
Class UserCustomQuotaResult
- java.lang.Object
- 
- com.dropbox.core.v2.team.UserCustomQuotaResult
 
- 
 public class UserCustomQuotaResult extends java.lang.ObjectUser and their custom quota in GB (1 TB = 1024 GB). No quota returns if the user has no custom quota set.
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.LongquotaGbprotected UserSelectorArguser
 - 
Constructor SummaryConstructors Constructor Description UserCustomQuotaResult(UserSelectorArg user)User and their custom quota in GB (1 TB = 1024 GB).UserCustomQuotaResult(UserSelectorArg user, java.lang.Long quotaGb)User and their custom quota in GB (1 TB = 1024 GB).
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.LonggetQuotaGb()UserSelectorArggetUser()inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
userprotected final UserSelectorArg user 
 - 
quotaGbprotected final java.lang.Long quotaGb 
 
- 
 - 
Constructor Detail- 
UserCustomQuotaResultpublic UserCustomQuotaResult(UserSelectorArg user, java.lang.Long quotaGb) User and their custom quota in GB (1 TB = 1024 GB). No quota returns if the user has no custom quota set.- Parameters:
- user- Must not be- null.
- quotaGb- Must be greater than or equal to 15.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
UserCustomQuotaResultpublic UserCustomQuotaResult(UserSelectorArg user) User and their custom quota in GB (1 TB = 1024 GB). No quota returns if the user has no custom quota set.The default values for unset fields will be used. - Parameters:
- user- Must not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getUserpublic UserSelectorArg getUser() - Returns:
- value for this field, never null.
 
 - 
getQuotaGbpublic java.lang.Long getQuotaGb() - Returns:
- value for this field, or nullif not present.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic java.lang.String 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
 
 
- 
 
-