Package com.microsoft.graph.models
Class DriveItem
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.BaseItem
com.microsoft.graph.models.DriveItem
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
The class for the Drive Item.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Analytics.The Audio.The Bundle.The Children.The CTag.The Deleted.The File.The File System Info.The Folder.The Image.The List Item.The Location.The Malware.The Package.The Pending Operations.The Permissions.The Photo.The Publication.The Remote Item.The Root.The Search Result.The Shared.The Sharepoint Ids.The Size.The Special Folder.The Subscriptions.The Thumbnails.The Versions.The Video.The Web Dav Url.The Workbook.Fields inherited from class com.microsoft.graph.models.BaseItem
createdBy, createdByUser, createdDateTime, description, eTag, lastModifiedBy, lastModifiedByUser, lastModifiedDateTime, name, parentReference, webUrl -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON objectMethods inherited from class com.microsoft.graph.models.Entity
additionalDataManagerMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.microsoft.graph.serializer.IJsonBackedObject
additionalDataManager
-
Field Details
-
audio
The Audio. Audio metadata, if the item is an audio file. Read-only. Read-only. Only on OneDrive Personal. -
bundle
The Bundle. Bundle metadata, if the item is a bundle. Read-only. -
cTag
The CTag. 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. -
deleted
The Deleted. Information about the deleted state of the item. Read-only. -
file
The File. File metadata, if the item is a file. Read-only. -
fileSystemInfo
@SerializedName(value="fileSystemInfo", alternate="FileSystemInfo") @Expose @Nullable public FileSystemInfo fileSystemInfoThe File System Info. File system information on client. Read-write. -
folder
The Folder. Folder metadata, if the item is a folder. Read-only. -
image
The Image. Image metadata, if the item is an image. Read-only. -
location
@SerializedName(value="location", alternate="Location") @Expose @Nullable public GeoCoordinates locationThe Location. Location metadata, if the item has location data. Read-only. -
malware
The Malware. Malware metadata, if the item was detected to contain malware. Read-only. -
msgraphPackage
@SerializedName(value="package", alternate="Package") @Expose @Nullable public Package msgraphPackageThe Package. If present, indicates that this item is a package instead of a folder or file. Packages are treated like files in some contexts and folders in others. Read-only. -
pendingOperations
@SerializedName(value="pendingOperations", alternate="PendingOperations") @Expose @Nullable public PendingOperations pendingOperationsThe Pending Operations. If present, indicates that one or more operations that might affect the state of the driveItem are pending completion. Read-only. -
photo
The Photo. Photo metadata, if the item is a photo. Read-only. -
publication
@SerializedName(value="publication", alternate="Publication") @Expose @Nullable public PublicationFacet publicationThe Publication. Provides information about the published or checked-out state of an item, in locations that support such actions. This property is not returned by default. Read-only. -
remoteItem
@SerializedName(value="remoteItem", alternate="RemoteItem") @Expose @Nullable public RemoteItem remoteItemThe Remote Item. Remote item data, if the item is shared from a drive other than the one being accessed. Read-only. -
root
The Root. If this property is non-null, it indicates that the driveItem is the top-most driveItem in the drive. -
searchResult
@SerializedName(value="searchResult", alternate="SearchResult") @Expose @Nullable public SearchResult searchResultThe Search Result. Search metadata, if the item is from a search result. Read-only. -
size
The Size. Size of the item in bytes. Read-only. -
specialFolder
@SerializedName(value="specialFolder", alternate="SpecialFolder") @Expose @Nullable public SpecialFolder specialFolderThe Special Folder. If the current item is also available as a special folder, this facet is returned. Read-only. -
video
The Video. Video metadata, if the item is a video. Read-only. -
webDavUrl
The Web Dav Url. WebDAV compatible URL for the item. -
workbook
The Workbook. For files that are Excel spreadsheets, accesses the workbook API to work with the spreadsheet's contents. Nullable. -
analytics
@SerializedName(value="analytics", alternate="Analytics") @Expose @Nullable public ItemAnalytics analyticsThe Analytics. Analytics about the view activities that took place on this item. -
children
@SerializedName(value="children", alternate="Children") @Expose @Nullable public DriveItemCollectionPage childrenThe Children. Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable. -
listItem
The List Item. For drives in SharePoint, the associated document library list item. Read-only. Nullable. -
permissions
@SerializedName(value="permissions", alternate="Permissions") @Expose @Nullable public PermissionCollectionPage permissionsThe Permissions. The set of permissions for the item. Read-only. Nullable. -
subscriptions
@SerializedName(value="subscriptions", alternate="Subscriptions") @Expose @Nullable public SubscriptionCollectionPage subscriptionsThe Subscriptions. The set of subscriptions on the item. Only supported on the root of a drive. -
thumbnails
@SerializedName(value="thumbnails", alternate="Thumbnails") @Expose @Nullable public ThumbnailSetCollectionPage thumbnailsThe Thumbnails. Collection containing [ThumbnailSet][] objects associated with the item. For more info, see [getting thumbnails][]. Read-only. Nullable. -
versions
@SerializedName(value="versions", alternate="Versions") @Expose @Nullable public DriveItemVersionCollectionPage versionsThe Versions. The list of previous versions of the item. For more info, see [getting previous versions][]. Read-only. Nullable.
-
-
Constructor Details
-
DriveItem
public DriveItem()
-
-
Method Details
-
setRawObject
public void setRawObject(@Nonnull com.microsoft.graph.serializer.ISerializer serializer, @Nonnull com.google.gson.JsonObject json) Sets the raw JSON object- Specified by:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classBaseItem- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-