com.tinypass.client.anon.model.UserDto Maven / Gradle / Ivy
package com.tinypass.client.anon.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;
import java.util.Date;
public class UserDto {
/* The user's ID */
private String uid = null;
/* The user's email address (single) */
private String email = 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 creation date */
private Integer createDate = null;
public String getUid() {
return uid;
}
public void setUid(String uid) {
this.uid = uid;
}
public String getEmail() {
return email;
}
public void setEmail(String email) {
this.email = email;
}
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 Integer getCreateDate() {
return createDate;
}
public void setCreateDate(Integer createDate) {
this.createDate = createDate;
}
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("class UserDto {\n");
sb.append(" uid: ").append(uid).append("\n");
sb.append(" email: ").append(email).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(" createDate: ").append(createDate).append("\n");
sb.append("}\n");
return sb.toString();
}
}