/* Options: Date: 2024-11-21 12:04:25 SwiftVersion: 5.0 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: GetRebateCodeStatus.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/rebatecodes/statuses", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") public class GetRebateCodeStatus : IReturn, Codable { public typealias Return = RebateCodeStatusResponse /** * RebateCodeId */ // @ApiMember(Description="RebateCodeId") public var id:Int? required public init(){} } public class RebateCodeStatusResponse : Codable { public var responseStatus:ResponseStatus public var rebateCodeStatusItems:[RebateCodeStatusItem] = [] required public init(){} } public class RebateCodeStatusItem : Codable { public var id:Int public var rebateCodeStatusName:String public var rebateCodeStatusDescription:String required public init(){} }