/* Options: Date: 2024-12-23 11:33:30 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: LotteryGetRequest.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/lottery", Verbs="GET") open class LotteryGetRequest : IReturn, IGet { companion object { private val responseType = LotteryGetResponse::class.java } override fun getResponseType(): Any? = LotteryGetRequest.responseType } open class LotteryGetResponse { var activeLottery:ActiveLotteryDto? = null var relevantPreviousLottery:PreviousLotteryDto? = null } open class ActiveLotteryDto { var id:Long? = null var imageUrls:ArrayList = ArrayList() var startAt:Date? = null var stopAt:Date? = null var title:String? = null var description:String? = null var yourTicketCount:Long? = null } open class PreviousLotteryDto { var id:Long? = null var startAt:Date? = null var stopAt:Date? = null var title:String? = null var yourTicketCount:Long? = null var winner:String? = null var youAreTheWinner:Boolean? = null }