mirror of
https://github.com/gwdevhub/Daybreak.git
synced 2026-07-23 19:46:40 +00:00
9ddcb6ba80
Co-authored-by: Alexandru Macocian <amacocian@microsoft.com>
16 lines
465 B
C#
16 lines
465 B
C#
using System.Text.Json.Serialization;
|
|
|
|
namespace Daybreak.Shared.Models.Github;
|
|
|
|
public sealed class GithubRelease
|
|
{
|
|
[JsonPropertyName("id")]
|
|
public required int Id { get; init; }
|
|
[JsonPropertyName("tag_name")]
|
|
public required string TagName { get; init; }
|
|
[JsonPropertyName("body")]
|
|
public required string Body { get; init; }
|
|
[JsonPropertyName("assets")]
|
|
public required IReadOnlyList<GithubReleaseAsset> Assets { get; init; }
|
|
}
|