Class RemoteItem

java.lang.Object
com.amilesend.onedrive.resource.item.type.RemoteItem

public class RemoteItem extends Object
Indicates and describes that a drive item references one that exists in another drive.

API Documentation.

  • Method Details

    • builder

      public static RemoteItem.RemoteItemBuilder builder()
    • getCreatedBy

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

      public String getCreatedDateTime()
      The date and time of item creation.
    • getFile

      public File getFile()
      Indicates and describes if the remote item is a file.
    • getFileSystemInfo

      public FileSystemInfo getFileSystemInfo()
      Describes the (client-side) properties of the local version of the remtoe item.
    • getFolder

      public Folder getFolder()
      Describes that the remote item is a folder.
    • getId

      public String getId()
      The remote item identifier.
    • getLastModifiedBy

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

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

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

      public Package get_package()
      Indicates that a remote item is the top level item in a collection of items.
    • getParentReference

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

      public Shared getShared()
      Indicates and describes that the remote item has been shared with others.
    • getSharepointIds

      public SharePointIds getSharepointIds()
      Identifiers used for SharePoint.
    • getSize

      public long getSize()
      Size of the remote item in bytes.
    • getSpecialFolder

      public SpecialFolder getSpecialFolder()
      Describes if the current remote item is a special folder.
    • getWebDavUrl

      public String getWebDavUrl()
      DAV compatible URL for the remote item.
    • getWebUrl

      public String getWebUrl()
      URL for the resource shown in a browser.
    • 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