/* Options: Date: 2025-11-08 10:58:42 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://s4w2.api.bettor.cc //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetRecentWins.* //ExcludeTypes: //InitializeCollections: False //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,java.io.InputStream,net.servicestack.client.*,com.google.gson.annotations.*,com.google.gson.reflect.* */ import java.math.* import java.util.* import java.io.InputStream import net.servicestack.client.* import com.google.gson.annotations.* import com.google.gson.reflect.* @Route(Path="/qry/wins/recent") open class GetRecentWins : IReturn { companion object { private val responseType = RecentWins::class.java } override fun getResponseType(): Any? = GetRecentWins.responseType } open class RecentWins { open var id:String? = null open var wins:ArrayList? = null open var maxSize:Int? = null open var threshold:BigDecimal? = null } open class Ref { open var id:String? = null @SerializedName("val") open var Val:String? = null } open class Origin { open var application:BettingApp? = null open var ip:String? = null open var organization:RefEx? = null open var region:Ref? = null open var locationGroup:Ref? = null open var location:RefEx? = null open var device:RefEx? = null open var clerk:Ref? = null } open class Win { open var id:Long? = null open var sId:Long? = null open var bettor:Ref? = null open var origin:Origin? = null open var placedAt:Date? = null open var roundId:Long? = null open var content:String? = null open var stake:BigDecimal? = null open var outcome:BetOutcome? = null open var amount:BigDecimal? = null open var processingStatus:BetProcessingStatus? = null open var validity:BetValidity? = null open var results:HashMap? = null open var payload:HashMap? = null } open class BettingApp { open var name:String? = null open var version:String? = null } open class RefEx : Ref() { @SerializedName("data") open var Data:RecordDictionary? = null } enum class BetOutcome(val value:Int) { @SerializedName("0") Unknown(0), @SerializedName("1") Lost(1), @SerializedName("2") Won(2), @SerializedName("3") Void(3), } enum class BetProcessingStatus(val value:Int) { @SerializedName("0") Open(0), @SerializedName("1") Closed(1), } enum class BetValidity(val value:Int) { @SerializedName("0") Valid(0), @SerializedName("1") Canceled(1), @SerializedName("2") Void(2), @SerializedName("3") Reverted(3), } open class RecordDictionary : HashMap() { }