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 Summary
Fields Modifier and Type Field Description protected java.lang.Stringcursorprotected java.util.List<LegalHoldHeldRevisionMetadata>entriesprotected booleanhasMore
-
Constructor Summary
Constructors Constructor Description LegalHoldsListHeldRevisionResult(java.util.List<LegalHoldHeldRevisionMetadata> entries, boolean hasMore)NoneLegalHoldsListHeldRevisionResult(java.util.List<LegalHoldHeldRevisionMetadata> entries, boolean hasMore, java.lang.String cursor)
-
Method Summary
All 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
-
entries
protected final java.util.List<LegalHoldHeldRevisionMetadata> entries
-
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 anullitem and not benull.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)
NoneThe default values for unset fields will be used.
- Parameters:
entries- List of file entries that under the hold. Must not contain anullitem and not benull.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
nullif not present.
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.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
-
-