Ejemplo n.º 1
0
 public Issue(string url, string htmlUrl, string commentsUrl, string eventsUrl, int number, ItemState state, string title, string body, User closedBy, User user, IReadOnlyList <Label> labels, User assignee, IReadOnlyList <User> assignees, Milestone milestone, int comments, PullRequest pullRequest, DateTimeOffset?closedAt, DateTimeOffset createdAt, DateTimeOffset?updatedAt, int id, bool locked, Repository repository, ReactionSummary reactions)
 {
     Id          = id;
     Url         = url;
     HtmlUrl     = htmlUrl;
     CommentsUrl = commentsUrl;
     EventsUrl   = eventsUrl;
     Number      = number;
     State       = state;
     Title       = title;
     Body        = body;
     ClosedBy    = closedBy;
     User        = user;
     Labels      = labels;
     Assignee    = assignee;
     Assignees   = assignees;
     Milestone   = milestone;
     Comments    = comments;
     PullRequest = pullRequest;
     ClosedAt    = closedAt;
     CreatedAt   = createdAt;
     UpdatedAt   = updatedAt;
     Locked      = locked;
     Repository  = repository;
     Reactions   = reactions;
 }
Ejemplo n.º 2
0
 public IssueComment(int id, string url, string htmlUrl, string body, DateTimeOffset createdAt, DateTimeOffset?updatedAt, User user, ReactionSummary reactions)
 {
     Id        = id;
     Url       = url;
     HtmlUrl   = htmlUrl;
     Body      = body;
     CreatedAt = createdAt;
     UpdatedAt = updatedAt;
     User      = user;
     Reactions = reactions;
 }
Ejemplo n.º 3
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;
 }
Ejemplo n.º 4
0
 public CommitComment(int id, string url, string htmlUrl, string body, string path, int position, int?line, string commitId, User user, DateTimeOffset createdAt, DateTimeOffset?updatedAt, ReactionSummary reactions)
 {
     Id        = id;
     Url       = url;
     HtmlUrl   = htmlUrl;
     Body      = body;
     Path      = path;
     Position  = position;
     Line      = line;
     CommitId  = commitId;
     User      = user;
     CreatedAt = createdAt;
     UpdatedAt = updatedAt;
     Reactions = reactions;
 }
Ejemplo n.º 5
0
 public PullRequestReviewComment(string url, int id, 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)
 {
     PullRequestReviewId = pullRequestReviewId;
     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;
     Reactions        = reactions;
     InReplyToId      = inReplyToId;
 }