public static final class DbxEntry.WithChildren extends Dumpable implements java.io.Serializable
Modifier and Type | Field and Description |
---|---|
java.util.List<DbxEntry> |
children
If
entry is a folder, this will contain the metadata of the folder's
immediate children. |
DbxEntry |
entry
The metadata for the base file or folder.
|
java.lang.String |
hash
If
entry is a folder, this will contain a hash that identifies the folder's
contents. |
static JsonReader<DbxEntry.WithChildren> |
Reader |
static JsonReader<DbxEntry.WithChildren> |
ReaderMaybeDeleted |
static long |
serialVersionUID |
Constructor and Description |
---|
WithChildren(DbxEntry entry,
java.lang.String hash,
java.util.List<DbxEntry> children) |
Modifier and Type | Method and Description |
---|---|
protected void |
dumpFields(DumpWriter w) |
boolean |
equals(DbxEntry.WithChildren 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 final java.util.List<DbxEntry> children
entry
is a folder, this will contain the metadata of the folder's
immediate children. If it's not a folder, this will be null
.public static final JsonReader<DbxEntry.WithChildren> Reader
public static final JsonReader<DbxEntry.WithChildren> ReaderMaybeDeleted
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public boolean equals(DbxEntry.WithChildren o)
public int hashCode()
hashCode
in class java.lang.Object
protected void dumpFields(DumpWriter w)
dumpFields
in class Dumpable