public class UserCustomQuotaResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.Long |
quotaGb |
protected UserSelectorArg |
user |
Constructor and 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).
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Long |
getQuotaGb() |
UserSelectorArg |
getUser() |
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final UserSelectorArg user
protected final java.lang.Long quotaGb
public UserCustomQuotaResult(UserSelectorArg user, java.lang.Long quotaGb)
user
- Must not be null
.quotaGb
- Must be greater than or equal to 15.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public UserCustomQuotaResult(UserSelectorArg user)
The default values for unset fields will be used.
user
- Must not be null
.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public UserSelectorArg getUser()
null
.public java.lang.Long getQuotaGb()
null
if not present.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.