using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
///
/// Used to update an existing pull request.
///
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class PullRequestUpdate
{
///
/// Title of the pull request (required)
///
public string Title { get; set; }
///
/// Whether the pull request is open or closed. The default is .
///
public ItemState? State { get; set; }
///
/// The body for the pull request. Supports GFM.
///
public string Body { get; set; }
internal string DebuggerDisplay
{
get
{
return string.Format(CultureInfo.InvariantCulture, "Title: {0}", Title);
}
}
}
}