package org.jinstagram.entity.users.feed;

import com.google.gson.annotations.SerializedName;

public class UserFeedData {
	@SerializedName("first_name")
	private String firstName;

	@SerializedName("id")
	private long id;

	@SerializedName("last_name")
	private String lastName;

	@SerializedName("profile_picture")
	private String profilePictureUrl;

	@SerializedName("username")
	private String userName;

	/**
	 * @return the userName
	 */
	public String getUserName() {
		return userName;
	}

	/**
	 * @param userName the userName to set
	 */
	public void setUserName(String userName) {
		this.userName = userName;
	}

	/**
	 * @return the firstName
	 */
	public String getFirstName() {
		return firstName;
	}

	/**
	 * @param firstName the firstName to set
	 */
	public void setFirstName(String firstName) {
		this.firstName = firstName;
	}

	/**
	 * @return the profilePictureUrl
	 */
	public String getProfilePictureUrl() {
		return profilePictureUrl;
	}

	/**
	 * @param profilePictureUrl the profilePictureUrl to set
	 */
	public void setProfilePictureUrl(String profilePictureUrl) {
		this.profilePictureUrl = profilePictureUrl;
	}

	/**
	 * @return the lastName
	 */
	public String getLastName() {
		return lastName;
	}

	/**
	 * @param lastName the lastName to set
	 */
	public void setLastName(String lastName) {
		this.lastName = lastName;
	}

	/**
	 * @return the id
	 */
	public long getId() {
		return id;
	}

	/**
	 * @param id the id to set
	 */
	public void setId(long id) {
		this.id = id;
	}

    @Override
    public String toString() {
        return String.format("UserFeedData [firstName=%s, id=%s, lastName=%s, profilePictureUrl=%s, userName=%s]",
                firstName, id, lastName, profilePictureUrl, userName);
    }
}

@@ -116,16 +116,29 @@
 dData %7B%0A
+%09@Deprecated%0A
 %09@Serial
@@ -152,32 +152,32 @@
 e(%22first_name%22)%0A
-
 %09private String 
@@ -230,16 +230,29 @@
 ng id;%0A%0A
+%09@Deprecated%0A
 %09@Serial
@@ -397,24 +397,24 @@
 %22username%22)%0A
-
 %09private Str
@@ -426,16 +426,204 @@
 serName;
+%0A%09%0A%09@SerializedName(%22full_name%22)%0A%09private String fullName;%0A%0A%09public String getFullName() %7B%0A%09%09return fullName;%0A%09%7D%0A%0A%09public void setFullName(String fullName) %7B%0A%09%09this.fullName = fullName;%0A%09%7D
 %0A%0A%09/**%0A%09

add full name field. old first name and last name are marked as deprecated.