/* Options: Date: 2025-12-06 06:29:43 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: PlaceAddCuisineRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BusinessApi; import 'package:servicestack/servicestack.dart'; abstract class IHasPlaceId { int? placeId; } class PlaceAddCuisineResponse implements IConvertible { String? cuisineSlug; PlaceAddCuisineResponse({this.cuisineSlug}); PlaceAddCuisineResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { cuisineSlug = json['cuisineSlug']; return this; } Map toJson() => { 'cuisineSlug': cuisineSlug }; getTypeName() => "PlaceAddCuisineResponse"; TypeContext? context = _ctx; } // @Route("/place/add_cuisine", "POST") class PlaceAddCuisineRequest implements IReturn, IPost, IHasPlaceId, IConvertible { int? placeId; String? cuisineSlug; PlaceAddCuisineRequest({this.placeId,this.cuisineSlug}); PlaceAddCuisineRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { placeId = json['placeId']; cuisineSlug = json['cuisineSlug']; return this; } Map toJson() => { 'placeId': placeId, 'cuisineSlug': cuisineSlug }; createResponse() => PlaceAddCuisineResponse(); getResponseTypeName() => "PlaceAddCuisineResponse"; getTypeName() => "PlaceAddCuisineRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BusinessApi', types: { 'IHasPlaceId': TypeInfo(TypeOf.Interface), 'PlaceAddCuisineResponse': TypeInfo(TypeOf.Class, create:() => PlaceAddCuisineResponse()), 'PlaceAddCuisineRequest': TypeInfo(TypeOf.Class, create:() => PlaceAddCuisineRequest()), });