Book a Demo!
CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutPoliciesSign UpSign In
ppy
GitHub Repository: ppy/osu
Path: blob/master/osu.Game/Beatmaps/BeatmapSetOnlineNomination.cs
2264 views
// Copyright (c) ppy Pty Ltd <[email protected]>. Licensed under the MIT Licence.
// See the LICENCE file in the repository root for full licence text.

using Newtonsoft.Json;

namespace osu.Game.Beatmaps
{
    public struct BeatmapSetOnlineNomination
    {
        [JsonProperty(@"beatmapset_id")]
        public int BeatmapsetId { get; set; }

        [JsonProperty(@"reset")]
        public bool Reset { get; set; }

        [JsonProperty(@"rulesets")]
        public string[]? Rulesets { get; set; }

        [JsonProperty(@"user_id")]
        public int UserId { get; set; }
    }
}