/* Options: Date: 2025-07-04 09:58:26 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: AddDocumentsForBackgroundRegistration.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; class RegisteredDocumentUpload implements IConvertible { int? DocumentUploadID; bool? IsSuccess; String? Message; RegisteredDocumentUpload({this.DocumentUploadID,this.IsSuccess,this.Message}); RegisteredDocumentUpload.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DocumentUploadID = json['DocumentUploadID']; IsSuccess = json['IsSuccess']; Message = json['Message']; return this; } Map toJson() => { 'DocumentUploadID': DocumentUploadID, 'IsSuccess': IsSuccess, 'Message': Message }; getTypeName() => "RegisteredDocumentUpload"; TypeContext? context = _ctx; } class AddDocumentsForBackgroundRegistrationResponse implements IConvertible { List? RegisteredDocumentUploads; AddDocumentsForBackgroundRegistrationResponse({this.RegisteredDocumentUploads}); AddDocumentsForBackgroundRegistrationResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RegisteredDocumentUploads = JsonConverters.fromJson(json['RegisteredDocumentUploads'],'List',context!); return this; } Map toJson() => { 'RegisteredDocumentUploads': JsonConverters.toJson(RegisteredDocumentUploads,'List',context!) }; getTypeName() => "AddDocumentsForBackgroundRegistrationResponse"; TypeContext? context = _ctx; } class RegisterDocument implements IReturn, IConvertible, IPost { String? RegistrationProfileID; List? Values; List? Processes; String? DocumentUploadId; String? DocumentId; String? StandardDocumentID; bool? HasUnsavedChangesInDocument; bool? IsOpenedFromNonDMSLocation; RegisterDocument({this.RegistrationProfileID,this.Values,this.Processes,this.DocumentUploadId,this.DocumentId,this.StandardDocumentID,this.HasUnsavedChangesInDocument,this.IsOpenedFromNonDMSLocation}); RegisterDocument.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RegistrationProfileID = json['RegistrationProfileID']; Values = JsonConverters.fromJson(json['Values'],'List',context!); Processes = JsonConverters.fromJson(json['Processes'],'List',context!); DocumentUploadId = json['DocumentUploadId']; DocumentId = json['DocumentId']; StandardDocumentID = json['StandardDocumentID']; HasUnsavedChangesInDocument = json['HasUnsavedChangesInDocument']; IsOpenedFromNonDMSLocation = json['IsOpenedFromNonDMSLocation']; return this; } Map toJson() => { 'RegistrationProfileID': RegistrationProfileID, 'Values': JsonConverters.toJson(Values,'List',context!), 'Processes': JsonConverters.toJson(Processes,'List',context!), 'DocumentUploadId': DocumentUploadId, 'DocumentId': DocumentId, 'StandardDocumentID': StandardDocumentID, 'HasUnsavedChangesInDocument': HasUnsavedChangesInDocument, 'IsOpenedFromNonDMSLocation': IsOpenedFromNonDMSLocation }; createResponse() => RegisterDocumentResponse(); getResponseTypeName() => "RegisterDocumentResponse"; getTypeName() => "RegisterDocument"; TypeContext? context = _ctx; } /** * Register documents queueud for registration in background */ // @Route("/documentuploads/registerdocuments", "POST") // @Api(Description="Register documents queueud for registration in background") // @ApiResponse(Description="All queued documents are linked to a systemtask for background processing", StatusCode=200) class AddDocumentsForBackgroundRegistration implements IReturn, IConvertible, IPost { /** * List of queued documents to register in background */ // @ApiMember(Description="List of queued documents to register in background", IsRequired=true) List? Documents; AddDocumentsForBackgroundRegistration({this.Documents}); AddDocumentsForBackgroundRegistration.fromJson(Map json) { fromMap(json); } fromMap(Map json) { Documents = JsonConverters.fromJson(json['Documents'],'List',context!); return this; } Map toJson() => { 'Documents': JsonConverters.toJson(Documents,'List',context!) }; createResponse() => AddDocumentsForBackgroundRegistrationResponse(); getResponseTypeName() => "AddDocumentsForBackgroundRegistrationResponse"; getTypeName() => "AddDocumentsForBackgroundRegistration"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'doapigw.baasbv.nl', types: { 'RegisteredDocumentUpload': TypeInfo(TypeOf.Class, create:() => RegisteredDocumentUpload()), 'AddDocumentsForBackgroundRegistrationResponse': TypeInfo(TypeOf.Class, create:() => AddDocumentsForBackgroundRegistrationResponse()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RegisterDocument': TypeInfo(TypeOf.Class, create:() => RegisterDocument()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'RegistrationValue': TypeInfo(TypeOf.Class, create:() => RegistrationValue()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'Process': TypeInfo(TypeOf.Class, create:() => Process()), 'AddDocumentsForBackgroundRegistration': TypeInfo(TypeOf.Class, create:() => AddDocumentsForBackgroundRegistration()), 'List': TypeInfo(TypeOf.Class, create:() => []), });