mirror of
https://github.com/ppy/osu.git
synced 2024-12-25 03:22:57 +08:00
21 lines
568 B
C#
21 lines
568 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.
|
|
|
|
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; }
|
|
}
|
|
}
|