/* Options: Date: 2024-10-18 04:16:58 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: GenerateWordDocument.* //ExcludeTypes: //ExcludeGenericBaseTypes: False //AddResponseStatus: False //AddImplicitVersion: //AddDescriptionAsComments: True //InitializeCollections: True //TreatTypesAsStrings: //DefaultImports: Foundation,ServiceStack */ import Foundation import ServiceStack /** * Generate new or update a (corporate identity) document based on an existing document registration. */ // @Api(Description="Generate new or update a (corporate identity) document based on an existing document registration.") public class GenerateWordDocument : IReturn, IGenerateWordDocument, Codable { public typealias Return = GenerateWordDocumentResponse /** * ID of the current document registration */ // @ApiMember(Description="ID of the current document registration", IsRequired=true) public var registeredDocumentID:String? /** * Recreate document */ // @ApiMember(Description="Recreate document", IsRequired=true) public var recreateDocument:Bool? /** * ID of the document generator configuration */ // @ApiMember(Description="ID of the document generator configuration") public var documentGeneratorDocumentID:String? /** * ID of the entity (corresponding to the entityType configured at the DocumentGeneratorDocument) to use as the datasource. Leave blank to fall back on the current document registration. */ // @ApiMember(Description="ID of the entity (corresponding to the entityType configured at the DocumentGeneratorDocument) to use as the datasource. Leave blank to fall back on the current document registration.") public var dataSourceEntityID:String? required public init(){} } public class GenerateWordDocumentResponse : IGenerateWordDocumentResponse, Codable { /** * Contains the registration ID of the generated (corporate identity) document */ // @ApiMember(Description="Contains the registration ID of the generated (corporate identity) document", IsRequired=true) public var documentID:String? required public init(){} } public protocol IGenerateWordDocument : IGenerateOfficeDocument { } public protocol IGenerateOfficeDocument { var registeredDocumentID:String? { get set } var recreateDocument:Bool? { get set } var documentGeneratorDocumentID:String? { get set } var dataSourceEntityID:String? { get set } } public protocol IGenerateWordDocumentResponse : IGenerateDocumentResponse { } public protocol IGenerateDocumentResponse { var documentID:String? { get set } }