/* Options: Date: 2026-05-09 17:14:05 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: DokumentUploadRequest.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class dokumente implements IPrimaryKey, IMandnr, IDel, ITableBaseErstelltAenderung, IConvertible { int? ID; DateTime? _erstellt; DateTime? _aenderung; int? mandant; int? Datenindex; String? Dateiname; String? zip_dateiname; String? SubPfad; int? Upload; int? DownloadExt; DateTime? Datum; String? Link; String? anlagen; String? metadaten; int? dateityp; int? del; String? hash; String? guid; // @Ignore() String? server_hash; // @Ignore() int? PrimaryKey; dokumente({this.ID,this._erstellt,this._aenderung,this.mandant,this.Datenindex,this.Dateiname,this.zip_dateiname,this.SubPfad,this.Upload,this.DownloadExt,this.Datum,this.Link,this.anlagen,this.metadaten,this.dateityp,this.del,this.hash,this.guid,this.server_hash,this.PrimaryKey}); dokumente.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; _erstellt = JsonConverters.fromJson(json['_erstellt'],'DateTime',context!); _aenderung = JsonConverters.fromJson(json['_aenderung'],'DateTime',context!); mandant = json['mandant']; Datenindex = json['Datenindex']; Dateiname = json['Dateiname']; zip_dateiname = json['zip_dateiname']; SubPfad = json['SubPfad']; Upload = json['Upload']; DownloadExt = json['DownloadExt']; Datum = JsonConverters.fromJson(json['Datum'],'DateTime',context!); Link = json['Link']; anlagen = json['anlagen']; metadaten = json['metadaten']; dateityp = json['dateityp']; del = json['del']; hash = json['hash']; guid = json['guid']; server_hash = json['server_hash']; PrimaryKey = json['PrimaryKey']; return this; } Map toJson() => { 'ID': ID, '_erstellt': JsonConverters.toJson(_erstellt,'DateTime',context!), '_aenderung': JsonConverters.toJson(_aenderung,'DateTime',context!), 'mandant': mandant, 'Datenindex': Datenindex, 'Dateiname': Dateiname, 'zip_dateiname': zip_dateiname, 'SubPfad': SubPfad, 'Upload': Upload, 'DownloadExt': DownloadExt, 'Datum': JsonConverters.toJson(Datum,'DateTime',context!), 'Link': Link, 'anlagen': anlagen, 'metadaten': metadaten, 'dateityp': dateityp, 'del': del, 'hash': hash, 'guid': guid, 'server_hash': server_hash, 'PrimaryKey': PrimaryKey }; getTypeName() => "dokumente"; TypeContext? context = _ctx; } abstract class IPrimaryKey { int? PrimaryKey; } abstract class IMandnr { int? mandant; } abstract class IDel { int? del; } abstract class ITableBaseErstelltAenderung { DateTime? _erstellt; DateTime? _aenderung; } class DokumentUploadResponse implements IConvertible { dokumente? dokument; DokumentUploadResponse({this.dokument}); DokumentUploadResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { dokument = JsonConverters.fromJson(json['dokument'],'dokumente',context!); return this; } Map toJson() => { 'dokument': JsonConverters.toJson(dokument,'dokumente',context!) }; getTypeName() => "DokumentUploadResponse"; TypeContext? context = _ctx; } // @Route("/fibuscan/DokumentUpload", "GET, POST") class DokumentUploadRequest implements IReturn, IConvertible, IPost { int? dokumente_id; String? hash; ResponseStatus? ResponseStatus; DokumentUploadRequest({this.dokumente_id,this.hash,this.ResponseStatus}); DokumentUploadRequest.fromJson(Map json) { fromMap(json); } fromMap(Map json) { dokumente_id = json['dokumente_id']; hash = json['hash']; ResponseStatus = JsonConverters.fromJson(json['ResponseStatus'],'ResponseStatus',context!); return this; } Map toJson() => { 'dokumente_id': dokumente_id, 'hash': hash, 'ResponseStatus': JsonConverters.toJson(ResponseStatus,'ResponseStatus',context!) }; createResponse() => DokumentUploadResponse(); getResponseTypeName() => "DokumentUploadResponse"; getTypeName() => "DokumentUploadRequest"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'ws4.fibudata.net', types: { 'dokumente': TypeInfo(TypeOf.Class, create:() => dokumente()), 'IPrimaryKey': TypeInfo(TypeOf.Interface), 'IMandnr': TypeInfo(TypeOf.Interface), 'IDel': TypeInfo(TypeOf.Interface), 'ITableBaseErstelltAenderung': TypeInfo(TypeOf.Interface), 'DokumentUploadResponse': TypeInfo(TypeOf.Class, create:() => DokumentUploadResponse()), 'DokumentUploadRequest': TypeInfo(TypeOf.Class, create:() => DokumentUploadRequest()), });