public M2ChannelContentCodeDiscussionInReview(ChannelSpecificDefaults notificationDefaults, CodeDiscussionRecord codeDiscussion, M2ChannelRecord parent, string messageId)
 {
     NotificationDefaults = notificationDefaults;
     CodeDiscussion       = codeDiscussion;
     Parent    = parent;
     MessageId = messageId;
 }
 public ArticleRecord(string id, bool archived, string title, DateTime created, TDMemberProfile author, List <BGArticleAlias> aliases, M2ChannelRecord channel, M2ChannelContentRecord channelContent, string content, bool editable, string preview, List <ArticleMarkdownImage> previewImages, AllReactionsToItemRecord reactions, TDMemberProfile?archivedBy = null, DateTime?archivedAt = null, bool?cut = null, MeetingRecord? @event = null, ExternalEntityInfoRecord?externalEntityInfo = null, TDLocation?location = null, List <TDLocation>?locations = null, TDTeam?team = null, List <TDTeam>?teams = null, int?wordsNumber = null)
 {
     Id                 = id;
     IsArchived         = archived;
     Title              = title;
     Created            = created;
     Author             = author;
     Aliases            = aliases;
     ArchivedBy         = archivedBy;
     ArchivedAt         = archivedAt;
     Channel            = channel;
     ChannelContent     = channelContent;
     Content            = content;
     IsCut              = cut;
     IsEditable         = editable;
     Event              = @event;
     ExternalEntityInfo = externalEntityInfo;
     Location           = location;
     Locations          = locations;
     Preview            = preview;
     PreviewImages      = previewImages;
     Reactions          = reactions;
     Team               = team;
     Teams              = teams;
     WordsNumber        = wordsNumber;
 }
 public Issue(string id, bool archived, string projectId, int number, CPrincipal createdBy, DateTime creationTime, IssueStatus status, List <PlanningTag> tags, string title, List <AttachmentInfo> attachments, M2ChannelRecord channel, List <Checklist> checklists, List <string> codeReviewIds, List <CommitIdsInRepository> commitsByRepos, List <SprintRecord> sprints, PRProject?projectRef = null, IssueTracker?trackerRef = null, TDMemberProfile?assignee = null, DateTime?dueDate = null, ExternalEntityInfoRecord?externalEntityInfo = null, int?attachmentsCount = null, string?description = null)
 {
     Id                 = id;
     IsArchived         = archived;
     ProjectId          = projectId;
     ProjectRef         = projectRef;
     TrackerRef         = trackerRef;
     Number             = number;
     CreatedBy          = createdBy;
     CreationTime       = creationTime;
     Assignee           = assignee;
     Status             = status;
     DueDate            = dueDate;
     ExternalEntityInfo = externalEntityInfo;
     Tags               = tags;
     Title              = title;
     AttachmentsCount   = attachmentsCount;
     Attachments        = attachments;
     Channel            = channel;
     Checklists         = checklists;
     CodeReviewIds      = codeReviewIds;
     CommitsByRepos     = commitsByRepos;
     Description        = description;
     Sprints            = sprints;
 }
예제 #4
0
 public ArticleChannelRecord(string id, bool archived, M2ChannelRecord channel, M2ChannelContentRecord channelContent, AllReactionsToItemRecord reactions)
 {
     Id             = id;
     IsArchived     = archived;
     Channel        = channel;
     ChannelContent = channelContent;
     Reactions      = reactions;
 }
 public CodeReviewDiscussionRecord(string id, CodeReviewRecord review, DateTime created, M2ChannelRecord channel, bool resolved)
 {
     Id         = id;
     Review     = review;
     Created    = created;
     Channel    = channel;
     IsResolved = resolved;
 }
 public M2ChannelContactThread(M2ChannelRecord parent, string?text = null, string?messageId = null, TDMemberProfile?author = null, CPrincipal?messageAuthor = null, string?attachments = null)
 {
     Parent        = parent;
     Text          = text;
     MessageId     = messageId;
     Author        = author;
     MessageAuthor = messageAuthor;
     Attachments   = attachments;
 }
예제 #7
0
 public CodeDiscussionRecord(string id, string projectId, CodeDiscussionAnchor anchor, DateTime created, M2ChannelRecord channel, bool resolved, bool archived, CodeDiscussionSnippet?snippet = null, bool?pending = null, CodeReviewRecord?review = null, string?feedItemId = null, List <CodeReviewRecord>?reviews = null)
 {
     Id         = id;
     ProjectId  = projectId;
     Anchor     = anchor;
     Created    = created;
     Channel    = channel;
     IsResolved = resolved;
     Snippet    = snippet;
     IsPending  = pending;
     Review     = review;
     FeedItemId = feedItemId;
     Reviews    = reviews;
     IsArchived = archived;
 }
 public SubscriptionMetadata(M2ChannelRecord channel, string subscription, string subscriptionName)
 {
     Channel          = channel;
     Subscription     = subscription;
     SubscriptionName = subscriptionName;
 }
 public M2ChannelContentThread(ChannelItemRecord record, M2ChannelRecord parent)
 {
     Record = record;
     Parent = parent;
 }
 public M2ChannelContentMention(ChannelItemRecord record, M2ChannelRecord parent)
 {
     Record = record;
     Parent = parent;
 }