コード例 #1
0
 public M2ChannelContentMember(TDMemberProfile member, ChannelSpecificDefaults notificationDefaults, ProfileAbsencesRecord?memberAbsences = null, ProfileMembershipRecord?memberTeams = null)
 {
     Member = member;
     NotificationDefaults = notificationDefaults;
     MemberAbsences       = memberAbsences;
     MemberTeams          = memberTeams;
 }
コード例 #2
0
 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;
 }
コード例 #3
0
 public ESApplicationPassword(string id, TDMemberProfile profile, string name, string scope, DateTime created, AccessRecord?lastAccess = null)
 {
     Id         = id;
     Profile    = profile;
     Name       = name;
     Scope      = scope;
     Created    = created;
     LastAccess = lastAccess;
 }
コード例 #4
0
 public ESAuthenticationSession(string id, TDMemberProfile profile, DateTime created, DateTime expires, bool current, AccessRecord?lastAccess = null)
 {
     Id         = id;
     Profile    = profile;
     Created    = created;
     Expires    = expires;
     LastAccess = lastAccess;
     IsCurrent  = current;
 }
コード例 #5
0
 public CodeReviewParticipant(TDMemberProfile user, CodeReviewParticipantRole role, ReviewerState?state = null, bool?theirTurn = null, List <CodeReviewParticipantQualityGateSlot>?qualityGateSlots = null, DateTime?addedAt = null)
 {
     User             = user;
     Role             = role;
     State            = state;
     IsTheirTurn      = theirTurn;
     QualityGateSlots = qualityGateSlots;
     AddedAt          = addedAt;
 }
コード例 #6
0
 public ProjectTeamMemberRecord(string id, PRProject project, TDMemberProfile profile, DateTime since, bool archived, TDRole?position = null)
 {
     Id         = id;
     Project    = project;
     Profile    = profile;
     Position   = position;
     Since      = since;
     IsArchived = archived;
 }
コード例 #7
0
 public TDMemberLocation(string id, TDLocation location, TDMemberProfile member, bool archived, List <TDLocationMapPoint>?locationMapPoints = null, DateTime?since = null, DateTime?till = null)
 {
     Id                = id;
     Location          = location;
     LocationMapPoints = locationMapPoints;
     Since             = since;
     Till              = till;
     Member            = member;
     IsArchived        = archived;
 }
 public CodeReviewParticipantRecord(string id, string projectId, CodeReviewParticipantRole role, TDMemberProfile profile, bool archived, ReviewerState?reviewerState = null, bool?theirTurn = null)
 {
     Id            = id;
     ProjectId     = projectId;
     Role          = role;
     Profile       = profile;
     ReviewerState = reviewerState;
     IsTheirTurn   = theirTurn;
     IsArchived    = archived;
 }
コード例 #9
0
 public ESPermanentToken(string id, string name, TDMemberProfile profile, string scope, DateTime created, DateTime?expires = null, AccessRecord?lastAccess = null)
 {
     Id         = id;
     Name       = name;
     Profile    = profile;
     Scope      = scope;
     Created    = created;
     Expires    = expires;
     LastAccess = lastAccess;
 }
コード例 #10
0
 public DRDraftHeader(string id, string title, TDMemberProfile author, DateTime modified, bool shared, DateTime?created = null, CPrincipal?modifiedBy = null, PublicationDetails?publicationDetails2 = null, bool?deleted = null, DocumentFolderRecord?folder = null)
 {
     Id                  = id;
     Title               = title;
     Author              = author;
     Modified            = modified;
     Created             = created;
     ModifiedBy          = modifiedBy;
     IsShared            = shared;
     PublicationDetails2 = publicationDetails2;
     IsDeleted           = deleted;
     Folder              = folder;
 }
コード例 #11
0
 public PollRecord(string id, TDMemberProfile owner, string question, bool meVote, int countPeople, bool anonymous, bool closed, bool extendable, bool multiChoice, bool ended, List <VoteGroup> votes, DateTime?expirationTime = null)
 {
     Id             = id;
     Owner          = owner;
     Question       = question;
     IsMeVote       = meVote;
     CountPeople    = countPeople;
     IsAnonymous    = anonymous;
     IsClosed       = closed;
     IsExtendable   = extendable;
     IsMultiChoice  = multiChoice;
     IsEnded        = ended;
     ExpirationTime = expirationTime;
     Votes          = votes;
 }
コード例 #12
0
 public AbsenceRecord(string id, bool archived, TDMemberProfile member, string icon, DateTime since, DateTime till, bool available, Dictionary <string, CFValue> customFields, AbsenceReasonRecord?reason = null, string?description = null, TDLocation?location = null, AbsenceApproval?approval = null)
 {
     Id           = id;
     IsArchived   = archived;
     Member       = member;
     Icon         = icon;
     Reason       = reason;
     Description  = description;
     Since        = since;
     Till         = till;
     Location     = location;
     IsAvailable  = available;
     Approval     = approval;
     CustomFields = customFields;
 }
コード例 #13
0
 public DocumentFolderRecord(string id, bool archived, string name, List <DocumentFolderRecord> subfolders, List <DRDraftHeader> documents, TDMemberProfile owner, string alias, DateTime created, DateTime updated, DocumentFolderRecord?parent = null, CPrincipal?createdBy = null, CPrincipal?updatedBy = null)
 {
     Id         = id;
     IsArchived = archived;
     Name       = name;
     Parent     = parent;
     Subfolders = subfolders;
     Documents  = documents;
     Owner      = owner;
     Alias      = alias;
     Created    = created;
     CreatedBy  = createdBy;
     Updated    = updated;
     UpdatedBy  = updatedBy;
 }
コード例 #14
0
 public TDProfileWorkingDays(TDMemberProfile profile, TDWorkingDays workingDays)
 {
     Profile     = profile;
     WorkingDays = workingDays;
 }
コード例 #15
0
 public UAUserAgreementStatusNotAccepted(TDMemberProfile profile)
 {
     Profile = profile;
 }
 public UAUserAgreementStatusAccepted(TDMemberProfile profile, UAUserAgreement userAgreement, DateTime accepted)
 {
     Profile       = profile;
     UserAgreement = userAgreement;
     Accepted      = accepted;
 }
コード例 #17
0
 public TDMergedEvent(List <Pair <TDMembership, int> > events, TDMemberProfile profile)
 {
     Events  = events;
     Profile = profile;
 }
コード例 #18
0
 public M2MemberJoinsContent(TDMemberProfile member)
 {
     Member = member;
 }
コード例 #19
0
 public CUserPrincipalDetails(TDMemberProfile user)
 {
     User = user;
 }
コード例 #20
0
 public static MeetingOrganizerUser User(TDMemberProfile profileRef)
 => new MeetingOrganizerUser(profileRef: profileRef);
 public NonWorkingDaysEvent(TDMemberProfile profile, List <NonWorkingDays> days)
 {
     Profile = profile;
     Days    = days;
 }
コード例 #22
0
 public Participant(TDMemberProfile user, EventParticipationStatus status)
 {
     User   = user;
     Status = status;
 }
コード例 #23
0
 public MeetingOrganizerUser(TDMemberProfile profileRef)
 {
     ProfileRef = profileRef;
 }
コード例 #24
0
 public KbPersonalContext(TDMemberProfile owner)
 {
     Owner = owner;
 }
コード例 #25
0
 public MembershipEvent(TDMemberProfile profile, List <TDMembership> membership)
 {
     Profile    = profile;
     Membership = membership;
 }
 public PersonalDocumentContainerInfo(TDMemberProfile owner)
 {
     Owner = owner;
 }
コード例 #27
0
 public TDMemberWithTeam(TDMemberProfile profile, List <TDTeam> teams)
 {
     Profile = profile;
     Teams   = teams;
 }
 public M2AbsenceItemApproveDeletedContent(AbsenceRecord absence, TDMemberProfile by, bool approve)
 {
     Absence   = absence;
     By        = by;
     IsApprove = approve;
 }
コード例 #29
0
 public HolidaysEvent(TDMemberProfile profile, List <PublicHoliday> holidays)
 {
     Profile  = profile;
     Holidays = holidays;
 }
コード例 #30
0
 public SupportProfile(TDMemberProfile profile, bool adminPermissionsGranted)
 {
     Profile = profile;
     IsAdminPermissionsGranted = adminPermissionsGranted;
 }