Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using System.Text.Json.Serialization;
- namespace Installer.Models;
- public class ReleaseData
- {
- [JsonPropertyName("browser_download_url")]
- public string DownloadUrl { get; set; }
- [JsonPropertyName("size")]
- public ulong DownloadSize { get; set; }
- [JsonPropertyName("name")]
- public string DownloadName { get; set; }
- }
- public class ReleaseResponseDTO
- {
- [JsonPropertyName("assets")]
- public ReleaseData[] Assets { get; set; }
- }
- public enum SupportedOperatingSystem
- {
- Windows,
- Linux,
- Mac
- }
Advertisement
Add Comment
Please, Sign In to add comment