/* Options: Date: 2025-12-06 07:04:23 Version: 8.80 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://backoffice-api.brovs.com //GlobalNamespace: BackofficeApi //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: PlaceUpdateRootCategoryRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class PlaceUpdateRootCategoryResponse implements IConvertible { bool? success; PlaceUpdateRootCategoryResponse({this.success}); PlaceUpdateRootCategoryResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { success = json['success']; return this; } Map toJson() => { 'success': success }; getTypeName() => "PlaceUpdateRootCategoryResponse"; TypeContext? context = _ctx; } // @Route("/place/update_root_category", "PUT") class PlaceUpdateRootCategoryRequest implements IReturn, IPut, IConvertible { int? placeId; int? rootCategoryId; PlaceUpdateRootCategoryRequest({this.placeId,this.rootCategoryId}); PlaceUpdateRootCategoryRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { placeId = json['placeId']; rootCategoryId = json['rootCategoryId']; return this; } Map toJson() => { 'placeId': placeId, 'rootCategoryId': rootCategoryId }; createResponse() => PlaceUpdateRootCategoryResponse(); getResponseTypeName() => "PlaceUpdateRootCategoryResponse"; getTypeName() => "PlaceUpdateRootCategoryRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'PlaceUpdateRootCategoryResponse': TypeInfo(TypeOf.Class, create:() => PlaceUpdateRootCategoryResponse()), 'PlaceUpdateRootCategoryRequest': TypeInfo(TypeOf.Class, create:() => PlaceUpdateRootCategoryRequest()), });