2019-08-09 15:47:52 +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
|
|
|
|
|
|
2019-08-09 15:47:52 +08:00
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using osu.Game.Online.API.Requests.Responses;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Online.API.Requests
|
|
|
|
|
{
|
|
|
|
|
public class GetUserKudosuHistoryRequest : PaginatedAPIRequest<List<APIKudosuHistory>>
|
|
|
|
|
{
|
|
|
|
|
private readonly long userId;
|
|
|
|
|
|
2022-04-19 07:48:34 +08:00
|
|
|
|
public GetUserKudosuHistoryRequest(long userId, PaginationParameters pagination)
|
2022-04-19 07:04:23 +08:00
|
|
|
|
: base(pagination)
|
2019-08-09 15:47:52 +08:00
|
|
|
|
{
|
|
|
|
|
this.userId = userId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override string Target => $"users/{userId}/kudosu";
|
|
|
|
|
}
|
|
|
|
|
}
|