com.tinypass.client.publisher.model.UserDetails Maven / Gradle / Ivy
package com.tinypass.client.publisher.model;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonValue;
import com.tinypass.client.publisher.model.PriceDTO;
import com.tinypass.client.publisher.model.UserAliasDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
public class UserDetails {
/* The user ID */
private String uid = null;
/* The user's name */
private String name = null;
/* The user's personal name. Name and surname ordered as per locale */
private String personalName = null;
/* The user's display name */
private String displayName = null;
/* The user's profile image */
private String image1 = null;
/* The count of user accesses */
private Integer accessCount = null;
private List spentMoney = new ArrayList();
/* The user creation date */
private Date createDate = null;
/* The user's email address (single) */
private String email = null;
/* Email confirmation state */
private Integer emailState = null;
/* The last active date */
private Date lastActiveDate = null;
private List userAliases = new ArrayList();
public String getUid() {
return uid;
}
public void setUid(String uid) {
this.uid = uid;
}
public String getName() {
return name;
}
public void setName(String name) {
this.name = name;
}
public String getPersonalName() {
return personalName;
}
public void setPersonalName(String personalName) {
this.personalName = personalName;
}
public String getDisplayName() {
return displayName;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public String getImage1() {
return image1;
}
public void setImage1(String image1) {
this.image1 = image1;
}
public Integer getAccessCount() {
return accessCount;
}
public void setAccessCount(Integer accessCount) {
this.accessCount = accessCount;
}
public List getSpentMoney() {
return spentMoney;
}
public void setSpentMoney(List spentMoney) {
this.spentMoney = spentMoney;
}
public Date getCreateDate() {
return createDate;
}
public void setCreateDate(Date createDate) {
this.createDate = createDate;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public Integer getEmailState() {
return emailState;
}
public void setEmailState(Integer emailState) {
this.emailState = emailState;
}
public Date getLastActiveDate() {
return lastActiveDate;
}
public void setLastActiveDate(Date lastActiveDate) {
this.lastActiveDate = lastActiveDate;
}
public List getUserAliases() {
return userAliases;
}
public void setUserAliases(List userAliases) {
this.userAliases = userAliases;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserDetails {\n");
sb.append(" uid: ").append(uid).append("\n");
sb.append(" name: ").append(name).append("\n");
sb.append(" personalName: ").append(personalName).append("\n");
sb.append(" displayName: ").append(displayName).append("\n");
sb.append(" image1: ").append(image1).append("\n");
sb.append(" accessCount: ").append(accessCount).append("\n");
sb.append(" spentMoney: ").append(spentMoney).append("\n");
sb.append(" createDate: ").append(createDate).append("\n");
sb.append(" email: ").append(email).append("\n");
sb.append(" emailState: ").append(emailState).append("\n");
sb.append(" lastActiveDate: ").append(lastActiveDate).append("\n");
sb.append(" userAliases: ").append(userAliases).append("\n");
sb.append("}\n");
return sb.toString();
}
}