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

it.contactlab.hub.sdk.java.models.AbstractContacts 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.List;
import java.util.Optional;
import javax.annotation.Nullable;

/**
 * The contact information.
 */
@Value.Immutable
@Value.Style(typeImmutable = "*")
public abstract class AbstractContacts {

  /**
   * The e-mail.
   */
  public abstract Optional email();

  /**
   * The fax number.
   */
  public abstract Optional fax();

  /**
   * The mobile phone number.
   */
  public abstract Optional mobilePhone();

  /**
   * The phone.
   */
  public abstract Optional phone();

  /**
   * Other contacts.
   *
   * 

Marked as @Nullable so that you can create a `patchCustomer` object with * this field set to null. It is never `null` when it is persisted.

*/ @Nullable public abstract List otherContacts(); /** * Mobile devices. * *

Marked as @Nullable so that you can create a `patchCustomer` object with * this field set to null. It is never `null` when it is persisted.

*/ @Nullable public abstract List mobileDevices(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy