From c96ee7ac01a09dea1e5d4e834b680fd65f1011a7 Mon Sep 17 00:00:00 2001 From: Ryan Gribble Date: Mon, 15 Aug 2016 21:13:53 +1000 Subject: [PATCH] Move comment to section --- Octokit/Models/Request/BranchProtectionUpdate.cs | 3 +++ Octokit/Models/Request/BranchUpdate.cs | 4 +++- Octokit/Models/Response/Branch.cs | 1 - Octokit/Models/Response/BranchProtection.cs | 8 ++++++-- 4 files changed, 12 insertions(+), 4 deletions(-) diff --git a/Octokit/Models/Request/BranchProtectionUpdate.cs b/Octokit/Models/Request/BranchProtectionUpdate.cs index 0dfca599..76ca4465 100644 --- a/Octokit/Models/Request/BranchProtectionUpdate.cs +++ b/Octokit/Models/Request/BranchProtectionUpdate.cs @@ -9,6 +9,9 @@ namespace Octokit /// /// Specifies the requested settings for branch protection /// + /// + /// Note: this is a PREVIEW api: https://developer.github.com/changes/2016-06-27-protected-branches-api-update/ + /// [DebuggerDisplay("{DebuggerDisplay,nq}")] public class BranchProtectionSettingsUpdate { diff --git a/Octokit/Models/Request/BranchUpdate.cs b/Octokit/Models/Request/BranchUpdate.cs index 7afca66a..554a7205 100644 --- a/Octokit/Models/Request/BranchUpdate.cs +++ b/Octokit/Models/Request/BranchUpdate.cs @@ -6,8 +6,10 @@ namespace Octokit { /// /// Specifies the values used to update a . - /// Note: this is a PREVIEW api: https://developer.github.com/changes/2015-11-11-protected-branches-api/ /// + /// + /// Note: this is a PREVIEW api: https://developer.github.com/changes/2015-11-11-protected-branches-api/ + /// [DebuggerDisplay("{DebuggerDisplay,nq}")] [Obsolete("BranchProtection preview functionality in the GitHub API has had breaking changes. This existing implementation will cease to work when the preview period ends.")] public class BranchUpdate diff --git a/Octokit/Models/Response/Branch.cs b/Octokit/Models/Response/Branch.cs index 3054c412..43206822 100644 --- a/Octokit/Models/Response/Branch.cs +++ b/Octokit/Models/Response/Branch.cs @@ -38,7 +38,6 @@ namespace Octokit /// /// The details for this . - /// Note: this is a PREVIEW api: https://developer.github.com/changes/2015-11-11-protected-branches-api/ /// [Obsolete("BranchProtection preview functionality in the GitHub API has had breaking changes. This existing implementation will cease to work when the preview period ends.", false)] public BranchProtection Protection { get; protected set; } diff --git a/Octokit/Models/Response/BranchProtection.cs b/Octokit/Models/Response/BranchProtection.cs index d7f64fdc..98225ae6 100644 --- a/Octokit/Models/Response/BranchProtection.cs +++ b/Octokit/Models/Response/BranchProtection.cs @@ -9,8 +9,10 @@ namespace Octokit { /// /// Protection details for a . - /// Note: this is a PREVIEW api: https://developer.github.com/changes/2015-11-11-protected-branches-api/ /// + /// + /// Note: this is a PREVIEW api: https://developer.github.com/changes/2015-11-11-protected-branches-api/ + /// [DebuggerDisplay("{DebuggerDisplay,nq}")] [Obsolete("BranchProtection preview functionality in the GitHub API has had breaking changes. This existing implementation will cease to work when the preview period ends.")] public class BranchProtection @@ -97,8 +99,10 @@ namespace Octokit /// /// Protection details for a . - /// Note: this is a PREVIEW api: https://developer.github.com/changes/2016-06-27-protected-branches-api-update/ /// + /// + /// Note: this is a PREVIEW api: https://developer.github.com/changes/2016-06-27-protected-branches-api-update/ + /// [DebuggerDisplay("{DebuggerDisplay,nq}")] public class BranchProtectionSettings {