/* 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 //Package: //GlobalNamespace: dtos //AddPropertyAccessors: True //SettersReturnThis: True //AddServiceStackTypes: True //AddResponseStatus: False //AddDescriptionAsComments: True //AddImplicitVersion: IncludeTypes: GetDocumentUploadFile.* //ExcludeTypes: //TreatTypesAsStrings: //DefaultImports: java.math.*,java.util.*,net.servicestack.client.* */ import java.math.*; import java.util.*; import net.servicestack.client.*; public class dtos { /** * Returns a byte array of the document to be registered */ @Route(Path="/documentuploads/{ID}/download", Verbs="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) public static class GetDocumentUploadFile implements IReturn { /** * Documentupload ID */ @ApiMember(Description="Documentupload ID", IsRequired=true) public Integer ID = null; public Integer getId() { return ID; } public GetDocumentUploadFile setId(Integer value) { this.ID = value; return this; } private static Object responseType = byte[].class; public Object getResponseType() { return responseType; } } }