public static final class DbxEntry.WithChildrenC<C> extends Dumpable implements java.io.Serializable
DbxEntry.WithChildren
. It's used in the C
-suffixed
variants (DbxClientV1.getMetadataWithChildrenC(java.lang.String, boolean, com.dropbox.core.util.Collector<com.dropbox.core.v1.DbxEntry, ? extends C>)
and DbxClientV1.getMetadataWithChildrenIfChanged(java.lang.String, boolean, java.lang.String)
to allow you to process the DbxEntry
values as the come in and aggregate them into
your own object (instead of the default List
) using a custom Collector
.Modifier and Type | Class and Description |
---|---|
static class |
DbxEntry.WithChildrenC.Reader<C> |
static class |
DbxEntry.WithChildrenC.ReaderMaybeDeleted<C> |
Modifier and Type | Field and Description |
---|---|
C |
children
If
entry is a folder, this will contain the metadata of the folder's
immediate children. |
DbxEntry |
entry |
java.lang.String |
hash
If
entry is a folder, this will contain a hash that identifies the folder's
contents. |
static long |
serialVersionUID |
Constructor and Description |
---|
WithChildrenC(DbxEntry entry,
java.lang.String hash,
C children) |
Modifier and Type | Method and Description |
---|---|
protected void |
dumpFields(DumpWriter w) |
boolean |
equals(DbxEntry.WithChildrenC<?> o) |
boolean |
equals(java.lang.Object o) |
int |
hashCode() |
getTypeName, toString, toString, toStringMultiline, toStringMultiline
public static final long serialVersionUID
public final DbxEntry entry
public final java.lang.String hash
entry
is a folder, this will contain a hash that identifies the folder's
contents. This value can be used with DbxClientV1.getMetadataWithChildrenIfChanged(java.lang.String, boolean, java.lang.String)
to void downloading the folder contents if they havne't changed.public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean equals(DbxEntry.WithChildrenC<?> o)
public int hashCode()
hashCode
in class java.lang.Object
protected void dumpFields(DumpWriter w)
dumpFields
in class Dumpable