/* Options: Date: 2025-12-06 07:07:05 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: GetAllBarSpecialityRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class BackofficeBarSpecialityDto implements IConvertible { String? title; String? slug; BackofficeBarSpecialityDto({this.title,this.slug}); BackofficeBarSpecialityDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { title = json['title']; slug = json['slug']; return this; } Map toJson() => { 'title': title, 'slug': slug }; getTypeName() => "BackofficeBarSpecialityDto"; TypeContext? context = _ctx; } class GetAllBarSpecialityResponse implements IConvertible { List? barSpecility = []; GetAllBarSpecialityResponse({this.barSpecility}); GetAllBarSpecialityResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { barSpecility = JsonConverters.fromJson(json['barSpecility'],'List',context!); return this; } Map toJson() => { 'barSpecility': JsonConverters.toJson(barSpecility,'List',context!) }; getTypeName() => "GetAllBarSpecialityResponse"; TypeContext? context = _ctx; } // @Route("/bar_speciality/get_all", "GET") class GetAllBarSpecialityRequest implements IReturn, IGet, IConvertible { GetAllBarSpecialityRequest(); GetAllBarSpecialityRequest.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => GetAllBarSpecialityResponse(); getResponseTypeName() => "GetAllBarSpecialityResponse"; getTypeName() => "GetAllBarSpecialityRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'BackofficeBarSpecialityDto': TypeInfo(TypeOf.Class, create:() => BackofficeBarSpecialityDto()), 'GetAllBarSpecialityResponse': TypeInfo(TypeOf.Class, create:() => GetAllBarSpecialityResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetAllBarSpecialityRequest': TypeInfo(TypeOf.Class, create:() => GetAllBarSpecialityRequest()), });