/* Options: Date: 2025-12-06 07:01:34 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: AddFeatureRequest.* //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 AddFeatureResponse implements IConvertible { int? id; AddFeatureResponse({this.id}); AddFeatureResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; return this; } Map toJson() => { 'id': id }; getTypeName() => "AddFeatureResponse"; TypeContext? context = _ctx; } class AddFeatureRequest implements IReturn, IConvertible, IPost { int? categoryId; FeatureType? featureType; AddFeatureRequest({this.categoryId,this.featureType}); AddFeatureRequest.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() => AddFeatureResponse(); getResponseTypeName() => "AddFeatureResponse"; getTypeName() => "AddFeatureRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'FeatureType': TypeInfo(TypeOf.Enum, enumValues:FeatureType.values), 'AddFeatureResponse': TypeInfo(TypeOf.Class, create:() => AddFeatureResponse()), 'AddFeatureRequest': TypeInfo(TypeOf.Class, create:() => AddFeatureRequest()), });