mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-09 04:56:29 +00:00
Fixed failing tests
This commit is contained in:
@@ -7,32 +7,44 @@ namespace Octokit
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class SshKey
|
||||
{
|
||||
public SshKey()
|
||||
{
|
||||
}
|
||||
|
||||
public SshKey(string key)
|
||||
{
|
||||
Key = key;
|
||||
}
|
||||
|
||||
public SshKey(string key, string title)
|
||||
{
|
||||
Key = key;
|
||||
Title = title;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The system-wide unique Id for this user.
|
||||
/// </summary>
|
||||
public int Id { get; set; }
|
||||
public int Id { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The SSH Key
|
||||
/// </summary>
|
||||
public string Key { get; set; }
|
||||
public string Key { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The title of the SSH key
|
||||
/// </summary>
|
||||
public string Title { get; set; }
|
||||
public string Title { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The api URL for this organization.
|
||||
/// </summary>
|
||||
public string Url { get; set; }
|
||||
public string Url { get; protected set; }
|
||||
|
||||
internal string DebuggerDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return String.Format(CultureInfo.InvariantCulture, "Title: {0} ", Title);
|
||||
}
|
||||
get { return String.Format(CultureInfo.InvariantCulture, "Title: {0} ", Title); }
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user