/* Options: Date: 2025-12-06 08:52:43 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://backoffice-api.brovs.com //Package: //GlobalNamespace: BackofficeApi //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: LotteryGetAllRequest.* //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 BackofficeApi { @Route(Path="/lottery/get_all", Verbs="GET") public static class LotteryGetAllRequest implements IReturn, IGet { public LotteryState state = null; public LotteryState getState() { return state; } public LotteryGetAllRequest setState(LotteryState value) { this.state = value; return this; } private static Object responseType = LotteryGetAllResponse.class; public Object getResponseType() { return responseType; } } public static class LotteryGetAllResponse { public ArrayList lotteries = new ArrayList(); public ArrayList getLotteries() { return lotteries; } public LotteryGetAllResponse setLotteries(ArrayList value) { this.lotteries = value; return this; } } public static enum LotteryState { Draft, Published, Archived; } public static class LotteryListingDto { public Long id = null; public Date startAt = null; public Date stopAt = null; public String title = null; public String countryCode = null; public TimeRelativeLotteryState state = null; public Long getId() { return id; } public LotteryListingDto setId(Long value) { this.id = value; return this; } public Date getStartAt() { return startAt; } public LotteryListingDto setStartAt(Date value) { this.startAt = value; return this; } public Date getStopAt() { return stopAt; } public LotteryListingDto setStopAt(Date value) { this.stopAt = value; return this; } public String getTitle() { return title; } public LotteryListingDto setTitle(String value) { this.title = value; return this; } public String getCountryCode() { return countryCode; } public LotteryListingDto setCountryCode(String value) { this.countryCode = value; return this; } public TimeRelativeLotteryState getState() { return state; } public LotteryListingDto setState(TimeRelativeLotteryState value) { this.state = value; return this; } } public static enum TimeRelativeLotteryState { Draft, PublishedUpcoming, PublishedActive, PublishedEndedDrawWinner, PublishedEndedContactWinner, Archived; } }