/* Options: Date: 2024-12-23 13:21:08 SwiftVersion: 5.0 Version: 8.0 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://consumer-api.brovs.com //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: LotteryAcquireTicketsRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/lottery/points", "POST") public class LotteryAcquireTicketsRequest : IReturn, IPost, Codable { public typealias Return = LotteryAcquireTicketsResponse public var pointsToConvert:Int required public init(){} } public class LotteryAcquireTicketsResponse : Codable { public var newTicketsAcquired:Int public var pointsSpent:Int public var totalPointsLeft:Int public var totalTicketsInLottery:Int required public init(){} }