/* Options: Date: 2025-12-06 07:05:09 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://backoffice-api.brovs.com //GlobalNamespace: BackofficeApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: DeleteBarTypeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class DeleteBarTypeResponse implements IConvertible { bool? success; DeleteBarTypeResponse({this.success}); DeleteBarTypeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { success = json['success']; return this; } Map toJson() => { 'success': success }; getTypeName() => "DeleteBarTypeResponse"; TypeContext? context = _ctx; } // @Route("/bar_type/delete", "DELETE") class DeleteBarTypeRequest implements IReturn, IDelete, IConvertible { String? slug; DeleteBarTypeRequest({this.slug}); DeleteBarTypeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { slug = json['slug']; return this; } Map toJson() => { 'slug': slug }; createResponse() => DeleteBarTypeResponse(); getResponseTypeName() => "DeleteBarTypeResponse"; getTypeName() => "DeleteBarTypeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'DeleteBarTypeResponse': TypeInfo(TypeOf.Class, create:() => DeleteBarTypeResponse()), 'DeleteBarTypeRequest': TypeInfo(TypeOf.Class, create:() => DeleteBarTypeRequest()), });