com.tinypass.client.user.model.User Maven / Gradle / Ivy
package com.tinypass.client.user.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
public class User {
/* The user's ID */
private String uid = null;
/* The user's first name */
private String firstName = null;
/* The user's last name */
private String lastName = null;
/* The user's personal name. Name and surname ordered as per locale */
private String personalName = null;
/* The user's email address (single) */
private String email = null;
/* The user's profile image */
private String image1 = null;
public String getUid() {
return uid;
}
public void setUid(String uid) {
this.uid = uid;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public String getPersonalName() {
return personalName;
}
public void setPersonalName(String personalName) {
this.personalName = personalName;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public String getImage1() {
return image1;
}
public void setImage1(String image1) {
this.image1 = image1;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class User {\n");
sb.append(" uid: ").append(uid).append("\n");
sb.append(" firstName: ").append(firstName).append("\n");
sb.append(" lastName: ").append(lastName).append("\n");
sb.append(" personalName: ").append(personalName).append("\n");
sb.append(" email: ").append(email).append("\n");
sb.append(" image1: ").append(image1).append("\n");
sb.append("}\n");
return sb.toString();
}
}