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 classSpecialDriveItem.SpecialDriveItemBuilder<C extends SpecialDriveItem, B extends SpecialDriveItem.SpecialDriveItemBuilder<C,B>> Nested classes/interfaces inherited from class DriveItem
DriveItem.DriveItemBuilder<C,B> Nested classes/interfaces inherited from class BaseItem
BaseItem.BaseItemBuilder<C,B> -
Field Summary
Fields inherited from class DriveItem
DRIVE_ITEM_BASE_URL_PATH -
Method Summary
Modifier and TypeMethodDescriptionstatic SpecialDriveItem.SpecialDriveItemBuilder<?, ?> builder()booleanFetches the list of childDriveItems associated with thisDriveItem.The special folder type.inthashCode()voidsetSpecialFolderType(SpecialFolder.Type specialFolderType) The special folder type.toString()Methods inherited from class 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, uploadNewAsyncMethods inherited from class BaseItem
getCreatedBy, getCreatedDateTime, getDescription, getETag, getId, getLastModifiedBy, getLastModifiedDateTime, getName, getParentReference, getWebUrl, setDescription, setName, setParentReference
-
Method Details
-
getChildren
Description copied from class:DriveItem- Overrides:
getChildrenin classDriveItem- Returns:
- list of child drive items
-
equals
-
hashCode
-
builder
-
toString
-
getSpecialFolderType
The special folder type. -
setSpecialFolderType
The special folder type.
-