osu/osu.Game/Users/Badge.cs

29 lines
631 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 Newtonsoft.Json;
namespace osu.Game.Users
{
public class Badge
{
[JsonProperty("awarded_at")]
public DateTimeOffset AwardedAt;
[JsonProperty("description")]
public string Description;
[JsonProperty("image@2x_url")]
public string ImageUrl;
[JsonProperty("image_url")]
public string ImageUrlLowRes;
[JsonProperty("url")]
public string Url;
}
}