/* Options: Date: 2025-12-06 07:05:14 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: CreateMallRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ library BackofficeApi; import 'package:servicestack/servicestack.dart'; class CreateMallResponse implements IConvertible { int? createdMallId; String? createMallGuid; CreateMallResponse({this.createdMallId,this.createMallGuid}); CreateMallResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { createdMallId = json['createdMallId']; createMallGuid = json['createMallGuid']; return this; } Map toJson() => { 'createdMallId': createdMallId, 'createMallGuid': createMallGuid }; getTypeName() => "CreateMallResponse"; TypeContext? context = _ctx; } // @Route("/mall/create", "POST") class CreateMallRequest implements IReturn, IPost, IConvertible { String? name; String? organizationNumber; String? countryCode; CreateMallRequest({this.name,this.organizationNumber,this.countryCode}); CreateMallRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { name = json['name']; organizationNumber = json['organizationNumber']; countryCode = json['countryCode']; return this; } Map toJson() => { 'name': name, 'organizationNumber': organizationNumber, 'countryCode': countryCode }; createResponse() => CreateMallResponse(); getResponseTypeName() => "CreateMallResponse"; getTypeName() => "CreateMallRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'BackofficeApi', types: { 'CreateMallResponse': TypeInfo(TypeOf.Class, create:() => CreateMallResponse()), 'CreateMallRequest': TypeInfo(TypeOf.Class, create:() => CreateMallRequest()), });