From ab89ff566c89cfc7a75112b9d50b4c85cca30e64 Mon Sep 17 00:00:00 2001 From: Ryan Gribble Date: Wed, 7 Mar 2018 00:07:29 +1000 Subject: [PATCH] removes obsolete Assignee property from NewIssue and IssueUpdate request models (replaced with Assignees) --- Octokit/Models/Request/IssueUpdate.cs | 9 --------- Octokit/Models/Request/NewIssue.cs | 9 --------- 2 files changed, 18 deletions(-) diff --git a/Octokit/Models/Request/IssueUpdate.cs b/Octokit/Models/Request/IssueUpdate.cs index fd13444138..7669abe1b1 100644 --- a/Octokit/Models/Request/IssueUpdate.cs +++ b/Octokit/Models/Request/IssueUpdate.cs @@ -22,15 +22,6 @@ public class IssueUpdate /// public string Body { get; set; } - /// - /// Login for the user that this issue should be assigned to. - /// - /// - /// Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. - /// - [Obsolete("Please use Assignees property. This property will no longer be supported by the GitHub API and will be removed in a future version")] - public string Assignee { get; set; } - /// /// List of logins for the multiple users that this issue should be assigned to /// diff --git a/Octokit/Models/Request/NewIssue.cs b/Octokit/Models/Request/NewIssue.cs index 417aa0cd61..9cbea403fa 100644 --- a/Octokit/Models/Request/NewIssue.cs +++ b/Octokit/Models/Request/NewIssue.cs @@ -32,15 +32,6 @@ public NewIssue(string title) /// public string Body { get; set; } - /// - /// Login for the user that this issue should be assigned to. - /// - /// - /// Only users with push access can set the assignee for new issues. The assignee is silently dropped otherwise. - /// - [Obsolete("Please use Assignees property. This property will no longer be supported by the GitHub API and will be removed in a future version")] - public string Assignee { get; set; } - /// /// List of logins for the multiple users that this issue should be assigned to ///