public class LegalHoldsListHeldRevisionResult
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected java.lang.String |
cursor |
protected java.util.List<LegalHoldHeldRevisionMetadata> |
entries |
protected boolean |
hasMore |
Constructor and Description |
---|
LegalHoldsListHeldRevisionResult(java.util.List<LegalHoldHeldRevisionMetadata> entries,
boolean hasMore)
None
|
LegalHoldsListHeldRevisionResult(java.util.List<LegalHoldHeldRevisionMetadata> entries,
boolean hasMore,
java.lang.String cursor) |
Modifier and Type | Method and 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.
|
protected final java.util.List<LegalHoldHeldRevisionMetadata> entries
protected final java.lang.String cursor
protected final boolean hasMore
public LegalHoldsListHeldRevisionResult(java.util.List<LegalHoldHeldRevisionMetadata> entries, boolean hasMore, java.lang.String cursor)
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.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public LegalHoldsListHeldRevisionResult(java.util.List<LegalHoldHeldRevisionMetadata> entries, boolean hasMore)
The default values for unset fields will be used.
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.java.lang.IllegalArgumentException
- If any argument does not meet its
preconditions.public java.util.List<LegalHoldHeldRevisionMetadata> getEntries()
null
.public boolean getHasMore()
public java.lang.String getCursor()
null
if not present.public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
public java.lang.String toStringMultiline()
The returned String may contain newlines.