1
0
mirror of https://github.com/ppy/osu.git synced 2024-12-27 04:22:56 +08:00
osu-lazer/osu.Game/Online/API/Requests/Responses/APINewsSidebar.cs

21 lines
568 B
C#
Raw Normal View History

2021-05-10 14:53:52 +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.
using Newtonsoft.Json;
using System.Collections.Generic;
namespace osu.Game.Online.API.Requests.Responses
{
public class APINewsSidebar
{
[JsonProperty("current_year")]
public int CurrentYear { get; set; }
[JsonProperty("news_posts")]
public IEnumerable<APINewsPost> NewsPosts { get; set; }
[JsonProperty("years")]
public int[] Years { get; set; }
}
}