/* Options: Date: 2025-12-06 07:03:23 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: GetAllFeatureRequest.* //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 GetAllFeatureResponse implements IConvertible { List? featureTypes = []; GetAllFeatureResponse({this.featureTypes}); GetAllFeatureResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { featureTypes = JsonConverters.fromJson(json['featureTypes'],'List',context!); return this; } Map toJson() => { 'featureTypes': JsonConverters.toJson(featureTypes,'List',context!) }; getTypeName() => "GetAllFeatureResponse"; TypeContext? context = _ctx; } // @Route("/feature/get_all", "GET") class GetAllFeatureRequest implements IReturn, IGet, IConvertible { int? categoryId; GetAllFeatureRequest({this.categoryId}); GetAllFeatureRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { categoryId = json['categoryId']; return this; } Map toJson() => { 'categoryId': categoryId }; createResponse() => GetAllFeatureResponse(); getResponseTypeName() => "GetAllFeatureResponse"; getTypeName() => "GetAllFeatureRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'FeatureType': TypeInfo(TypeOf.Enum, enumValues:FeatureType.values), 'GetAllFeatureResponse': TypeInfo(TypeOf.Class, create:() => GetAllFeatureResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetAllFeatureRequest': TypeInfo(TypeOf.Class, create:() => GetAllFeatureRequest()), });