/* Options: Date: 2026-08-05 21:09:22 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: AdminReleaseBookingReservation.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ICompany { String? CompanyId; } // @Route("/admin/bookingreservations/{Id}", "DELETE") // @ApiResponse(Description="You were unauthorized to call this service", StatusCode=401) // @ApiResponse(Description="You are not an administrator for the requested company", StatusCode=403) // @ApiResponse(Description="No reservation found for the given id", StatusCode=404) class AdminReleaseBookingReservation implements IReturnVoid, ICompany, IConvertible, IDelete { /** * The internal reservation id (from the admin list endpoint). */ // @ApiMember(Description="The internal reservation id (from the admin list endpoint).", IsRequired=true, ParameterType="path") int Id = 0; /** * 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; AdminReleaseBookingReservation({this.Id,this.CompanyId}); AdminReleaseBookingReservation.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; CompanyId = json['CompanyId']; return this; } Map toJson() => { 'Id': Id, 'CompanyId': CompanyId }; createResponse() {} getTypeName() => "AdminReleaseBookingReservation"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'testapi.bokamera.se', types: { 'ICompany': TypeInfo(TypeOf.Interface), 'AdminReleaseBookingReservation': TypeInfo(TypeOf.Class, create:() => AdminReleaseBookingReservation()), });