Class MicrosoftGraphDriveItem

    • Constructor Detail

      • MicrosoftGraphDriveItem

        public MicrosoftGraphDriveItem()
    • Method Detail

      • audio

        public MicrosoftGraphAudio audio()
        Get the audio property: audio.
        Returns:
        the audio value.
      • withAudio

        public MicrosoftGraphDriveItem withAudio​(MicrosoftGraphAudio audio)
        Set the audio property: audio.
        Parameters:
        audio - the audio value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • content

        public byte[] content()
        Get the content property: The content stream, if the item represents a file.
        Returns:
        the content value.
      • withContent

        public MicrosoftGraphDriveItem withContent​(byte[] content)
        Set the content property: The content stream, if the item represents a file.
        Parameters:
        content - the content value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • cTag

        public String cTag()
        Get the cTag property: An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only.
        Returns:
        the cTag value.
      • withCTag

        public MicrosoftGraphDriveItem withCTag​(String cTag)
        Set the cTag property: An eTag for the content of the item. This eTag is not changed if only the metadata is changed. Note This property is not returned if the item is a folder. Read-only.
        Parameters:
        cTag - the cTag value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • deleted

        public MicrosoftGraphDeleted deleted()
        Get the deleted property: deleted.
        Returns:
        the deleted value.
      • withDeleted

        public MicrosoftGraphDriveItem withDeleted​(MicrosoftGraphDeleted deleted)
        Set the deleted property: deleted.
        Parameters:
        deleted - the deleted value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • file

        public MicrosoftGraphFile file()
        Get the file property: file.
        Returns:
        the file value.
      • fileSystemInfo

        public MicrosoftGraphFileSystemInfo fileSystemInfo()
        Get the fileSystemInfo property: fileSystemInfo.
        Returns:
        the fileSystemInfo value.
      • withFileSystemInfo

        public MicrosoftGraphDriveItem withFileSystemInfo​(MicrosoftGraphFileSystemInfo fileSystemInfo)
        Set the fileSystemInfo property: fileSystemInfo.
        Parameters:
        fileSystemInfo - the fileSystemInfo value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • folder

        public MicrosoftGraphFolder folder()
        Get the folder property: folder.
        Returns:
        the folder value.
      • withFolder

        public MicrosoftGraphDriveItem withFolder​(MicrosoftGraphFolder folder)
        Set the folder property: folder.
        Parameters:
        folder - the folder value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • image

        public MicrosoftGraphImage image()
        Get the image property: image.
        Returns:
        the image value.
      • withImage

        public MicrosoftGraphDriveItem withImage​(MicrosoftGraphImage image)
        Set the image property: image.
        Parameters:
        image - the image value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • packageProperty

        public MicrosoftGraphPackage packageProperty()
        Get the packageProperty property: package.
        Returns:
        the packageProperty value.
      • withPackageProperty

        public MicrosoftGraphDriveItem withPackageProperty​(MicrosoftGraphPackage packageProperty)
        Set the packageProperty property: package.
        Parameters:
        packageProperty - the packageProperty value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • pendingOperations

        public MicrosoftGraphPendingOperations pendingOperations()
        Get the pendingOperations property: pendingOperations.
        Returns:
        the pendingOperations value.
      • withPendingOperations

        public MicrosoftGraphDriveItem withPendingOperations​(MicrosoftGraphPendingOperations pendingOperations)
        Set the pendingOperations property: pendingOperations.
        Parameters:
        pendingOperations - the pendingOperations value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • photo

        public MicrosoftGraphPhoto photo()
        Get the photo property: photo.
        Returns:
        the photo value.
      • withPhoto

        public MicrosoftGraphDriveItem withPhoto​(MicrosoftGraphPhoto photo)
        Set the photo property: photo.
        Parameters:
        photo - the photo value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • withPublication

        public MicrosoftGraphDriveItem withPublication​(MicrosoftGraphPublicationFacet publication)
        Set the publication property: publicationFacet.
        Parameters:
        publication - the publication value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • remoteItem

        public MicrosoftGraphRemoteItem remoteItem()
        Get the remoteItem property: remoteItem.
        Returns:
        the remoteItem value.
      • withRemoteItem

        public MicrosoftGraphDriveItem withRemoteItem​(MicrosoftGraphRemoteItem remoteItem)
        Set the remoteItem property: remoteItem.
        Parameters:
        remoteItem - the remoteItem value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • root

        public Map<String,​Object> root()
        Get the root property: root.
        Returns:
        the root value.
      • withRoot

        public MicrosoftGraphDriveItem withRoot​(Map<String,​Object> root)
        Set the root property: root.
        Parameters:
        root - the root value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • searchResult

        public MicrosoftGraphSearchResult searchResult()
        Get the searchResult property: searchResult.
        Returns:
        the searchResult value.
      • withSearchResult

        public MicrosoftGraphDriveItem withSearchResult​(MicrosoftGraphSearchResult searchResult)
        Set the searchResult property: searchResult.
        Parameters:
        searchResult - the searchResult value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • shared

        public MicrosoftGraphShared shared()
        Get the shared property: shared.
        Returns:
        the shared value.
      • withShared

        public MicrosoftGraphDriveItem withShared​(MicrosoftGraphShared shared)
        Set the shared property: shared.
        Parameters:
        shared - the shared value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • sharepointIds

        public MicrosoftGraphSharepointIds sharepointIds()
        Get the sharepointIds property: sharepointIds.
        Returns:
        the sharepointIds value.
      • withSharepointIds

        public MicrosoftGraphDriveItem withSharepointIds​(MicrosoftGraphSharepointIds sharepointIds)
        Set the sharepointIds property: sharepointIds.
        Parameters:
        sharepointIds - the sharepointIds value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • size

        public Long size()
        Get the size property: Size of the item in bytes. Read-only.
        Returns:
        the size value.
      • withSize

        public MicrosoftGraphDriveItem withSize​(Long size)
        Set the size property: Size of the item in bytes. Read-only.
        Parameters:
        size - the size value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • specialFolder

        public MicrosoftGraphSpecialFolder specialFolder()
        Get the specialFolder property: specialFolder.
        Returns:
        the specialFolder value.
      • withSpecialFolder

        public MicrosoftGraphDriveItem withSpecialFolder​(MicrosoftGraphSpecialFolder specialFolder)
        Set the specialFolder property: specialFolder.
        Parameters:
        specialFolder - the specialFolder value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • video

        public MicrosoftGraphVideo video()
        Get the video property: video.
        Returns:
        the video value.
      • withVideo

        public MicrosoftGraphDriveItem withVideo​(MicrosoftGraphVideo video)
        Set the video property: video.
        Parameters:
        video - the video value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • webDavUrl

        public String webDavUrl()
        Get the webDavUrl property: WebDAV compatible URL for the item.
        Returns:
        the webDavUrl value.
      • withWebDavUrl

        public MicrosoftGraphDriveItem withWebDavUrl​(String webDavUrl)
        Set the webDavUrl property: WebDAV compatible URL for the item.
        Parameters:
        webDavUrl - the webDavUrl value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • workbook

        public MicrosoftGraphWorkbook workbook()
        Get the workbook property: workbook.
        Returns:
        the workbook value.
      • withWorkbook

        public MicrosoftGraphDriveItem withWorkbook​(MicrosoftGraphWorkbook workbook)
        Set the workbook property: workbook.
        Parameters:
        workbook - the workbook value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • withAnalytics

        public MicrosoftGraphDriveItem withAnalytics​(MicrosoftGraphItemAnalytics analytics)
        Set the analytics property: itemAnalytics.
        Parameters:
        analytics - the analytics value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • children

        public List<MicrosoftGraphDriveItem> children()
        Get the children property: Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable.
        Returns:
        the children value.
      • withChildren

        public MicrosoftGraphDriveItem withChildren​(List<MicrosoftGraphDriveItem> children)
        Set the children property: Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable.
        Parameters:
        children - the children value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • listItem

        public MicrosoftGraphListItem listItem()
        Get the listItem property: listItem.
        Returns:
        the listItem value.
      • withListItem

        public MicrosoftGraphDriveItem withListItem​(MicrosoftGraphListItem listItem)
        Set the listItem property: listItem.
        Parameters:
        listItem - the listItem value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • permissions

        public List<MicrosoftGraphPermission> permissions()
        Get the permissions property: The set of permissions for the item. Read-only. Nullable.
        Returns:
        the permissions value.
      • withPermissions

        public MicrosoftGraphDriveItem withPermissions​(List<MicrosoftGraphPermission> permissions)
        Set the permissions property: The set of permissions for the item. Read-only. Nullable.
        Parameters:
        permissions - the permissions value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • subscriptions

        public List<MicrosoftGraphSubscription> subscriptions()
        Get the subscriptions property: The set of subscriptions on the item. Only supported on the root of a drive.
        Returns:
        the subscriptions value.
      • withSubscriptions

        public MicrosoftGraphDriveItem withSubscriptions​(List<MicrosoftGraphSubscription> subscriptions)
        Set the subscriptions property: The set of subscriptions on the item. Only supported on the root of a drive.
        Parameters:
        subscriptions - the subscriptions value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • thumbnails

        public List<MicrosoftGraphThumbnailSet> thumbnails()
        Get the thumbnails property: Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable.
        Returns:
        the thumbnails value.
      • withThumbnails

        public MicrosoftGraphDriveItem withThumbnails​(List<MicrosoftGraphThumbnailSet> thumbnails)
        Set the thumbnails property: Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable.
        Parameters:
        thumbnails - the thumbnails value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • versions

        public List<MicrosoftGraphDriveItemVersion> versions()
        Get the versions property: The list of previous versions of the item. For more info, see [getting previous versions][]. Read-only. Nullable.
        Returns:
        the versions value.
      • withVersions

        public MicrosoftGraphDriveItem withVersions​(List<MicrosoftGraphDriveItemVersion> versions)
        Set the versions property: The list of previous versions of the item. For more info, see [getting previous versions][]. Read-only. Nullable.
        Parameters:
        versions - the versions value to set.
        Returns:
        the MicrosoftGraphDriveItem object itself.
      • withDescription

        public MicrosoftGraphDriveItem withDescription​(String description)
        Set the description property: Provides a user-visible description of the item. Optional.
        Overrides:
        withDescription in class MicrosoftGraphBaseItemInner
        Parameters:
        description - the description value to set.
        Returns:
        the MicrosoftGraphBaseItemInner object itself.