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

com.symphony.bdk.bot.sdk.event.model.UserDetails Maven / Gradle / Ivy

package com.symphony.bdk.bot.sdk.event.model;

import lombok.Data;
import lombok.NoArgsConstructor;
import model.User;

/**
 * Symphony user details
 *
 * @author Gabriel Berberian
 */
@Data
@NoArgsConstructor
public class UserDetails {

  private Long userId;
  private String email;
  private String firstName;
  private String lastName;
  private String displayName;
  private String username;

  public UserDetails(User user) {
    this.userId = user.getUserId();
    this.email = user.getEmail();
    this.firstName = user.getFirstName();
    this.lastName = user.getLastName();
    this.displayName = user.getDisplayName();
    this.username = user.getUsername();
  }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy