/* Options: Date: 2025-11-09 11:12:02 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: GetDraw.* //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/rounds/draw") public static class GetDraw implements IReturn { public String id = null; public String getId() { return id; } public GetDraw setId(String value) { this.id = value; return this; } private static Object responseType = Draw.class; public Object getResponseType() { return responseType; } } public static class Draw { public String id = null; public String sequence = null; public ArrayList inputAccumulation = null; public ArrayList outputAccumulation = null; public RoundOutcome outcome = null; public String getId() { return id; } public Draw setId(String value) { this.id = value; return this; } public String getSequence() { return sequence; } public Draw setSequence(String value) { this.sequence = value; return this; } public ArrayList getInputAccumulation() { return inputAccumulation; } public Draw setInputAccumulation(ArrayList value) { this.inputAccumulation = value; return this; } public ArrayList getOutputAccumulation() { return outputAccumulation; } public Draw setOutputAccumulation(ArrayList value) { this.outputAccumulation = value; return this; } public RoundOutcome getOutcome() { return outcome; } public Draw setOutcome(RoundOutcome value) { this.outcome = 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 Origin { public BettingApp application = null; public String ip = null; public RefEx organization = null; public Ref region = null; public Ref locationGroup = null; public RefEx location = null; public RefEx device = null; public Ref clerk = null; public BettingApp getApplication() { return application; } public Origin setApplication(BettingApp value) { this.application = value; return this; } public String getIp() { return ip; } public Origin setIp(String value) { this.ip = value; return this; } public RefEx getOrganization() { return organization; } public Origin setOrganization(RefEx value) { this.organization = value; return this; } public Ref getRegion() { return region; } public Origin setRegion(Ref value) { this.region = value; return this; } public Ref getLocationGroup() { return locationGroup; } public Origin setLocationGroup(Ref value) { this.locationGroup = value; return this; } public RefEx getLocation() { return location; } public Origin setLocation(RefEx value) { this.location = value; return this; } public RefEx getDevice() { return device; } public Origin setDevice(RefEx value) { this.device = value; return this; } public Ref getClerk() { return clerk; } public Origin setClerk(Ref value) { this.clerk = 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 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 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 class Jackpot5Info { public Boolean isHit = null; public BigDecimal amountAccumulated = null; public BigDecimal amountAwarded = null; public Integer nrOfWinners = null; public ArrayList jackPot5Winners = null; public Boolean getIsHit() { return isHit; } public Jackpot5Info setIsHit(Boolean value) { this.isHit = value; return this; } public BigDecimal getAmountAccumulated() { return amountAccumulated; } public Jackpot5Info setAmountAccumulated(BigDecimal value) { this.amountAccumulated = value; return this; } public BigDecimal getAmountAwarded() { return amountAwarded; } public Jackpot5Info setAmountAwarded(BigDecimal value) { this.amountAwarded = value; return this; } public Integer getNrOfWinners() { return nrOfWinners; } public Jackpot5Info setNrOfWinners(Integer value) { this.nrOfWinners = value; return this; } public ArrayList getJackPot5Winners() { return jackPot5Winners; } public Jackpot5Info setJackPot5Winners(ArrayList value) { this.jackPot5Winners = value; return this; } } public static class SuperWinInfo { public Boolean isActive = null; public SuperWinWinner winner = null; public BigDecimal availableAmount = null; public Boolean allPrizesAwarded = null; public Boolean getIsActive() { return isActive; } public SuperWinInfo setIsActive(Boolean value) { this.isActive = value; return this; } public SuperWinWinner getWinner() { return winner; } public SuperWinInfo setWinner(SuperWinWinner value) { this.winner = value; return this; } public BigDecimal getAvailableAmount() { return availableAmount; } public SuperWinInfo setAvailableAmount(BigDecimal value) { this.availableAmount = value; return this; } public Boolean isAllPrizesAwarded() { return allPrizesAwarded; } public SuperWinInfo setAllPrizesAwarded(Boolean value) { this.allPrizesAwarded = value; return this; } } public static class GlobalCodePotInfo { public Boolean isActive = null; public Boolean isDrawn = null; public WinnerByCode winner = null; public String inertCode = null; public BigDecimal accumulation = null; public Boolean getIsActive() { return isActive; } public GlobalCodePotInfo setIsActive(Boolean value) { this.isActive = value; return this; } public Boolean getIsDrawn() { return isDrawn; } public GlobalCodePotInfo setIsDrawn(Boolean value) { this.isDrawn = value; return this; } public WinnerByCode getWinner() { return winner; } public GlobalCodePotInfo setWinner(WinnerByCode value) { this.winner = value; return this; } public String getInertCode() { return inertCode; } public GlobalCodePotInfo setInertCode(String value) { this.inertCode = value; return this; } public BigDecimal getAccumulation() { return accumulation; } public GlobalCodePotInfo setAccumulation(BigDecimal value) { this.accumulation = value; return this; } } public static class WinnerByCode { public String roundId = null; public Date drawnAtUtc = null; public String slipId = null; public String betId = null; public String code = null; public BigDecimal amount = null; public Origin origin = null; public Ref bettor = null; public String locationAddressOrBettorInfo = null; public String getRoundId() { return roundId; } public WinnerByCode setRoundId(String value) { this.roundId = value; return this; } public Date getDrawnAtUtc() { return drawnAtUtc; } public WinnerByCode setDrawnAtUtc(Date value) { this.drawnAtUtc = value; return this; } public String getSlipId() { return slipId; } public WinnerByCode setSlipId(String value) { this.slipId = value; return this; } public String getBetId() { return betId; } public WinnerByCode setBetId(String value) { this.betId = value; return this; } public String getCode() { return code; } public WinnerByCode setCode(String value) { this.code = value; return this; } public BigDecimal getAmount() { return amount; } public WinnerByCode setAmount(BigDecimal value) { this.amount = value; return this; } public Origin getOrigin() { return origin; } public WinnerByCode setOrigin(Origin value) { this.origin = value; return this; } public Ref getBettor() { return bettor; } public WinnerByCode setBettor(Ref value) { this.bettor = value; return this; } public String getLocationAddressOrBettorInfo() { return locationAddressOrBettorInfo; } public WinnerByCode setLocationAddressOrBettorInfo(String value) { this.locationAddressOrBettorInfo = value; return this; } } public static class SuperWinInfo { public Long durationInMs = null; public Long getDurationInMs() { return durationInMs; } public SuperWinInfo setDurationInMs(Long value) { this.durationInMs = value; return this; } } public static class RoundOutcome { public ArrayList draw = null; public ArrayList customBetOutcomes = null; public ArrayList lcpWinners = null; public SuperWinInfo superWinInfo = null; public Jackpot5Info jackpot5Info = null; public GlobalCodePotInfo globalCodePotInfo = null; public BigDecimal stake = null; public Integer betCount = null; public BigDecimal winnings = null; public BigDecimal balance = null; public BigDecimal returnToPlayer = null; public Integer winCount = null; public Integer slipWinCount = null; public Float winCountPct = null; public Integer slipCount = null; public Integer unitBetCount = null; public ArrayList getDraw() { return draw; } public RoundOutcome setDraw(ArrayList value) { this.draw = value; return this; } public ArrayList getCustomBetOutcomes() { return customBetOutcomes; } public RoundOutcome setCustomBetOutcomes(ArrayList value) { this.customBetOutcomes = value; return this; } public ArrayList getLcpWinners() { return lcpWinners; } public RoundOutcome setLcpWinners(ArrayList value) { this.lcpWinners = value; return this; } public SuperWinInfo getSuperWinInfo() { return superWinInfo; } public RoundOutcome setSuperWinInfo(SuperWinInfo value) { this.superWinInfo = value; return this; } public Jackpot5Info getJackpot5Info() { return jackpot5Info; } public RoundOutcome setJackpot5Info(Jackpot5Info value) { this.jackpot5Info = value; return this; } public GlobalCodePotInfo getGlobalCodePotInfo() { return globalCodePotInfo; } public RoundOutcome setGlobalCodePotInfo(GlobalCodePotInfo value) { this.globalCodePotInfo = value; return this; } public BigDecimal getStake() { return stake; } public RoundOutcome setStake(BigDecimal value) { this.stake = value; return this; } public Integer getBetCount() { return betCount; } public RoundOutcome setBetCount(Integer value) { this.betCount = value; return this; } public BigDecimal getWinnings() { return winnings; } public RoundOutcome setWinnings(BigDecimal value) { this.winnings = value; return this; } public BigDecimal getBalance() { return balance; } public RoundOutcome setBalance(BigDecimal value) { this.balance = value; return this; } public BigDecimal getReturnToPlayer() { return returnToPlayer; } public RoundOutcome setReturnToPlayer(BigDecimal value) { this.returnToPlayer = value; return this; } public Integer getWinCount() { return winCount; } public RoundOutcome setWinCount(Integer value) { this.winCount = value; return this; } public Integer getSlipWinCount() { return slipWinCount; } public RoundOutcome setSlipWinCount(Integer value) { this.slipWinCount = value; return this; } public Float getWinCountPct() { return winCountPct; } public RoundOutcome setWinCountPct(Float value) { this.winCountPct = value; return this; } public Integer getSlipCount() { return slipCount; } public RoundOutcome setSlipCount(Integer value) { this.slipCount = value; return this; } public Integer getUnitBetCount() { return unitBetCount; } public RoundOutcome setUnitBetCount(Integer value) { this.unitBetCount = value; return this; } } public static class BettingApp { public String name = null; public String version = null; public String getName() { return name; } public BettingApp setName(String value) { this.name = value; return this; } public String getVersion() { return version; } public BettingApp setVersion(String value) { this.version = value; return this; } } public static class RefEx extends Ref { public RecordDictionary data = null; public RecordDictionary getData() { return data; } public RefEx setData(RecordDictionary value) { this.data = value; return this; } } public static class RecordDictionary extends HashMap { } public static class JackPot5Winner { public String betId = null; public Integer nrOfCombinations = null; public BigDecimal winningsAmount = null; public Origin origin = null; public Ref bettor = null; public HashMap payload = null; public String getBetId() { return betId; } public JackPot5Winner setBetId(String value) { this.betId = value; return this; } public Integer getNrOfCombinations() { return nrOfCombinations; } public JackPot5Winner setNrOfCombinations(Integer value) { this.nrOfCombinations = value; return this; } public BigDecimal getWinningsAmount() { return winningsAmount; } public JackPot5Winner setWinningsAmount(BigDecimal value) { this.winningsAmount = value; return this; } public Origin getOrigin() { return origin; } public JackPot5Winner setOrigin(Origin value) { this.origin = value; return this; } public Ref getBettor() { return bettor; } public JackPot5Winner setBettor(Ref value) { this.bettor = value; return this; } public HashMap getPayload() { return payload; } public JackPot5Winner setPayload(HashMap value) { this.payload = value; return this; } } public static class DrawItem { public Integer ordinal = null; public Integer number = null; public Float coefficient = null; public Boolean isDoubleTriple = null; public Boolean constitutesJackpot = null; public Integer hits = null; public BigDecimal win = null; public Integer getOrdinal() { return ordinal; } public DrawItem setOrdinal(Integer value) { this.ordinal = value; return this; } public Integer getNumber() { return number; } public DrawItem setNumber(Integer value) { this.number = value; return this; } public Float getCoefficient() { return coefficient; } public DrawItem setCoefficient(Float value) { this.coefficient = value; return this; } public Boolean getIsDoubleTriple() { return isDoubleTriple; } public DrawItem setIsDoubleTriple(Boolean value) { this.isDoubleTriple = value; return this; } public Boolean isConstitutesJackpot() { return constitutesJackpot; } public DrawItem setConstitutesJackpot(Boolean value) { this.constitutesJackpot = value; return this; } public Integer getHits() { return hits; } public DrawItem setHits(Integer value) { this.hits = value; return this; } public BigDecimal getWin() { return win; } public DrawItem setWin(BigDecimal value) { this.win = value; return this; } } public static class CustomBetOutcome { public CustomBetType type = null; public Float coef = null; public Integer winCount = null; public BigDecimal win = null; public Boolean isWin = null; public String results = null; public CustomBetType getType() { return type; } public CustomBetOutcome setType(CustomBetType value) { this.type = value; return this; } public Float getCoef() { return coef; } public CustomBetOutcome setCoef(Float value) { this.coef = value; return this; } public Integer getWinCount() { return winCount; } public CustomBetOutcome setWinCount(Integer value) { this.winCount = value; return this; } public BigDecimal getWin() { return win; } public CustomBetOutcome setWin(BigDecimal value) { this.win = value; return this; } public Boolean getIsWin() { return isWin; } public CustomBetOutcome setIsWin(Boolean value) { this.isWin = value; return this; } public String getResults() { return results; } public CustomBetOutcome setResults(String value) { this.results = value; return this; } } public static enum CustomBetType { @SerializedName("4") FirstNumberOdd(4), @SerializedName("5") FirstNumberEven(5), @SerializedName("6") FirstNumberLessThan245(6), @SerializedName("7") FirstNumberGreaterThan245(7), @SerializedName("8") SumOfFirstFiveLessThan1225(8), @SerializedName("9") SumOfFirstFiveGreaterThan1225(9), @SerializedName("10") FirstColor1(10), @SerializedName("11") FirstColor2(11), @SerializedName("12") FirstColor3(12), @SerializedName("13") FirstColor4(13), @SerializedName("14") FirstColor5(14), @SerializedName("15") FirstColor6(15), @SerializedName("16") FirstColor7(16), @SerializedName("17") FirstColor8(17), @SerializedName("18") MoreOddNumbers(18), @SerializedName("19") MoreEvenNumbers(19); private final int value; CustomBetType(final int intValue) { value = intValue; } public int getValue() { return value; } } }