/* Options: Date: 2024-12-03 18:01:39 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: UpdateQvicklyApiSettings.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/payment/billmate/apisettings/", "PUT") // @ValidateRequest(Validator="IsAuthenticated") public class UpdateQvicklyApiSettings : IReturn, ICompany, Codable { public typealias Return = QvicklyApiSettingsQueryResponse /** * The company id, if empty will use the company id for the user you are logged in with. */ // @ApiMember(Description="The company id, if empty will use the company id for the user you are logged in with.") public var companyId:String? /** * The Qvickly id */ // @ApiMember(Description="The Qvickly id") public var id:Int? /** * The Qvickly secret */ // @ApiMember(Description="The Qvickly secret") public var secret:String /** * The Qvickly receiver email */ // @ApiMember(Description="The Qvickly receiver email") public var receiverEmail:String /** * The Qvickly receiver firstname */ // @ApiMember(Description="The Qvickly receiver firstname") public var receiverFirstname:String /** * The Qvickly receiver lastname */ // @ApiMember(Description="The Qvickly receiver lastname") public var receiverLastname:String required public init(){} } public class QvicklyApiSettingsQueryResponse : Codable { /** * The company id */ // @ApiMember(Description="The company id") public var companyId:String /** * The Qvickly id */ // @ApiMember(Description="The Qvickly id") public var id:Int /** * The Qvickly secret */ // @ApiMember(Description="The Qvickly secret") public var secret:String /** * The Qvickly receiver email */ // @ApiMember(Description="The Qvickly receiver email") public var receiverEmail:String /** * The Qvickly receiver firstname */ // @ApiMember(Description="The Qvickly receiver firstname") public var receiverFirstname:String /** * The Qvickly receiver lastname */ // @ApiMember(Description="The Qvickly receiver lastname") public var receiverLastname:String required public init(){} } public protocol ICompany { var companyId:String? { get set } }