
cloud.eppo.rac.dto.Allocation Maven / Gradle / Ivy
package cloud.eppo.rac.dto;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.List;
public class Allocation {
private final double percentExposure;
private final List variations;
@JsonCreator
public Allocation(
@JsonProperty("percentExposure") double percentExposure,
@JsonProperty("allocationKey") List variations) {
this.percentExposure = percentExposure;
this.variations = variations;
}
public double getPercentExposure() {
return percentExposure;
}
public List getVariations() {
return variations;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy