com.algolia.search.models.personalization.EventScoring Maven / Gradle / Ivy
package com.algolia.search.models.personalization;
import com.fasterxml.jackson.annotation.JsonInclude;
import java.io.Serializable;
@JsonInclude(JsonInclude.Include.NON_NULL)
@Deprecated
public class EventScoring implements Serializable {
public EventScoring() {}
public EventScoring(long score, String type) {
this.score = score;
this.type = type;
}
public long getScore() {
return score;
}
public EventScoring setScore(long score) {
this.score = score;
return this;
}
public String getType() {
return type;
}
public EventScoring setType(String type) {
this.type = type;
return this;
}
private long score;
private String type;
}