/* Options: Date: 2025-12-06 07:05:11 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: PlaceIncludeRemoveUploadRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class PlaceIncludeDto implements IConvertible { String? country; String? organizationNumber; String? optionalRootCategory; String? note; PlaceIncludeDto({this.country,this.organizationNumber,this.optionalRootCategory,this.note}); PlaceIncludeDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { country = json['country']; organizationNumber = json['organizationNumber']; optionalRootCategory = json['optionalRootCategory']; note = json['note']; return this; } Map toJson() => { 'country': country, 'organizationNumber': organizationNumber, 'optionalRootCategory': optionalRootCategory, 'note': note }; getTypeName() => "PlaceIncludeDto"; TypeContext? context = _ctx; } class PlaceIncludeRemoveUploadResponse implements IConvertible { int? placesRemovedFromInclude; PlaceIncludeRemoveUploadResponse({this.placesRemovedFromInclude}); PlaceIncludeRemoveUploadResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { placesRemovedFromInclude = json['placesRemovedFromInclude']; return this; } Map toJson() => { 'placesRemovedFromInclude': placesRemovedFromInclude }; getTypeName() => "PlaceIncludeRemoveUploadResponse"; TypeContext? context = _ctx; } // @Route("/place_include/remove", "POST") class PlaceIncludeRemoveUploadRequest implements IReturn, IPost, IConvertible { List? placesToRemoveFromInclude = []; PlaceIncludeRemoveUploadRequest({this.placesToRemoveFromInclude}); PlaceIncludeRemoveUploadRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { placesToRemoveFromInclude = JsonConverters.fromJson(json['placesToRemoveFromInclude'],'List',context!); return this; } Map toJson() => { 'placesToRemoveFromInclude': JsonConverters.toJson(placesToRemoveFromInclude,'List',context!) }; createResponse() => PlaceIncludeRemoveUploadResponse(); getResponseTypeName() => "PlaceIncludeRemoveUploadResponse"; getTypeName() => "PlaceIncludeRemoveUploadRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'PlaceIncludeDto': TypeInfo(TypeOf.Class, create:() => PlaceIncludeDto()), 'PlaceIncludeRemoveUploadResponse': TypeInfo(TypeOf.Class, create:() => PlaceIncludeRemoveUploadResponse()), 'PlaceIncludeRemoveUploadRequest': TypeInfo(TypeOf.Class, create:() => PlaceIncludeRemoveUploadRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });