diff --git a/osu.Game.Rulesets.Karaoke/Online/API/Requests/Responses/KaraokeChangelogBuild.cs b/osu.Game.Rulesets.Karaoke/Online/API/Requests/Responses/KaraokeChangelogBuild.cs index e86114115..1529951b5 100644 --- a/osu.Game.Rulesets.Karaoke/Online/API/Requests/Responses/KaraokeChangelogBuild.cs +++ b/osu.Game.Rulesets.Karaoke/Online/API/Requests/Responses/KaraokeChangelogBuild.cs @@ -1,80 +1,80 @@ -// Copyright (c) andy840119 . Licensed under the GPL Licence. -// See the LICENCE file in the repository root for full licence text. - -namespace osu.Game.Rulesets.Karaoke.Online.API.Requests.Responses -{ - public class KaraokeChangelogBuild - { - /// - /// - /// - /// Account or organization name - /// Project name - /// Branch name - public KaraokeChangelogBuild(string organization, string project, string branch = "master") - { - OrganizationName = organization; - ProjectName = project; - Branch = branch; - Versions = new VersionNavigation(); - } - - /// - /// Organization name - /// - public string OrganizationName { get; } - - /// - /// Project name - /// - public string ProjectName { get; } - - /// - /// Branch name - /// - public string Branch { get; } - - /// - /// The URL of the loaded document. - /// - public string DocumentUrl => $"https://raw.githubusercontent.com/{OrganizationName}/{ProjectName}/{Branch}/{Path}/"; - - /// - /// The base URL for all root-relative links. - /// - public string RootUrl { get; set; } - - /// - /// Path of the project - /// - public string Path { get; set; } - - /// - /// Path to download readme url - /// - public string ReadmeDownloadUrl => $"{DocumentUrl}README.md"; - - /// - /// Display version - /// - public string DisplayVersion { get; set; } - - /// - /// Version - /// - public VersionNavigation Versions { get; } - - public class VersionNavigation - { - /// - /// Next version - /// - public KaraokeChangelogBuild Next { get; set; } - - /// - /// Previous version - /// - public KaraokeChangelogBuild Previous { get; set; } - } - } -} +// Copyright (c) andy840119 . Licensed under the GPL Licence. +// See the LICENCE file in the repository root for full licence text. + +namespace osu.Game.Rulesets.Karaoke.Online.API.Requests.Responses +{ + public class KaraokeChangelogBuild + { + /// + /// + /// + /// Account or organization name + /// Project name + /// Branch name + public KaraokeChangelogBuild(string organization, string project, string branch = "master") + { + OrganizationName = organization; + ProjectName = project; + Branch = branch; + Versions = new VersionNavigation(); + } + + /// + /// Organization name + /// + public string OrganizationName { get; } + + /// + /// Project name + /// + public string ProjectName { get; } + + /// + /// Branch name + /// + public string Branch { get; } + + /// + /// The URL of the loaded document. + /// + public string DocumentUrl => $"https://raw.githubusercontent.com/{OrganizationName}/{ProjectName}/{Branch}/{Path}/"; + + /// + /// The base URL for all root-relative links. + /// + public string RootUrl { get; set; } + + /// + /// Path of the project + /// + public string Path { get; set; } + + /// + /// Path to download readme url + /// + public string ReadmeDownloadUrl => $"{DocumentUrl}README.md"; + + /// + /// Display version + /// + public string DisplayVersion { get; set; } + + /// + /// Version + /// + public VersionNavigation Versions { get; } + + public class VersionNavigation + { + /// + /// Next version + /// + public KaraokeChangelogBuild Next { get; set; } + + /// + /// Previous version + /// + public KaraokeChangelogBuild Previous { get; set; } + } + } +}