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

com.algolia.search.models.recommendation.SetStrategyRequest Maven / Gradle / Ivy

The newest version!
package com.algolia.search.models.recommendation;

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

@SuppressWarnings("unused")
public class SetStrategyRequest implements Serializable {

  public SetStrategyRequest() {}

  public SetStrategyRequest(
      List eventsScoring,
      List facetsScoring,
      Integer personalizationImpact) {
    this.eventsScoring = eventsScoring;
    this.facetsScoring = facetsScoring;
    this.personalizationImpact = personalizationImpact;
  }

  public List getEventsScoring() {
    return eventsScoring;
  }

  public SetStrategyRequest setEventsScoring(List eventsScoring) {
    this.eventsScoring = eventsScoring;
    return this;
  }

  public List getFacetsScoring() {
    return facetsScoring;
  }

  public SetStrategyRequest setFacetsScoring(List facetsScoring) {
    this.facetsScoring = facetsScoring;
    return this;
  }

  public int getPersonalizationImpact() {
    return personalizationImpact;
  }

  public SetStrategyRequest setPersonalizationImpact(int personalizationImpact) {
    this.personalizationImpact = personalizationImpact;
    return this;
  }

  private List eventsScoring;
  private List facetsScoring;
  private int personalizationImpact;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy