Created
September 4, 2017 22:16
-
-
Save galek/58c4db30830d440139cbd8a4fb96f19a to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class ServerTails | |
{ | |
@SerializedName("user_id") | |
private int user_id; | |
@SerializedName("body") | |
private String body; | |
@SerializedName("post_id") | |
private int post_id; | |
@SerializedName("likes") | |
private int likes; | |
@SerializedName("dislikes") | |
private int dislikes; | |
} | |
class ServerPost | |
{ | |
@SerializedName("caption") | |
private String caption; | |
@SerializedName("user_id") | |
private int user_id; | |
@SerializedName("body") | |
private String body; | |
@SerializedName("contest_id") | |
private int contest_id; | |
@SerializedName("tails") | |
List<ServerTails> tails; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment