1
0
mirror of https://github.com/ppy/osu.git synced 2024-10-01 02:17:25 +08:00
osu-lazer/osu.Game/Online/API/Requests/Responses/APINotificationsBundle.cs

21 lines
617 B
C#
Raw Normal View History

2022-10-27 13:55:24 +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;
namespace osu.Game.Online.API.Requests.Responses
{
[JsonObject(MemberSerialization.OptIn)]
public class APINotificationsBundle
{
2022-10-28 15:32:17 +08:00
[JsonProperty(@"has_more")]
2022-10-27 13:55:24 +08:00
public bool HasMore { get; set; }
2022-10-28 15:32:17 +08:00
[JsonProperty(@"notifications")]
2022-10-27 13:55:24 +08:00
public APINotification[] Notifications { get; set; } = null!;
2022-10-28 15:32:17 +08:00
[JsonProperty(@"notification_endpoint")]
2022-10-27 13:55:24 +08:00
public string Endpoint { get; set; } = null!;
}
}