Class Quota
java.lang.Object
com.amilesend.onedrive.resource.drive.Quota
Describes details about storage space for a drive.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionstatic Quota.QuotaBuilder
builder()
boolean
long
Storage space used by deleted items (recycle bin) in bytes.long
The total number of files (not applicable to personal OneDrive accounts).long
Remaining storage space in bytes.getState()
The storage space state.long
getTotal()
Total storage space in bytes.long
getUsed()
Used storage space in bytes.int
hashCode()
toString()
-
Method Details
-
builder
-
getTotal
public long getTotal()Total storage space in bytes. -
getUsed
public long getUsed()Used storage space in bytes. -
getRemaining
public long getRemaining()Remaining storage space in bytes. -
getDeleted
public long getDeleted()Storage space used by deleted items (recycle bin) in bytes. -
getState
The storage space state. Valid values include:- normal
- nearing
- critical
- exceeded
-
getFileCount
public long getFileCount()The total number of files (not applicable to personal OneDrive accounts). -
equals
-
hashCode
public int hashCode() -
toString
-