39 lines
693 B
Java
39 lines
693 B
Java
|
|
package com.baeldung.unirest;
|
||
|
|
|
||
|
|
public class Article {
|
||
|
|
|
||
|
|
private String id;
|
||
|
|
private String title;
|
||
|
|
private String author;
|
||
|
|
|
||
|
|
public Article(String id, String title, String author) {
|
||
|
|
super();
|
||
|
|
this.id = id;
|
||
|
|
this.title = title;
|
||
|
|
this.author = author;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getId() {
|
||
|
|
return id;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setId(String id) {
|
||
|
|
this.id = id;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getTitle() {
|
||
|
|
return title;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setTitle(String title) {
|
||
|
|
this.title = title;
|
||
|
|
}
|
||
|
|
|
||
|
|
public String getAuthor() {
|
||
|
|
return author;
|
||
|
|
}
|
||
|
|
|
||
|
|
public void setAuthor(String author) {
|
||
|
|
this.author = author;
|
||
|
|
}
|
||
|
|
}
|