using System;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class ProjectCardUpdate
{
public ProjectCardUpdate()
{
}
[Obsolete("This constructor will be removed in a future release, due to the 'Note' parameter not being mandatory. Use object initializer syntax instead.")]
public ProjectCardUpdate(string note)
{
Note = note;
}
///
/// The new note of the card.
///
public string Note { get; set; }
///
/// Archive/Unarchive the card.
///
public bool? Archived { get; set; }
internal string DebuggerDisplay
{
get
{
return string.Format(CultureInfo.InvariantCulture, "Note: {0}, Archived: {1}", Note, Archived?.ToString() ?? "null");
}
}
}
}