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

it.contactlab.hub.sdk.java.models.AbstractUser Maven / Gradle / Ivy

There is a newer version: 1.8.0
Show newest version
package it.contactlab.hub.sdk.java.models;

import org.immutables.value.Value;

import java.util.Optional;

/**
 *  Details about the user in an event context info.
 */
@Value.Immutable
@Value.Style(typeImmutable = "*")
public abstract class AbstractUser {

  /**
   * The identifier of the user.
   */
  public abstract String id();

  /**
   * The external identifier of the user.
   */
  public abstract Optional externalId();

  /**
   * The username of the user.
   */
  public abstract Optional username();

  /**
   * The first name of the user.
   */
  public abstract Optional firstName();

  /**
   * The last name of the user.
   */
  public abstract Optional lastName();

  /**
   * The contact information for the user.
   */
  public abstract Optional contacts();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy