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 Details

    • oDataType

      @SerializedName("@odata.type") @Expose @Nullable public String oDataType
      the OData type of the object as returned by the service
    • driveId

      @SerializedName(value="driveId", alternate="DriveId") @Expose @Nullable public String driveId
      The Drive Id. Unique identifier of the drive instance that contains the item. Read-only.
    • driveType

      @SerializedName(value="driveType", alternate="DriveType") @Expose @Nullable public String driveType
      The Drive Type. Identifies the type of drive. See [drive][] resource for values.
    • id

      @SerializedName(value="id", alternate="Id") @Expose @Nullable public String id
      The Id. Unique identifier of the item in the drive. Read-only.
    • name

      @SerializedName(value="name", alternate="Name") @Expose @Nullable public String name
      The Name. The name of the item being referenced. Read-only.
    • path

      @SerializedName(value="path", alternate="Path") @Expose @Nullable public String path
      The Path. Path that can be used to navigate to the item. Read-only.
    • shareId

      @SerializedName(value="shareId", alternate="ShareId") @Expose @Nullable public String shareId
      The Share Id. A unique identifier for a shared resource that can be accessed via the [Shares][] API.
    • sharepointIds

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

      @SerializedName(value="siteId", alternate="SiteId") @Expose @Nullable public String 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:
      additionalDataManager in interface com.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:
      setRawObject in interface com.microsoft.graph.serializer.IJsonBackedObject
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to