Files
octokit.net/Octokit/Models/Request/PublicKey.cs
T
2014-07-09 13:32:34 +09:30

32 lines
789 B
C#

using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class PublicKey
{
public int Id { get; set; }
public string Key { get; set; }
/// <remarks>
/// Only visible for the current user, or with the correct OAuth scope
/// </remarks>
public string Url { get; set; }
/// <remarks>
/// Only visible for the current user, or with the correct OAuth scope
/// </remarks>
public string Title { get; set; }
internal string DebuggerDisplay
{
get
{
return String.Format(CultureInfo.InvariantCulture, "ID: {0} Key: {1}", Id, Key);
}
}
}
}