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