Exemple #1
0
 public PullRequestReview(long id, string nodeId, string commitId, User user, string body, string htmlUrl, string pullRequestUrl, PullRequestReviewState state, AuthorAssociation authorAssociation)
 {
     Id                = id;
     NodeId            = nodeId;
     CommitId          = commitId;
     User              = user;
     Body              = body;
     HtmlUrl           = htmlUrl;
     PullRequestUrl    = pullRequestUrl;
     State             = state;
     AuthorAssociation = authorAssociation;
 }
Exemple #2
0
 public IssueComment(int id, string nodeId, string url, string htmlUrl, string body, DateTimeOffset createdAt, DateTimeOffset?updatedAt, User user, ReactionSummary reactions, AuthorAssociation authorAssociation)
 {
     Id                = id;
     NodeId            = nodeId;
     Url               = url;
     HtmlUrl           = htmlUrl;
     Body              = body;
     CreatedAt         = createdAt;
     UpdatedAt         = updatedAt;
     User              = user;
     Reactions         = reactions;
     AuthorAssociation = authorAssociation;
 }
 public PullRequestReviewComment(string url, int id, string nodeId, string diffHunk, string path, int?position, int?originalPosition, string commitId, string originalCommitId, User user, string body, DateTimeOffset createdAt, DateTimeOffset updatedAt, string htmlUrl, string pullRequestUrl, ReactionSummary reactions, int?inReplyToId, int?pullRequestReviewId, AuthorAssociation authorAssociation)
 {
     PullRequestReviewId = pullRequestReviewId;
     Url               = url;
     Id                = id;
     NodeId            = nodeId;
     DiffHunk          = diffHunk;
     Path              = path;
     Position          = position;
     OriginalPosition  = originalPosition;
     CommitId          = commitId;
     OriginalCommitId  = originalCommitId;
     User              = user;
     Body              = body;
     CreatedAt         = createdAt;
     UpdatedAt         = updatedAt;
     HtmlUrl           = htmlUrl;
     PullRequestUrl    = pullRequestUrl;
     Reactions         = reactions;
     InReplyToId       = inReplyToId;
     AuthorAssociation = authorAssociation;
 }