Mark meta fields not required 1566

This commit is contained in:
Sean Mac Gillicuddy 2019-10-29 10:30:39 +00:00
parent 4edf2edaed
commit 8cc863de76

View File

@ -52,9 +52,9 @@ public class MetaLinkNetworkEntity {
public List<Url> urls;
@Element
private long size;
@ElementMap(entry = "hash", key = "type", attribute = true, inline = true)
@ElementMap(entry = "hash", key = "type", attribute = true, inline = true, required = false)
public Map<String, String> hashes;
@Element
@Element(required = false)
public Pieces pieces;
public String getName() {