Class LegalHoldsListHeldRevisionResult


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

      • cursor

        protected final java.lang.String cursor
      • hasMore

        protected final boolean hasMore
    • Constructor Detail

      • LegalHoldsListHeldRevisionResult

        public LegalHoldsListHeldRevisionResult​(java.util.List<LegalHoldHeldRevisionMetadata> entries,
                                                boolean hasMore,
                                                java.lang.String cursor)
        Parameters:
        entries - List of file entries that under the hold. Must not contain a null item and not be null.
        hasMore - True if there are more file entries that haven't been returned. You can retrieve them with a call to /legal_holds/list_held_revisions_continue.
        cursor - The cursor idicates where to continue reading file metadata entries for the next API call. When there are no more entries, the cursor will return none. Pass the cursor into /2/team/legal_holds/list_held_revisions/continue. Must have length of at least 1.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
      • LegalHoldsListHeldRevisionResult

        public LegalHoldsListHeldRevisionResult​(java.util.List<LegalHoldHeldRevisionMetadata> entries,
                                                boolean hasMore)
        None

        The default values for unset fields will be used.

        Parameters:
        entries - List of file entries that under the hold. Must not contain a null item and not be null.
        hasMore - True if there are more file entries that haven't been returned. You can retrieve them with a call to /legal_holds/list_held_revisions_continue.
        Throws:
        java.lang.IllegalArgumentException - If any argument does not meet its preconditions.
    • Method Detail

      • getEntries

        public java.util.List<LegalHoldHeldRevisionMetadata> getEntries()
        List of file entries that under the hold.
        Returns:
        value for this field, never null.
      • getHasMore

        public boolean getHasMore()
        True if there are more file entries that haven't been returned. You can retrieve them with a call to /legal_holds/list_held_revisions_continue.
        Returns:
        value for this field.
      • getCursor

        public java.lang.String getCursor()
        The cursor idicates where to continue reading file metadata entries for the next API call. When there are no more entries, the cursor will return none. Pass the cursor into /2/team/legal_holds/list_held_revisions/continue.
        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