Added the @Expose annotation to the GrapheneObject#id field

This commit is contained in:
Nelson R. Perez 2017-06-26 14:05:33 -05:00
parent 3d74a612f6
commit 67f3e05b5c

View file

@ -1,5 +1,7 @@
package de.bitsharesmunich.graphenej; package de.bitsharesmunich.graphenej;
import com.google.gson.annotations.Expose;
/** /**
* <p> * <p>
* Generic class used to represent a graphene object as defined in * Generic class used to represent a graphene object as defined in
@ -13,7 +15,9 @@ public class GrapheneObject {
public static final int PROTOCOL_SPACE = 1; public static final int PROTOCOL_SPACE = 1;
public static final int IMPLEMENTATION_SPACE = 2; public static final int IMPLEMENTATION_SPACE = 2;
@Expose
protected String id; protected String id;
protected int space; protected int space;
protected int type; protected int type;
protected long instance; protected long instance;