""" Options: Date: 2024-12-03 18:40:48 Version: 8.23 Tip: To override a DTO option, remove "#" prefix before updating BaseUrl: https://api.bokamera.se #GlobalNamespace: #AddServiceStackTypes: True #AddResponseStatus: False #AddImplicitVersion: #AddDescriptionAsComments: True IncludeTypes: UpdateBookingPrintout.* #ExcludeTypes: #DefaultImports: datetime,decimal,marshmallow.fields:*,servicestack:*,typing:*,dataclasses:dataclass/field,dataclasses_json:dataclass_json/LetterCase/Undefined/config,enum:Enum/IntEnum #DataClass: #DataClassJson: """ import datetime import decimal from marshmallow.fields import * from servicestack import * from typing import * from dataclasses import dataclass, field from dataclasses_json import dataclass_json, LetterCase, Undefined, config from enum import Enum, IntEnum class ICompany: company_id: Optional[str] = None @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class BookingPrintoutQueryResponse: # @ApiMember(Description="Report id") id: int = 0 """ Report id """ # @ApiMember(Description="Report Name") name: Optional[str] = None """ Report Name """ # @ApiMember(Description="Report header left cell content", IsRequired=true) header_left_cell: Optional[str] = None """ Report header left cell content """ # @ApiMember(Description="Report header middle cell content", IsRequired=true) header_middle_cell: Optional[str] = None """ Report header middle cell content """ # @ApiMember(Description="Report header right cell content", IsRequired=true) header_right_cell: Optional[str] = None """ Report header right cell content """ # @ApiMember(Description="Report body cell content", IsRequired=true) body_cell: Optional[str] = None """ Report body cell content """ # @ApiMember(Description="Report footer left cell content", IsRequired=true) footer_left_cell: Optional[str] = None """ Report footer left cell content """ # @ApiMember(Description="Report footer middle cell content", IsRequired=true) footer_middle_cell: Optional[str] = None """ Report footer middle cell content """ # @ApiMember(Description="Report footer right cell content", IsRequired=true) footer_right_cell: Optional[str] = None """ Report footer right cell content """ # @Route("/reports/booking/printout/{Id}", "PUT") # @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) # @ValidateRequest(Validator="IsAuthenticated") @dataclass_json(letter_case=LetterCase.CAMEL, undefined=Undefined.EXCLUDE) @dataclass class UpdateBookingPrintout(IReturn[BookingPrintoutQueryResponse], ICompany): # @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") company_id: Optional[str] = None """ 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="Report id", IsRequired=true, ParameterType="path") id: int = 0 """ Report id """ # @ApiMember(Description="Report Name", IsRequired=true) name: Optional[str] = None """ Report Name """ # @ApiMember(Description="Report header left cell content", IsRequired=true) header_left_cell: Optional[str] = None """ Report header left cell content """ # @ApiMember(Description="Report header middle cell content", IsRequired=true) header_middle_cell: Optional[str] = None """ Report header middle cell content """ # @ApiMember(Description="Report header right cell content", IsRequired=true) header_right_cell: Optional[str] = None """ Report header right cell content """ # @ApiMember(Description="Report body cell content", IsRequired=true) body_cell: Optional[str] = None """ Report body cell content """ # @ApiMember(Description="Report footer left cell content", IsRequired=true) footer_left_cell: Optional[str] = None """ Report footer left cell content """ # @ApiMember(Description="Report footer middle cell content", IsRequired=true) footer_middle_cell: Optional[str] = None """ Report footer middle cell content """ # @ApiMember(Description="Report footer right cell content", IsRequired=true) footer_right_cell: Optional[str] = None """ Report footer right cell content """