2019-05-12 23:36:05 +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
|
|
|
|
|
|
2018-07-20 18:22:31 +08:00
|
|
|
|
using osu.Game.Online.API.Requests.Responses;
|
|
|
|
|
|
|
|
|
|
namespace osu.Game.Online.API.Requests
|
|
|
|
|
{
|
2018-10-19 03:04:21 +08:00
|
|
|
|
public class GetChangelogBuildRequest : APIRequest<APIChangelogBuild>
|
2018-07-20 18:22:31 +08:00
|
|
|
|
{
|
2018-07-21 00:23:25 +08:00
|
|
|
|
private readonly string name;
|
|
|
|
|
private readonly string version;
|
2018-07-20 19:51:31 +08:00
|
|
|
|
|
2018-07-21 00:23:25 +08:00
|
|
|
|
public GetChangelogBuildRequest(string streamName, string buildVersion)
|
|
|
|
|
{
|
|
|
|
|
name = streamName;
|
|
|
|
|
version = buildVersion;
|
|
|
|
|
}
|
2018-07-20 19:51:31 +08:00
|
|
|
|
|
2018-07-21 00:23:25 +08:00
|
|
|
|
protected override string Target => $@"changelog/{name}/{version}";
|
2018-07-20 18:22:31 +08:00
|
|
|
|
}
|
|
|
|
|
}
|