/* Options: Date: 2025-12-06 07:01:21 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: PlaceIncludeAddUploadRequest.* //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 PlaceIncludeAddUploadResponse implements IConvertible { int? placesAddedToInclude; PlaceIncludeAddUploadResponse({this.placesAddedToInclude}); PlaceIncludeAddUploadResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { placesAddedToInclude = json['placesAddedToInclude']; return this; } Map toJson() => { 'placesAddedToInclude': placesAddedToInclude }; getTypeName() => "PlaceIncludeAddUploadResponse"; TypeContext? context = _ctx; } // @Route("/place_include/add", "POST") class PlaceIncludeAddUploadRequest implements IReturn, IPost, IConvertible { List? placesToInclude = []; PlaceIncludeAddUploadRequest({this.placesToInclude}); PlaceIncludeAddUploadRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { placesToInclude = JsonConverters.fromJson(json['placesToInclude'],'List',context!); return this; } Map toJson() => { 'placesToInclude': JsonConverters.toJson(placesToInclude,'List',context!) }; createResponse() => PlaceIncludeAddUploadResponse(); getResponseTypeName() => "PlaceIncludeAddUploadResponse"; getTypeName() => "PlaceIncludeAddUploadRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'PlaceIncludeDto': TypeInfo(TypeOf.Class, create:() => PlaceIncludeDto()), 'PlaceIncludeAddUploadResponse': TypeInfo(TypeOf.Class, create:() => PlaceIncludeAddUploadResponse()), 'PlaceIncludeAddUploadRequest': TypeInfo(TypeOf.Class, create:() => PlaceIncludeAddUploadRequest()), 'List': TypeInfo(TypeOf.Class, create:() => []), });