Class Folder


  • public final class Folder
    extends java.lang.Object
    • Method Detail

      • getId

        public java.util.Optional<java.lang.String> getId()
      • getRemoteId

        public java.util.Optional<java.lang.String> getRemoteId()
        Returns:
        The third-party API ID of the matching object.
      • getCreatedAt

        public java.util.Optional<java.time.OffsetDateTime> getCreatedAt()
        Returns:
        The datetime that this object was created by Merge.
      • getModifiedAt

        public java.util.Optional<java.time.OffsetDateTime> getModifiedAt()
        Returns:
        The datetime that this object was modified by Merge.
      • getName

        public java.util.Optional<java.lang.String> getName()
        Returns:
        The folder's name.
      • getFolderUrl

        public java.util.Optional<java.lang.String> getFolderUrl()
        Returns:
        The URL to access the folder.
      • getSize

        public java.util.Optional<java.lang.Long> getSize()
        Returns:
        The folder's size, in bytes.
      • getDescription

        public java.util.Optional<java.lang.String> getDescription()
        Returns:
        The folder's description.
      • getParentFolder

        public java.util.Optional<FolderParentFolder> getParentFolder()
        Returns:
        The folder that the folder belongs to.
      • getDrive

        public java.util.Optional<FolderDrive> getDrive()
        Returns:
        The drive that the folder belongs to.
      • getPermissions

        public java.util.Optional<FolderPermissions> getPermissions()
        Returns:
        The Permission object is used to represent a user's or group's access to a File or Folder. Permissions are unexpanded by default. Use the query param expand=permissions to see more details under GET /folders.
      • getRemoteCreatedAt

        public java.util.Optional<java.time.OffsetDateTime> getRemoteCreatedAt()
        Returns:
        When the third party's folder was created.
      • getRemoteUpdatedAt

        public java.util.Optional<java.time.OffsetDateTime> getRemoteUpdatedAt()
        Returns:
        When the third party's folder was updated.
      • getRemoteWasDeleted

        public java.util.Optional<java.lang.Boolean> getRemoteWasDeleted()
        Returns:
        Indicates whether or not this object has been deleted in the third party platform. Full coverage deletion detection is a premium add-on. Native deletion detection is offered for free with limited coverage. Learn more.
      • getFieldMappings

        public java.util.Optional<java.util.Map<java.lang.String,​com.fasterxml.jackson.databind.JsonNode>> getFieldMappings()
      • getRemoteData

        public java.util.Optional<java.util.List<java.util.Optional<java.util.Map<java.lang.String,​com.fasterxml.jackson.databind.JsonNode>>>> getRemoteData()
      • equals

        public boolean equals​(java.lang.Object other)
        Overrides:
        equals in class java.lang.Object
      • getAdditionalProperties

        public java.util.Map<java.lang.String,​java.lang.Object> getAdditionalProperties()
      • hashCode

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

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object