/* Options: Date: 2024-10-18 04:28:02 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: GeneratePowerPointDocument.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; abstract class IGenerateOfficeDocument { String? RegisteredDocumentID; bool? RecreateDocument; String? DocumentGeneratorDocumentID; String? DataSourceEntityID; } abstract class IGeneratePowerPointDocument extends IGenerateOfficeDocument { } abstract class IGenerateDocumentResponse { String? DocumentID; } abstract class IGeneratePowerPointDocumentResponse extends IGenerateDocumentResponse { } class GeneratePowerPointDocumentResponse implements IGeneratePowerPointDocumentResponse, 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; GeneratePowerPointDocumentResponse({this.DocumentID}); GeneratePowerPointDocumentResponse.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DocumentID = json['DocumentID']; return this; } Map toJson() => { 'DocumentID': DocumentID }; getTypeName() => "GeneratePowerPointDocumentResponse"; 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 GeneratePowerPointDocument implements IReturn, IGeneratePowerPointDocument, 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; GeneratePowerPointDocument({this.RegisteredDocumentID,this.RecreateDocument,this.DocumentGeneratorDocumentID,this.DataSourceEntityID}); GeneratePowerPointDocument.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() => GeneratePowerPointDocumentResponse(); getResponseTypeName() => "GeneratePowerPointDocumentResponse"; getTypeName() => "GeneratePowerPointDocument"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'IGenerateOfficeDocument': TypeInfo(TypeOf.Interface), 'IGeneratePowerPointDocument': TypeInfo(TypeOf.Interface), 'IGenerateDocumentResponse': TypeInfo(TypeOf.Interface), 'IGeneratePowerPointDocumentResponse': TypeInfo(TypeOf.Interface), 'GeneratePowerPointDocumentResponse': TypeInfo(TypeOf.Class, create:() => GeneratePowerPointDocumentResponse()), 'GeneratePowerPointDocument': TypeInfo(TypeOf.Class, create:() => GeneratePowerPointDocument()), });