mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 03:30:34 +00:00
Add Id field to Label model (#1946)
This commit is contained in:
committed by
Ryan Gribble
parent
3147ddd694
commit
0cbc716b84
@@ -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;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Id of the label
|
||||
/// </summary>
|
||||
public long Id { get; protected set; }
|
||||
|
||||
/// <summary>
|
||||
/// Url of the label
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user