-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPosts.java
More file actions
41 lines (33 loc) · 918 Bytes
/
Posts.java
File metadata and controls
41 lines (33 loc) · 918 Bytes
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
package com.pranay.mynews;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.util.List;
public class Posts {
@SerializedName("articles")
@Expose
private List<Article> articles = null;
@SerializedName("status")
@Expose
private String status;
@SerializedName("totalResults")
@Expose
private Integer totalResults;
public String getStatus() {
return this.status;
}
public void setStatus(String status2) {
this.status = status2;
}
public Integer getTotalResults() {
return this.totalResults;
}
public void setTotalResults(Integer totalResults2) {
this.totalResults = totalResults2;
}
public List<Article> getArticles() {
return this.articles;
}
public void setArticles(List<Article> articles2) {
this.articles = articles2;
}
}