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.QuotaBuilderbuilder()booleanlongStorage space used by deleted items (recycle bin) in bytes.longThe total number of files (not applicable to personal OneDrive accounts).longRemaining storage space in bytes.getState()The storage space state.longgetTotal()Total storage space in bytes.longgetUsed()Used storage space in bytes.inthashCode()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
-
toString
-