Package com.dropbox.core.v2.team
Class LegalHoldsListHeldRevisionResult
java.lang.Object
com.dropbox.core.v2.team.LegalHoldsListHeldRevisionResult
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLegalHoldsListHeldRevisionResult(List<LegalHoldHeldRevisionMetadata> entries, boolean hasMore) NoneLegalHoldsListHeldRevisionResult(List<LegalHoldHeldRevisionMetadata> entries, boolean hasMore, String cursor) -
Method Summary
Modifier and TypeMethodDescriptionbooleanThe cursor idicates where to continue reading file metadata entries for the next API call.List of file entries that under the hold.booleanTrue if there are more file entries that haven't been returned.inthashCode()toString()Returns a String representation of this object formatted for easier readability.
-
Field Details
-
entries
-
cursor
-
hasMore
protected final boolean hasMore
-
-
Constructor Details
-
LegalHoldsListHeldRevisionResult
public LegalHoldsListHeldRevisionResult(@Nonnull List<LegalHoldHeldRevisionMetadata> entries, boolean hasMore, @Nullable 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:
IllegalArgumentException- If any argument does not meet its preconditions.
-
LegalHoldsListHeldRevisionResult
public LegalHoldsListHeldRevisionResult(@Nonnull 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:
IllegalArgumentException- If any argument does not meet its preconditions.
-
-
Method Details
-
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
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() -
equals
-
toString
-
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
-