| 12345678910111213141516171819202122232425262728293031323334 |
- using System;
- using System.Collections.Generic;
- using System.Linq;
- using System.Text;
- using System.Text.Json.Serialization;
- using System.Threading.Tasks;
- namespace Quadarax.Application.TemporarySharedStorage.Client.Dtos.Response
- {
- /// <summary>
- /// Response DTO from finalizing the upload.
- /// Contains the file ID and download information for the successfully uploaded file.
- /// </summary>
- public class FinalizeUploadResponse
- {
- /// <summary>
- /// Unique file identifier generated by the system
- /// </summary>
- [JsonPropertyName("fileid")]
- public string FileId { get; set; } = string.Empty;
-
- /// <summary>
- /// Direct URL to the download page for this file
- /// </summary>
- [JsonPropertyName("permalink")]
- public string Permalink { get; set; } = string.Empty;
-
- /// <summary>
- /// WordPress shortcode that can be embedded in posts/pages to display download form
- /// </summary>
- [JsonPropertyName("shortcode")]
- public string Shortcode { get; set; } = string.Empty;
- }
- }
|