/* Options: Date: 2024-11-28 10:43:01 SwiftVersion: 5.0 Version: 6.40 Tip: To override a DTO option, remove "//" prefix before updating BaseUrl: https://digiofficeapigateway.deltares.nl/api //BaseClass: //AddModelExtensions: True //AddServiceStackTypes: True IncludeTypes: AddDocument.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack public class AddDocument : IReturn, Codable { public typealias Return = DocumentResponse public var registrationProfileID:String? public var documentID:String? public var rootDocumentID:String? public var assignToUserID:Int? public var assignToGroupID:Int? public var metaData:[MetaDataField] = [] public var mailings:Mailings? public var attachmentsMailings:[AttachmentMailing] = [] public var fileID:String? public var silentMode:DocInfoSilentMode? public var updateStorageSystem:Bool? public var messageQueueId:Int? required public init(){} } public class DocumentResponse : Codable { public var documentID:String? public var documentNr:String? public var rootDocumentID:String? public var metaData:[MetaDataField] = [] public var bookmarks:[Bookmark] = [] public var mailings:Mailings? public var attachmentsMailings:[AttachmentMailing] = [] //messages:IInformationMessages ignored. Swift doesn't support interface properties public var sourceDocumentPath:String? public var destinationDocumentPath:String? public var sharePointContentTypeName:String? public var zipAttachments:Bool? required public init(){} } // @DataContract public class MetaDataField : Codable { // @DataMember public var id:String? // @DataMember public var documentVeldID:String? // @DataMember public var name:String? // @DataMember public var label:String? // @DataMember public var datatype:String? // @DataMember public var printLabel:String? // @DataMember public var entity:String? // @DataMember public var printValue:String? // @DataMember public var registrationValue:String? // @DataMember public var spSiteColumnName:String? // @DataMember public var shadowName:String? // @DataMember public var shadowDatatype:String? // @DataMember public var shadowSPSiteColumnName:String? // @DataMember public var shadowSPSiteColumnRegistrationValue:String? // @DataMember public var shadowRegistrationValue:String? // @DataMember public var isKeyField:Bool? // @DataMember public var kopierenBijNieuweVersie:Bool? required public init(){} } public class Mailings : Codable { required public init(){} } public class AttachmentMailing : Codable { required public init(){} } public enum DocInfoSilentMode : String, Codable { case Off case AllowUserInteraction case DoNotAllowUserInteraction } public class Bookmark : Codable { public var removeLastBreak:Bool? public var replaceOnChange:Bool? public var isDynamic:Bool? required public init(){} } public protocol IInformationMessages { } public class Bookmark : Codable { public var name:String? public var order:Int? required public init(){} }