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