Class Drive

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

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

    • driveType

      @SerializedName(value="driveType", alternate="DriveType") @Expose @Nullable public String driveType
      The Drive Type. Describes the type of drive represented by this resource. OneDrive personal drives will return personal. OneDrive for Business will return business. SharePoint document libraries will return documentLibrary. Read-only.
    • owner

      @SerializedName(value="owner", alternate="Owner") @Expose @Nullable public IdentitySet owner
      The Owner. Optional. The user account that owns the drive. Read-only.
    • quota

      @SerializedName(value="quota", alternate="Quota") @Expose @Nullable public Quota quota
      The Quota. Optional. Information about the drive's storage space quota. Read-only.
    • sharePointIds

      @SerializedName(value="sharePointIds", alternate="SharePointIds") @Expose @Nullable public SharepointIds sharePointIds
      The Share Point Ids.
    • system

      @SerializedName(value="system", alternate="System") @Expose @Nullable public SystemFacet system
      The System. If present, indicates that this is a system-managed drive. Read-only.
    • bundles

      @SerializedName(value="bundles", alternate="Bundles") @Expose @Nullable public DriveItemCollectionPage bundles
      The Bundles. Collection of [bundles][bundle] (albums and multi-select-shared sets of items). Only in personal OneDrive.
    • following

      @SerializedName(value="following", alternate="Following") @Expose @Nullable public DriveItemCollectionPage following
      The Following. The list of items the user is following. Only in OneDrive for Business.
    • items

      @SerializedName(value="items", alternate="Items") @Expose @Nullable public DriveItemCollectionPage items
      The Items. All items contained in the drive. Read-only. Nullable.
    • list

      @SerializedName(value="list", alternate="List") @Expose @Nullable public List list
      The List. For drives in SharePoint, the underlying document library list. Read-only. Nullable.
    • root

      @SerializedName(value="root", alternate="Root") @Expose @Nullable public DriveItem root
      The Root. The root folder of the drive. Read-only.
    • special

      @SerializedName(value="special", alternate="Special") @Expose @Nullable public DriveItemCollectionPage special
      The Special. Collection of common folders available in OneDrive. Read-only. Nullable.
  • Constructor Details

    • Drive

      public Drive()
  • 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