Skip to content

Commit

Permalink
add Slug field to Team response model (#1913)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryangribble authored Jan 30, 2019
1 parent cf44249 commit 8cd893d
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion Octokit/Models/Response/Team.cs
Original file line number Diff line number Diff line change
Expand Up @@ -12,11 +12,12 @@ public class Team
{
public Team() { }

public Team(string url, int id, string nodeId, string name, string description, TeamPrivacy privacy, Permission permission, int membersCount, int reposCount, Organization organization, Team parent, string ldapDistinguishedName)
public Team(string url, int id, string nodeId, string slug, string name, string description, TeamPrivacy privacy, Permission permission, int membersCount, int reposCount, Organization organization, Team parent, string ldapDistinguishedName)
{
Url = url;
Id = id;
NodeId = nodeId;
Slug = slug;
Name = name;
Description = description;
Privacy = privacy;
Expand All @@ -43,6 +44,11 @@ public Team(string url, int id, string nodeId, string name, string description,
/// </summary>
public string NodeId { get; protected set; }

/// <summary>
/// team slug
/// </summary>
public string Slug { get; protected set; }

/// <summary>
/// team name
/// </summary>
Expand Down

0 comments on commit 8cd893d

Please sign in to comment.