/* Options: Date: 2024-10-18 04:34:19 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: GetDocumentUploadFile.* //ExcludeTypes: //DefaultImports: package:servicestack/servicestack.dart,dart:typed_data */ import 'package:servicestack/servicestack.dart'; import 'dart:typed_data'; /** * Returns a byte array of the document to be registered */ // @Route("/documentuploads/{ID}/download", "GET") // @Api(Description="Returns a byte array of the document to be registered") // @ApiResponse(Description="File is in the message body", StatusCode=200) // @ApiResponse(Description="Unauthorized to read or download documentupload", StatusCode=401) // @ApiResponse(Description="Documentupload not found", StatusCode=410) class GetDocumentUploadFile implements IReturn, IConvertible { /** * Documentupload ID */ // @ApiMember(Description="Documentupload ID", IsRequired=true) int? ID; GetDocumentUploadFile({this.ID}); GetDocumentUploadFile.fromJson(Map json) { fromMap(json); } fromMap(Map json) { ID = json['ID']; return this; } Map toJson() => { 'ID': ID }; createResponse() => Uint8List(0); getResponseTypeName() => "Uint8List"; getTypeName() => "GetDocumentUploadFile"; TypeContext? context = _ctx; } TypeContext _ctx = TypeContext(library: 'digiofficeapigateway.deltares.nl', types: { 'GetDocumentUploadFile': TypeInfo(TypeOf.Class, create:() => GetDocumentUploadFile()), });