com.tinypass.client.publisher.model.UserInfo 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 UserInfo {
/* 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 last name */
private String lastName = null;
/* The user's first name */
private String firstName = null;
/* The user's display name */
private String displayName = null;
/* The user ID */
private String uid = null;
/* The user's profile image */
private String image1 = null;
/* The user creation date */
private String createDate = null;
/* The count of user accesses */
private Integer accessCount = null;
/* The next bill */
private String nextBill = null;
private List spentMoney = new ArrayList();
/* Whether the user has trial access */
private Boolean hasTrial = null;
/* The ID of the last unresolved inquiry */
private String lastUnresolvedInquiryId = null;
/* The last issue ID */
private String lastIssueId = null;
/* The last comment */
private String lastComment = null;
/* The user's email address (single) */
private String email = null;
/* The date of the user's last visit */
private Date lastVisit = null;
private List userAliases = new ArrayList();
/* Email confirmation state */
private Integer emailState = null;
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 getLastName() {
return lastName;
}
public void setLastName(String lastName) {
this.lastName = lastName;
}
public String getFirstName() {
return firstName;
}
public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getDisplayName() {
return displayName;
}
public void setDisplayName(String displayName) {
this.displayName = displayName;
}
public String getUid() {
return uid;
}
public void setUid(String uid) {
this.uid = uid;
}
public String getImage1() {
return image1;
}
public void setImage1(String image1) {
this.image1 = image1;
}
public String getCreateDate() {
return createDate;
}
public void setCreateDate(String createDate) {
this.createDate = createDate;
}
public Integer getAccessCount() {
return accessCount;
}
public void setAccessCount(Integer accessCount) {
this.accessCount = accessCount;
}
public String getNextBill() {
return nextBill;
}
public void setNextBill(String nextBill) {
this.nextBill = nextBill;
}
public List getSpentMoney() {
return spentMoney;
}
public void setSpentMoney(List spentMoney) {
this.spentMoney = spentMoney;
}
public Boolean getHasTrial() {
return hasTrial;
}
public void setHasTrial(Boolean hasTrial) {
this.hasTrial = hasTrial;
}
public String getLastUnresolvedInquiryId() {
return lastUnresolvedInquiryId;
}
public void setLastUnresolvedInquiryId(String lastUnresolvedInquiryId) {
this.lastUnresolvedInquiryId = lastUnresolvedInquiryId;
}
public String getLastIssueId() {
return lastIssueId;
}
public void setLastIssueId(String lastIssueId) {
this.lastIssueId = lastIssueId;
}
public String getLastComment() {
return lastComment;
}
public void setLastComment(String lastComment) {
this.lastComment = lastComment;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
public Date getLastVisit() {
return lastVisit;
}
public void setLastVisit(Date lastVisit) {
this.lastVisit = lastVisit;
}
public List getUserAliases() {
return userAliases;
}
public void setUserAliases(List userAliases) {
this.userAliases = userAliases;
}
public Integer getEmailState() {
return emailState;
}
public void setEmailState(Integer emailState) {
this.emailState = emailState;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserInfo {\n");
sb.append(" name: ").append(name).append("\n");
sb.append(" personalName: ").append(personalName).append("\n");
sb.append(" lastName: ").append(lastName).append("\n");
sb.append(" firstName: ").append(firstName).append("\n");
sb.append(" displayName: ").append(displayName).append("\n");
sb.append(" uid: ").append(uid).append("\n");
sb.append(" image1: ").append(image1).append("\n");
sb.append(" createDate: ").append(createDate).append("\n");
sb.append(" accessCount: ").append(accessCount).append("\n");
sb.append(" nextBill: ").append(nextBill).append("\n");
sb.append(" spentMoney: ").append(spentMoney).append("\n");
sb.append(" hasTrial: ").append(hasTrial).append("\n");
sb.append(" lastUnresolvedInquiryId: ").append(lastUnresolvedInquiryId).append("\n");
sb.append(" lastIssueId: ").append(lastIssueId).append("\n");
sb.append(" lastComment: ").append(lastComment).append("\n");
sb.append(" email: ").append(email).append("\n");
sb.append(" lastVisit: ").append(lastVisit).append("\n");
sb.append(" userAliases: ").append(userAliases).append("\n");
sb.append(" emailState: ").append(emailState).append("\n");
sb.append("}\n");
return sb.toString();
}
}