MicrosoftGraphDriveItem Class   
	- java.
lang. Object  - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphEntity  - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphBaseItemInner  - com.
azure. resourcemanager. authorization. fluent. models. MicrosoftGraphDriveItem  
- com.
 
- com.
 
- com.
 
public final class MicrosoftGraphDriveItem
 extends MicrosoftGraphBaseItemInner
driveItem.
Constructor Summary
| Constructor | Description | 
|---|---|
| MicrosoftGraphDriveItem() | 
								 Creates an instance of Microsoft  | 
					
Method Summary
| Modifier and Type | Method and Description | 
|---|---|
| Map<String,Object> | 
							additionalProperties()
								 Get the additional  | 
					
| 
									Microsoft | 
						
							analytics()
								 Get the analytics property: item  | 
					
| 
									Microsoft | 
						
							audio()
								 Get the audio property: audio.  | 
					
| 
									List<Microsoft | 
						
							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 c  | 
					
| 
									Microsoft | 
						
							deleted()
								 Get the deleted property: deleted.  | 
					
| 
									Microsoft | 
						
							file()
								 Get the file property: file.  | 
					
| 
									Microsoft | 
						
							fileSystemInfo()
								 Get the file  | 
					
| 
									Microsoft | 
						
							folder()
								 Get the folder property: folder.  | 
					
| 
								static
									Microsoft | 
						
							fromJson(JsonReader jsonReader)
								 Reads an instance of Microsoft  | 
					
| 
									Microsoft | 
						
							image()
								 Get the image property: image.  | 
					
| 
									Microsoft | 
						
							listItem()
								 Get the list  | 
					
| 
									Microsoft | 
						
							location()
								 Get the location property: geo  | 
					
| 
									Microsoft | 
						
							packageProperty()
								 Get the package  | 
					
| 
									Microsoft | 
						
							pendingOperations()
								 Get the pending  | 
					
| 
									List<Microsoft | 
						
							permissions()
								 Get the permissions property: The set of permissions for the item.  | 
					
| 
									Microsoft | 
						
							photo()
								 Get the photo property: photo.  | 
					
| 
									Microsoft | 
						
							publication()
								 Get the publication property: publication  | 
					
| 
									Microsoft | 
						
							remoteItem()
								 Get the remote  | 
					
| Map<String,Object> | 
							root()
								 Get the root property: root.  | 
					
| 
									Microsoft | 
						
							searchResult()
								 Get the search  | 
					
| 
									Microsoft | 
						
							shared()
								 Get the shared property: shared.  | 
					
| 
									Microsoft | 
						
							sharepointIds()
								 Get the sharepoint  | 
					
| Long | 
							size()
								 Get the size property: Size of the item in bytes.  | 
					
| 
									Microsoft | 
						
							specialFolder()
								 Get the special  | 
					
| 
									List<Microsoft | 
						
							subscriptions()
								 Get the subscriptions property: The set of subscriptions on the item.  | 
					
| 
									List<Microsoft | 
						
							thumbnails()
								 Get the thumbnails property: Collection containing [Thumbnail  | 
					
| 
									Json | 
						toJson(JsonWriter jsonWriter) | 
| void | 
							validate()
								 Validates the instance.  | 
					
| 
									List<Microsoft | 
						
							versions()
								 Get the versions property: The list of previous versions of the item.  | 
					
| 
									Microsoft | 
						
							video()
								 Get the video property: video.  | 
					
| String | 
							webDavUrl()
								 Get the web  | 
					
| 
									Microsoft | 
						
							withAdditionalProperties(Map<String,Object> additionalProperties)
								 Set the additional  | 
					
| 
									Microsoft | 
						
							withAnalytics(MicrosoftGraphItemAnalytics analytics)
								 Set the analytics property: item  | 
					
| 
									Microsoft | 
						
							withAudio(MicrosoftGraphAudio audio)
								 Set the audio property: audio.  | 
					
| 
									Microsoft | 
						
							withChildren(List<MicrosoftGraphDriveItem> children)
								 Set the children property: Collection containing Item objects for the immediate children of Item.  | 
					
| 
									Microsoft | 
						
							withContent(byte[] content)
								 Set the content property: The content stream, if the item represents a file.  | 
					
| 
									Microsoft | 
						
							withCreatedBy(MicrosoftGraphIdentitySet createdBy)
								 Set the created  | 
					
| 
									Microsoft | 
						
							withCreatedByUser(MicrosoftGraphUserInner createdByUser)
								 Set the created  | 
					
| 
									Microsoft | 
						
							withCreatedDateTime(OffsetDateTime createdDateTime)
								 Set the created  | 
					
| 
									Microsoft | 
						
							withCTag(String cTag)
								 Set the c  | 
					
| 
									Microsoft | 
						
							withDeleted(MicrosoftGraphDeleted deleted)
								 Set the deleted property: deleted.  | 
					
| 
									Microsoft | 
						
							withDescription(String description)
								 Set the description property: Provides a user-visible description of the item.  | 
					
| 
									Microsoft | 
						
							withEtag(String etag)
								 Set the etag property: ETag for the item.  | 
					
| 
									Microsoft | 
						
							withFile(MicrosoftGraphFile file)
								 Set the file property: file.  | 
					
| 
									Microsoft | 
						
							withFileSystemInfo(MicrosoftGraphFileSystemInfo fileSystemInfo)
								 Set the file  | 
					
| 
									Microsoft | 
						
							withFolder(MicrosoftGraphFolder folder)
								 Set the folder property: folder.  | 
					
| 
									Microsoft | 
						
							withId(String id)
								 Set the id property: Read-only.  | 
					
| 
									Microsoft | 
						
							withImage(MicrosoftGraphImage image)
								 Set the image property: image.  | 
					
| 
									Microsoft | 
						
							withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
								 Set the last  | 
					
| 
									Microsoft | 
						
							withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)
								 Set the last  | 
					
| 
									Microsoft | 
						
							withLastModifiedDateTime(OffsetDateTime lastModifiedDateTime)
								 Set the last  | 
					
| 
									Microsoft | 
						
							withListItem(MicrosoftGraphListItem listItem)
								 Set the list  | 
					
| 
									Microsoft | 
						
							withLocation(MicrosoftGraphGeoCoordinates location)
								 Set the location property: geo  | 
					
| 
									Microsoft | 
						
							withName(String name)
								 Set the name property: The name of the item.  | 
					
| 
									Microsoft | 
						
							withPackageProperty(MicrosoftGraphPackage packageProperty)
								 Set the package  | 
					
| 
									Microsoft | 
						
							withParentReference(MicrosoftGraphItemReference parentReference)
								 Set the parent  | 
					
| 
									Microsoft | 
						
							withPendingOperations(MicrosoftGraphPendingOperations pendingOperations)
								 Set the pending  | 
					
| 
									Microsoft | 
						
							withPermissions(List<MicrosoftGraphPermission> permissions)
								 Set the permissions property: The set of permissions for the item.  | 
					
| 
									Microsoft | 
						
							withPhoto(MicrosoftGraphPhoto photo)
								 Set the photo property: photo.  | 
					
| 
									Microsoft | 
						
							withPublication(MicrosoftGraphPublicationFacet publication)
								 Set the publication property: publication  | 
					
| 
									Microsoft | 
						
							withRemoteItem(MicrosoftGraphRemoteItem remoteItem)
								 Set the remote  | 
					
| 
									Microsoft | 
						
							withRoot(Map<String,Object> root)
								 Set the root property: root.  | 
					
| 
									Microsoft | 
						
							withSearchResult(MicrosoftGraphSearchResult searchResult)
								 Set the search  | 
					
| 
									Microsoft | 
						
							withShared(MicrosoftGraphShared shared)
								 Set the shared property: shared.  | 
					
| 
									Microsoft | 
						
							withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)
								 Set the sharepoint  | 
					
| 
									Microsoft | 
						
							withSize(Long size)
								 Set the size property: Size of the item in bytes.  | 
					
| 
									Microsoft | 
						
							withSpecialFolder(MicrosoftGraphSpecialFolder specialFolder)
								 Set the special  | 
					
| 
									Microsoft | 
						
							withSubscriptions(List<MicrosoftGraphSubscription> subscriptions)
								 Set the subscriptions property: The set of subscriptions on the item.  | 
					
| 
									Microsoft | 
						
							withThumbnails(List<MicrosoftGraphThumbnailSet> thumbnails)
								 Set the thumbnails property: Collection containing [Thumbnail  | 
					
| 
									Microsoft | 
						
							withVersions(List<MicrosoftGraphDriveItemVersion> versions)
								 Set the versions property: The list of previous versions of the item.  | 
					
| 
									Microsoft | 
						
							withVideo(MicrosoftGraphVideo video)
								 Set the video property: video.  | 
					
| 
									Microsoft | 
						
							withWebDavUrl(String webDavUrl)
								 Set the web  | 
					
| 
									Microsoft | 
						
							withWebUrl(String webUrl)
								 Set the web  | 
					
| 
									Microsoft | 
						
							withWorkbook(MicrosoftGraphWorkbook workbook)
								 Set the workbook property: workbook.  | 
					
| 
									Microsoft | 
						
							workbook()
								 Get the workbook property: workbook.  | 
					
Methods inherited from MicrosoftGraphBaseItemInner
Methods inherited from MicrosoftGraphEntity
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:
analytics
public MicrosoftGraphItemAnalytics analytics()
Get the analytics property: itemAnalytics.
Returns:
audio
public MicrosoftGraphAudio audio()
Get the audio property: audio.
Returns:
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:
content
public byte[] content()
Get the content property: The content stream, if the item represents a file.
Returns:
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:
deleted
public MicrosoftGraphDeleted deleted()
Get the deleted property: deleted.
Returns:
file
public MicrosoftGraphFile file()
Get the file property: file.
Returns:
fileSystemInfo
public MicrosoftGraphFileSystemInfo fileSystemInfo()
Get the fileSystemInfo property: fileSystemInfo.
Returns:
folder
public MicrosoftGraphFolder folder()
Get the folder property: folder.
Returns:
fromJson
public static MicrosoftGraphDriveItem fromJson(JsonReader jsonReader)
Reads an instance of MicrosoftGraphDriveItem from the JsonReader.
Parameters:
Returns:
Throws:
image
public MicrosoftGraphImage image()
Get the image property: image.
Returns:
listItem
public MicrosoftGraphListItem listItem()
Get the listItem property: listItem.
Returns:
location
public MicrosoftGraphGeoCoordinates location()
Get the location property: geoCoordinates.
Returns:
packageProperty
public MicrosoftGraphPackage packageProperty()
Get the packageProperty property: package.
Returns:
pendingOperations
public MicrosoftGraphPendingOperations pendingOperations()
Get the pendingOperations property: pendingOperations.
Returns:
permissions
public List<MicrosoftGraphPermission> permissions()
Get the permissions property: The set of permissions for the item. Read-only. Nullable.
Returns:
photo
public MicrosoftGraphPhoto photo()
Get the photo property: photo.
Returns:
publication
public MicrosoftGraphPublicationFacet publication()
Get the publication property: publicationFacet.
Returns:
remoteItem
public MicrosoftGraphRemoteItem remoteItem()
Get the remoteItem property: remoteItem.
Returns:
root
public Map<String,Object> root()
Get the root property: root.
Returns:
searchResult
public MicrosoftGraphSearchResult searchResult()
Get the searchResult property: searchResult.
Returns:
shared
public MicrosoftGraphShared shared()
Get the shared property: shared.
Returns:
sharepointIds
public MicrosoftGraphSharepointIds sharepointIds()
Get the sharepointIds property: sharepointIds.
Returns:
size
public Long size()
Get the size property: Size of the item in bytes. Read-only.
Returns:
specialFolder
public MicrosoftGraphSpecialFolder specialFolder()
Get the specialFolder property: specialFolder.
Returns:
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:
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:
toJson
public JsonWriter toJson(JsonWriter jsonWriter)
Overrides:
MicrosoftGraphDriveItem.toJson(JsonWriter jsonWriter)Parameters:
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:
video
public MicrosoftGraphVideo video()
Get the video property: video.
Returns:
webDavUrl
public String webDavUrl()
Get the webDavUrl property: WebDAV compatible URL for the item.
Returns:
withAdditionalProperties
public MicrosoftGraphDriveItem withAdditionalProperties(Map<String,Object> additionalProperties)
Set the additionalProperties property: driveItem.
Overrides:
MicrosoftGraphDriveItem.withAdditionalProperties(Map<String,Object> additionalProperties)Parameters:
Returns:
withAnalytics
public MicrosoftGraphDriveItem withAnalytics(MicrosoftGraphItemAnalytics analytics)
Set the analytics property: itemAnalytics.
Parameters:
Returns:
withAudio
public MicrosoftGraphDriveItem withAudio(MicrosoftGraphAudio audio)
Set the audio property: audio.
Parameters:
Returns:
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:
Returns:
withContent
public MicrosoftGraphDriveItem withContent(byte[] content)
Set the content property: The content stream, if the item represents a file.
Parameters:
Returns:
withCreatedBy
public MicrosoftGraphDriveItem withCreatedBy(MicrosoftGraphIdentitySet createdBy)
Set the createdBy property: identitySet.
Overrides:
MicrosoftGraphDriveItem.withCreatedBy(MicrosoftGraphIdentitySet createdBy)Parameters:
withCreatedByUser
public MicrosoftGraphDriveItem withCreatedByUser(MicrosoftGraphUserInner createdByUser)
Set the createdByUser property: Represents an Azure Active Directory user object.
Overrides:
MicrosoftGraphDriveItem.withCreatedByUser(MicrosoftGraphUserInner createdByUser)Parameters:
withCreatedDateTime
public MicrosoftGraphDriveItem withCreatedDateTime(OffsetDateTime createdDateTime)
Set the createdDateTime property: Date and time of item creation. Read-only.
Overrides:
MicrosoftGraphDriveItem.withCreatedDateTime(OffsetDateTime createdDateTime)Parameters:
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:
Returns:
withDeleted
public MicrosoftGraphDriveItem withDeleted(MicrosoftGraphDeleted deleted)
Set the deleted property: deleted.
Parameters:
Returns:
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:
withEtag
public MicrosoftGraphDriveItem withEtag(String etag)
Set the etag property: ETag for the item. Read-only.
Overrides:
MicrosoftGraphDriveItem.withEtag(String etag)Parameters:
withFile
public MicrosoftGraphDriveItem withFile(MicrosoftGraphFile file)
Set the file property: file.
Parameters:
Returns:
withFileSystemInfo
public MicrosoftGraphDriveItem withFileSystemInfo(MicrosoftGraphFileSystemInfo fileSystemInfo)
Set the fileSystemInfo property: fileSystemInfo.
Parameters:
Returns:
withFolder
public MicrosoftGraphDriveItem withFolder(MicrosoftGraphFolder folder)
Set the folder property: folder.
Parameters:
Returns:
withId
public MicrosoftGraphDriveItem withId(String id)
Set the id property: Read-only.
Overrides:
MicrosoftGraphDriveItem.withId(String id)Parameters:
withImage
public MicrosoftGraphDriveItem withImage(MicrosoftGraphImage image)
Set the image property: image.
Parameters:
Returns:
withLastModifiedBy
public MicrosoftGraphDriveItem withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)
Set the lastModifiedBy property: identitySet.
Overrides:
MicrosoftGraphDriveItem.withLastModifiedBy(MicrosoftGraphIdentitySet lastModifiedBy)Parameters:
withLastModifiedByUser
public MicrosoftGraphDriveItem withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)
Set the lastModifiedByUser property: Represents an Azure Active Directory user object.
Overrides:
MicrosoftGraphDriveItem.withLastModifiedByUser(MicrosoftGraphUserInner lastModifiedByUser)Parameters:
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:
withListItem
public MicrosoftGraphDriveItem withListItem(MicrosoftGraphListItem listItem)
Set the listItem property: listItem.
Parameters:
Returns:
withLocation
public MicrosoftGraphDriveItem withLocation(MicrosoftGraphGeoCoordinates location)
Set the location property: geoCoordinates.
Parameters:
Returns:
withName
public MicrosoftGraphDriveItem withName(String name)
Set the name property: The name of the item. Read-write.
Overrides:
MicrosoftGraphDriveItem.withName(String name)Parameters:
withPackageProperty
public MicrosoftGraphDriveItem withPackageProperty(MicrosoftGraphPackage packageProperty)
Set the packageProperty property: package.
Parameters:
Returns:
withParentReference
public MicrosoftGraphDriveItem withParentReference(MicrosoftGraphItemReference parentReference)
Set the parentReference property: itemReference.
Overrides:
MicrosoftGraphDriveItem.withParentReference(MicrosoftGraphItemReference parentReference)Parameters:
withPendingOperations
public MicrosoftGraphDriveItem withPendingOperations(MicrosoftGraphPendingOperations pendingOperations)
Set the pendingOperations property: pendingOperations.
Parameters:
Returns:
withPermissions
public MicrosoftGraphDriveItem withPermissions(List<MicrosoftGraphPermission> permissions)
Set the permissions property: The set of permissions for the item. Read-only. Nullable.
Parameters:
Returns:
withPhoto
public MicrosoftGraphDriveItem withPhoto(MicrosoftGraphPhoto photo)
Set the photo property: photo.
Parameters:
Returns:
withPublication
public MicrosoftGraphDriveItem withPublication(MicrosoftGraphPublicationFacet publication)
Set the publication property: publicationFacet.
Parameters:
Returns:
withRemoteItem
public MicrosoftGraphDriveItem withRemoteItem(MicrosoftGraphRemoteItem remoteItem)
Set the remoteItem property: remoteItem.
Parameters:
Returns:
withRoot
public MicrosoftGraphDriveItem withRoot(Map<String,Object> root)
Set the root property: root.
Parameters:
Returns:
withSearchResult
public MicrosoftGraphDriveItem withSearchResult(MicrosoftGraphSearchResult searchResult)
Set the searchResult property: searchResult.
Parameters:
Returns:
withShared
public MicrosoftGraphDriveItem withShared(MicrosoftGraphShared shared)
Set the shared property: shared.
Parameters:
Returns:
withSharepointIds
public MicrosoftGraphDriveItem withSharepointIds(MicrosoftGraphSharepointIds sharepointIds)
Set the sharepointIds property: sharepointIds.
Parameters:
Returns:
withSize
public MicrosoftGraphDriveItem withSize(Long size)
Set the size property: Size of the item in bytes. Read-only.
Parameters:
Returns:
withSpecialFolder
public MicrosoftGraphDriveItem withSpecialFolder(MicrosoftGraphSpecialFolder specialFolder)
Set the specialFolder property: specialFolder.
Parameters:
Returns:
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:
Returns:
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:
Returns:
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:
Returns:
withVideo
public MicrosoftGraphDriveItem withVideo(MicrosoftGraphVideo video)
Set the video property: video.
Parameters:
Returns:
withWebDavUrl
public MicrosoftGraphDriveItem withWebDavUrl(String webDavUrl)
Set the webDavUrl property: WebDAV compatible URL for the item.
Parameters:
Returns:
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:
withWorkbook
public MicrosoftGraphDriveItem withWorkbook(MicrosoftGraphWorkbook workbook)
Set the workbook property: workbook.
Parameters:
Returns:
workbook
public MicrosoftGraphWorkbook workbook()
Get the workbook property: workbook.
Returns: