mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-02 02:45:32 +00:00
Add the ability to create a readonly deploy key
This commit is contained in:
@@ -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); }
|
||||
|
||||
Reference in New Issue
Block a user