/* Options: Date: 2025-11-09 11:07:57 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://s4w2.api.bettor.cc //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetAccumulatorConfig.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.* */ import java.math.*; import java.util.*; import java.io.InputStream; import net.servicestack.client.*; public class dtos { @Route(Path="/qry/config/accumulator") public static class GetAccumulatorConfig implements IReturn { private static Object responseType = AccumulatorConfiguration.class; public Object getResponseType() { return responseType; } } public static class AccumulatorConfiguration extends AccumulatorConfiguration { public String id = null; public Date updatedAt = null; public String getId() { return id; } public AccumulatorConfiguration setId(String value) { this.id = value; return this; } public Date getUpdatedAt() { return updatedAt; } public AccumulatorConfiguration setUpdatedAt(Date value) { this.updatedAt = value; return this; } } public static class Ref { public String id = null; public String val = null; public String getId() { return id; } public Ref setId(String value) { this.id = value; return this; } public String getVal() { return val; } public Ref setVal(String value) { this.val = value; return this; } } public static class AccumulatorConfiguration { public RecordList pools = null; public BigDecimal prevalentStake = null; public BigDecimal purgeThresholdModifier = null; public LocationOptimizationLevel locationOptimizationLevel = null; public ThresholdInterval jackPot5ThresholdInterval = null; public Integer deviationCategorySpanInPct = null; public BigDecimal deviationCategoryThresholdAmount = null; public BigDecimal roundPoolCircuitBreakerThreshold = null; public Integer lowWinCountAffinityInPct = null; public RecordList winCountOrderAffinity = null; public HighRollerSettings highRollerSettings = null; public Boolean overflowCoefficientPoolsToRound = null; public Boolean antiSyphonProtectionOverride = null; public FraudDetectionConfiguration fraudDetectionConfig = null; public DebugConfiguration debugConfig = null; public RecordList getPools() { return pools; } public AccumulatorConfiguration setPools(RecordList value) { this.pools = value; return this; } public BigDecimal getPrevalentStake() { return prevalentStake; } public AccumulatorConfiguration setPrevalentStake(BigDecimal value) { this.prevalentStake = value; return this; } public BigDecimal getPurgeThresholdModifier() { return purgeThresholdModifier; } public AccumulatorConfiguration setPurgeThresholdModifier(BigDecimal value) { this.purgeThresholdModifier = value; return this; } public LocationOptimizationLevel getLocationOptimizationLevel() { return locationOptimizationLevel; } public AccumulatorConfiguration setLocationOptimizationLevel(LocationOptimizationLevel value) { this.locationOptimizationLevel = value; return this; } public ThresholdInterval getJackPot5ThresholdInterval() { return jackPot5ThresholdInterval; } public AccumulatorConfiguration setJackPot5ThresholdInterval(ThresholdInterval value) { this.jackPot5ThresholdInterval = value; return this; } public Integer getDeviationCategorySpanInPct() { return deviationCategorySpanInPct; } public AccumulatorConfiguration setDeviationCategorySpanInPct(Integer value) { this.deviationCategorySpanInPct = value; return this; } public BigDecimal getDeviationCategoryThresholdAmount() { return deviationCategoryThresholdAmount; } public AccumulatorConfiguration setDeviationCategoryThresholdAmount(BigDecimal value) { this.deviationCategoryThresholdAmount = value; return this; } public BigDecimal getRoundPoolCircuitBreakerThreshold() { return roundPoolCircuitBreakerThreshold; } public AccumulatorConfiguration setRoundPoolCircuitBreakerThreshold(BigDecimal value) { this.roundPoolCircuitBreakerThreshold = value; return this; } public Integer getLowWinCountAffinityInPct() { return lowWinCountAffinityInPct; } public AccumulatorConfiguration setLowWinCountAffinityInPct(Integer value) { this.lowWinCountAffinityInPct = value; return this; } public RecordList getWinCountOrderAffinity() { return winCountOrderAffinity; } public AccumulatorConfiguration setWinCountOrderAffinity(RecordList value) { this.winCountOrderAffinity = value; return this; } public HighRollerSettings getHighRollerSettings() { return highRollerSettings; } public AccumulatorConfiguration setHighRollerSettings(HighRollerSettings value) { this.highRollerSettings = value; return this; } public Boolean isOverflowCoefficientPoolsToRound() { return overflowCoefficientPoolsToRound; } public AccumulatorConfiguration setOverflowCoefficientPoolsToRound(Boolean value) { this.overflowCoefficientPoolsToRound = value; return this; } public Boolean isAntiSyphonProtectionOverride() { return antiSyphonProtectionOverride; } public AccumulatorConfiguration setAntiSyphonProtectionOverride(Boolean value) { this.antiSyphonProtectionOverride = value; return this; } public FraudDetectionConfiguration getFraudDetectionConfig() { return fraudDetectionConfig; } public AccumulatorConfiguration setFraudDetectionConfig(FraudDetectionConfiguration value) { this.fraudDetectionConfig = value; return this; } public DebugConfiguration getDebugConfig() { return debugConfig; } public AccumulatorConfiguration setDebugConfig(DebugConfiguration value) { this.debugConfig = value; return this; } } public static class Pool { public Integer id = null; public String name = null; public BigDecimal coefficient = null; public BigDecimal rtp = null; public BigDecimal threshold = null; public BigDecimal balance = null; public BigDecimal rrtp = null; public BigDecimal rBalance = null; public Integer getId() { return id; } public Pool setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public Pool setName(String value) { this.name = value; return this; } public BigDecimal getCoefficient() { return coefficient; } public Pool setCoefficient(BigDecimal value) { this.coefficient = value; return this; } public BigDecimal getRtp() { return rtp; } public Pool setRtp(BigDecimal value) { this.rtp = value; return this; } public BigDecimal getThreshold() { return threshold; } public Pool setThreshold(BigDecimal value) { this.threshold = value; return this; } public BigDecimal getBalance() { return balance; } public Pool setBalance(BigDecimal value) { this.balance = value; return this; } public BigDecimal getRrtp() { return rrtp; } public Pool setRrtp(BigDecimal value) { this.rrtp = value; return this; } public BigDecimal getRBalance() { return rBalance; } public Pool setRBalance(BigDecimal value) { this.rBalance = value; return this; } } public static class RecordList extends ArrayList { } public static class Pool { public Integer id = null; public String name = null; public BigDecimal rtp = null; public BigDecimal reserveRTP = null; public BigDecimal totalRTP = null; public Integer getId() { return id; } public Pool setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public Pool setName(String value) { this.name = value; return this; } public BigDecimal getRtp() { return rtp; } public Pool setRtp(BigDecimal value) { this.rtp = value; return this; } public BigDecimal getReserveRTP() { return reserveRTP; } public Pool setReserveRTP(BigDecimal value) { this.reserveRTP = value; return this; } public BigDecimal getTotalRTP() { return totalRTP; } public Pool setTotalRTP(BigDecimal value) { this.totalRTP = value; return this; } } public static enum LocationOptimizationLevel { @SerializedName("0") None(0), @SerializedName("1") Low(1), @SerializedName("2") Medium(2), @SerializedName("3") High(3); private final int value; LocationOptimizationLevel(final int intValue) { value = intValue; } public int getValue() { return value; } } public static class ThresholdInterval { public BigDecimal start = null; public BigDecimal end = null; public BigDecimal getStart() { return start; } public ThresholdInterval setStart(BigDecimal value) { this.start = value; return this; } public BigDecimal getEnd() { return end; } public ThresholdInterval setEnd(BigDecimal value) { this.end = value; return this; } } public static class WinCountOrderProbability { public SortingOrder order = null; public Integer probability = null; public SortingOrder getOrder() { return order; } public WinCountOrderProbability setOrder(SortingOrder value) { this.order = value; return this; } public Integer getProbability() { return probability; } public WinCountOrderProbability setProbability(Integer value) { this.probability = value; return this; } } public static class HighRollerSettings { public RecordList pools = null; public RecordList categoryThresholds = null; public RecordList getPools() { return pools; } public HighRollerSettings setPools(RecordList value) { this.pools = value; return this; } public RecordList getCategoryThresholds() { return categoryThresholds; } public HighRollerSettings setCategoryThresholds(RecordList value) { this.categoryThresholds = value; return this; } } public static class FraudDetectionConfiguration { public AntiSyphonConfig antiSyphon = null; public AntiSyphonConfig getAntiSyphon() { return antiSyphon; } public FraudDetectionConfiguration setAntiSyphon(AntiSyphonConfig value) { this.antiSyphon = value; return this; } } public static class DebugConfiguration { public Boolean logLocationStats = null; public Boolean logBettorSats = null; public Boolean isLogLocationStats() { return logLocationStats; } public DebugConfiguration setLogLocationStats(Boolean value) { this.logLocationStats = value; return this; } public Boolean isLogBettorSats() { return logBettorSats; } public DebugConfiguration setLogBettorSats(Boolean value) { this.logBettorSats = value; return this; } } public static class Pool { public Integer id = null; public String name = null; public BigDecimal treshold = null; public Integer getId() { return id; } public Pool setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public Pool setName(String value) { this.name = value; return this; } public BigDecimal getTreshold() { return treshold; } public Pool setTreshold(BigDecimal value) { this.treshold = value; return this; } } public static enum SortingOrder { @SerializedName("0") None(0), @SerializedName("1") Ascending(1), @SerializedName("2") Descending(2); private final int value; SortingOrder(final int intValue) { value = intValue; } public int getValue() { return value; } } public static class PoolSettings { public Integer id = null; public String name = null; public Boolean isActive = null; public BigDecimal contributionToRoundPoolPct = null; public PoolCaps caps = null; public Integer getId() { return id; } public PoolSettings setId(Integer value) { this.id = value; return this; } public String getName() { return name; } public PoolSettings setName(String value) { this.name = value; return this; } public Boolean getIsActive() { return isActive; } public PoolSettings setIsActive(Boolean value) { this.isActive = value; return this; } public BigDecimal getContributionToRoundPoolPct() { return contributionToRoundPoolPct; } public PoolSettings setContributionToRoundPoolPct(BigDecimal value) { this.contributionToRoundPoolPct = value; return this; } public PoolCaps getCaps() { return caps; } public PoolSettings setCaps(PoolCaps value) { this.caps = value; return this; } } public static class CategoryThreshold { public StakeCategory category = null; public BigDecimal threshold = null; public StakeCategory getCategory() { return category; } public CategoryThreshold setCategory(StakeCategory value) { this.category = value; return this; } public BigDecimal getThreshold() { return threshold; } public CategoryThreshold setThreshold(BigDecimal value) { this.threshold = value; return this; } } public static class AntiSyphonConfig { public BigDecimal combinationCountPerRoundThresholdPct = null; public RecordList excludedLocations = null; public Boolean includeRoundPctAsBettorSyphonCriteria = null; public Boolean isActive = null; public BigDecimal getCombinationCountPerRoundThresholdPct() { return combinationCountPerRoundThresholdPct; } public AntiSyphonConfig setCombinationCountPerRoundThresholdPct(BigDecimal value) { this.combinationCountPerRoundThresholdPct = value; return this; } public RecordList getExcludedLocations() { return excludedLocations; } public AntiSyphonConfig setExcludedLocations(RecordList value) { this.excludedLocations = value; return this; } public Boolean isIncludeRoundPctAsBettorSyphonCriteria() { return includeRoundPctAsBettorSyphonCriteria; } public AntiSyphonConfig setIncludeRoundPctAsBettorSyphonCriteria(Boolean value) { this.includeRoundPctAsBettorSyphonCriteria = value; return this; } public Boolean getIsActive() { return isActive; } public AntiSyphonConfig setIsActive(Boolean value) { this.isActive = value; return this; } } public static class PoolCaps { public BigDecimal plusCoef = null; public BigDecimal minusCoef = null; public BigDecimal maxAmountInPrevalentStakes = null; public BigDecimal getPlusCoef() { return plusCoef; } public PoolCaps setPlusCoef(BigDecimal value) { this.plusCoef = value; return this; } public BigDecimal getMinusCoef() { return minusCoef; } public PoolCaps setMinusCoef(BigDecimal value) { this.minusCoef = value; return this; } public BigDecimal getMaxAmountInPrevalentStakes() { return maxAmountInPrevalentStakes; } public PoolCaps setMaxAmountInPrevalentStakes(BigDecimal value) { this.maxAmountInPrevalentStakes = value; return this; } } public static enum StakeCategory { @SerializedName("0") Pickerel(0), @SerializedName("1") Fish(1), @SerializedName("2") Salmon(2), @SerializedName("3") Tuna(3), @SerializedName("4") Shark(4), @SerializedName("5") Whale(5), @SerializedName("-1") None(-1); private final int value; StakeCategory(final int intValue) { value = intValue; } public int getValue() { return value; } } }