/* Options: Date: 2025-08-04 04:36:04 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://szallitoiportal-be.veolia.hu //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: BrowseAllCurrency.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; abstract class ResponseBase { ResponseStatus? ResponseStatus; ResponseBase({this.ResponseStatus}); ResponseBase.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; getTypeName() => "ResponseBase"; TypeContext? context = _ctx; } class CurrencySimple implements IConvertible { int? Id; String? Name; String? Code; CurrencySimple({this.Id,this.Name,this.Code}); CurrencySimple.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Id = json['Id']; Name = json['Name']; Code = json['Code']; return this; } Map toJson() => { 'Id': Id, 'Name': Name, 'Code': Code }; getTypeName() => "CurrencySimple"; TypeContext? context = _ctx; } class BrowseAllCurrencyResponse extends ResponseBase implements IConvertible { List? Currencies; BrowseAllCurrencyResponse({this.Currencies}); BrowseAllCurrencyResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { super.fromMap(json); Currencies = JsonConverters.fromJson(json['Currencies'],'List',context!); return this; } Map toJson() => super.toJson()..addAll({ 'Currencies': JsonConverters.toJson(Currencies,'List',context!) }); getTypeName() => "BrowseAllCurrencyResponse"; TypeContext? context = _ctx; } // @Route("/currency", "GET") class BrowseAllCurrency implements IReturn, IGet, IConvertible { BrowseAllCurrency(); BrowseAllCurrency.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; createResponse() => BrowseAllCurrencyResponse(); getResponseTypeName() => "BrowseAllCurrencyResponse"; getTypeName() => "BrowseAllCurrency"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'szallitoiportal_be.veolia.hu', types: { 'ResponseBase': TypeInfo(TypeOf.AbstractClass), 'CurrencySimple': TypeInfo(TypeOf.Class, create:() => CurrencySimple()), 'BrowseAllCurrencyResponse': TypeInfo(TypeOf.Class, create:() => BrowseAllCurrencyResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'BrowseAllCurrency': TypeInfo(TypeOf.Class, create:() => BrowseAllCurrency()), });