Implement labels CRUD

This commit is contained in:
Andre Rodrigues
2013-12-05 17:24:52 +00:00
parent 185589e8e5
commit 8f44a22ca3
10 changed files with 244 additions and 2 deletions
+24
View File
@@ -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; }
}
}