/* Options: Date: 2024-07-03 13:20:09 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: ServicePricesMappingQuery.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/services/prices/mappings", "GET") // @ValidateRequest(Validator="IsAuthenticated") public class ServicePricesMappingQuery : IReturn, ICompany, Codable { public typealias Return = ServicePriceMappingResponse /** * Company to show services for */ // @ApiMember(Description="Company to show services for") public var companyId:String? /** * ReferenceType */ // @ApiMember(Description="ReferenceType") public var referenceType:String required public init(){} } public class ServicePriceMappingResponse : Codable { /** * The company id */ // @ApiMember(Description="The company id") public var companyId:String public var id:String /** * The price id */ // @ApiMember(Description="The price id") public var priceId:Int /** * The external reference */ // @ApiMember(Description="The external reference") public var externalReference:String /** * The Reference Type */ // @ApiMember(Description="The Reference Type") public var referenceType:String required public init(){} } public protocol ICompany { var companyId:String? { get set } }