mirror of
https://github.com/bloxstraplabs/bloxstrap.git
synced 2025-04-18 00:21:33 -07:00
33 lines
869 B
C#
33 lines
869 B
C#
using System.Text.Json.Serialization;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Bloxstrap.Models
|
|
{
|
|
public class GithubRelease
|
|
{
|
|
[JsonPropertyName("tag_name")]
|
|
public string TagName { get; set; } = null!;
|
|
|
|
[JsonPropertyName("name")]
|
|
public string Name { get; set; } = null!;
|
|
|
|
[JsonPropertyName("body")]
|
|
public string Body { get; set; } = null!;
|
|
|
|
[JsonPropertyName("created_at")]
|
|
public string CreatedAt { get; set; } = null!;
|
|
|
|
[JsonPropertyName("assets")]
|
|
public List<GithubReleaseAsset>? Assets { get; set; }
|
|
}
|
|
|
|
public class GithubReleaseAsset
|
|
{
|
|
[JsonPropertyName("browser_download_url")]
|
|
public string BrowserDownloadUrl { get; set; } = null!;
|
|
|
|
[JsonPropertyName("name")]
|
|
public string Name { get; set; } = null!;
|
|
}
|
|
}
|