/* Options: Date: 2024-07-03 13:29:10 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: ExportReport.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack // @Route("/bookings/{BookingId}/reports/{ReportId}", "GET") // @ValidateRequest(Validator="IsAuthenticated") public class ExportReport : Codable { /** * Id of the booking */ // @ApiMember(Description="Id of the booking", IsRequired=true, ParameterType="path") public var bookingId:Int /** * 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? /** * Id of the report */ // @ApiMember(Description="Id of the report", IsRequired=true, ParameterType="path") public var reportId:Int public var sendReceiptMethod:SendReceiptMethod required public init(){} } public enum SendReceiptMethod : Int, Codable { case Email = 1 case PdfExport = 2 }