[WIP] SPIKE - gson @Expose

This commit is contained in:
Shaun Hannah 2018-02-26 19:24:00 -05:00
parent 6aeb3c7c3a
commit 4b331355de
4 changed files with 31 additions and 2 deletions

View file

@ -34,14 +34,20 @@ import mage.remote.interfaces.*;
import java.util.UUID;
import com.google.gson.annotations.Expose;
import com.google.gson.ExclusionStrategy;
import com.google.gson.FieldAttributes;
public class ActionData {
@Expose
public UUID gameId;
@Expose
public String sessionId;
@Expose
public String type;
@Expose
public Object value;
@Expose
public String message;
public String toJson() {