From 0039b8c39b3be986de47d0c4c4e242a484b379a3 Mon Sep 17 00:00:00 2001 From: Colby Williams Date: Wed, 9 Sep 2020 22:47:31 -0400 Subject: [PATCH 1/2] Add HtmlUrl property to Team object --- Octokit/Models/Response/Team.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Octokit/Models/Response/Team.cs b/Octokit/Models/Response/Team.cs index d4e934f682..99aaedd4d3 100644 --- a/Octokit/Models/Response/Team.cs +++ b/Octokit/Models/Response/Team.cs @@ -12,9 +12,10 @@ public class Team { public Team() { } - public Team(string url, int id, string nodeId, string slug, string name, string description, TeamPrivacy privacy, PermissionLevel permission, int membersCount, int reposCount, Organization organization, Team parent, string ldapDistinguishedName) + public Team(string url, string htmlUrl, int id, string nodeId, string slug, string name, string description, TeamPrivacy privacy, PermissionLevel permission, int membersCount, int reposCount, Organization organization, Team parent, string ldapDistinguishedName) { Url = url; + HtmlUrl = htmlUrl; Id = id; NodeId = nodeId; Slug = slug; @@ -34,6 +35,11 @@ public Team(string url, int id, string nodeId, string slug, string name, string /// public string Url { get; protected set; } + /// + /// The HTML URL for this team. + /// + public string HtmlUrl { get; protected set; } + /// /// team id /// From 01cefdb04b1da7c921636dc9051d425c8b8682b9 Mon Sep 17 00:00:00 2001 From: Colby Williams Date: Wed, 9 Sep 2020 22:47:50 -0400 Subject: [PATCH 2/2] Add HtmlUrl property to Project object --- Octokit/Models/Response/Project.cs | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/Octokit/Models/Response/Project.cs b/Octokit/Models/Response/Project.cs index 5552386b55..575e885269 100644 --- a/Octokit/Models/Response/Project.cs +++ b/Octokit/Models/Response/Project.cs @@ -9,10 +9,11 @@ public class Project { public Project() { } - public Project(string ownerUrl, string url, int id, string nodeId, string name, string body, int number, ItemState state, User creator, DateTimeOffset createdAt, DateTimeOffset updatedAt) + public Project(string ownerUrl, string url, string htmlUrl, int id, string nodeId, string name, string body, int number, ItemState state, User creator, DateTimeOffset createdAt, DateTimeOffset updatedAt) { OwnerUrl = ownerUrl; Url = url; + HtmlUrl = htmlUrl; Id = id; NodeId = nodeId; Name = name; @@ -29,6 +30,11 @@ public Project(string ownerUrl, string url, int id, string nodeId, string name, /// public string OwnerUrl { get; protected set; } + /// + /// The HTML URL for this project. + /// + public string HtmlUrl { get; protected set; } + /// /// The URL for this project. ///