/* Options: Date: 2025-12-06 07:02:27 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: AddBarTypeRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class AddBarTypeResponse implements IConvertible { int? id; AddBarTypeResponse({this.id}); AddBarTypeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; getTypeName() => "AddBarTypeResponse"; TypeContext? context = _ctx; } // @Route("/bar_type/add", "POST") class AddBarTypeRequest implements IReturn, IPost, IConvertible { String? slug; String? title; AddBarTypeRequest({this.slug,this.title}); AddBarTypeRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { slug = json['slug']; title = json['title']; return this; } Map toJson() => { 'slug': slug, 'title': title }; createResponse() => AddBarTypeResponse(); getResponseTypeName() => "AddBarTypeResponse"; getTypeName() => "AddBarTypeRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'AddBarTypeResponse': TypeInfo(TypeOf.Class, create:() => AddBarTypeResponse()), 'AddBarTypeRequest': TypeInfo(TypeOf.Class, create:() => AddBarTypeRequest()), });