diff --git a/Octokit/Models/Request/NewDeployKey.cs b/Octokit/Models/Request/NewDeployKey.cs index 44571159..82f8dd97 100644 --- a/Octokit/Models/Request/NewDeployKey.cs +++ b/Octokit/Models/Request/NewDeployKey.cs @@ -14,6 +14,15 @@ namespace Octokit public string Key { get; set; } + /// + /// 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. + /// + /// + /// true if [read only]; otherwise, false. + /// + public bool ReadOnly { get; set; } + internal string DebuggerDisplay { get { return String.Format(CultureInfo.InvariantCulture, "Key: {0}, Title: {1}", Key, Title); }