Share via


MicrosoftGraphDriveItem Class

public final class MicrosoftGraphDriveItem
extends MicrosoftGraphBaseItemInner

Represents a drive item.

Constructor Summary

Constructor Description
MicrosoftGraphDriveItem()

Creates an instance of MicrosoftGraphDriveItem class.

Method Summary

Modifier and Type Method and Description
Map<String,Object> additionalProperties()

Get the additionalProperties property: driveItem.

MicrosoftGraphItemAnalytics analytics()

Get the analytics property: itemAnalytics.

MicrosoftGraphAudio audio()

Get the audio property: audio.

List<MicrosoftGraphDriveItem> children()

Get the children property: Collection containing Item objects for the immediate children of Item.

byte[] content()

Get the content property: The content stream, if the item represents a file.

String cTag()

Get the cTag property: An eTag for the content of the item.

MicrosoftGraphDeleted deleted()

Get the deleted property: deleted.

MicrosoftGraphFile file()

Get the file property: file.

MicrosoftGraphFileSystemInfo fileSystemInfo()

Get the fileSystemInfo property: fileSystemInfo.

MicrosoftGraphFolder folder()

Get the folder property: folder.

static MicrosoftGraphDriveItem fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphDriveItem from the JsonReader.

MicrosoftGraphImage image()

Get the image property: image.

MicrosoftGraphListItem listItem()

Get the listItem property: listItem.

MicrosoftGraphGeoCoordinates location()

Get the location property: geoCoordinates.

MicrosoftGraphPackage packageProperty()

Get the packageProperty property: package.

MicrosoftGraphPendingOperations pendingOperations()

Get the pendingOperations property: pendingOperations.

List<MicrosoftGraphPermission> permissions()

Get the permissions property: The set of permissions for the item.

MicrosoftGraphPhoto photo()

Get the photo property: photo.

MicrosoftGraphPublicationFacet publication()

Get the publication property: publicationFacet.

MicrosoftGraphRemoteItem remoteItem()

Get the remoteItem property: remoteItem.

Map<String,Object> root()

Get the root property: root.

MicrosoftGraphSearchResult searchResult()

Get the searchResult property: searchResult.

MicrosoftGraphShared shared()

Get the shared property: shared.

MicrosoftGraphSharepointIds sharepointIds()

Get the sharepointIds property: sharepointIds.

Long size()

Get the size property: Size of the item in bytes.

MicrosoftGraphSpecialFolder specialFolder()

Get the specialFolder property: specialFolder.

List<MicrosoftGraphSubscription> subscriptions()

Get the subscriptions property: The set of subscriptions on the item.

List<MicrosoftGraphThumbnailSet> thumbnails()

Get the thumbnails property: Collection containing [ThumbnailSet][] objects associated with the item.

JsonWriter toJson(JsonWriter jsonWriter)
void validate()

Validates the instance.

List<MicrosoftGraphDriveItemVersion> versions()

Get the versions property: The list of previous versions of the item.

MicrosoftGraphVideo video()

Get the video property: video.

String webDavUrl()

Get the webDavUrl property: WebDAV compatible URL for the item.

MicrosoftGraphDriveItem withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: driveItem.

MicrosoftGraphDriveItem withAnalytics(MicrosoftGraphItemAnalytics analytics)

Set the analytics property: itemAnalytics.

MicrosoftGraphDriveItem withAudio(MicrosoftGraphAudio audio)

Set the audio property: audio.

MicrosoftGraphDriveItem withChildren(List<MicrosoftGraphDriveItem> children)

Set the children property: Collection containing Item objects for the immediate children of Item.

MicrosoftGraphDriveItem withContent(byte[] content)

Set the content property: The content stream, if the item represents a file.

MicrosoftGraphDriveItem withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Set the createdBy property: identitySet.

MicrosoftGraphDriveItem withCreatedByUser(MicrosoftGraphUserInner createdByUser)

Set the createdByUser property: Represents an Azure Active Directory user object.

MicrosoftGraphDriveItem withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: Date and time of item creation.

MicrosoftGraphDriveItem withCTag(String cTag)

Set the cTag property: An eTag for the content of the item.

MicrosoftGraphDriveItem withDeleted(MicrosoftGraphDeleted deleted)

Set the deleted property: deleted.

MicrosoftGraphDriveItem withDescription(String description)

Set the description property: Provides a user-visible description of the item.

MicrosoftGraphDriveItem withEtag(String etag)

Set the etag property: ETag for the item.

MicrosoftGraphDriveItem withFile(MicrosoftGraphFile file)

Set the file property: file.

MicrosoftGraphDriveItem withFileSystemInfo(MicrosoftGraphFileSystemInfo fileSystemInfo)

Set the fileSystemInfo property: fileSystemInfo.

MicrosoftGraphDriveItem withFolder(MicrosoftGraphFolder folder)

Set the folder property: folder.

MicrosoftGraphDriveItem withId(String id)

Set the id property: Read-only.

MicrosoftGraphDriveItem withImage(MicrosoftGraphImage image)

Set the image property: image.

MicrosoftGraphDriveItem withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

MicrosoftGraphDriveItem withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)

Set the lastModifiedByUser property: Represents an Azure Active Directory user object.

MicrosoftGraphDriveItem withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: Date and time the item was last modified.

MicrosoftGraphDriveItem withListItem(MicrosoftGraphListItem listItem)

Set the listItem property: listItem.

MicrosoftGraphDriveItem withLocation(MicrosoftGraphGeoCoordinates location)

Set the location property: geoCoordinates.

MicrosoftGraphDriveItem withName(String name)

Set the name property: The name of the item.

MicrosoftGraphDriveItem withPackageProperty(MicrosoftGraphPackage packageProperty)

Set the packageProperty property: package.

MicrosoftGraphDriveItem withParentReference(MicrosoftGraphItemReference parentReference)

Set the parentReference property: itemReference.

MicrosoftGraphDriveItem withPendingOperations(MicrosoftGraphPendingOperations pendingOperations)

Set the pendingOperations property: pendingOperations.

MicrosoftGraphDriveItem withPermissions(List<MicrosoftGraphPermission> permissions)

Set the permissions property: The set of permissions for the item.

MicrosoftGraphDriveItem withPhoto(MicrosoftGraphPhoto photo)

Set the photo property: photo.

MicrosoftGraphDriveItem withPublication(MicrosoftGraphPublicationFacet publication)

Set the publication property: publicationFacet.

MicrosoftGraphDriveItem withRemoteItem(MicrosoftGraphRemoteItem remoteItem)

Set the remoteItem property: remoteItem.

MicrosoftGraphDriveItem withRoot(Map<String,Object> root)

Set the root property: root.

MicrosoftGraphDriveItem withSearchResult(MicrosoftGraphSearchResult searchResult)

Set the searchResult property: searchResult.

MicrosoftGraphDriveItem withShared(MicrosoftGraphShared shared)

Set the shared property: shared.

MicrosoftGraphDriveItem withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)

Set the sharepointIds property: sharepointIds.

MicrosoftGraphDriveItem withSize(Long size)

Set the size property: Size of the item in bytes.

MicrosoftGraphDriveItem withSpecialFolder(MicrosoftGraphSpecialFolder specialFolder)

Set the specialFolder property: specialFolder.

MicrosoftGraphDriveItem withSubscriptions(List<MicrosoftGraphSubscription> subscriptions)

Set the subscriptions property: The set of subscriptions on the item.

MicrosoftGraphDriveItem withThumbnails(List<MicrosoftGraphThumbnailSet> thumbnails)

Set the thumbnails property: Collection containing [ThumbnailSet][] objects associated with the item.

MicrosoftGraphDriveItem withVersions(List<MicrosoftGraphDriveItemVersion> versions)

Set the versions property: The list of previous versions of the item.

MicrosoftGraphDriveItem withVideo(MicrosoftGraphVideo video)

Set the video property: video.

MicrosoftGraphDriveItem withWebDavUrl(String webDavUrl)

Set the webDavUrl property: WebDAV compatible URL for the item.

MicrosoftGraphDriveItem withWebUrl(String webUrl)

Set the webUrl property: URL that displays the resource in the browser.

MicrosoftGraphDriveItem withWorkbook(MicrosoftGraphWorkbook workbook)

Set the workbook property: workbook.

MicrosoftGraphWorkbook workbook()

Get the workbook property: workbook.

Methods inherited from MicrosoftGraphBaseItemInner

Methods inherited from MicrosoftGraphEntity

id

Methods inherited from java.lang.Object

Constructor Details

MicrosoftGraphDriveItem

public MicrosoftGraphDriveItem()

Creates an instance of MicrosoftGraphDriveItem class.

Method Details

additionalProperties

public Map<String,Object> additionalProperties()

Get the additionalProperties property: driveItem.

Overrides:

MicrosoftGraphDriveItem.additionalProperties()

Returns:

the additionalProperties value.

analytics

public MicrosoftGraphItemAnalytics analytics()

Get the analytics property: itemAnalytics.

Returns:

the analytics value.

audio

public MicrosoftGraphAudio audio()

Get the audio property: audio.

Returns:

the audio value.

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.

content

public byte[] content()

Get the content property: The content stream, if the item represents a file.

Returns:

the content value.

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.

deleted

public MicrosoftGraphDeleted deleted()

Get the deleted property: deleted.

Returns:

the deleted value.

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.

folder

public MicrosoftGraphFolder folder()

Get the folder property: folder.

Returns:

the folder value.

fromJson

public static MicrosoftGraphDriveItem fromJson(JsonReader jsonReader)

Reads an instance of MicrosoftGraphDriveItem from the JsonReader.

Parameters:

jsonReader - The JsonReader being read.

Returns:

An instance of MicrosoftGraphDriveItem if the JsonReader was pointing to an instance of it, or null if it was pointing to JSON null.

Throws:

IOException

- If an error occurs while reading the MicrosoftGraphDriveItem.

image

public MicrosoftGraphImage image()

Get the image property: image.

Returns:

the image value.

listItem

public MicrosoftGraphListItem listItem()

Get the listItem property: listItem.

Returns:

the listItem value.

location

public MicrosoftGraphGeoCoordinates location()

Get the location property: geoCoordinates.

Returns:

the location value.

packageProperty

public MicrosoftGraphPackage packageProperty()

Get the packageProperty property: package.

Returns:

the packageProperty value.

pendingOperations

public MicrosoftGraphPendingOperations pendingOperations()

Get the pendingOperations property: pendingOperations.

Returns:

the pendingOperations value.

permissions

public List<MicrosoftGraphPermission> permissions()

Get the permissions property: The set of permissions for the item. Read-only. Nullable.

Returns:

the permissions value.

photo

public MicrosoftGraphPhoto photo()

Get the photo property: photo.

Returns:

the photo value.

publication

public MicrosoftGraphPublicationFacet publication()

Get the publication property: publicationFacet.

Returns:

the publication value.

remoteItem

public MicrosoftGraphRemoteItem remoteItem()

Get the remoteItem property: remoteItem.

Returns:

the remoteItem value.

root

public Map<String,Object> root()

Get the root property: root.

Returns:

the root value.

searchResult

public MicrosoftGraphSearchResult searchResult()

Get the searchResult property: searchResult.

Returns:

the searchResult value.

shared

public MicrosoftGraphShared shared()

Get the shared property: shared.

Returns:

the shared value.

sharepointIds

public MicrosoftGraphSharepointIds sharepointIds()

Get the sharepointIds property: sharepointIds.

Returns:

the sharepointIds value.

size

public Long size()

Get the size property: Size of the item in bytes. Read-only.

Returns:

the size value.

specialFolder

public MicrosoftGraphSpecialFolder specialFolder()

Get the specialFolder property: specialFolder.

Returns:

the specialFolder value.

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.

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.

toJson

public JsonWriter toJson(JsonWriter jsonWriter)

Overrides:

MicrosoftGraphDriveItem.toJson(JsonWriter jsonWriter)

Parameters:

jsonWriter

Throws:

validate

public void validate()

Validates the instance.

Overrides:

MicrosoftGraphDriveItem.validate()

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.

video

public MicrosoftGraphVideo video()

Get the video property: video.

Returns:

the video value.

webDavUrl

public String webDavUrl()

Get the webDavUrl property: WebDAV compatible URL for the item.

Returns:

the webDavUrl value.

withAdditionalProperties

public MicrosoftGraphDriveItem withAdditionalProperties(Map<String,Object> additionalProperties)

Set the additionalProperties property: driveItem.

Overrides:

MicrosoftGraphDriveItem.withAdditionalProperties(Map<String,Object> additionalProperties)

Parameters:

additionalProperties - the additionalProperties 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.

withAudio

public MicrosoftGraphDriveItem withAudio(MicrosoftGraphAudio audio)

Set the audio property: audio.

Parameters:

audio - the audio value to set.

Returns:

the MicrosoftGraphDriveItem object itself.

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.

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.

withCreatedBy

public MicrosoftGraphDriveItem withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Set the createdBy property: identitySet.

Overrides:

MicrosoftGraphDriveItem.withCreatedBy(MicrosoftGraphIdentitySet createdBy)

Parameters:

createdBy

withCreatedByUser

public MicrosoftGraphDriveItem withCreatedByUser(MicrosoftGraphUserInner createdByUser)

Set the createdByUser property: Represents an Azure Active Directory user object.

Overrides:

MicrosoftGraphDriveItem.withCreatedByUser(MicrosoftGraphUserInner createdByUser)

Parameters:

createdByUser

withCreatedDateTime

public MicrosoftGraphDriveItem withCreatedDateTime(OffsetDateTime createdDateTime)

Set the createdDateTime property: Date and time of item creation. Read-only.

Overrides:

MicrosoftGraphDriveItem.withCreatedDateTime(OffsetDateTime createdDateTime)

Parameters:

createdDateTime

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.

withDeleted

public MicrosoftGraphDriveItem withDeleted(MicrosoftGraphDeleted deleted)

Set the deleted property: deleted.

Parameters:

deleted - the deleted 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:

MicrosoftGraphDriveItem.withDescription(String description)

Parameters:

description

withEtag

public MicrosoftGraphDriveItem withEtag(String etag)

Set the etag property: ETag for the item. Read-only.

Overrides:

MicrosoftGraphDriveItem.withEtag(String etag)

Parameters:

etag

withFile

public MicrosoftGraphDriveItem withFile(MicrosoftGraphFile file)

Set the file property: file.

Parameters:

file - the file value to set.

Returns:

the MicrosoftGraphDriveItem object itself.

withFileSystemInfo

public MicrosoftGraphDriveItem withFileSystemInfo(MicrosoftGraphFileSystemInfo fileSystemInfo)

Set the fileSystemInfo property: fileSystemInfo.

Parameters:

fileSystemInfo - the fileSystemInfo value to set.

Returns:

the MicrosoftGraphDriveItem object itself.

withFolder

public MicrosoftGraphDriveItem withFolder(MicrosoftGraphFolder folder)

Set the folder property: folder.

Parameters:

folder - the folder value to set.

Returns:

the MicrosoftGraphDriveItem object itself.

withId

public MicrosoftGraphDriveItem withId(String id)

Set the id property: Read-only.

Overrides:

MicrosoftGraphDriveItem.withId(String id)

Parameters:

id

withImage

public MicrosoftGraphDriveItem withImage(MicrosoftGraphImage image)

Set the image property: image.

Parameters:

image - the image value to set.

Returns:

the MicrosoftGraphDriveItem object itself.

withLastModifiedBy

public MicrosoftGraphDriveItem withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Set the lastModifiedBy property: identitySet.

Overrides:

MicrosoftGraphDriveItem.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)

Parameters:

lastModifiedBy

withLastModifiedByUser

public MicrosoftGraphDriveItem withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)

Set the lastModifiedByUser property: Represents an Azure Active Directory user object.

Overrides:

MicrosoftGraphDriveItem.withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)

Parameters:

lastModifiedByUser

withLastModifiedDateTime

public MicrosoftGraphDriveItem withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Set the lastModifiedDateTime property: Date and time the item was last modified. Read-only.

Overrides:

MicrosoftGraphDriveItem.withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)

Parameters:

lastModifiedDateTime

withListItem

public MicrosoftGraphDriveItem withListItem(MicrosoftGraphListItem listItem)

Set the listItem property: listItem.

Parameters:

listItem - the listItem value to set.

Returns:

the MicrosoftGraphDriveItem object itself.

withLocation

public MicrosoftGraphDriveItem withLocation(MicrosoftGraphGeoCoordinates location)

Set the location property: geoCoordinates.

Parameters:

location - the location value to set.

Returns:

the MicrosoftGraphDriveItem object itself.

withName

public MicrosoftGraphDriveItem withName(String name)

Set the name property: The name of the item. Read-write.

Overrides:

MicrosoftGraphDriveItem.withName(String name)

Parameters:

name

withPackageProperty

public MicrosoftGraphDriveItem withPackageProperty(MicrosoftGraphPackage packageProperty)

Set the packageProperty property: package.

Parameters:

packageProperty - the packageProperty value to set.

Returns:

the MicrosoftGraphDriveItem object itself.

withParentReference

public MicrosoftGraphDriveItem withParentReference(MicrosoftGraphItemReference parentReference)

Set the parentReference property: itemReference.

Overrides:

MicrosoftGraphDriveItem.withParentReference(MicrosoftGraphItemReference parentReference)

Parameters:

parentReference

withPendingOperations

public MicrosoftGraphDriveItem withPendingOperations(MicrosoftGraphPendingOperations pendingOperations)

Set the pendingOperations property: pendingOperations.

Parameters:

pendingOperations - the pendingOperations value to set.

Returns:

the MicrosoftGraphDriveItem object itself.

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.

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.

withRemoteItem

public MicrosoftGraphDriveItem withRemoteItem(MicrosoftGraphRemoteItem remoteItem)

Set the remoteItem property: remoteItem.

Parameters:

remoteItem - the remoteItem value to set.

Returns:

the MicrosoftGraphDriveItem object itself.

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.

withSearchResult

public MicrosoftGraphDriveItem withSearchResult(MicrosoftGraphSearchResult searchResult)

Set the searchResult property: searchResult.

Parameters:

searchResult - the searchResult value to set.

Returns:

the MicrosoftGraphDriveItem object itself.

withShared

public MicrosoftGraphDriveItem withShared(MicrosoftGraphShared shared)

Set the shared property: shared.

Parameters:

shared - the shared value to set.

Returns:

the MicrosoftGraphDriveItem object itself.

withSharepointIds

public MicrosoftGraphDriveItem withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)

Set the sharepointIds property: sharepointIds.

Parameters:

sharepointIds - the sharepointIds value to set.

Returns:

the MicrosoftGraphDriveItem object itself.

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.

withSpecialFolder

public MicrosoftGraphDriveItem withSpecialFolder(MicrosoftGraphSpecialFolder specialFolder)

Set the specialFolder property: specialFolder.

Parameters:

specialFolder - the specialFolder value to set.

Returns:

the MicrosoftGraphDriveItem object itself.

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.

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.

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.

withVideo

public MicrosoftGraphDriveItem withVideo(MicrosoftGraphVideo video)

Set the video property: video.

Parameters:

video - the video value to set.

Returns:

the MicrosoftGraphDriveItem object itself.

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.

withWebUrl

public MicrosoftGraphDriveItem withWebUrl(String webUrl)

Set the webUrl property: URL that displays the resource in the browser. Read-only.

Overrides:

MicrosoftGraphDriveItem.withWebUrl(String webUrl)

Parameters:

webUrl

withWorkbook

public MicrosoftGraphDriveItem withWorkbook(MicrosoftGraphWorkbook workbook)

Set the workbook property: workbook.

Parameters:

workbook - the workbook value to set.

Returns:

the MicrosoftGraphDriveItem object itself.

workbook

public MicrosoftGraphWorkbook workbook()

Get the workbook property: workbook.

Returns:

the workbook value.

Applies to