public class InsufficientQuotaAmounts
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected long |
spaceLeft |
protected long |
spaceNeeded |
protected long |
spaceShortage |
Constructor and Description |
---|
InsufficientQuotaAmounts(long spaceNeeded,
long spaceShortage,
long spaceLeft) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
long |
getSpaceLeft()
The amount of space left in the user's Dropbox, less than space_needed.
|
long |
getSpaceNeeded()
The amount of space needed to add the item (the size of the item).
|
long |
getSpaceShortage()
The amount of extra space needed to add the item.
|
int |
hashCode() |
java.lang.String |
toString() |
java.lang.String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final long spaceNeeded
protected final long spaceShortage
protected final long spaceLeft
public InsufficientQuotaAmounts(long spaceNeeded, long spaceShortage, long spaceLeft)
spaceNeeded
- The amount of space needed to add the item (the size
of the item).spaceShortage
- The amount of extra space needed to add the item.spaceLeft
- The amount of space left in the user's Dropbox, less
than space_needed.public long getSpaceNeeded()
public long getSpaceShortage()
public long getSpaceLeft()
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.