2020-01-10 20:48:54 +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
|
|
|
|
|
|
2020-01-10 20:48:54 +08:00
|
|
|
|
using System.Collections.Generic;
|
2020-01-10 21:28:52 +08:00
|
|
|
|
using Newtonsoft.Json;
|
2020-01-10 20:48:54 +08:00
|
|
|
|
using osu.Game.Online.API.Requests.Responses;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Online.API.Requests
|
|
|
|
|
{
|
2020-01-11 01:46:35 +08:00
|
|
|
|
public class GetSpotlightsRequest : APIRequest<SpotlightsCollection>
|
2020-01-10 20:48:54 +08:00
|
|
|
|
{
|
|
|
|
|
protected override string Target => "spotlights";
|
|
|
|
|
}
|
2020-01-10 21:28:52 +08:00
|
|
|
|
|
2020-01-11 01:46:35 +08:00
|
|
|
|
public class SpotlightsCollection
|
2020-01-10 21:28:52 +08:00
|
|
|
|
{
|
|
|
|
|
[JsonProperty("spotlights")]
|
|
|
|
|
public List<APISpotlight> Spotlights;
|
|
|
|
|
}
|
2020-01-10 20:48:54 +08:00
|
|
|
|
}
|