/* Options: Date: 2024-07-03 13:22:53 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: DeleteServicePricesMapping.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/services/prices/mappings/{Id}", "DELETE") // @ValidateRequest(Validator="IsAuthenticated") public class DeleteServicePricesMapping : IReturn, ICompany, Codable { public typealias Return = ServicePriceMappingResponse /** * Company to delete price for */ // @ApiMember(Description="Company to delete price for") public var companyId:String? /** * Id of the service */ // @ApiMember(Description="Id of the service", IsRequired=true, ParameterType="path") public var id: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 } }