Class SpecialDriveItem
java.lang.Object
com.amilesend.onedrive.resource.item.BaseItem
com.amilesend.onedrive.resource.item.DriveItem
com.amilesend.onedrive.resource.item.SpecialDriveItem
Represent a special drive folder.
a href="https://learn.microsoft.com/en-us/onedrive/developer/rest-api/api/drive_get_specialfolder"> API Documentation.
Note: Documentation mentions to reference special folder by name, but seems to be by id instead (e.g., "approot" instead of "App+Root" in the path).
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
SpecialDriveItem.SpecialDriveItemBuilder<C extends SpecialDriveItem,
B extends SpecialDriveItem.SpecialDriveItemBuilder<C, B>> Nested classes/interfaces inherited from class com.amilesend.onedrive.resource.item.DriveItem
DriveItem.DriveItemBuilder<C extends DriveItem,
B extends DriveItem.DriveItemBuilder<C, B>> Nested classes/interfaces inherited from class com.amilesend.onedrive.resource.item.BaseItem
BaseItem.BaseItemBuilder<C extends BaseItem,
B extends BaseItem.BaseItemBuilder<C, B>> -
Field Summary
Fields inherited from class com.amilesend.onedrive.resource.item.DriveItem
DRIVE_ITEM_BASE_URL_PATH
-
Method Summary
Modifier and TypeMethodDescriptionstatic SpecialDriveItem.SpecialDriveItemBuilder
<?, ?> builder()
boolean
Fetches the list of childDriveItem
s associated with thisDriveItem
.The special folder type.int
hashCode()
void
setSpecialFolderType
(SpecialFolder.Type specialFolderType) The special folder type.toString()
Methods inherited from class com.amilesend.onedrive.resource.item.DriveItem
addPermission, copy, create, createSharingLink, delete, download, downloadAsync, get_package, getActivities, getAudio, getConflictBehavior, getConnection, getCTag, getDeleted, getDownloadUrl, getFile, getFileSystemInfo, getFolder, getImage, getLocation, getMalware, getPermissions, getPhoto, getPublication, getRemoteItem, getRoot, getSearchResult, getShared, getSharepointIds, getSize, getSourceUrl, getSpecialFolder, getThumbnails, getVersions, getVideo, move, previewItem, search, setConflictBehavior, setFileSystemInfo, setSourceUrl, update, upload, uploadAsync, uploadNew, uploadNewAsync
Methods inherited from class com.amilesend.onedrive.resource.item.BaseItem
getCreatedBy, getCreatedDateTime, getDescription, getETag, getId, getLastModifiedBy, getLastModifiedDateTime, getName, getParentReference, getWebUrl, setDescription, setName, setParentReference
-
Method Details
-
getChildren
Description copied from class:DriveItem
- Overrides:
getChildren
in classDriveItem
- Returns:
- list of child drive items
-
equals
-
hashCode
public int hashCode() -
builder
-
toString
-
getSpecialFolderType
The special folder type. -
setSpecialFolderType
The special folder type.
-