/* Options: Date: 2024-10-18 04:32:47 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: GenerateWordDocument.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; abstract class IGenerateWordDocument extends IGenerateOfficeDocument { } abstract class IGenerateOfficeDocument { String? RegisteredDocumentID; bool? RecreateDocument; String? DocumentGeneratorDocumentID; String? DataSourceEntityID; } abstract class IGenerateWordDocumentResponse extends IGenerateDocumentResponse { } abstract class IGenerateDocumentResponse { String? DocumentID; } class GenerateWordDocumentResponse implements IGenerateWordDocumentResponse, IConvertible { /** * Contains the registration ID of the generated (corporate identity) document */ // @ApiMember(Description="Contains the registration ID of the generated (corporate identity) document", IsRequired=true) String? DocumentID; GenerateWordDocumentResponse({this.DocumentID}); GenerateWordDocumentResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DocumentID = json['DocumentID']; return this; } Map toJson() => { 'DocumentID': DocumentID }; getTypeName() => "GenerateWordDocumentResponse"; TypeContext? context = _ctx; } /** * 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.") class GenerateWordDocument implements IReturn, IGenerateWordDocument, IConvertible { /** * ID of the current document registration */ // @ApiMember(Description="ID of the current document registration", IsRequired=true) String? RegisteredDocumentID; /** * Recreate document */ // @ApiMember(Description="Recreate document", IsRequired=true) bool? RecreateDocument; /** * ID of the document generator configuration */ // @ApiMember(Description="ID of the document generator configuration") String? DocumentGeneratorDocumentID; /** * 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.") String? DataSourceEntityID; GenerateWordDocument({this.RegisteredDocumentID,this.RecreateDocument,this.DocumentGeneratorDocumentID,this.DataSourceEntityID}); GenerateWordDocument.fromJson(Map json) { fromMap(json); } fromMap(Map json) { RegisteredDocumentID = json['RegisteredDocumentID']; RecreateDocument = json['RecreateDocument']; DocumentGeneratorDocumentID = json['DocumentGeneratorDocumentID']; DataSourceEntityID = json['DataSourceEntityID']; return this; } Map toJson() => { 'RegisteredDocumentID': RegisteredDocumentID, 'RecreateDocument': RecreateDocument, 'DocumentGeneratorDocumentID': DocumentGeneratorDocumentID, 'DataSourceEntityID': DataSourceEntityID }; createResponse() => GenerateWordDocumentResponse(); getResponseTypeName() => "GenerateWordDocumentResponse"; getTypeName() => "GenerateWordDocument"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'IGenerateWordDocument': TypeInfo(TypeOf.Interface), 'IGenerateOfficeDocument': TypeInfo(TypeOf.Interface), 'IGenerateWordDocumentResponse': TypeInfo(TypeOf.Interface), 'IGenerateDocumentResponse': TypeInfo(TypeOf.Interface), 'GenerateWordDocumentResponse': TypeInfo(TypeOf.Class, create:() => GenerateWordDocumentResponse()), 'GenerateWordDocument': TypeInfo(TypeOf.Class, create:() => GenerateWordDocument()), });