cloud.eppo.ufc.dto.Allocation Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sdk-common-jvm Show documentation
Show all versions of sdk-common-jvm Show documentation
Eppo SDK for JVM shared library
package cloud.eppo.ufc.dto;
import java.util.Date;
import java.util.List;
import java.util.Set;
public class Allocation {
private String key;
private Set rules;
private Date startAt;
private Date endAt;
private List splits;
private boolean doLog;
public Allocation(
String key,
Set rules,
Date startAt,
Date endAt,
List splits,
boolean doLog) {
this.key = key;
this.rules = rules;
this.startAt = startAt;
this.endAt = endAt;
this.splits = splits;
this.doLog = doLog;
}
public String getKey() {
return key;
}
public void setKey(String key) {
this.key = key;
}
public Set getRules() {
return rules;
}
public void setRules(Set rules) {
this.rules = rules;
}
public Date getStartAt() {
return startAt;
}
public void setStartAt(Date startAt) {
this.startAt = startAt;
}
public Date getEndAt() {
return endAt;
}
public void setEndAt(Date endAt) {
this.endAt = endAt;
}
public List getSplits() {
return splits;
}
public void setSplits(List splits) {
this.splits = splits;
}
public boolean doLog() {
return doLog;
}
public void setDoLog(boolean doLog) {
this.doLog = doLog;
}
}