mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-03 11:05:56 +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:
@@ -7,15 +7,31 @@ namespace Octokit
|
||||
[DebuggerDisplay("{DebuggerDisplay,nq}")]
|
||||
public class PullRequestReviewComment
|
||||
{
|
||||
public PullRequestReviewComment()
|
||||
{
|
||||
}
|
||||
public PullRequestReviewComment() { }
|
||||
|
||||
public PullRequestReviewComment(int id)
|
||||
{
|
||||
Id = id;
|
||||
}
|
||||
|
||||
public PullRequestReviewComment(Uri url, int id, string diffHunk, string path, int? position, int? originalPosition, string commitId, string originalCommitId, User user, string body, DateTimeOffset createdAt, DateTimeOffset updatedAt, Uri htmlUrl, Uri pullRequestUrl)
|
||||
{
|
||||
Url = url;
|
||||
Id = id;
|
||||
DiffHunk = diffHunk;
|
||||
Path = path;
|
||||
Position = position;
|
||||
OriginalPosition = originalPosition;
|
||||
CommitId = commitId;
|
||||
OriginalCommitId = originalCommitId;
|
||||
User = user;
|
||||
Body = body;
|
||||
CreatedAt = createdAt;
|
||||
UpdatedAt = updatedAt;
|
||||
HtmlUrl = htmlUrl;
|
||||
PullRequestUrl = pullRequestUrl;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// URL of the comment via the API.
|
||||
/// </summary>
|
||||
|
||||
Reference in New Issue
Block a user