Ejemplo n.º 1
0
 public M2ChannelContentMember(TDMemberProfile member, ChannelSpecificDefaults notificationDefaults, ProfileAbsencesRecord?memberAbsences = null, ProfileMembershipRecord?memberTeams = null)
 {
     Member = member;
     NotificationDefaults = notificationDefaults;
     MemberAbsences       = memberAbsences;
     MemberTeams          = memberTeams;
 }
 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;
 }
Ejemplo n.º 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;
 }
 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;
 }
Ejemplo n.º 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;
 }
 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;
 }
Ejemplo n.º 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;
 }
 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;
 }
 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;
 }
 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 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;
 }
Ejemplo n.º 14
0
 public TDProfileWorkingDays(TDMemberProfile profile, TDWorkingDays workingDays)
 {
     Profile     = profile;
     WorkingDays = workingDays;
 }
Ejemplo n.º 15
0
 public UAUserAgreementStatusNotAccepted(TDMemberProfile profile)
 {
     Profile = profile;
 }
 public UAUserAgreementStatusAccepted(TDMemberProfile profile, UAUserAgreement userAgreement, DateTime accepted)
 {
     Profile       = profile;
     UserAgreement = userAgreement;
     Accepted      = accepted;
 }
Ejemplo n.º 17
0
 public TDMergedEvent(List <Pair <TDMembership, int> > events, TDMemberProfile profile)
 {
     Events  = events;
     Profile = profile;
 }
Ejemplo n.º 18
0
 public M2MemberJoinsContent(TDMemberProfile member)
 {
     Member = member;
 }
Ejemplo n.º 19
0
 public CUserPrincipalDetails(TDMemberProfile user)
 {
     User = user;
 }
 public static MeetingOrganizerUser User(TDMemberProfile profileRef)
 => new MeetingOrganizerUser(profileRef: profileRef);
 public NonWorkingDaysEvent(TDMemberProfile profile, List <NonWorkingDays> days)
 {
     Profile = profile;
     Days    = days;
 }
 public Participant(TDMemberProfile user, EventParticipationStatus status)
 {
     User   = user;
     Status = status;
 }
 public MeetingOrganizerUser(TDMemberProfile profileRef)
 {
     ProfileRef = profileRef;
 }
Ejemplo n.º 24
0
 public KbPersonalContext(TDMemberProfile owner)
 {
     Owner = owner;
 }
Ejemplo n.º 25
0
 public MembershipEvent(TDMemberProfile profile, List <TDMembership> membership)
 {
     Profile    = profile;
     Membership = membership;
 }
 public PersonalDocumentContainerInfo(TDMemberProfile owner)
 {
     Owner = owner;
 }
 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;
 }
Ejemplo n.º 29
0
 public HolidaysEvent(TDMemberProfile profile, List <PublicHoliday> holidays)
 {
     Profile  = profile;
     Holidays = holidays;
 }
 public SupportProfile(TDMemberProfile profile, bool adminPermissionsGranted)
 {
     Profile = profile;
     IsAdminPermissionsGranted = adminPermissionsGranted;
 }