Created
August 30, 2019 21:18
-
-
Save harilee1325/a35622a6369d4ee91debb5f4ec703e56 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package com.example.retrofitsimple; | |
import com.google.gson.annotations.Expose; | |
import com.google.gson.annotations.SerializedName; | |
public class Response { | |
@SerializedName("userId") | |
@Expose | |
private Integer userId; | |
@SerializedName("id") | |
@Expose | |
private Integer id; | |
@SerializedName("title") | |
@Expose | |
private String title; | |
@SerializedName("completed") | |
@Expose | |
private Boolean completed; | |
public Integer getUserId() { | |
return userId; | |
} | |
public void setUserId(Integer userId) { | |
this.userId = userId; | |
} | |
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 Boolean getCompleted() { | |
return completed; | |
} | |
public void setCompleted(Boolean completed) { | |
this.completed = completed; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment