Class DriveItem

All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject

public class DriveItem extends BaseItem implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Drive Item.
  • Field Details

    • audio

      @SerializedName(value="audio", alternate="Audio") @Expose @Nullable public Audio audio
      The Audio. Audio metadata, if the item is an audio file. Read-only. Read-only. Only on OneDrive Personal.
    • bundle

      @SerializedName(value="bundle", alternate="Bundle") @Expose @Nullable public Bundle bundle
      The Bundle. Bundle metadata, if the item is a bundle. Read-only.
    • cTag

      @SerializedName(value="cTag", alternate="CTag") @Expose @Nullable public String 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

      @SerializedName(value="deleted", alternate="Deleted") @Expose @Nullable public Deleted deleted
      The Deleted. Information about the deleted state of the item. Read-only.
    • file

      @SerializedName(value="file", alternate="File") @Expose @Nullable public File file
      The File. File metadata, if the item is a file. Read-only.
    • fileSystemInfo

      @SerializedName(value="fileSystemInfo", alternate="FileSystemInfo") @Expose @Nullable public FileSystemInfo fileSystemInfo
      The File System Info. File system information on client. Read-write.
    • folder

      @SerializedName(value="folder", alternate="Folder") @Expose @Nullable public Folder folder
      The Folder. Folder metadata, if the item is a folder. Read-only.
    • image

      @SerializedName(value="image", alternate="Image") @Expose @Nullable public Image image
      The Image. Image metadata, if the item is an image. Read-only.
    • location

      @SerializedName(value="location", alternate="Location") @Expose @Nullable public GeoCoordinates location
      The Location. Location metadata, if the item has location data. Read-only.
    • malware

      @SerializedName(value="malware", alternate="Malware") @Expose @Nullable public Malware 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 msgraphPackage
      The 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 pendingOperations
      The Pending Operations. If present, indicates that one or more operations that might affect the state of the driveItem are pending completion. Read-only.
    • photo

      @SerializedName(value="photo", alternate="Photo") @Expose @Nullable public Photo photo
      The Photo. Photo metadata, if the item is a photo. Read-only.
    • publication

      @SerializedName(value="publication", alternate="Publication") @Expose @Nullable public PublicationFacet publication
      The 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 remoteItem
      The Remote Item. Remote item data, if the item is shared from a drive other than the one being accessed. Read-only.
    • root

      @SerializedName(value="root", alternate="Root") @Expose @Nullable public Root 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 searchResult
      The Search Result. Search metadata, if the item is from a search result. Read-only.
    • shared

      @SerializedName(value="shared", alternate="Shared") @Expose @Nullable public Shared shared
      The Shared. Indicates that the item has been shared with others and provides information about the shared state of the item. Read-only.
    • sharepointIds

      @SerializedName(value="sharepointIds", alternate="SharepointIds") @Expose @Nullable public SharepointIds sharepointIds
      The Sharepoint Ids. Returns identifiers useful for SharePoint REST compatibility. Read-only.
    • size

      @SerializedName(value="size", alternate="Size") @Expose @Nullable public Long size
      The Size. Size of the item in bytes. Read-only.
    • specialFolder

      @SerializedName(value="specialFolder", alternate="SpecialFolder") @Expose @Nullable public SpecialFolder specialFolder
      The Special Folder. If the current item is also available as a special folder, this facet is returned. Read-only.
    • video

      @SerializedName(value="video", alternate="Video") @Expose @Nullable public Video video
      The Video. Video metadata, if the item is a video. Read-only.
    • webDavUrl

      @SerializedName(value="webDavUrl", alternate="WebDavUrl") @Expose @Nullable public String webDavUrl
      The Web Dav Url. WebDAV compatible URL for the item.
    • workbook

      @SerializedName(value="workbook", alternate="Workbook") @Expose @Nullable public Workbook 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 analytics
      The Analytics. Analytics about the view activities that took place on this item.
    • children

      @SerializedName(value="children", alternate="Children") @Expose @Nullable public DriveItemCollectionPage children
      The Children. Collection containing Item objects for the immediate children of Item. Only items representing folders have children. Read-only. Nullable.
    • listItem

      @SerializedName(value="listItem", alternate="ListItem") @Expose @Nullable public ListItem 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 permissions
      The Permissions. The set of permissions for the item. Read-only. Nullable.
    • subscriptions

      @SerializedName(value="subscriptions", alternate="Subscriptions") @Expose @Nullable public SubscriptionCollectionPage subscriptions
      The 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 thumbnails
      The 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 versions
      The 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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Overrides:
      setRawObject in class BaseItem
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to