Package com.dropbox.core.v1
Class DbxEntry.WithChildren
- java.lang.Object
- 
- com.dropbox.core.util.Dumpable
- 
- com.dropbox.core.v1.DbxEntry.WithChildren
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 - Enclosing class:
- DbxEntry
 
 public static final class DbxEntry.WithChildren extends Dumpable implements java.io.Serializable Holds the metadata for a file or folder; if it's a folder, we also store the folder's hash and the metadata of its immediate children.
- 
- 
Field SummaryFields Modifier and Type Field Description java.util.List<DbxEntry>childrenIfentryis a folder, this will contain the metadata of the folder's immediate children.DbxEntryentryThe metadata for the base file or folder.java.lang.StringhashIfentryis a folder, this will contain a hash that identifies the folder's contents.static JsonReader<DbxEntry.WithChildren>Readerstatic JsonReader<DbxEntry.WithChildren>ReaderMaybeDeletedstatic longserialVersionUID
 - 
Constructor SummaryConstructors Constructor Description WithChildren(DbxEntry entry, java.lang.String hash, java.util.List<DbxEntry> children)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voiddumpFields(DumpWriter w)booleanequals(DbxEntry.WithChildren o)booleanequals(java.lang.Object o)inthashCode()- 
Methods inherited from class com.dropbox.core.util.DumpablegetTypeName, toString, toString, toStringMultiline, toStringMultiline
 
- 
 
- 
- 
- 
Field Detail- 
serialVersionUIDpublic static final long serialVersionUID - See Also:
- Constant Field Values
 
 - 
entrypublic final DbxEntry entry The metadata for the base file or folder.
 - 
hashpublic final java.lang.String hash Ifentryis a folder, this will contain a hash that identifies the folder's contents. This value can be used withDbxClientV1.getMetadataWithChildrenIfChanged(java.lang.String, boolean, java.lang.String)to void downloading the folder contents if they havne't changed.
 - 
childrenpublic final java.util.List<DbxEntry> children Ifentryis a folder, this will contain the metadata of the folder's immediate children. If it's not a folder, this will benull.
 - 
Readerpublic static final JsonReader<DbxEntry.WithChildren> Reader 
 - 
ReaderMaybeDeletedpublic static final JsonReader<DbxEntry.WithChildren> ReaderMaybeDeleted 
 
- 
 - 
Method Detail- 
equalspublic boolean equals(java.lang.Object o) - Overrides:
- equalsin class- java.lang.Object
 
 - 
equalspublic boolean equals(DbxEntry.WithChildren o) 
 - 
hashCodepublic int hashCode() - Overrides:
- hashCodein class- java.lang.Object
 
 - 
dumpFieldsprotected void dumpFields(DumpWriter w) - Specified by:
- dumpFieldsin class- Dumpable
 
 
- 
 
-