/* Options: Date: 2024-11-21 12:02:46 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: UpdateBookingPrintout.* //ExcludeTypes: //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.* import java.util.* import net.servicestack.client.* @Route(Path="/reports/booking/printout/{Id}", Verbs="PUT") @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) @ValidateRequest(Validator="IsAuthenticated") open class UpdateBookingPrintout : IReturn, ICompany { /** * Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used */ @ApiMember(Description="Enter the company you want to see add a token for, if blank and you are an admin, your company id will be used", ParameterType="query") var CompanyId:UUID? = null /** * Report id */ @ApiMember(Description="Report id", IsRequired=true, ParameterType="path") var Id:Int? = null /** * Report Name */ @ApiMember(Description="Report Name", IsRequired=true) var Name:String? = null /** * Report header left cell content */ @ApiMember(Description="Report header left cell content", IsRequired=true) var HeaderLeftCell:String? = null /** * Report header middle cell content */ @ApiMember(Description="Report header middle cell content", IsRequired=true) var HeaderMiddleCell:String? = null /** * Report header right cell content */ @ApiMember(Description="Report header right cell content", IsRequired=true) var HeaderRightCell:String? = null /** * Report body cell content */ @ApiMember(Description="Report body cell content", IsRequired=true) var BodyCell:String? = null /** * Report footer left cell content */ @ApiMember(Description="Report footer left cell content", IsRequired=true) var FooterLeftCell:String? = null /** * Report footer middle cell content */ @ApiMember(Description="Report footer middle cell content", IsRequired=true) var FooterMiddleCell:String? = null /** * Report footer right cell content */ @ApiMember(Description="Report footer right cell content", IsRequired=true) var FooterRightCell:String? = null companion object { private val responseType = BookingPrintoutQueryResponse::class.java } override fun getResponseType(): Any? = UpdateBookingPrintout.responseType } open class BookingPrintoutQueryResponse { /** * Report id */ @ApiMember(Description="Report id") var Id:Int? = null /** * Report Name */ @ApiMember(Description="Report Name") var Name:String? = null /** * Report header left cell content */ @ApiMember(Description="Report header left cell content", IsRequired=true) var HeaderLeftCell:String? = null /** * Report header middle cell content */ @ApiMember(Description="Report header middle cell content", IsRequired=true) var HeaderMiddleCell:String? = null /** * Report header right cell content */ @ApiMember(Description="Report header right cell content", IsRequired=true) var HeaderRightCell:String? = null /** * Report body cell content */ @ApiMember(Description="Report body cell content", IsRequired=true) var BodyCell:String? = null /** * Report footer left cell content */ @ApiMember(Description="Report footer left cell content", IsRequired=true) var FooterLeftCell:String? = null /** * Report footer middle cell content */ @ApiMember(Description="Report footer middle cell content", IsRequired=true) var FooterMiddleCell:String? = null /** * Report footer right cell content */ @ApiMember(Description="Report footer right cell content", IsRequired=true) var FooterRightCell:String? = null } open interface ICompany { var CompanyId:UUID? }