using System; using Newtonsoft.Json; namespace NScript.Gitea { [JsonObject] public struct Asset { [JsonProperty("id")] public int Id; [JsonProperty("name")] public string Name; [JsonProperty("size")] public ulong Size; [JsonProperty("download_count")] public int DownloadCount; [JsonProperty("created_at")] public DateTime CreatedAt; [JsonProperty("uuid")] public string Uuid; [JsonProperty("browser_download_url")] public string BrowserDownloadUrl; } }