All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.tinypass.client.publisher.model.User Maven / Gradle / Ivy

There is a newer version: 16.331.0
Show newest version
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 io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import java.util.Map;

public class User {

  /* The user's first name */
  private String firstName = null;
  

  /* The user's last name */
  private String lastName = null;
  

  /* The user's email address (single) */
  private String email = null;
  

  /* The user's personal name. Name and surname ordered as per locale */
  private String personalName = null;
  

  /* The user's ID */
  private String uid = null;
  

  /* The user's profile image */
  private String image1 = null;
  

  /* The user creation date */
  private Integer createDate = null;
  

  /* Whether a reset password email is sent */
  private Boolean resetPasswordEmailSent = null;
  

    private List> customFields = new ArrayList>();
  

  /* The date of the user's last visit */
  private Integer lastVisit = null;
  

  /* The last login stamp */
  private Integer lastLogin = null;
  

  /* The user's display name */
  private String displayName = null;
  


  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 getEmail() {
    return email;
  }
  public void setEmail(String email) {
    this.email = email;
  }


  public String getPersonalName() {
    return personalName;
  }
  public void setPersonalName(String personalName) {
    this.personalName = personalName;
  }


  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 Integer getCreateDate() {
    return createDate;
  }
  public void setCreateDate(Integer createDate) {
    this.createDate = createDate;
  }


  public Boolean getResetPasswordEmailSent() {
    return resetPasswordEmailSent;
  }
  public void setResetPasswordEmailSent(Boolean resetPasswordEmailSent) {
    this.resetPasswordEmailSent = resetPasswordEmailSent;
  }


  public List> getCustomFields() {
    return customFields;
  }
  public void setCustomFields(List> customFields) {
    this.customFields = customFields;
  }


  public Integer getLastVisit() {
    return lastVisit;
  }
  public void setLastVisit(Integer lastVisit) {
    this.lastVisit = lastVisit;
  }


  public Integer getLastLogin() {
    return lastLogin;
  }
  public void setLastLogin(Integer lastLogin) {
    this.lastLogin = lastLogin;
  }


  public String getDisplayName() {
    return displayName;
  }
  public void setDisplayName(String displayName) {
    this.displayName = displayName;
  }


  @Override
  public String toString()  {
    StringBuilder sb = new StringBuilder();
    sb.append("class User {\n");
    sb.append("  firstName: ").append(firstName).append("\n");
    sb.append("  lastName: ").append(lastName).append("\n");
    sb.append("  email: ").append(email).append("\n");
    sb.append("  personalName: ").append(personalName).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("  resetPasswordEmailSent: ").append(resetPasswordEmailSent).append("\n");
    sb.append("  customFields: ").append(customFields).append("\n");
    sb.append("  lastVisit: ").append(lastVisit).append("\n");
    sb.append("  lastLogin: ").append(lastLogin).append("\n");
    sb.append("  displayName: ").append(displayName).append("\n");
    sb.append("}\n");
    return sb.toString();
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy