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.String
cursor
protected java.util.List<LegalHoldHeldRevisionMetadata>
entries
protected boolean
hasMore
-
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 boolean
equals(java.lang.Object obj)
java.lang.String
getCursor()
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.boolean
getHasMore()
True if there are more file entries that haven't been returned.int
hashCode()
java.lang.String
toString()
java.lang.String
toStringMultiline()
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 anull
item 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 anull
item 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
null
if not present.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
toString
public java.lang.String toString()
- Overrides:
toString
in 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
-
-