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

com.algolia.search.models.rules.Consequence Maven / Gradle / Ivy

There is a newer version: 3.16.9
Show newest version
package com.algolia.search.models.rules;

import com.fasterxml.jackson.annotation.JsonInclude;
import java.io.Serializable;
import java.util.List;
import java.util.Map;

/**
 * Consequence parameter. More information:
 *
 * @see Algolia.com
 */
@JsonInclude(JsonInclude.Include.NON_NULL)
public class Consequence implements Serializable {

  public Consequence() {}

  public ConsequenceParams getParams() {
    return params;
  }

  public Consequence setParams(ConsequenceParams params) {
    this.params = params;
    return this;
  }

  public List getPromote() {
    return promote;
  }

  public Consequence setPromote(List promote) {
    this.promote = promote;
    return this;
  }

  public Map getUserData() {
    return userData;
  }

  public Consequence setUserData(Map userData) {
    this.userData = userData;
    return this;
  }

  public List getHide() {
    return hide;
  }

  public Consequence setHide(List hide) {
    this.hide = hide;
    return this;
  }

  public Boolean getFilterPromotes() {
    return filterPromotes;
  }

  public Consequence setFilterPromotes(Boolean filterPromotes) {
    this.filterPromotes = filterPromotes;
    return this;
  }

  private ConsequenceParams params;
  private List promote;
  private Map userData;
  private List hide;
  private Boolean filterPromotes;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy