/* Options: Date: 2024-10-18 04:28:51 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: GetDocumentPreview.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; // @Route("/documents/{DocumentID}/preview", "GET POST") class GetDocumentPreview implements IReturn, IConvertible { String? DocumentID; GetDocumentPreview({this.DocumentID}); GetDocumentPreview.fromJson(Map json) { fromMap(json); } fromMap(Map json) { DocumentID = json['DocumentID']; return this; } Map toJson() => { 'DocumentID': DocumentID }; createResponse() => Uint8List(0); getResponseTypeName() => "Uint8List"; getTypeName() => "GetDocumentPreview"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'GetDocumentPreview': TypeInfo(TypeOf.Class, create:() => GetDocumentPreview()), });