/* Options: Date: 2025-11-08 11:00:31 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: BatchCancelBets.* //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/bets/cancel/batch", Verbs="POST") public static class BatchCancelBets implements IReturn { public String id = null; public String slipId = null; public Origin origin = null; public ArrayList betIds = null; public String getId() { return id; } public BatchCancelBets setId(String value) { this.id = value; return this; } public String getSlipId() { return slipId; } public BatchCancelBets setSlipId(String value) { this.slipId = value; return this; } public Origin getOrigin() { return origin; } public BatchCancelBets setOrigin(Origin value) { this.origin = value; return this; } public ArrayList getBetIds() { return betIds; } public BatchCancelBets setBetIds(ArrayList value) { this.betIds = 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 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 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 { } }