Created
December 29, 2016 08:24
-
-
Save dharmakshetri/ae4deebaabed40d3cbf26ecc7d6fb216 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 co.apidemos.model; | |
| import com.google.gson.annotations.SerializedName; | |
| import java.util.HashMap; | |
| /** | |
| * Created by dharma kshetri on 12/27/16. | |
| */ | |
| public class StackOverFlowUser { | |
| @SerializedName("location") | |
| private String location; | |
| public String getLocation() { | |
| return location; | |
| } | |
| public void setLocation(String location) { | |
| this.location = location; | |
| } | |
| public String getUserName() { | |
| return userName; | |
| } | |
| public void setUserName(String userName) { | |
| this.userName = userName; | |
| } | |
| public String getReputation() { | |
| return reputation; | |
| } | |
| public void setReputation(String reputation) { | |
| this.reputation = reputation; | |
| } | |
| public HashMap<String, Integer> getBadges() { | |
| return badges; | |
| } | |
| public void setBadges(HashMap<String, Integer> badges) { | |
| this.badges = badges; | |
| } | |
| @SerializedName("display_name") | |
| private String userName; | |
| @SerializedName("reputation") | |
| private String reputation; | |
| @SerializedName("badge_counts") | |
| private HashMap<String, Integer> badges= new HashMap<>(); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment