/* Options: Date: 2026-08-02 17:55:37 Version: 10.05 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://testapi.bokamera.se //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: ReleaseBookingReservation.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } // @Route("/bookingreservations/{SessionKey}", "DELETE") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="No reservation found for the given session key", StatusCode=404) class ReleaseBookingReservation implements IReturnVoid, ICompany, IConvertible, IDelete { /** * The opaque session key that identifies the reservation. */ // @ApiMember(Description="The opaque session key that identifies the reservation.", IsRequired=true, ParameterType="path") String SessionKey = ""; /** * 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.") String? CompanyId; ReleaseBookingReservation({this.SessionKey,this.CompanyId}); ReleaseBookingReservation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { SessionKey = json['SessionKey']; CompanyId = json['CompanyId']; return this; } Map toJson() => { 'SessionKey': SessionKey, 'CompanyId': CompanyId }; createResponse() {} getTypeName() => "ReleaseBookingReservation"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'testapi.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'ReleaseBookingReservation': TypeInfo(TypeOf.Class, create:() => ReleaseBookingReservation()), });