public static final class DbxEntry.WithChildren extends Dumpable implements Serializable
Modifier and Type | Field and Description |
---|---|
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.
|
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 |
---|
DbxEntry.WithChildren(DbxEntry entry,
String hash,
List<DbxEntry> children) |
Modifier and Type | Method and Description |
---|---|
protected void |
dumpFields(DumpWriter w) |
boolean |
equals(DbxEntry.WithChildren o) |
boolean |
equals(Object o) |
int |
hashCode() |
getTypeName, toString, toString, toStringMultiline, toStringMultiline
public static final long serialVersionUID
public final DbxEntry entry
public final String hash
entry
is a folder, this will contain a hash that identifies the folder's
contents. This value can be used with DbxClient.getMetadataWithChildrenIfChanged(java.lang.String, java.lang.String)
to void downloading the folder contents if they havne't changed.public final 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(DbxEntry.WithChildren o)
protected void dumpFields(DumpWriter w)
dumpFields
in class Dumpable
Copyright © 2014. All rights reserved.