using System.Diagnostics; using System.Globalization; namespace Octokit { /// /// Represents updatable fields on a user. Values that are null will not be sent in the request. /// Use string.empty if you want to clear clear a value. /// [DebuggerDisplay("{DebuggerDisplay,nq}")] public class UserUpdate { /// /// This user's bio. /// public string Bio { get; set; } /// /// URL for this user's blog. /// public string Blog { get; set; } /// /// The company this user's works for. /// public string Company { get; set; } /// /// This user's email. /// public string Email { get; set; } /// /// The geographic location of this user. /// public string Location { get; set; } /// /// This user's full name. /// public string Name { get; set; } /// /// Tells if this user is currently hireable. /// public bool? Hireable { get; set; } internal string DebuggerDisplay { get { return string.Format(CultureInfo.InvariantCulture, "Name: {0}", Name); } } } }