/* Options: Date: 2026-10-20 21:02:20 Version: 8.22 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://inea-servamw.eras-online.de //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddAbrechnungseinheit.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class Abrechnungseinheit implements IConvertible { // @DataMember(Name="Guid") String? Guid; // @DataMember(Name="LastModified") DateTime? LastModified; // @DataMember(Name="Objektnummer") String? Objektnummer; // @DataMember(Name="Notiz") String? Notiz; // @DataMember(Name="NotizIntern") String? NotizIntern; // @DataMember(Name="NotizLegionellen") String? NotizLegionellen; // @DataMember(Name="Kunde") Customer? Kunde; // @DataMember(Name="Adresse") Address? Adresse; // @DataMember(Name="BillingPeriodEnd") DateTime? BillingPeriodEnd; // @DataMember(Name="PersonAbrechnungseinheit") List? PersonAbrechnungseinheit; // @DataMember(Name="Persons") List? Persons; Abrechnungseinheit({this.Guid,this.LastModified,this.Objektnummer,this.Notiz,this.NotizIntern,this.NotizLegionellen,this.Kunde,this.Adresse,this.BillingPeriodEnd,this.PersonAbrechnungseinheit,this.Persons}); Abrechnungseinheit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Guid = json['guid']; LastModified = JsonConverters.fromJson(json['lastModified'],'DateTime',context!); Objektnummer = json['number']; Notiz = json['note']; NotizIntern = json['noteInternal']; NotizLegionellen = json['noteLegionella']; Kunde = JsonConverters.fromJson(json['customer'],'Customer',context!); Adresse = JsonConverters.fromJson(json['address'],'Address',context!); BillingPeriodEnd = JsonConverters.fromJson(json['billigPeriodEnd'],'DateTime',context!); PersonAbrechnungseinheit = JsonConverters.fromJson(json['personAbrechnungseinheiten'],'List',context!); Persons = JsonConverters.fromJson(json['persons'],'List',context!); return this; } Map toJson() => { 'guid': Guid, 'lastModified': JsonConverters.toJson(LastModified,'DateTime',context!), 'objektnummer': Objektnummer, 'notiz': Notiz, 'notizIntern': NotizIntern, 'notizLegionellen': NotizLegionellen, 'kunde': JsonConverters.toJson(Kunde,'Customer',context!), 'adresse': JsonConverters.toJson(Adresse,'Address',context!), 'billingPeriodEnd': JsonConverters.toJson(BillingPeriodEnd,'DateTime',context!), 'personAbrechnungseinheit': JsonConverters.toJson(PersonAbrechnungseinheit,'List',context!), 'persons': JsonConverters.toJson(Persons,'List',context!) }; getTypeName() => "Abrechnungseinheit"; TypeContext? context = _ctx; } // @DataContract class Abrechnungseinheit implements IConvertible { // @DataMember(Name="Guid") String? Guid; // @DataMember(Name="Objektnummer") String? Objektnummer; // @DataMember(Name="Anmerkung") String? Anmerkung; // @DataMember(Name="Address") Address? Address; Abrechnungseinheit({this.Guid,this.Objektnummer,this.Anmerkung,this.Address}); Abrechnungseinheit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Guid = json['guid']; Objektnummer = json['number']; Anmerkung = json['note']; Address = JsonConverters.fromJson(json['address'],'Address',context!); return this; } Map toJson() => { 'guid': Guid, 'objektnummer': Objektnummer, 'anmerkung': Anmerkung, 'address': JsonConverters.toJson(Address,'Address',context!) }; getTypeName() => "Abrechnungseinheit"; TypeContext? context = _ctx; } class AddAbrechnungseinheitResponse implements IConvertible { ResponseStatus? responseStatus; AddAbrechnungseinheitResponse({this.responseStatus}); AddAbrechnungseinheitResponse.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() => "AddAbrechnungseinheitResponse"; TypeContext? context = _ctx; } // @Route("/Abrechnungseinheit", "POST") // @DataContract class AddAbrechnungseinheit implements IReturn, IConvertible, IPost { // @DataMember(Name="Abrechnungseinheit") Abrechnungseinheit? Abrechnungseinheit; AddAbrechnungseinheit({this.Abrechnungseinheit}); AddAbrechnungseinheit.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Abrechnungseinheit = JsonConverters.fromJson(json['abrechnungseinheit'],'Abrechnungseinheit',context!); return this; } Map toJson() => { 'abrechnungseinheit': JsonConverters.toJson(Abrechnungseinheit,'Abrechnungseinheit',context!) }; createResponse() => AddAbrechnungseinheitResponse(); getResponseTypeName() => "AddAbrechnungseinheitResponse"; getTypeName() => "AddAbrechnungseinheit"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'inea_servamw.eras_online.de', types: { 'Abrechnungseinheit': TypeInfo(TypeOf.Class, create:() => Abrechnungseinheit()), 'Customer': TypeInfo(TypeOf.Class, create:() => Customer()), 'Address': TypeInfo(TypeOf.Class, create:() => Address()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'PersonAbrechnungseinheit': TypeInfo(TypeOf.Class, create:() => PersonAbrechnungseinheit()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'Person': TypeInfo(TypeOf.Class, create:() => Person()), 'AddAbrechnungseinheitResponse': TypeInfo(TypeOf.Class, create:() => AddAbrechnungseinheitResponse()), 'AddAbrechnungseinheit': TypeInfo(TypeOf.Class, create:() => AddAbrechnungseinheit()), });