Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public class TodoRecord {
- @SerializedName("id")
- Integer id;
- @SerializedName("title")
- String title;
- @SerializedName("user_id")
- Integer userId;
- @SerializedName("completed")
- Boolean completed;
- public TodoRecord(String title, Integer userId, Boolean completed) {
- this.title = title;
- this.userId = userId;
- this.completed = completed;
- }
- public Integer getId() {
- return id;
- }
- public void setId(Integer id) {
- this.id = id;
- }
- public String getTitle() {
- return title;
- }
- public void setTitle(String title) {
- this.title = title;
- }
- public Integer getUserId() {
- return userId;
- }
- public void setUserId(Integer userId) {
- this.userId = userId;
- }
- public Boolean getCompleted() {
- return completed;
- }
- public void setCompleted(Boolean completed) {
- this.completed = completed;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement