/* Options: Date: 2025-11-09 11:01:42 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: ConfigureSuperWin.* //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="/cmd/configure/super-win", Verbs="POST") public static class ConfigureSuperWin implements IReturn { public String id = null; public SuperWinConfig configuration = null; public String getId() { return id; } public ConfigureSuperWin setId(String value) { this.id = value; return this; } public SuperWinConfig getConfiguration() { return configuration; } public ConfigureSuperWin setConfiguration(SuperWinConfig value) { this.configuration = value; return this; } private static Object responseType = ResponseStatus.class; public Object getResponseType() { return responseType; } } @DataContract public static class ResponseStatus { @DataMember(Order=1) public String errorCode = null; @DataMember(Order=2) public String message = null; @DataMember(Order=3) public String stackTrace = null; @DataMember(Order=4) public ArrayList errors = null; @DataMember(Order=5) public HashMap meta = null; public String getErrorCode() { return errorCode; } public ResponseStatus setErrorCode(String value) { this.errorCode = value; return this; } public String getMessage() { return message; } public ResponseStatus setMessage(String value) { this.message = value; return this; } public String getStackTrace() { return stackTrace; } public ResponseStatus setStackTrace(String value) { this.stackTrace = value; return this; } public ArrayList getErrors() { return errors; } public ResponseStatus setErrors(ArrayList value) { this.errors = value; return this; } public HashMap getMeta() { return meta; } public ResponseStatus setMeta(HashMap value) { this.meta = value; return this; } } public static class SuperWinConfig { public Boolean isActive = null; public Float stakePct = null; public Integer minPrizesPerDay = null; public Integer maxPrizesPerDay = null; public PeriodOfDay activePeriod = null; public Float minDailyPrizeInPct = null; public Integer minIntervalBetweenMultiplePrizesInMinutes = null; public Boolean allowSuperWinForSpecialBets = null; public WebPlayerWinnerCooldownPolicyConfig webPlayerWinnerCooldownPolicy = null; public Boolean getIsActive() { return isActive; } public SuperWinConfig setIsActive(Boolean value) { this.isActive = value; return this; } public Float getStakePct() { return stakePct; } public SuperWinConfig setStakePct(Float value) { this.stakePct = value; return this; } public Integer getMinPrizesPerDay() { return minPrizesPerDay; } public SuperWinConfig setMinPrizesPerDay(Integer value) { this.minPrizesPerDay = value; return this; } public Integer getMaxPrizesPerDay() { return maxPrizesPerDay; } public SuperWinConfig setMaxPrizesPerDay(Integer value) { this.maxPrizesPerDay = value; return this; } public PeriodOfDay getActivePeriod() { return activePeriod; } public SuperWinConfig setActivePeriod(PeriodOfDay value) { this.activePeriod = value; return this; } public Float getMinDailyPrizeInPct() { return minDailyPrizeInPct; } public SuperWinConfig setMinDailyPrizeInPct(Float value) { this.minDailyPrizeInPct = value; return this; } public Integer getMinIntervalBetweenMultiplePrizesInMinutes() { return minIntervalBetweenMultiplePrizesInMinutes; } public SuperWinConfig setMinIntervalBetweenMultiplePrizesInMinutes(Integer value) { this.minIntervalBetweenMultiplePrizesInMinutes = value; return this; } public Boolean isAllowSuperWinForSpecialBets() { return allowSuperWinForSpecialBets; } public SuperWinConfig setAllowSuperWinForSpecialBets(Boolean value) { this.allowSuperWinForSpecialBets = value; return this; } public WebPlayerWinnerCooldownPolicyConfig getWebPlayerWinnerCooldownPolicy() { return webPlayerWinnerCooldownPolicy; } public SuperWinConfig setWebPlayerWinnerCooldownPolicy(WebPlayerWinnerCooldownPolicyConfig value) { this.webPlayerWinnerCooldownPolicy = value; return this; } } public static class PeriodOfDay { public TimeSpan start = null; public TimeSpan end = null; public TimeSpan getStart() { return start; } public PeriodOfDay setStart(TimeSpan value) { this.start = value; return this; } public TimeSpan getEnd() { return end; } public PeriodOfDay setEnd(TimeSpan value) { this.end = value; return this; } } public static class WebPlayerWinnerCooldownPolicyConfig { public Boolean isActive = null; public Integer cooldownIntervalInDays = null; public Boolean getIsActive() { return isActive; } public WebPlayerWinnerCooldownPolicyConfig setIsActive(Boolean value) { this.isActive = value; return this; } public Integer getCooldownIntervalInDays() { return cooldownIntervalInDays; } public WebPlayerWinnerCooldownPolicyConfig setCooldownIntervalInDays(Integer value) { this.cooldownIntervalInDays = value; return this; } } }