/* Options: Date: 2026-10-20 16:32:59 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: http://52.142.207.43:23770 //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetAlleDurchschnitt.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart */ import 'package:servicestack/servicestack.dart'; class DurchschnittNutzer implements IConvertible { int? ID; String? Kategorie; int? Anzahl; double? Durchschnittswert; DateTime? Zuletzt; DurchschnittNutzer({this.ID,this.Kategorie,this.Anzahl,this.Durchschnittswert,this.Zuletzt}); DurchschnittNutzer.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; Kategorie = json['Kategorie']; Anzahl = json['Anzahl']; Durchschnittswert = JsonConverters.toDouble(json['Durchschnittswert']); Zuletzt = JsonConverters.fromJson(json['Zuletzt'],'DateTime',context!); return this; } Map toJson() => { 'ID': ID, 'Kategorie': Kategorie, 'Anzahl': Anzahl, 'Durchschnittswert': Durchschnittswert, 'Zuletzt': JsonConverters.toJson(Zuletzt,'DateTime',context!) }; getTypeName() => "DurchschnittNutzer"; TypeContext? context = _ctx; } class DurchschnittListeResponse implements IConvertible { List? Liste; DurchschnittListeResponse({this.Liste}); DurchschnittListeResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Liste = JsonConverters.fromJson(json['Liste'],'List',context!); return this; } Map toJson() => { 'Liste': JsonConverters.toJson(Liste,'List',context!) }; getTypeName() => "DurchschnittListeResponse"; TypeContext? context = _ctx; } class GetAlleDurchschnitt implements IReturn, IConvertible, IPost { DateTime? Zuletzt; GetAlleDurchschnitt({this.Zuletzt}); GetAlleDurchschnitt.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Zuletzt = JsonConverters.fromJson(json['Zuletzt'],'DateTime',context!); return this; } Map toJson() => { 'Zuletzt': JsonConverters.toJson(Zuletzt,'DateTime',context!) }; createResponse() => DurchschnittListeResponse(); getResponseTypeName() => "DurchschnittListeResponse"; getTypeName() => "GetAlleDurchschnitt"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: '52.142.207.43', types: { 'DurchschnittNutzer': TypeInfo(TypeOf.Class, create:() => DurchschnittNutzer()), 'DurchschnittListeResponse': TypeInfo(TypeOf.Class, create:() => DurchschnittListeResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'GetAlleDurchschnitt': TypeInfo(TypeOf.Class, create:() => GetAlleDurchschnitt()), });