mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-07 12:26:18 +00:00
32 lines
789 B
C#
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);
|
|
}
|
|
}
|
|
}
|
|
}
|