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