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