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