Add the ability to create a readonly deploy key

This commit is contained in:
Haacked
2015-09-27 14:58:00 -07:00
parent 870a4e817a
commit ee27faf666
+9
View File
@@ -14,6 +14,15 @@ namespace Octokit
public string Key { get; set; }
/// <summary>
/// Gets or sets a value indicating whether the key will only be able to read repository contents. Otherwise,
/// the key will be able to read and write.
/// </summary>
/// <value>
/// <c>true</c> if [read only]; otherwise, <c>false</c>.
/// </value>
public bool ReadOnly { get; set; }
internal string DebuggerDisplay
{
get { return String.Format(CultureInfo.InvariantCulture, "Key: {0}, Title: {1}", Key, Title); }