Class ListRevisionsResult


  • public class ListRevisionsResult
    extends java.lang.Object
    • Field Detail

      • isDeleted

        protected final boolean isDeleted
      • serverDeleted

        protected final java.util.Date serverDeleted
      • entries

        protected final java.util.List<FileMetadata> entries
    • Constructor Detail

      • ListRevisionsResult

        public ListRevisionsResult​(boolean isDeleted,
                                   java.util.List<FileMetadata> entries,
                                   java.util.Date serverDeleted)
        Parameters:
        isDeleted - If the file identified by the latest revision in the response is either deleted or moved.
        entries - The revisions for the file. Only revisions that are not deleted will show up here. Must not contain a null item and not be null.
        serverDeleted - The time of deletion if the file was deleted.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • ListRevisionsResult

        public ListRevisionsResult​(boolean isDeleted,
                                   java.util.List<FileMetadata> entries)
        None

        The default values for unset fields will be used.

        Parameters:
        isDeleted - If the file identified by the latest revision in the response is either deleted or moved.
        entries - The revisions for the file. Only revisions that are not deleted will show up here. Must not contain a null item and not be null.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getIsDeleted

        public boolean getIsDeleted()
        If the file identified by the latest revision in the response is either deleted or moved.
        Returns:
        value for this field.
      • getEntries

        public java.util.List<FileMetadata> getEntries()
        The revisions for the file. Only revisions that are not deleted will show up here.
        Returns:
        value for this field, never null.
      • getServerDeleted

        public java.util.Date getServerDeleted()
        The time of deletion if the file was deleted.
        Returns:
        value for this field, or null if not present.
      • hashCode

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

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • toString

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

        public java.lang.String toStringMultiline()
        Returns a String representation of this object formatted for easier readability.

        The returned String may contain newlines.

        Returns:
        Formatted, multiline String representation of this object