forked from External/mage
[WIP] SPIKE - gson @Expose
This commit is contained in:
parent
6aeb3c7c3a
commit
4b331355de
4 changed files with 31 additions and 2 deletions
|
|
@ -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() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue