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