cloud.eppo.rac.dto.Rule 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.rac.dto;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
/** Rule Class */
public class Rule {
private final String allocationKey;
private final List conditions;
@JsonCreator
public Rule(
@JsonProperty("allocationKey") String allocationKey,
@JsonProperty("conditions") List conditions) {
this.allocationKey = allocationKey;
this.conditions = conditions;
}
public String getAllocationKey() {
return allocationKey;
}
public List getConditions() {
return conditions;
}
}