/* Options: Date: 2025-09-13 21:41:08 Version: 6.110 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://doapigw.baasbv.nl/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: GetDocumentUploads.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class DocumentUpload implements IConvertible { int? ID; String? Description; String? Notes; String? FileName; String? Extension; DateTime? FileDate; String? AssignedTo; String? AssignedToGroup; String? UploadedBy; bool? HasPreview; DocumentUpload({this.ID,this.Description,this.Notes,this.FileName,this.Extension,this.FileDate,this.AssignedTo,this.AssignedToGroup,this.UploadedBy,this.HasPreview}); DocumentUpload.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; Description = json['Description']; Notes = json['Notes']; FileName = json['FileName']; Extension = json['Extension']; FileDate = JsonConverters.fromJson(json['FileDate'],'DateTime',context!); AssignedTo = json['AssignedTo']; AssignedToGroup = json['AssignedToGroup']; UploadedBy = json['UploadedBy']; HasPreview = json['HasPreview']; return this; } Map toJson() => { 'ID': ID, 'Description': Description, 'Notes': Notes, 'FileName': FileName, 'Extension': Extension, 'FileDate': JsonConverters.toJson(FileDate,'DateTime',context!), 'AssignedTo': AssignedTo, 'AssignedToGroup': AssignedToGroup, 'UploadedBy': UploadedBy, 'HasPreview': HasPreview }; getTypeName() => "DocumentUpload"; TypeContext? context = _ctx; } // @Route("/documentuploads", "GET") class GetDocumentUploads implements IReturn>, IConvertible, IGet { String? ViewID; int? PageSize; int? PageNumber; String? SearchCriteria; String? ExplorerID; String? Path; GetDocumentUploads({this.ViewID,this.PageSize,this.PageNumber,this.SearchCriteria,this.ExplorerID,this.Path}); GetDocumentUploads.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ViewID = json['ViewID']; PageSize = json['PageSize']; PageNumber = json['PageNumber']; SearchCriteria = json['SearchCriteria']; ExplorerID = json['ExplorerID']; Path = json['Path']; return this; } Map toJson() => { 'ViewID': ViewID, 'PageSize': PageSize, 'PageNumber': PageNumber, 'SearchCriteria': SearchCriteria, 'ExplorerID': ExplorerID, 'Path': Path }; createResponse() => []; getResponseTypeName() => "List"; getTypeName() => "GetDocumentUploads"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'doapigw.baasbv.nl', types: { 'DocumentUpload': TypeInfo(TypeOf.Class, create:() => DocumentUpload()), 'GetDocumentUploads': TypeInfo(TypeOf.Class, create:() => GetDocumentUploads()), });