// Copyright (c) ppy Pty Ltd . 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 { public abstract class ResponseWithCursor { /// /// A collection of parameters which should be passed to the search endpoint to fetch the next page. /// [JsonProperty("cursor")] public dynamic CursorJson; } public abstract class ResponseWithCursor : ResponseWithCursor where T : class { /// /// Cursor deserialized into T class type (cannot implicitly convert type to object using raw Cursor) /// [JsonProperty("cursor")] public T Cursor; } }