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. /// 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 ///