osu/osu.Game/Online/API/Requests/GetSpotlightsRequest.cs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
596 B
C#
Raw Normal View History

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