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