-
Notifications
You must be signed in to change notification settings - Fork 0
/
Post.java
101 lines (80 loc) · 2.15 KB
/
Post.java
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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
package com.example.nguyenhuutinh.myapplication;
import com.fasterxml.jackson.annotation.JsonProperty;
public class Post {
@JsonProperty("id")
String id;
@JsonProperty("country_code")
String country_code;
@JsonProperty("content")
String content;
@JsonProperty("title")
String title;
@JsonProperty("visibility")
String visibility;
@JsonProperty("friendly_url")
String friendly_url;
@JsonProperty("image_url")
String image_url;
@JsonProperty("blog_category_id")
String blog_category_id;
@JsonProperty("created_at")
String created_at;
@JsonProperty("blog_category")
BlogCategory blog_category;
@JsonProperty("admin")
Admin admin;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id;
}
public String getCountry_code() {
return country_code;
}
public void setCountry_code(String country_code) {
this.country_code = country_code;
}
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
public String getTitle() {
return title;
}
public void setTitle(String title) {
this.title = title;
}
public String getVisibility() {
return visibility;
}
public void setVisibility(String visibility) {
this.visibility = visibility;
}
public String getFriendly_url() {
return friendly_url;
}
public void setFriendly_url(String friendly_url) {
this.friendly_url = friendly_url;
}
public String getImage_url() {
return image_url;
}
public void setImage_url(String image_url) {
this.image_url = image_url;
}
public String getBlog_category_id() {
return blog_category_id;
}
public void setBlog_category_id(String blog_category_id) {
this.blog_category_id = blog_category_id;
}
public BlogCategory getBlog_category() {
return blog_category;
}
public void setBlog_category(BlogCategory blog_category) {
this.blog_category = blog_category;
}
}