2019-01-24 16:43:03 +08:00
|
|
|
|
// 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-16 05:44:59 +08:00
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2018-04-16 05:44:59 +08: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-07 07:17:53 +08:00
|
|
|
|
[JsonProperty("image@2x_url")]
|
2018-04-16 05:44:59 +08:00
|
|
|
|
public string ImageUrl;
|
2022-11-03 13:30:30 +08:00
|
|
|
|
|
2023-09-07 07:17:53 +08:00
|
|
|
|
[JsonProperty("image_url")]
|
|
|
|
|
public string ImageUrlLowRes;
|
|
|
|
|
|
2022-11-03 13:30:30 +08:00
|
|
|
|
[JsonProperty("url")]
|
|
|
|
|
public string Url;
|
2018-04-16 05:44:59 +08:00
|
|
|
|
}
|
|
|
|
|
}
|