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