public EventInfo(int id, Uri url, User actor, User assignee, Label label, EventInfoState @event, string commitId, DateTimeOffset createdAt) { Id = id; Url = url; Actor = actor; Assignee = assignee; Label = label; Event = @event; CommitId = commitId; CreatedAt = createdAt; }
public IssueEvent(int id, Uri url, User actor, User assignee, Label label, EventInfoState @event, string commitId, DateTimeOffset createdAt, Issue issue, Uri commitUrl) { Id = id; Url = url; Actor = actor; Assignee = assignee; Label = label; Event = @event; CommitId = commitId; CreatedAt = createdAt; Issue = issue; CommitUrl = commitUrl; }
public TimelineEventInfo(int id, string url, User actor, string commitId, EventInfoState @event, DateTimeOffset createdAt, Label label, User assignee, Milestone milestone, SourceInfo source, RenameInfo rename) { Id = id; Url = url; Actor = actor; CommitId = commitId; Event = @event; CreatedAt = createdAt; Label = label; Assignee = assignee; Milestone = milestone; Source = source; Rename = rename; }
public EventInfo(long id, string nodeId, string url, User actor, User assignee, Label label, EventInfoState @event, string commitId, DateTimeOffset createdAt, User requestedReviewer, Team requestedTeam) { Id = id; NodeId = nodeId; Url = url; Actor = actor; Assignee = assignee; Label = label; Event = @event; CommitId = commitId; CreatedAt = createdAt; RequestedReviewer = requestedReviewer; RequestedTeam = requestedTeam; }
public TimelineEventInfo(long id, string nodeId, string url, User actor, string commitId, EventInfoState @event, DateTimeOffset createdAt, Label label, User assignee, Milestone milestone, SourceInfo source, RenameInfo rename, IssueEventProjectCard projectCard) { Id = id; NodeId = nodeId; Url = url; Actor = actor; CommitId = commitId; Event = @event; CreatedAt = createdAt; Label = label; Assignee = assignee; Milestone = milestone; Source = source; Rename = rename; ProjectCard = projectCard; }
public IssueEvent(long id, string nodeId, string url, User actor, User assignee, Label label, EventInfoState @event, string commitId, DateTimeOffset createdAt, Issue issue, string commitUrl, RenameInfo rename, IssueEventProjectCard projectCard) { Id = id; NodeId = nodeId; Url = url; Actor = actor; Assignee = assignee; Label = label; Event = @event; CommitId = commitId; CreatedAt = createdAt; Issue = issue; CommitUrl = commitUrl; Rename = rename; ProjectCard = projectCard; }
public static IssueEvent CreateIssueEvent(EventInfoState @event, int actorId) => new IssueEvent( id: 1234, nodeId: string.Empty, url: string.Empty, actor: CreateUser(actorId), assignee: null, label: null, @event: @event, commitId: null, createdAt: DateTimeOffset.UtcNow, issue: null, commitUrl: null, rename: null, projectCard: null);