mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-04 19:26:51 +00:00
Creates constructors for all Models.Response.
Resolves https://github.com/octokit/octokit.net/issues/677. Removes obscolete properties (gravatar). Makes Models.Response properties all be protected (most were already).
This commit is contained in:
@@ -11,6 +11,23 @@ namespace Octokit
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class CommitComment
|
||||
{
|
||||
public CommitComment() { }
|
||||
|
||||
public CommitComment(int id, Uri url, Uri htmlUrl, string body, string path, int position, int? line, string commitId, User user, DateTimeOffset createdAt, DateTimeOffset? updatedAt)
|
||||
{
|
||||
Id = id;
|
||||
Url = url;
|
||||
HtmlUrl = htmlUrl;
|
||||
Body = body;
|
||||
Path = path;
|
||||
Position = position;
|
||||
Line = line;
|
||||
CommitId = commitId;
|
||||
User = user;
|
||||
CreatedAt = createdAt;
|
||||
UpdatedAt = updatedAt;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// The issue comment Id.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user