mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-05-23 23:08:17 +00:00
c3a67ae777
Resolves https://github.com/octokit/octokit.net/issues/677. Removes obscolete properties (gravatar). Makes Models.Response properties all be protected (most were already).
36 lines
1.0 KiB
C#
36 lines
1.0 KiB
C#
using System.Diagnostics;
|
|
|
|
namespace Octokit
|
|
{
|
|
/// <summary>
|
|
/// The response from the Repository Contents API. The API assumes a dynamic client type so we need
|
|
/// to model that.
|
|
/// </summary>
|
|
/// <remarks>https://developer.github.com/v3/repos/contents/</remarks>
|
|
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
|
public class RepositoryContentChangeSet
|
|
{
|
|
public RepositoryContentChangeSet() { }
|
|
|
|
public RepositoryContentChangeSet(RepositoryContentInfo content, Commit commit)
|
|
{
|
|
Content = content;
|
|
Commit = commit;
|
|
}
|
|
|
|
/// <summary>
|
|
/// The content of the response.
|
|
/// </summary>
|
|
public RepositoryContentInfo Content { get; protected set; }
|
|
|
|
/// <summary>
|
|
/// The commit information for the content change.
|
|
/// </summary>
|
|
public Commit Commit { get; protected set; }
|
|
|
|
internal string DebuggerDisplay
|
|
{
|
|
get { return Content.DebuggerDisplay; }
|
|
}
|
|
}
|
|
} |