mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 19:26:51 +00:00
Add HtmlUrl property to Team and Project models (#2249)
This commit is contained in:
@@ -9,10 +9,11 @@ namespace Octokit
|
||||
{
|
||||
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 @@ namespace Octokit
|
||||
/// </summary>
|
||||
public string OwnerUrl { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The HTML URL for this project.
|
||||
/// </summary>
|
||||
public string HtmlUrl { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The URL for this project.
|
||||
/// </summary>
|
||||
|
||||
@@ -12,9 +12,10 @@ namespace Octokit
|
||||
{
|
||||
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 @@ namespace Octokit
|
||||
/// </summary>
|
||||
public string Url { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// The HTML URL for this team.
|
||||
/// </summary>
|
||||
public string HtmlUrl { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// team id
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user