Class BaseItem

java.lang.Object
com.microsoft.graph.models.Entity
com.microsoft.graph.models.BaseItem
All Implemented Interfaces:
com.microsoft.graph.serializer.IJsonBackedObject
Direct Known Subclasses:
Drive, DriveItem, List, ListItem, SharedDriveItem, Site

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

    • createdBy

      @SerializedName(value="createdBy", alternate="CreatedBy") @Expose @Nullable public IdentitySet createdBy
      The Created By. Identity of the user, device, or application which created the item. Read-only.
    • createdDateTime

      @SerializedName(value="createdDateTime", alternate="CreatedDateTime") @Expose @Nullable public OffsetDateTime createdDateTime
      The Created Date Time. Date and time of item creation. Read-only.
    • description

      @SerializedName(value="description", alternate="Description") @Expose @Nullable public String description
      The Description. Provides a user-visible description of the item. Optional.
    • eTag

      @SerializedName(value="eTag", alternate="ETag") @Expose @Nullable public String eTag
      The ETag. ETag for the item. Read-only.
    • lastModifiedBy

      @SerializedName(value="lastModifiedBy", alternate="LastModifiedBy") @Expose @Nullable public IdentitySet lastModifiedBy
      The Last Modified By. Identity of the user, device, and application which last modified the item. Read-only.
    • lastModifiedDateTime

      @SerializedName(value="lastModifiedDateTime", alternate="LastModifiedDateTime") @Expose @Nullable public OffsetDateTime lastModifiedDateTime
      The Last Modified Date Time. Date and time the item was last modified. Read-only.
    • name

      @SerializedName(value="name", alternate="Name") @Expose @Nullable public String name
      The Name. The name of the item. Read-write.
    • parentReference

      @SerializedName(value="parentReference", alternate="ParentReference") @Expose @Nullable public ItemReference parentReference
      The Parent Reference. Parent information, if the item has a parent. Read-write.
    • webUrl

      @SerializedName(value="webUrl", alternate="WebUrl") @Expose @Nullable public String webUrl
      The Web Url. URL that displays the resource in the browser. Read-only.
    • createdByUser

      @SerializedName(value="createdByUser", alternate="CreatedByUser") @Expose @Nullable public User createdByUser
      The Created By User. Identity of the user who created the item. Read-only.
    • lastModifiedByUser

      @SerializedName(value="lastModifiedByUser", alternate="LastModifiedByUser") @Expose @Nullable public User lastModifiedByUser
      The Last Modified By User. Identity of the user who last modified the item. Read-only.
  • Constructor Details

    • BaseItem

      public BaseItem()
  • 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 Entity
      Parameters:
      serializer - the serializer
      json - the JSON object to set this object to