Added the @Expose annotation to the GrapheneObject#id field
This commit is contained in:
parent
3d74a612f6
commit
67f3e05b5c
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue