mirror of
https://github.com/zoriya/octokit.net.git
synced 2025-12-06 07:16:09 +00:00
34 lines
847 B
C#
34 lines
847 B
C#
using System.Diagnostics;
|
|
using System.Globalization;
|
|
|
|
namespace Octokit
|
|
{
|
|
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
|
public class DeployKey
|
|
{
|
|
public DeployKey() { }
|
|
|
|
public DeployKey(int id, string key, string url, string title)
|
|
{
|
|
Id = id;
|
|
Key = key;
|
|
Url = url;
|
|
Title = title;
|
|
}
|
|
|
|
public int Id { get; protected set; }
|
|
public string Key { get; protected set; }
|
|
public string Url { get; protected set; }
|
|
public string Title { get; protected set; }
|
|
|
|
internal string DebuggerDisplay
|
|
{
|
|
get
|
|
{
|
|
return string.Format(CultureInfo.InvariantCulture,
|
|
"Deploy Key: Id: {0} Key: {1} Url: {2} Title: {3}", Id, Key, Url, Title);
|
|
}
|
|
}
|
|
}
|
|
}
|