/* Options: Date: 2025-12-06 06:30:40 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://business-api.brovs.com //GlobalNamespace: BusinessApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PlaceRemoveCuisineRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BusinessApi; import 'package:servicestack/servicestack.dart'; abstract class IHasPlaceId { int? placeId; } class PlaceRemoveCuisineResponse implements IConvertible { String? cuisineSlug; PlaceRemoveCuisineResponse({this.cuisineSlug}); PlaceRemoveCuisineResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { cuisineSlug = json['cuisineSlug']; return this; } Map toJson() => { 'cuisineSlug': cuisineSlug }; getTypeName() => "PlaceRemoveCuisineResponse"; TypeContext? context = _ctx; } // @Route("/place/remove_cuisine", "DELETE") class PlaceRemoveCuisineRequest implements IReturn, IDelete, IHasPlaceId, IConvertible { int? placeId; String? cuisineSlug; PlaceRemoveCuisineRequest({this.placeId,this.cuisineSlug}); PlaceRemoveCuisineRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { placeId = json['placeId']; cuisineSlug = json['cuisineSlug']; return this; } Map toJson() => { 'placeId': placeId, 'cuisineSlug': cuisineSlug }; createResponse() => PlaceRemoveCuisineResponse(); getResponseTypeName() => "PlaceRemoveCuisineResponse"; getTypeName() => "PlaceRemoveCuisineRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BusinessApi', types: { 'IHasPlaceId': TypeInfo(TypeOf.Interface), 'PlaceRemoveCuisineResponse': TypeInfo(TypeOf.Class, create:() => PlaceRemoveCuisineResponse()), 'PlaceRemoveCuisineRequest': TypeInfo(TypeOf.Class, create:() => PlaceRemoveCuisineRequest()), });