Package com.dropbox.core.v2.files
Class ListRevisionsResult
- java.lang.Object
- 
- com.dropbox.core.v2.files.ListRevisionsResult
 
- 
 public class ListRevisionsResult extends java.lang.Object
- 
- 
Field SummaryFields Modifier and Type Field Description protected java.util.List<FileMetadata>entriesprotected booleanisDeletedprotected java.util.DateserverDeleted
 - 
Constructor SummaryConstructors Constructor Description ListRevisionsResult(boolean isDeleted, java.util.List<FileMetadata> entries)NoneListRevisionsResult(boolean isDeleted, java.util.List<FileMetadata> entries, java.util.Date serverDeleted)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(java.lang.Object obj)java.util.List<FileMetadata>getEntries()The revisions for the file.booleangetIsDeleted()If the file identified by the latest revision in the response is either deleted or moved.java.util.DategetServerDeleted()The time of deletion if the file was deleted.inthashCode()java.lang.StringtoString()java.lang.StringtoStringMultiline()Returns a String representation of this object formatted for easier readability.
 
- 
- 
- 
Field Detail- 
isDeletedprotected final boolean isDeleted 
 - 
serverDeletedprotected final java.util.Date serverDeleted 
 - 
entriesprotected final java.util.List<FileMetadata> entries 
 
- 
 - 
Constructor Detail- 
ListRevisionsResultpublic ListRevisionsResult(boolean isDeleted, java.util.List<FileMetadata> entries, java.util.Date serverDeleted)- Parameters:
- isDeleted- If the file identified by the latest revision in the response is either deleted or moved.
- entries- The revisions for the file. Only revisions that are not deleted will show up here. Must not contain a- nullitem and not be- null.
- serverDeleted- The time of deletion if the file was deleted.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 - 
ListRevisionsResultpublic ListRevisionsResult(boolean isDeleted, java.util.List<FileMetadata> entries)NoneThe default values for unset fields will be used. - Parameters:
- isDeleted- If the file identified by the latest revision in the response is either deleted or moved.
- entries- The revisions for the file. Only revisions that are not deleted will show up here. Must not contain a- nullitem and not be- null.
- Throws:
- java.lang.IllegalArgumentException- If any argument does not meet its preconditions.
 
 
- 
 - 
Method Detail- 
getIsDeletedpublic boolean getIsDeleted() If the file identified by the latest revision in the response is either deleted or moved.- Returns:
- value for this field.
 
 - 
getEntriespublic java.util.List<FileMetadata> getEntries() The revisions for the file. Only revisions that are not deleted will show up here.- Returns:
- value for this field, never null.
 
 - 
getServerDeletedpublic java.util.Date getServerDeleted() The time of deletion if the file was deleted.- Returns:
- value for this field, or nullif not present.
 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
equalspublic boolean equals(java.lang.Object obj) - Overrides:
- equalsin class- java.lang.Object
 
 - 
toStringpublic java.lang.String toString() - Overrides:
- toStringin class- java.lang.Object
 
 - 
toStringMultilinepublic 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
 
 
- 
 
-