Package com.microsoft.graph.models
Class Drive
java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.BaseItem
com.microsoft.graph.models.Drive
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
The class for the Drive.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Bundles.The Drive Type.The Following.The Items.The List.The Owner.The Quota.The Root.The Share Point Ids.The Special.The System.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
-
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
The Owner. Optional. The user account that owns the drive. Read-only. -
quota
The Quota. Optional. Information about the drive's storage space quota. Read-only. -
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 bundlesThe 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 followingThe Following. The list of items the user is following. Only in OneDrive for Business. -
items
@SerializedName(value="items", alternate="Items") @Expose @Nullable public DriveItemCollectionPage itemsThe Items. All items contained in the drive. Read-only. Nullable. -
list
The List. For drives in SharePoint, the underlying document library list. Read-only. Nullable. -
root
The Root. The root folder of the drive. Read-only. -
special
@SerializedName(value="special", alternate="Special") @Expose @Nullable public DriveItemCollectionPage specialThe 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:
setRawObjectin interfacecom.microsoft.graph.serializer.IJsonBackedObject- Overrides:
setRawObjectin classBaseItem- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-