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

com.adzerk.sdk.model.UserRecord Maven / Gradle / Ivy

package com.adzerk.sdk.model;

import java.io.Serializable;
import java.util.List;
import java.util.Map;

import com.google.gson.annotations.SerializedName;

public class UserRecord implements Serializable {
  public static final String SERIALIZED_NAME_KEY = "key";
  @SerializedName(SERIALIZED_NAME_KEY)
  private String key;

  public UserRecord key(String key) {
    this.key = key;
    return this;
  }

  public String getKey() {
    return key;
  }

  public void setKey(String key) {
    this.key = key;
  }

  public static final String SERIALIZED_NAME_INTERESTS = "interests";
  @SerializedName(SERIALIZED_NAME_INTERESTS)
  private List interests;

  public UserRecord interests(List interests) {
    this.interests = interests;
    return this;
  }

  public List getInterests() {
    return interests;
  }

  public void setInterests(List interests) {
    this.interests = interests;
  }

  public static final String SERIALIZED_NAME_BLOCKED_ITEMS = "blockedItems";
  @SerializedName(SERIALIZED_NAME_BLOCKED_ITEMS)
  private Map> blockedItems;

  public UserRecord blockedItems(Map> blockedItems) {
    this.blockedItems = blockedItems;
    return this;
  }

  public Map> getBlockedItems() {
    return blockedItems;
  }

  public void setBlockedItems(Map> blockedItems) {
    this.blockedItems = blockedItems;
  }

  public static final String SERIALIZED_NAME_PARTNER_USER_IDS = "partnerUserIds";
  @SerializedName(SERIALIZED_NAME_PARTNER_USER_IDS)
  private Map> partnerUserIds;

  public UserRecord partnerUserIds(Map> partnerUserIds) {
    this.partnerUserIds = partnerUserIds;
    return this;
  }

  public Map> getPartnerUserIds() {
    return partnerUserIds;
  }

  public void setPartnerUserIds(Map> partnerUserIds) {
    this.partnerUserIds = partnerUserIds;
  }

  public static final String SERIALIZED_NAME_RETARGETING_SEGMENTS = "retargetingSegments";
  @SerializedName(SERIALIZED_NAME_RETARGETING_SEGMENTS)
  private Map> retargetingSegments;

  public UserRecord retargetingSegments(Map> retargetingSegments) {
    this.retargetingSegments = retargetingSegments;
    return this;
  }

  public Map> getRetargetingSegments() {
    return retargetingSegments;
  }

  public void setRetargetingSegments(Map> retargetingSegments) {
    this.retargetingSegments = retargetingSegments;
  }

  public static final String SERIALIZED_NAME_CUSTOM = "custom";
  @SerializedName(SERIALIZED_NAME_CUSTOM)
  private Map custom;

  public UserRecord custom(Map custom) {
    this.custom = custom;
    return this;
  }

  public Map getCustom() {
    return custom;
  }

  public void setCustom(Map custom) {
    this.custom = custom;
  }

  public static final String SERIALIZED_NAME_CONSENT = "consent";
  @SerializedName(SERIALIZED_NAME_CONSENT)
  private Map consent;

  public UserRecord consent(Map consent) {
    this.consent = consent;
    return this;
  }

  public Map getConsent() {
    return consent;
  }

  public void setConsent(Map consent) {
    this.consent = consent;
  }

  public static final String SERIALIZED_NAME_OPT_OUT = "optOut";
  @SerializedName(SERIALIZED_NAME_OPT_OUT)
  private boolean optOut;

  public UserRecord optOut(boolean optOut) {
    this.optOut = optOut;
    return this;
  }

  public boolean getOptOut() {
    return optOut;
  }

  public void setOptOut(boolean optOut) {
    this.optOut = optOut;
  }

  public static final String SERIALIZED_NAME_IP = "ip";
  @SerializedName(SERIALIZED_NAME_IP)
  private String ip;

  public UserRecord ip(String ip) {
    this.ip = ip;
    return this;
  }

  public String getIp() {
    return ip;
  }

  public void setIp(String ip) {
    this.ip = ip;
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy