osu/osu.Game/Users/Badge.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

29 lines
631 B
C#
Raw Normal View History

// 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.
2018-04-15 21:44:59 +00:00
2022-06-17 07:37:17 +00:00
#nullable disable
2018-04-15 21:44:59 +00:00
using System;
using Newtonsoft.Json;
namespace osu.Game.Users
{
public class Badge
{
[JsonProperty("awarded_at")]
public DateTimeOffset AwardedAt;
[JsonProperty("description")]
public string Description;
2023-09-06 23:17:53 +00:00
[JsonProperty("image@2x_url")]
2018-04-15 21:44:59 +00:00
public string ImageUrl;
2023-09-06 23:17:53 +00:00
[JsonProperty("image_url")]
public string ImageUrlLowRes;
[JsonProperty("url")]
public string Url;
2018-04-15 21:44:59 +00:00
}
}