mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-08 23:07:26 -04:00
Mark meta fields not required 1566
This commit is contained in:
parent
4edf2edaed
commit
8cc863de76
@ -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() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user