Package com.dropbox.core.v2.team
Class LegalHoldsListHeldRevisionResult
- java.lang.Object
- 
- com.dropbox.core.v2.team.LegalHoldsListHeldRevisionResult
 
- 
 public class LegalHoldsListHeldRevisionResult extends java.lang.Object
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.lang.Stringcursorprotected java.util.List<LegalHoldHeldRevisionMetadata>entriesprotected booleanhasMore
 - 
Constructor SummaryConstructors Constructor Description LegalHoldsListHeldRevisionResult(java.util.List<LegalHoldHeldRevisionMetadata> entries, boolean hasMore)NoneLegalHoldsListHeldRevisionResult(java.util.List<LegalHoldHeldRevisionMetadata> entries, boolean hasMore, java.lang.String cursor)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.lang.StringgetCursor()The cursor idicates where to continue reading file metadata entries for the next API call.java.util.List<LegalHoldHeldRevisionMetadata>getEntries()List of file entries that under the hold.booleangetHasMore()True if there are more file entries that haven't been returned.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
entriesprotected final java.util.List<LegalHoldHeldRevisionMetadata> entries 
 - 
cursorprotected final java.lang.String cursor 
 - 
hasMoreprotected final boolean hasMore 
 
- 
 - 
Constructor Detail- 
LegalHoldsListHeldRevisionResultpublic 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- nullitem 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.
 
 - 
LegalHoldsListHeldRevisionResultpublic LegalHoldsListHeldRevisionResult(java.util.List<LegalHoldHeldRevisionMetadata> entries, boolean hasMore) NoneThe default values for unset fields will be used. - Parameters:
- entries- List of file entries that under the hold. Must not contain a- nullitem 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- 
getEntriespublic java.util.List<LegalHoldHeldRevisionMetadata> getEntries() List of file entries that under the hold.- Returns:
- value for this field, never null.
 
 - 
getHasMorepublic 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.
 
 - 
getCursorpublic 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 nullif not present.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic 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
 
 
- 
 
-