Example #1
0
 public CheckSuite(long id, string headBranch, string headSha, CheckStatus status, CheckConclusion?conclusion, string url, string before, string after, IReadOnlyList <PullRequest> pullRequests, GitHubApp app, Repository repository)
 {
     Id           = id;
     HeadBranch   = headBranch;
     HeadSha      = headSha;
     Status       = status;
     Conclusion   = conclusion;
     Url          = url;
     Before       = before;
     After        = after;
     PullRequests = pullRequests;
     App          = app;
     Repository   = repository;
 }
 public CheckRun(long id, string headSha, string externalId, string url, string htmlUrl, CheckStatus status, CheckConclusion?conclusion, DateTimeOffset startedAt, DateTimeOffset?completedAt, CheckRunOutputResponse output, string name, CheckSuite checkSuite, GitHubApp app, IReadOnlyList <PullRequest> pullRequests)
 {
     Id           = id;
     HeadSha      = headSha;
     ExternalId   = externalId;
     Url          = url;
     HtmlUrl      = htmlUrl;
     Status       = status;
     Conclusion   = conclusion;
     StartedAt    = startedAt;
     CompletedAt  = completedAt;
     Output       = output;
     Name         = name;
     CheckSuite   = checkSuite;
     App          = app;
     PullRequests = pullRequests;
 }