From 8cd893d6d4a7f062871caed7a555511d45579bdc Mon Sep 17 00:00:00 2001 From: Ryan Gribble Date: Wed, 30 Jan 2019 21:40:27 +1000 Subject: [PATCH] add Slug field to Team response model (#1913) --- 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 b136df3217..79e5db37d6 100644 --- a/Octokit/Models/Response/Team.cs +++ b/Octokit/Models/Response/Team.cs @@ -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; @@ -43,6 +44,11 @@ public Team(string url, int id, string nodeId, string name, string description, /// public string NodeId { get; protected set; } + /// + /// team slug + /// + public string Slug { get; protected set; } + /// /// team name ///