コード例 #1
0
 public IssueListItem(Guid id, Guid projectId, Enums.IssueType issueType, string title, string description, IssueStatus status, Guid reporterId, Guid?assigneeId)
 {
     Id          = id;
     ProjectId   = projectId;
     IssueType   = issueType;
     Title       = title;
     Description = description;
     Status      = status;
     ReporterId  = reporterId;
     AssigneeId  = assigneeId;
 }
コード例 #2
0
 public IssueResponse(Guid id, Guid projectId, Guid?sprintId, Enums.IssueType issueType, string title,
                      string description, IssueStatus status, Guid reporterId, string reporterFullName, string reporterEmail,
                      Guid?assigneeId, IReadOnlyCollection <CommentResponse> comments, IReadOnlyCollection <LabelResponse> labels, long version, bool isLinkedIssue = false, LinkedTo linkedTo = null, IReadOnlyCollection <LinkedIssue> linkedIssues = null)
 {
     Id               = id;
     ProjectId        = projectId;
     SprintId         = sprintId;
     IssueType        = issueType;
     Title            = title;
     Description      = description;
     Status           = status;
     ReporterId       = reporterId;
     ReporterFullName = reporterFullName;
     ReporterEmail    = reporterEmail;
     AssigneeId       = assigneeId;
     Comments         = comments;
     Labels           = labels;
     Version          = version;
     IsLinkedIssue    = isLinkedIssue;
     LinkedTo         = linkedTo;
     LinkedIssues     = linkedIssues;
 }
コード例 #3
0
 public LinkedIssue(Guid id, string title, Enums.IssueType issueType)
 {
     Id        = id;
     Title     = title;
     IssueType = issueType;
 }
コード例 #4
0
 public LinkedTo(Guid issueId, string title, Enums.IssueType issueType)
 {
     IssueId   = issueId;
     Title     = title;
     IssueType = issueType;
 }
コード例 #5
0
 public void SetLinkedTo(Guid issueId, string title, Enums.IssueType issueType)
 {
     IsLinkedIssue = true;
     LinkedTo      = new Issues.LinkedTo(issueId, title, issueType);
 }