using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
///
/// Represents the response information from a operation
///
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class UserRenameResponse
{
public UserRenameResponse() { }
public UserRenameResponse(string message, string url)
{
Message = message;
Url = url;
}
///
/// Message indiating if the Rename request was queued
///
public string Message { get; protected set; }
///
/// Url to the user that will be renamed
///
public string Url { get; protected set; }
internal string DebuggerDisplay
{
get
{
return string.Format(CultureInfo.InvariantCulture, "Message: {0}", Message);
}
}
}
}