using System.Diagnostics; using System.Globalization; namespace Octokit { /// /// Used as part of a to update the name or contents of an existing gist file /// /// /// API docs: https://developer.github.com/v3/gists/ /// [DebuggerDisplay("{DebuggerDisplay,nq}")] public class GistFileUpdate { /// /// Gets or sets the new name of the file. /// /// /// The new name of the file. /// public string NewFileName { get; set; } /// /// Gets or sets the content. /// /// /// The content. /// public string Content { get; set; } internal string DebuggerDisplay { get { return string.Format(CultureInfo.InvariantCulture, "NewFileName: {0}", NewFileName); } } } }