/* Options: Date: 2025-12-06 08:51:33 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: PlaceExcludeAddUploadRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class PlaceExcludeDto implements IConvertible { String? country; String? organizationNumber; String? note; PlaceExcludeDto({this.country,this.organizationNumber,this.note}); PlaceExcludeDto.fromJson(Map json) { fromMap(json); } fromMap(Map json) { country = json['country']; organizationNumber = json['organizationNumber']; note = json['note']; return this; } Map toJson() => { 'country': country, 'organizationNumber': organizationNumber, 'note': note }; getTypeName() => "PlaceExcludeDto"; TypeContext? context = _ctx; } class PlaceExcludeAddUploadResponse implements IConvertible { int? placesAddedToExclude; PlaceExcludeAddUploadResponse({this.placesAddedToExclude}); PlaceExcludeAddUploadResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { placesAddedToExclude = json['placesAddedToExclude']; return this; } Map toJson() => { 'placesAddedToExclude': placesAddedToExclude }; getTypeName() => "PlaceExcludeAddUploadResponse"; TypeContext? context = _ctx; } // @Route("/place_exclude/add", "POST") class PlaceExcludeAddUploadRequest implements IReturn, IPost, IConvertible { List? placesToExclude = []; PlaceExcludeAddUploadRequest({this.placesToExclude}); PlaceExcludeAddUploadRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { placesToExclude = JsonConverters.fromJson(json['placesToExclude'],'List',context!); return this; } Map toJson() => { 'placesToExclude': JsonConverters.toJson(placesToExclude,'List',context!) }; createResponse() => PlaceExcludeAddUploadResponse(); getResponseTypeName() => "PlaceExcludeAddUploadResponse"; getTypeName() => "PlaceExcludeAddUploadRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'PlaceExcludeDto': TypeInfo(TypeOf.Class, create:() => PlaceExcludeDto()), 'PlaceExcludeAddUploadResponse': TypeInfo(TypeOf.Class, create:() => PlaceExcludeAddUploadResponse()), 'PlaceExcludeAddUploadRequest': TypeInfo(TypeOf.Class, create:() => PlaceExcludeAddUploadRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });