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.
|
|
|
|
|
|
|
|
|
|
using System;
|
|
|
|
|
using Newtonsoft.Json;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Online.API.Requests.Responses
|
|
|
|
|
{
|
|
|
|
|
public class APISpotlight
|
|
|
|
|
{
|
|
|
|
|
[JsonProperty("id")]
|
|
|
|
|
public int Id;
|
|
|
|
|
|
|
|
|
|
[JsonProperty("name")]
|
|
|
|
|
public string Name;
|
|
|
|
|
|
|
|
|
|
[JsonProperty("type")]
|
|
|
|
|
public string Type;
|
|
|
|
|
|
|
|
|
|
[JsonProperty("mode_specific")]
|
|
|
|
|
public bool ModeSpecific;
|
|
|
|
|
|
|
|
|
|
[JsonProperty(@"start_date")]
|
|
|
|
|
public DateTimeOffset StartDate;
|
|
|
|
|
|
|
|
|
|
[JsonProperty(@"end_date")]
|
|
|
|
|
public DateTimeOffset EndDate;
|
|
|
|
|
|
2020-02-05 09:48:29 +00:00
|
|
|
|
[JsonProperty(@"participant_count")]
|
|
|
|
|
public int? Participants;
|
|
|
|
|
|
2020-01-10 12:48:54 +00:00
|
|
|
|
public override string ToString() => Name;
|
|
|
|
|
}
|
|
|
|
|
}
|