2017-10-13 18:57:59 +08:00
|
|
|
|
// Copyright (c) 2007-2017 ppy Pty Ltd <contact@ppy.sh>.
|
|
|
|
|
// Licensed under the MIT Licence - https://raw.githubusercontent.com/ppy/osu/master/LICENCE
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Online.API.Requests
|
|
|
|
|
{
|
2017-11-30 06:08:46 +08:00
|
|
|
|
public class GetBeatmapSetRequest : APIRequest<APIResponseBeatmapSet>
|
2017-10-13 18:57:59 +08:00
|
|
|
|
{
|
|
|
|
|
private readonly int beatmapSetId;
|
|
|
|
|
|
|
|
|
|
public GetBeatmapSetRequest(int beatmapSetId)
|
|
|
|
|
{
|
|
|
|
|
this.beatmapSetId = beatmapSetId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
protected override string Target => $@"beatmapsets/{beatmapSetId}";
|
|
|
|
|
}
|
|
|
|
|
}
|