/* Options: Date: 2024-11-21 11:52:54 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: GetRebateCodeType.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/rebatecodes/types", "GET") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ValidateRequest(Validator="IsAuthenticated") public class GetRebateCodeType : IReturn, Codable { public typealias Return = RebateCodeTypeQueryResponse /** * RebateCodeId */ // @ApiMember(Description="RebateCodeId") public var id:Int? required public init(){} } public class RebateCodeTypeQueryResponse : Codable { public var responseStatus:ResponseStatus public var rebateCodeTypeItems:[RebateCodeTypeResponse] = [] required public init(){} } public class RebateCodeTypeResponse : Codable { public var id:Int public var name:String public var Description:String required public init(){} }