Datasets:
ArXiv:
License:
File size: 414 Bytes
c574d3a |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
package gson;
import com.google.gson.annotations.SerializedName;
import java.util.Date;
public class Post {
@SerializedName("id")
public long id;
@SerializedName("date")
public Date dateCreated;
@SerializedName("title")
public String title;
@SerializedName("author")
public String author;
@SerializedName("url")
public String url;
@SerializedName("body")
public String body;
}
|