Skip to content

Commit

Permalink
Re-format file also.
Browse files Browse the repository at this point in the history
  • Loading branch information
andy840119 committed Dec 21, 2020
1 parent 65d61a5 commit 951f136
Showing 1 changed file with 80 additions and 80 deletions.
Original file line number Diff line number Diff line change
@@ -1,80 +1,80 @@
// Copyright (c) andy840119 <[email protected]>. 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
{
/// <summary>
///
/// </summary>
/// <param name="organization">Account or organization name</param>
/// <param name="project">Project name</param>
/// <param name="branch">Branch name</param>
public KaraokeChangelogBuild(string organization, string project, string branch = "master")
{
OrganizationName = organization;
ProjectName = project;
Branch = branch;
Versions = new VersionNavigation();
}

/// <summary>
/// Organization name
/// </summary>
public string OrganizationName { get; }

/// <summary>
/// Project name
/// </summary>
public string ProjectName { get; }

/// <summary>
/// Branch name
/// </summary>
public string Branch { get; }

/// <summary>
/// The URL of the loaded document.
/// </summary>
public string DocumentUrl => $"https://raw.githubusercontent.com/{OrganizationName}/{ProjectName}/{Branch}/{Path}/";

/// <summary>
/// The base URL for all root-relative links.
/// </summary>
public string RootUrl { get; set; }

/// <summary>
/// Path of the project
/// </summary>
public string Path { get; set; }

/// <summary>
/// Path to download readme url
/// </summary>
public string ReadmeDownloadUrl => $"{DocumentUrl}README.md";

/// <summary>
/// Display version
/// </summary>
public string DisplayVersion { get; set; }

/// <summary>
/// Version
/// </summary>
public VersionNavigation Versions { get; }

public class VersionNavigation
{
/// <summary>
/// Next version
/// </summary>
public KaraokeChangelogBuild Next { get; set; }

/// <summary>
/// Previous version
/// </summary>
public KaraokeChangelogBuild Previous { get; set; }
}
}
}
// Copyright (c) andy840119 <[email protected]>. 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
{
/// <summary>
///
/// </summary>
/// <param name="organization">Account or organization name</param>
/// <param name="project">Project name</param>
/// <param name="branch">Branch name</param>
public KaraokeChangelogBuild(string organization, string project, string branch = "master")
{
OrganizationName = organization;
ProjectName = project;
Branch = branch;
Versions = new VersionNavigation();
}

/// <summary>
/// Organization name
/// </summary>
public string OrganizationName { get; }

/// <summary>
/// Project name
/// </summary>
public string ProjectName { get; }

/// <summary>
/// Branch name
/// </summary>
public string Branch { get; }

/// <summary>
/// The URL of the loaded document.
/// </summary>
public string DocumentUrl => $"https://raw.githubusercontent.com/{OrganizationName}/{ProjectName}/{Branch}/{Path}/";

/// <summary>
/// The base URL for all root-relative links.
/// </summary>
public string RootUrl { get; set; }

/// <summary>
/// Path of the project
/// </summary>
public string Path { get; set; }

/// <summary>
/// Path to download readme url
/// </summary>
public string ReadmeDownloadUrl => $"{DocumentUrl}README.md";

/// <summary>
/// Display version
/// </summary>
public string DisplayVersion { get; set; }

/// <summary>
/// Version
/// </summary>
public VersionNavigation Versions { get; }

public class VersionNavigation
{
/// <summary>
/// Next version
/// </summary>
public KaraokeChangelogBuild Next { get; set; }

/// <summary>
/// Previous version
/// </summary>
public KaraokeChangelogBuild Previous { get; set; }
}
}
}

0 comments on commit 951f136

Please sign in to comment.