/* Options: Date: 2024-12-03 18:24:04 Version: 8.23 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://api.bokamera.se //Package: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ExportReport.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/bookings/{BookingId}/reports/{ReportId}", Verbs="GET") @ValidateRequest(Validator="IsAuthenticated") open class ExportReport { /** * Id of the booking */ @ApiMember(Description="Id of the booking", IsRequired=true, ParameterType="path") var BookingId:Int? = null /** * 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.") var CompanyId:UUID? = null /** * Id of the report */ @ApiMember(Description="Id of the report", IsRequired=true, ParameterType="path") var ReportId:Int? = null var SendReceiptMethod:SendReceiptMethod? = null } enum class SendReceiptMethod(val value:Int) { Email(1), PdfExport(2), }