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