1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package com.myapp;

public class Article {		 
    public int author_id;
    public String body;
    public String catagory;
    public String created_at;
    public int id;
    public String published;
    public String updated_at;
 
    @Override
    public String toString()
    {
        return "catagory: " +catagory+ "\nbody: "+body;
 
    }
}