/* Options: Date: 2024-11-21 16:51:27 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: AddQvicklyApiSettings.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/payment/billmate/apisettings", "POST") // @ValidateRequest(Validator="IsAuthenticated") public class AddQvicklyApiSettings : 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", IsRequired=true) public var id:Int /** * The Qvickly secret */ // @ApiMember(Description="The Qvickly secret", IsRequired=true) public var secret:String /** * The Qvickly receiver email */ // @ApiMember(Description="The Qvickly receiver email", IsRequired=true) public var receiverEmail:String /** * The Qvickly receiver firstname */ // @ApiMember(Description="The Qvickly receiver firstname", IsRequired=true) public var receiverFirstname:String /** * The Qvickly receiver lastname */ // @ApiMember(Description="The Qvickly receiver lastname", IsRequired=true) 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 } }