/* Options: Date: 2025-12-06 07:49:46 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: DeleteFeatureRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; enum FeatureType { BarSpeciality, BarType, Cuisine, SaveFoodAndMoney, MealType, Menu, OutdoorSeating, Parking, PaymentOptions, PriceMainDish, SubCategories, SubCategoriesAndBrands, EatingSuitabilities, TakeAway, WearPriceProfile, WheelChairAccessible, Wifi, WebShop, Filtering, } class DeleteFeatureResponse implements IConvertible { bool? success; DeleteFeatureResponse({this.success}); DeleteFeatureResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { success = json['success']; return this; } Map toJson() => { 'success': success }; getTypeName() => "DeleteFeatureResponse"; TypeContext? context = _ctx; } // @Route("/feature/delete", "DELETE") class DeleteFeatureRequest implements IReturn, IDelete, IConvertible { int? categoryId; FeatureType? featureType; DeleteFeatureRequest({this.categoryId,this.featureType}); DeleteFeatureRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { categoryId = json['categoryId']; featureType = JsonConverters.fromJson(json['featureType'],'FeatureType',context!); return this; } Map toJson() => { 'categoryId': categoryId, 'featureType': JsonConverters.toJson(featureType,'FeatureType',context!) }; createResponse() => DeleteFeatureResponse(); getResponseTypeName() => "DeleteFeatureResponse"; getTypeName() => "DeleteFeatureRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'FeatureType': TypeInfo(TypeOf.Enum, enumValues:FeatureType.values), 'DeleteFeatureResponse': TypeInfo(TypeOf.Class, create:() => DeleteFeatureResponse()), 'DeleteFeatureRequest': TypeInfo(TypeOf.Class, create:() => DeleteFeatureRequest()), });