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