diff --git a/Octokit/Models/Response/Label.cs b/Octokit/Models/Response/Label.cs index 095bd2a2..af23eda7 100644 --- a/Octokit/Models/Response/Label.cs +++ b/Octokit/Models/Response/Label.cs @@ -8,8 +8,9 @@ namespace Octokit { public Label() { } - public Label(string url, string name, string nodeId, string color, string description, bool @default) + public Label(long id, string url, string name, string nodeId, string color, string description, bool @default) { + Id = id; Url = url; Name = name; NodeId = nodeId; @@ -18,6 +19,11 @@ namespace Octokit Default = @default; } + /// + /// Id of the label + /// + public long Id { get; protected set; } + /// /// Url of the label ///