mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-05 03:30:34 +00:00
Implement labels CRUD
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
namespace Octokit
|
||||
{
|
||||
/// <summary>
|
||||
/// Describes a new label to create via the <see cref="IIssuesLabelsClient.Create(string,string,NewLabel)"/> method.
|
||||
/// </summary>
|
||||
public class NewLabel
|
||||
{
|
||||
public NewLabel(string name, string color)
|
||||
{
|
||||
Name = name;
|
||||
Color = color;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Name of the label (required)
|
||||
/// </summary>
|
||||
public string Name { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Color of the label (required)
|
||||
/// </summary>
|
||||
public string Color { get; set; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user