/* Options: Date: 2025-11-08 10:57:08 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: GetFeed.* //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/feed") public static class GetFeed implements IReturn { private static Object responseType = Feed.class; public Object getResponseType() { return responseType; } } public static class Feed { public String id = null; public Round round = null; public Jackpot5Info lastJackpot5Info = null; public SuperWinInfo superWinInfo = null; public GlobalCodePotInfo globalCodePotInfo = null; public String getId() { return id; } public Feed setId(String value) { this.id = value; return this; } public Round getRound() { return round; } public Feed setRound(Round value) { this.round = value; return this; } public Jackpot5Info getLastJackpot5Info() { return lastJackpot5Info; } public Feed setLastJackpot5Info(Jackpot5Info value) { this.lastJackpot5Info = value; return this; } public SuperWinInfo getSuperWinInfo() { return superWinInfo; } public Feed setSuperWinInfo(SuperWinInfo value) { this.superWinInfo = value; return this; } public GlobalCodePotInfo getGlobalCodePotInfo() { return globalCodePotInfo; } public Feed setGlobalCodePotInfo(GlobalCodePotInfo value) { this.globalCodePotInfo = 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 RoundConfiguration { public RecordList coefficients = null; public Boolean isDoubleTripleActive = null; public Boolean isJackpot5Active = null; public Integer countdownDurationInSeconds = null; public CountdownConfiguration countdownConfiguration = null; public DrawConfiguration drawConfiguration = null; public Integer resultsDurationInSeconds = null; public RTPStrategies rtpStrategy = null; public HappyHourConfiguration happyHourConfiguration = null; public RecordList getCoefficients() { return coefficients; } public RoundConfiguration setCoefficients(RecordList value) { this.coefficients = value; return this; } public Boolean getIsDoubleTripleActive() { return isDoubleTripleActive; } public RoundConfiguration setIsDoubleTripleActive(Boolean value) { this.isDoubleTripleActive = value; return this; } public Boolean getIsJackpot5Active() { return isJackpot5Active; } public RoundConfiguration setIsJackpot5Active(Boolean value) { this.isJackpot5Active = value; return this; } public Integer getCountdownDurationInSeconds() { return countdownDurationInSeconds; } public RoundConfiguration setCountdownDurationInSeconds(Integer value) { this.countdownDurationInSeconds = value; return this; } public CountdownConfiguration getCountdownConfiguration() { return countdownConfiguration; } public RoundConfiguration setCountdownConfiguration(CountdownConfiguration value) { this.countdownConfiguration = value; return this; } public DrawConfiguration getDrawConfiguration() { return drawConfiguration; } public RoundConfiguration setDrawConfiguration(DrawConfiguration value) { this.drawConfiguration = value; return this; } public Integer getResultsDurationInSeconds() { return resultsDurationInSeconds; } public RoundConfiguration setResultsDurationInSeconds(Integer value) { this.resultsDurationInSeconds = value; return this; } public RTPStrategies getRtpStrategy() { return rtpStrategy; } public RoundConfiguration setRtpStrategy(RTPStrategies value) { this.rtpStrategy = value; return this; } public HappyHourConfiguration getHappyHourConfiguration() { return happyHourConfiguration; } public RoundConfiguration setHappyHourConfiguration(HappyHourConfiguration value) { this.happyHourConfiguration = value; return this; } } public static class RecordList extends ArrayList { } public static class Round { public String id = null; public Date createdAt = null; public Date updatedAt = null; public Date shouldStartAtUtc = null; public Date startedAtUtc = null; public RoundStatus status = null; public RoundConfiguration configuration = null; public String sequence = null; public Jackpot5Info jackpot5Info = null; public SuperWinInfo superWinInfo = null; public GlobalCodePotInfo globalCodePotInfo = null; public RoundProgress progress = null; public Boolean isLocked = null; public Boolean isCalculated = null; public String getId() { return id; } public Round setId(String value) { this.id = value; return this; } public Date getCreatedAt() { return createdAt; } public Round setCreatedAt(Date value) { this.createdAt = value; return this; } public Date getUpdatedAt() { return updatedAt; } public Round setUpdatedAt(Date value) { this.updatedAt = value; return this; } public Date getShouldStartAtUtc() { return shouldStartAtUtc; } public Round setShouldStartAtUtc(Date value) { this.shouldStartAtUtc = value; return this; } public Date getStartedAtUtc() { return startedAtUtc; } public Round setStartedAtUtc(Date value) { this.startedAtUtc = value; return this; } public RoundStatus getStatus() { return status; } public Round setStatus(RoundStatus value) { this.status = value; return this; } public RoundConfiguration getConfiguration() { return configuration; } public Round setConfiguration(RoundConfiguration value) { this.configuration = value; return this; } public String getSequence() { return sequence; } public Round setSequence(String value) { this.sequence = value; return this; } public Jackpot5Info getJackpot5Info() { return jackpot5Info; } public Round setJackpot5Info(Jackpot5Info value) { this.jackpot5Info = value; return this; } public SuperWinInfo getSuperWinInfo() { return superWinInfo; } public Round setSuperWinInfo(SuperWinInfo value) { this.superWinInfo = value; return this; } public GlobalCodePotInfo getGlobalCodePotInfo() { return globalCodePotInfo; } public Round setGlobalCodePotInfo(GlobalCodePotInfo value) { this.globalCodePotInfo = value; return this; } public RoundProgress getProgress() { return progress; } public Round setProgress(RoundProgress value) { this.progress = value; return this; } public Boolean getIsLocked() { return isLocked; } public Round setIsLocked(Boolean value) { this.isLocked = value; return this; } public Boolean getIsCalculated() { return isCalculated; } public Round setIsCalculated(Boolean value) { this.isCalculated = 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 enum Stages { @SerializedName("0") None(0), @SerializedName("1") Countdown(1), @SerializedName("2") Processing(2), @SerializedName("3") Draw(3), @SerializedName("4") Results(4); private final int value; Stages(final int intValue) { value = intValue; } public int getValue() { return value; } } 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 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 CountdownConfiguration { public Integer lockdownStepFromEnd = null; public Integer assertLockdownStepFromEnd = null; public Integer getLockdownStepFromEnd() { return lockdownStepFromEnd; } public CountdownConfiguration setLockdownStepFromEnd(Integer value) { this.lockdownStepFromEnd = value; return this; } public Integer getAssertLockdownStepFromEnd() { return assertLockdownStepFromEnd; } public CountdownConfiguration setAssertLockdownStepFromEnd(Integer value) { this.assertLockdownStepFromEnd = value; return this; } } public static class DrawConfiguration { public Integer introIntervalInMs = null; public Integer animationIntervalInMs = null; public Integer outroIntervalInMs = null; public Integer getIntroIntervalInMs() { return introIntervalInMs; } public DrawConfiguration setIntroIntervalInMs(Integer value) { this.introIntervalInMs = value; return this; } public Integer getAnimationIntervalInMs() { return animationIntervalInMs; } public DrawConfiguration setAnimationIntervalInMs(Integer value) { this.animationIntervalInMs = value; return this; } public Integer getOutroIntervalInMs() { return outroIntervalInMs; } public DrawConfiguration setOutroIntervalInMs(Integer value) { this.outroIntervalInMs = value; return this; } } public static enum RTPStrategies { @SerializedName("0") Rng(0), @SerializedName("1") Accumulator(1); private final int value; RTPStrategies(final int intValue) { value = intValue; } public int getValue() { return value; } } public static class HappyHourConfiguration { public Boolean isHappyHour = null; public BigDecimal oddsModifier = null; public BigDecimal roundPoolBonusPct = null; public Boolean getIsHappyHour() { return isHappyHour; } public HappyHourConfiguration setIsHappyHour(Boolean value) { this.isHappyHour = value; return this; } public BigDecimal getOddsModifier() { return oddsModifier; } public HappyHourConfiguration setOddsModifier(BigDecimal value) { this.oddsModifier = value; return this; } public BigDecimal getRoundPoolBonusPct() { return roundPoolBonusPct; } public HappyHourConfiguration setRoundPoolBonusPct(BigDecimal value) { this.roundPoolBonusPct = value; return this; } } public static class RecordDictionary extends HashMap { } public static enum RoundStatus { @SerializedName("0") Pending(0), @SerializedName("1") InProgress(1), @SerializedName("2") Ended(2); private final int value; RoundStatus(final int intValue) { value = intValue; } public int getValue() { return value; } } public static class RoundProgress { public Stages stage = null; public Integer step = null; public Integer steps = null; public Date utcTimestamp = null; public Stages getStage() { return stage; } public RoundProgress setStage(Stages value) { this.stage = value; return this; } public Integer getStep() { return step; } public RoundProgress setStep(Integer value) { this.step = value; return this; } public Integer getSteps() { return steps; } public RoundProgress setSteps(Integer value) { this.steps = value; return this; } public Date getUtcTimestamp() { return utcTimestamp; } public RoundProgress setUtcTimestamp(Date value) { this.utcTimestamp = value; return this; } } 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; } } }