Class BaseItem

java.lang.Object
com.amilesend.onedrive.resource.item.BaseItem
Direct Known Subclasses:
Drive, DriveItem, List, ListItem, Site

public class BaseItem extends Object
Defines common attributes for drive items.

API Documentation.

  • Method Details

    • builder

      public static BaseItem.BaseItemBuilder<?,?> builder()
    • getId

      public String getId()
      The unique identifier for the item.
    • getCreatedBy

      public IdentitySet getCreatedBy()
      The source identity that created the item.
    • getCreatedDateTime

      public String getCreatedDateTime()
      Describes when the item was created.
    • getETag

      public String getETag()
      Associated ETag for the item.
    • getLastModifiedBy

      public IdentitySet getLastModifiedBy()
      The identity that last modified the item.
    • getLastModifiedDateTime

      public String getLastModifiedDateTime()
      Describes when the item was last modified.
    • getWebUrl

      public String getWebUrl()
      URL for the resource shown in a browser.
    • getDescription

      public String getDescription()
      Description of the item.
    • getName

      public String getName()
      The name of the item.
    • getParentReference

      public ItemReference getParentReference()
      Describes the parent information.
    • setDescription

      public void setDescription(String description)
      Description of the item.
    • setName

      public void setName(String name)
      The name of the item.
    • setParentReference

      public void setParentReference(ItemReference parentReference)
      Describes the parent information.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object