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.
|
|
|
|
|
|
2022-06-17 15:37:17 +08:00
|
|
|
|
#nullable disable
|
|
|
|
|
|
2021-05-10 14:53:52 +08:00
|
|
|
|
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; }
|
|
|
|
|
}
|
|
|
|
|
}
|