Created
June 3, 2019 04:30
-
-
Save pprathameshmore/74e74194ba9bd925b1da7106573f5620 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.prathameshmore.retrofit_android; | |
import com.google.gson.annotations.SerializedName; | |
public class Post { | |
private int userID; | |
private int id; | |
private String title; | |
@SerializedName("body") | |
private String text; | |
public int getUserID() { | |
return userID; | |
} | |
public int getId() { | |
return id; | |
} | |
public String getTitle() { | |
return title; | |
} | |
public String getText() { | |
return text; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment