[WIP] Add new Project API Preview (#1480)

Add Projects API client (preview)
This commit is contained in:
Martin Scholz
2017-07-23 00:18:34 +02:00
committed by Ryan Gribble
parent fc5bc947aa
commit 329ef960ed
45 changed files with 5821 additions and 2 deletions
+36
View File
@@ -0,0 +1,36 @@
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class ProjectUpdate
{
public ProjectUpdate()
{
}
/// <summary>
/// The new name of the project.
/// </summary>
public string Name { get; set; }
/// <summary>
/// The new body of the project.
/// </summary>
public string Body { get; set; }
/// <summary>
/// The new state of the project.
/// </summary>
public ItemState? State { get; set; }
internal string DebuggerDisplay
{
get
{
return string.Format(CultureInfo.InvariantCulture, "Name: {0}, Body: {1}", Name, Body);
}
}
}
}