using System.Diagnostics;
namespace Octokit
{
///
/// The response from the Repository Contents API. The API assumes a dynamic client type so we need
/// to model that.
///
/// https://developer.github.com/v3/repos/contents/
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class RepositoryContentChangeSet
{
public RepositoryContentChangeSet() { }
public RepositoryContentChangeSet(RepositoryContentInfo content, Commit commit)
{
Content = content;
Commit = commit;
}
///
/// The content of the response.
///
public RepositoryContentInfo Content { get; protected set; }
///
/// The commit information for the content change.
///
public Commit Commit { get; protected set; }
internal string DebuggerDisplay
{
get { return Content.DebuggerDisplay; }
}
}
}