/* Options: Date: 2024-10-18 04:17:26 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://digiofficeapigateway.deltares.nl/api //GlobalNamespace: //AddServiceStackTypes: True //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True IncludeTypes: AddDocumentQueuedForRegistration.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @DataContract class MetaDataField implements IConvertible { // @DataMember String? ID; // @DataMember String? DocumentVeldID; // @DataMember String? Name; // @DataMember String? Label; // @DataMember String? Datatype; // @DataMember String? PrintLabel; // @DataMember String? Entity; // @DataMember String? PrintValue; // @DataMember String? RegistrationValue; // @DataMember String? SPSiteColumnName; // @DataMember String? ShadowName; // @DataMember String? ShadowDatatype; // @DataMember String? ShadowSPSiteColumnName; // @DataMember String? ShadowSPSiteColumnRegistrationValue; // @DataMember String? ShadowRegistrationValue; // @DataMember bool? IsKeyField; // @DataMember bool? KopierenBijNieuweVersie; MetaDataField({this.ID,this.DocumentVeldID,this.Name,this.Label,this.Datatype,this.PrintLabel,this.Entity,this.PrintValue,this.RegistrationValue,this.SPSiteColumnName,this.ShadowName,this.ShadowDatatype,this.ShadowSPSiteColumnName,this.ShadowSPSiteColumnRegistrationValue,this.ShadowRegistrationValue,this.IsKeyField,this.KopierenBijNieuweVersie}); MetaDataField.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; DocumentVeldID = json['DocumentVeldID']; Name = json['Name']; Label = json['Label']; Datatype = json['Datatype']; PrintLabel = json['PrintLabel']; Entity = json['Entity']; PrintValue = json['PrintValue']; RegistrationValue = json['RegistrationValue']; SPSiteColumnName = json['SPSiteColumnName']; ShadowName = json['ShadowName']; ShadowDatatype = json['ShadowDatatype']; ShadowSPSiteColumnName = json['ShadowSPSiteColumnName']; ShadowSPSiteColumnRegistrationValue = json['ShadowSPSiteColumnRegistrationValue']; ShadowRegistrationValue = json['ShadowRegistrationValue']; IsKeyField = json['IsKeyField']; KopierenBijNieuweVersie = json['KopierenBijNieuweVersie']; return this; } Map toJson() => { 'ID': ID, 'DocumentVeldID': DocumentVeldID, 'Name': Name, 'Label': Label, 'Datatype': Datatype, 'PrintLabel': PrintLabel, 'Entity': Entity, 'PrintValue': PrintValue, 'RegistrationValue': RegistrationValue, 'SPSiteColumnName': SPSiteColumnName, 'ShadowName': ShadowName, 'ShadowDatatype': ShadowDatatype, 'ShadowSPSiteColumnName': ShadowSPSiteColumnName, 'ShadowSPSiteColumnRegistrationValue': ShadowSPSiteColumnRegistrationValue, 'ShadowRegistrationValue': ShadowRegistrationValue, 'IsKeyField': IsKeyField, 'KopierenBijNieuweVersie': KopierenBijNieuweVersie }; getTypeName() => "MetaDataField"; TypeContext? context = _ctx; } class Mailings implements IConvertible { Mailings(); Mailings.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "Mailings"; TypeContext? context = _ctx; } class AttachmentMailing implements IConvertible { AttachmentMailing(); AttachmentMailing.fromJson(Map json) : super(); fromMap(Map json) { return this; } Map toJson() => {}; getTypeName() => "AttachmentMailing"; TypeContext? context = _ctx; } class DocumentQueuedForRegistrationResponse implements IConvertible { int? DocumentQueuedForRegistrationID; DocumentQueuedForRegistrationResponse({this.DocumentQueuedForRegistrationID}); DocumentQueuedForRegistrationResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DocumentQueuedForRegistrationID = json['DocumentQueuedForRegistrationID']; return this; } Map toJson() => { 'DocumentQueuedForRegistrationID': DocumentQueuedForRegistrationID }; getTypeName() => "DocumentQueuedForRegistrationResponse"; TypeContext? context = _ctx; } class AddDocumentQueuedForRegistration implements IReturn, IConvertible { String? RegistrationProfileID; String? FileID; String? Description; String? Note; String? UploadOrigin; String? DocumentID; String? RootDocumentID; int? AssignToUserID; int? AssignToGroupID; List? MetaData; Mailings? Mailings; List? AttachmentsMailings; AddDocumentQueuedForRegistration({this.RegistrationProfileID,this.FileID,this.Description,this.Note,this.UploadOrigin,this.DocumentID,this.RootDocumentID,this.AssignToUserID,this.AssignToGroupID,this.MetaData,this.Mailings,this.AttachmentsMailings}); AddDocumentQueuedForRegistration.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RegistrationProfileID = json['RegistrationProfileID']; FileID = json['FileID']; Description = json['Description']; Note = json['Note']; UploadOrigin = json['UploadOrigin']; DocumentID = json['DocumentID']; RootDocumentID = json['RootDocumentID']; AssignToUserID = json['AssignToUserID']; AssignToGroupID = json['AssignToGroupID']; MetaData = JsonConverters.fromJson(json['MetaData'],'List',context!); Mailings = JsonConverters.fromJson(json['Mailings'],'Mailings',context!); AttachmentsMailings = JsonConverters.fromJson(json['AttachmentsMailings'],'List',context!); return this; } Map toJson() => { 'RegistrationProfileID': RegistrationProfileID, 'FileID': FileID, 'Description': Description, 'Note': Note, 'UploadOrigin': UploadOrigin, 'DocumentID': DocumentID, 'RootDocumentID': RootDocumentID, 'AssignToUserID': AssignToUserID, 'AssignToGroupID': AssignToGroupID, 'MetaData': JsonConverters.toJson(MetaData,'List',context!), 'Mailings': JsonConverters.toJson(Mailings,'Mailings',context!), 'AttachmentsMailings': JsonConverters.toJson(AttachmentsMailings,'List',context!) }; createResponse() => DocumentQueuedForRegistrationResponse(); getResponseTypeName() => "DocumentQueuedForRegistrationResponse"; getTypeName() => "AddDocumentQueuedForRegistration"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'MetaDataField': TypeInfo(TypeOf.Class, create:() => MetaDataField()), 'Mailings': TypeInfo(TypeOf.Class, create:() => Mailings()), 'AttachmentMailing': TypeInfo(TypeOf.Class, create:() => AttachmentMailing()), 'DocumentQueuedForRegistrationResponse': TypeInfo(TypeOf.Class, create:() => DocumentQueuedForRegistrationResponse()), 'AddDocumentQueuedForRegistration': TypeInfo(TypeOf.Class, create:() => AddDocumentQueuedForRegistration()), 'List': TypeInfo(TypeOf.Class, create:() => []), 'List': TypeInfo(TypeOf.Class, create:() => []), });