Skip to content

Instantly share code, notes, and snippets.

@janishar
Created August 28, 2016 21:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save janishar/d42afff4fa8cf9d00284f1c17f70b8ac to your computer and use it in GitHub Desktop.
Save janishar/d42afff4fa8cf9d00284f1c17f70b8ac to your computer and use it in GitHub Desktop.
public class Profile {
@SerializedName("name")
@Expose
private String name;
@SerializedName("url")
@Expose
private String imageUrl;
@SerializedName("age")
@Expose
private Integer age;
@SerializedName("location")
@Expose
private String location;
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getImageUrl() {
return imageUrl;
}
public void setImageUrl(String imageUrl) {
this.imageUrl = imageUrl;
}
public Integer getAge() {
return age;
}
public void setAge(Integer age) {
this.age = age;
}
public String getLocation() {
return location;
}
public void setLocation(String location) {
this.location = location;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment