/* Options: Date: 2024-12-23 11:29:55 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: GetRewardsStatusRequest.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/user/rewards", "GET") public class GetRewardsStatusRequest : IReturn, IGet, Codable { public typealias Return = GetRewardsStatusResponse required public init(){} } public class GetRewardsStatusResponse : Codable { public var pointsInTotal:Int public var pointsExpiringAtEndOfThisYear:Int public var referFriend:RewardInfo public var sharePlace:RewardInfo public var shareAdMessage:RewardInfo public var referBusiness:RewardInfo public var pointsAwardedForSignup:Int public var activeLottery:ActiveLottery required public init(){} } public class RewardInfo : Codable { public var points:Int public var count:Int public var pointsGrantedOnSuccess:Int required public init(){} } public class ActiveLottery : Codable { public var id:Int public var firstDay:Date public var lastDay:Date public var contentBeforeSharing:String public var contentAfterSharing:String public var countryCode:String public var yourNumberOfTicketsInThisLottery:Int required public init(){} }