diff options
author | Vitaly Takmazov | 2015-11-04 14:19:11 +0300 |
---|---|---|
committer | Vitaly Takmazov | 2015-11-04 14:19:11 +0300 |
commit | c3d949e11a4380a2353fca0abf12292285fde02c (patch) | |
tree | 3046cf5c2bc83e803fecc8ec6f400f216b536201 /src/main/java/com | |
parent | c98f2e946babbec6b0174e175f49e9cd353223e2 (diff) |
initial gson support
Diffstat (limited to 'src/main/java/com')
-rw-r--r-- | src/main/java/com/juick/Message.java | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/main/java/com/juick/Message.java b/src/main/java/com/juick/Message.java index 4db2620e..c87bf445 100644 --- a/src/main/java/com/juick/Message.java +++ b/src/main/java/com/juick/Message.java @@ -17,6 +17,8 @@ */ package com.juick; +import com.google.gson.annotations.SerializedName; + import java.util.ArrayList; import java.util.Arrays; import java.util.Date; @@ -27,8 +29,13 @@ import java.util.Date; */ public class Message { + @SerializedName("mid") public int MID = 0; + + @SerializedName("rid") public int RID = 0; + + @SerializedName("replyto") public int ReplyTo = 0; public String Text = null; public User User = null; |