/* Options: Date: 2025-12-06 07:08:25 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: DeleteCuisineRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class DeleteCuisineResponse implements IConvertible { bool? success; DeleteCuisineResponse({this.success}); DeleteCuisineResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { success = json['success']; return this; } Map toJson() => { 'success': success }; getTypeName() => "DeleteCuisineResponse"; TypeContext? context = _ctx; } // @Route("/cuisine/delete", "DELETE") class DeleteCuisineRequest implements IReturn, IDelete, IConvertible { String? slug; DeleteCuisineRequest({this.slug}); DeleteCuisineRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { slug = json['slug']; return this; } Map toJson() => { 'slug': slug }; createResponse() => DeleteCuisineResponse(); getResponseTypeName() => "DeleteCuisineResponse"; getTypeName() => "DeleteCuisineRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'DeleteCuisineResponse': TypeInfo(TypeOf.Class, create:() => DeleteCuisineResponse()), 'DeleteCuisineRequest': TypeInfo(TypeOf.Class, create:() => DeleteCuisineRequest()), });