-
Notifications
You must be signed in to change notification settings - Fork 0
/
Article.java
95 lines (77 loc) · 1.93 KB
/
Article.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
package com.pranay.mynews;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
public class Article {
@SerializedName("author")
@Expose
private String author;
@SerializedName("content")
@Expose
private String content;
@SerializedName("description")
@Expose
private String description;
@SerializedName("publishedAt")
@Expose
private String publishedAt;
@SerializedName("source")
@Expose
private Source source;
@SerializedName("title")
@Expose
private String title;
@SerializedName("url")
@Expose
private String url;
@SerializedName("urlToImage")
@Expose
private String urlToImage;
public Source getSource() {
return this.source;
}
public void setSource(Source source2) {
this.source = source2;
}
public String getAuthor() {
return this.author;
}
public void setAuthor(String author2) {
this.author = author2;
}
public String getTitle() {
return this.title;
}
public void setTitle(String title2) {
this.title = title2;
}
public String getDescription() {
return this.description;
}
public void setDescription(String description2) {
this.description = description2;
}
public String getUrl() {
return this.url;
}
public void setUrl(String url2) {
this.url = url2;
}
public String getUrlToImage() {
return this.urlToImage;
}
public void setUrlToImage(String urlToImage2) {
this.urlToImage = urlToImage2;
}
public String getPublishedAt() {
return this.publishedAt;
}
public void setPublishedAt(String publishedAt2) {
this.publishedAt = publishedAt2;
}
public String getContent() {
return this.content;
}
public void setContent(String content2) {
this.content = content2;
}
}