/* Options: Date: 2026-05-09 21:06:37 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://ws4.fibudata.net //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: WaehrungskurseAbfragenRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class waehrungskurse implements IPrimaryKey, IDel, ITableBase, IConvertible { int? id; String? iso4217; DateTime? datum; double? betrag; int? del; DateTime? _erstellt; DateTime? _aenderung; // @Ignore() int? PrimaryKey; waehrungskurse({this.id,this.iso4217,this.datum,this.betrag,this.del,this._erstellt,this._aenderung,this.PrimaryKey}); waehrungskurse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { id = json['id']; iso4217 = json['iso4217']; datum = JsonConverters.fromJson(json['datum'],'DateTime',context!); betrag = JsonConverters.toDouble(json['betrag']); del = json['del']; _erstellt = JsonConverters.fromJson(json['_erstellt'],'DateTime',context!); _aenderung = JsonConverters.fromJson(json['_aenderung'],'DateTime',context!); PrimaryKey = json['PrimaryKey']; return this; } Map toJson() => { 'id': id, 'iso4217': iso4217, 'datum': JsonConverters.toJson(datum,'DateTime',context!), 'betrag': betrag, 'del': del, '_erstellt': JsonConverters.toJson(_erstellt,'DateTime',context!), '_aenderung': JsonConverters.toJson(_aenderung,'DateTime',context!), 'PrimaryKey': PrimaryKey }; getTypeName() => "waehrungskurse"; TypeContext? context = _ctx; } abstract class IPrimaryKey { int? PrimaryKey; } abstract class IDel { int? del; } abstract class ITableBase { int? id; DateTime? _erstellt; DateTime? _aenderung; } class WaehrungskurseAbfragenResponse implements IConvertible { Map? ResultDictionary; WaehrungskurseAbfragenResponse({this.ResultDictionary}); WaehrungskurseAbfragenResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ResultDictionary = JsonConverters.fromJson(json['ResultDictionary'],'Map',context!); return this; } Map toJson() => { 'ResultDictionary': JsonConverters.toJson(ResultDictionary,'Map',context!) }; getTypeName() => "WaehrungskurseAbfragenResponse"; TypeContext? context = _ctx; } // @Route("/fibuscan/WaehrungsAbfragen", "GET, POST") class WaehrungskurseAbfragenRequest implements IReturn, IConvertible, IPost { DateTime? Von; DateTime? Bis; String? Waehrung; WaehrungskurseAbfragenRequest({this.Von,this.Bis,this.Waehrung}); WaehrungskurseAbfragenRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Von = JsonConverters.fromJson(json['Von'],'DateTime',context!); Bis = JsonConverters.fromJson(json['Bis'],'DateTime',context!); Waehrung = json['Waehrung']; return this; } Map toJson() => { 'Von': JsonConverters.toJson(Von,'DateTime',context!), 'Bis': JsonConverters.toJson(Bis,'DateTime',context!), 'Waehrung': Waehrung }; createResponse() => WaehrungskurseAbfragenResponse(); getResponseTypeName() => "WaehrungskurseAbfragenResponse"; getTypeName() => "WaehrungskurseAbfragenRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ws4.fibudata.net', types: { 'waehrungskurse': TypeInfo(TypeOf.Class, create:() => waehrungskurse()), 'IPrimaryKey': TypeInfo(TypeOf.Interface), 'IDel': TypeInfo(TypeOf.Interface), 'ITableBase': TypeInfo(TypeOf.Interface), 'WaehrungskurseAbfragenResponse': TypeInfo(TypeOf.Class, create:() => WaehrungskurseAbfragenResponse()), 'Map': TypeInfo(TypeOf.Class, create:() => Map()), 'WaehrungskurseAbfragenRequest': TypeInfo(TypeOf.Class, create:() => WaehrungskurseAbfragenRequest()), });