public class ListRevisionsResult extends Object
Modifier and Type | Field and Description |
---|---|
protected List<FileMetadata> |
entries |
protected boolean |
isDeleted |
Constructor and Description |
---|
ListRevisionsResult(boolean isDeleted,
List<FileMetadata> entries) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<FileMetadata> |
getEntries()
The revisions for the file.
|
boolean |
getIsDeleted()
If the file is deleted.
|
int |
hashCode() |
String |
toString() |
String |
toStringMultiline()
Returns a String representation of this object formatted for easier
readability.
|
protected final boolean isDeleted
protected final List<FileMetadata> entries
public ListRevisionsResult(boolean isDeleted, List<FileMetadata> entries)
isDeleted
- If the file is deleted.entries
- The revisions for the file. Only non-delete revisions
will show up here. Must not contain a null
item and not be
null
.IllegalArgumentException
- If any argument does not meet its
preconditions.public boolean getIsDeleted()
public List<FileMetadata> getEntries()
null
.public String toStringMultiline()
The returned String may contain newlines.