Package com.microsoft.graph.models
Class ItemReference
java.lang.Object
com.microsoft.graph.models.ItemReference
- All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
public class ItemReference
extends Object
implements com.microsoft.graph.serializer.IJsonBackedObject
The class for the Item Reference.
-
Field Summary
FieldsModifier and TypeFieldDescriptionThe Drive Id.The Drive Type.The Id.The Name.the OData type of the object as returned by the serviceThe Path.The Share Id.The Sharepoint Ids.The Site Id. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal com.microsoft.graph.serializer.AdditionalDataManagervoidsetRawObject(com.microsoft.graph.serializer.ISerializer serializer, com.google.gson.JsonObject json) Sets the raw JSON object
-
Field Details
-
oDataType
the OData type of the object as returned by the service -
driveId
The Drive Id. Unique identifier of the drive instance that contains the item. Read-only. -
driveType
The Drive Type. Identifies the type of drive. See [drive][] resource for values. -
id
The Id. Unique identifier of the item in the drive. Read-only. -
name
The Name. The name of the item being referenced. Read-only. -
path
The Path. Path that can be used to navigate to the item. Read-only. -
siteId
The Site Id. For OneDrive for Business and SharePoint, this property represents the ID of the site that contains the parent document library of the driveItem resource. The value is the same as the id property of that [site][] resource. It is an opaque string that consists of three identifiers of the site. For OneDrive, this property is not populated.
-
-
Constructor Details
-
ItemReference
public ItemReference()
-
-
Method Details
-
additionalDataManager
@Nonnull public final com.microsoft.graph.serializer.AdditionalDataManager additionalDataManager()- Specified by:
additionalDataManagerin interfacecom.microsoft.graph.serializer.IJsonBackedObject
-
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- Parameters:
serializer- the serializerjson- the JSON object to set this object to
-