bloxstrap/Bloxstrap/Models/GithubCommit.cs
pizzaboxer 7f978c22a4 Publish draft for ReShade support
Only things left to implement are updating for ReShade/Extravi's presets, credits, and hopefully some bug fixes.
2023-01-15 17:51:53 +00:00

29 lines
634 B
C#

using System.Text.Json.Serialization;
namespace Bloxstrap.Models
{
public class GithubCommits
{
[JsonPropertyName("assets")]
public List<GithubCommit>? Commits { get; set; }
}
public class GithubCommit
{
[JsonPropertyName("commit")]
public GithubCommitData Commit { get; set; } = null!;
}
public class GithubCommitData
{
[JsonPropertyName("author")]
public GithubCommitAuthor Author { get; set; } = null!;
}
public class GithubCommitAuthor
{
[JsonPropertyName("date")]
public string Date { get; set; } = null!;
}
}