1
0
mirror of https://github.com/ppy/osu.git synced 2026-05-17 05:12:34 +08:00
Files
osu-lazer/osu.Game/Updater/GitHubRelease.cs
T

31 lines
778 B
C#

// Copyright (c) ppy Pty Ltd <contact@ppy.sh>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.
#nullable disable
using System;
using System.Collections.Generic;
using System.Text.Json.Serialization;
using Newtonsoft.Json;
namespace osu.Game.Updater
{
public class GitHubRelease
{
[JsonProperty("html_url")]
public string HtmlUrl { get; set; }
[JsonProperty("tag_name")]
public string TagName { get; set; }
[JsonProperty("assets")]
public List<GitHubAsset> Assets { get; set; }
[JsonProperty("prerelease")]
public bool Prerelease { get; set; }
[JsonPropertyName("published_at")]
public DateTime? PublishedAt { get; set; }
}
}